[Snyk] Upgrade: bcrypt, body-parser, dotenv, ejs, express, express-rate-limit, express-session, mongoose, passport, passport-local-mongoose #353
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
bcrypt
from 5.0.1 to 5.1.1 | 2 versions ahead of your current version | a year ago
on 2023-08-16
body-parser
from 1.19.1 to 1.20.2 | 4 versions ahead of your current version | 2 years ago
on 2023-02-22
dotenv
from 16.0.0 to 16.4.5 | 20 versions ahead of your current version | 7 months ago
on 2024-02-20
ejs
from 3.1.6 to 3.1.10 | 4 versions ahead of your current version | 5 months ago
on 2024-04-12
express
from 4.17.2 to 4.19.2 | 8 versions ahead of your current version | 6 months ago
on 2024-03-25
express-rate-limit
from 6.2.0 to 6.11.2 | 16 versions ahead of your current version | a year ago
on 2023-09-12
express-session
from 1.17.2 to 1.18.0 | 2 versions ahead of your current version | 8 months ago
on 2024-01-28
mongoose
from 6.1.9 to 6.13.0 | 84 versions ahead of your current version | 3 months ago
on 2024-06-06
passport
from 0.5.2 to 0.7.0 | 3 versions ahead of your current version | 10 months ago
on 2023-11-27
passport-local-mongoose
from 6.1.0 to 6.3.0 | 4 versions ahead of your current version | 3 years ago
on 2022-03-12
Issues fixed by the recommended upgrade:
SNYK-JS-EJS-2803307
SNYK-JS-QS-3153490
SNYK-JS-MINIMATCH-3050818
SNYK-JS-MONGODB-5871303
SNYK-JS-TAR-6476909
SNYK-JS-EJS-6689533
SNYK-JS-EXPRESS-6474509
SNYK-JS-PASSPORT-2840631
Release notes
Package name: bcrypt
What's Changed
New Contributors
Full Changelog: v5.1.0...v5.1.1
What's Changed
New Contributors
Full Changelog: v5.0.1...v5.1.0
Update
node-pre-gyp
to 1.0.0Package name: body-parser
strict
eval
usage withFunction
constructorprocess
to check for listeners__proto__
keysPackage name: dotenv
16.4.5
16.4.4
16.4.3
16.4.2
16.4.1
16.4.0
16.3.2
16.3.1
16.3.0
16.2.0
Package name: ejs
Version 3.1.10
Version 3.1.9
Version 3.1.8
Version 3.1.7
Version 3.1.6
Package name: express
What's Changed
Full Changelog: 4.19.0...4.19.1
What's Changed
New Contributors
Full Changelog: 4.18.3...4.19.0
Main Changes
Other Changes
New Contributors
Full Changelog: 4.18.2...4.18.3
res.download
options
withoutfilename
inres.download
res.status
null
/undefined
asmaxAge
inres.cookie
Object.prototype
values in settings throughapp.set
/app.get
default
with same arguments as types inres.format
res.send
http-errors
forres.format
errorstrict
priority
optionexpires
option to reject invalid dateseval
usage withFunction
constructorprocess
to check for listeners425 Unordered Collection
to standard425 Too Early
__proto__
keysundefined
inres.jsonp
undefined
when"json escape"
is enabledRegExp
sres.jsonp(obj, status)
deprecation messageres.is
JSDocmaxAge
option to reject invalid valuesreq.socket
over deprecatedreq.connection
Package name: express-rate-limit
Fixed
IncrementResponse
TypeScript type (See #397)Fixed
Added
Added
RateLimit
header from the RateLimit header fields for HTTP standardization draft adopted by the IETF. Enable by settingstandardHeaders: 'draft-7'
standardHeaders: 'draft-6'
option, treated equivalent tostandardHeaders: true
from previous releases. (true
andfalse
are still supported.)RateLimit-Policy
header added whenstandardHeaders
is set to'draft-6'
,'draft-7'
, ortrue
draft_polli_ratelimit_headers
optiononLimitReached
optiontotalHits
value returned from Store is invalidAdded
ValidationError
, directing users to the appropriate wiki page for more infoChanged
You can view the full changelog here.
Changed
You can view the full changelog here.
Added
https://github.com/express-rate-limit/express-rate-limit/wiki/Error-Codes for
a list of potential errors. Can be disabled by setting
validate: false
inthe configuration. Automatically disables after the first request. (See
#358)
You can view the changelog here.
(Backport of v6.8.1)
You can view the full changelog here.
Fixed
node16
moduleresolution strategy (See
#355)
Changed
node
20 to list of versions the CI jobs run on.No functional changes.
You can view the changelog here.
Changed
express-rate-limit
organization on GitHub.readme.md
for project sponsor Zuplo.typescript
version 5 and bumped other dependencies.node
12, and addednode
19 to the list of versions the CI jobs run on.You can view the changelog here.
Package name: express-session
partitioned
tocookie
optionspriority
tocookie
optionssecret
thatcrypto.createHmac
supportsexpires
option to reject invalid datesres.end
patch to always commit headersPackage name: mongoose