[Snyk] Upgrade: bcrypt, express, fast-glob, mongodb, validator #28
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
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
fast-glob
from 3.2.5 to 3.3.2 | 10 versions ahead of your current version | 10 months ago
on 2023-11-06
mongodb
from 3.6.10 to 3.7.4 | 7 versions ahead of your current version | a year ago
on 2023-06-21
validator
from 13.5.2 to 13.12.0 | 5 versions ahead of your current version | 4 months ago
on 2024-05-09
Issues fixed by the recommended upgrade:
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-QS-3153490
SNYK-JS-TAR-1536528
SNYK-JS-TAR-1536531
SNYK-JS-TAR-1579147
SNYK-JS-TAR-1579152
SNYK-JS-TAR-1579155
SNYK-JS-VALIDATOR-1090602
SNYK-JS-EXPRESS-6474509
SNYK-JS-NODEFETCH-2342118
SNYK-JS-TAR-6476909
SNYK-JS-VALIDATOR-1090599
SNYK-JS-VALIDATOR-1090600
SNYK-JS-VALIDATOR-1090601
SNYK-JS-TAR-1536758
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: 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: fast-glob
🐛 Bug fixes
This release fixes a regression for cases where the
ignore
option is used with a string (#403, #404).The public interface of this package does not support a string as the value for the
ignore
option since 2018 year (release).So, in the next major release, we will reintroduce method implementations that do not involve strings in the
ignore
option.🚀 Improvements
Method aliases
New methods (
glob
,globSync
,globStream
) have been added in addition to the current methods (default import,sync
,stream
), which eliminate the need to rename the method when importing. In addition, anasync
alias has been added for the default import, which makes it possible to use this packet with ESM.Method to convert paths to globs
A new method (
convertPathToPattern
) has been added in this release to convert a path to a pattern. The primary goal is to enable users to avoid processing Windows paths in each location where this package is used by utilities from third-party packages.See more details in the pull request.
🐛 Bug fixes
baseNameMatch
option was enabled, which went against the documented behavior. (#312)micromatch
package does not correctly generate a regular expression (#365).dot
option enabled when matching paths. Previously, the!**/*
patterns did not exclude hidden files (start with a dot). (#343)['./file.md', 'file.md', '*']
will now only includefile.md
once in the results. (#190)📖 Documentation
A clarifying note has been added for the
concurrency
option, which provides more detailed information about the Thread Pool utilization.⚙️ Infrastructure
🥇 New Contributors
🐛 Bug fixes
Fixed an issue introduced in
3.2.7
related to incorrect application of patterns to entries with a trailing slash when the entry is not a directory.Before changes:
After fix:
Thanks @ AgentEnder for the issue (#357).
🚀 Improvements
This release includes performance improvements for the asynchronous method. For this method we now use an asynchronous directory traversal interface instead of using a streaming interface. This gives up to 15% acceleration for medium and large directories. The result depends a lot on hardware.
You can find the benchmark results for this release in CI here.
Here are a few of measurements on my laptop:
===> Max stdev: 7 | Retries: 3 | Options: {}
Name Time, ms Time stdev, % Memory, MB Memory stdev, % Entries Errors Retries
--------------------- -------- ------------- ---------- --------------- ------- ------ ----<s...