[Snyk] Upgrade: express-robots-txt, feature-policy, file-stream-rotator, i18n, jsonwebtoken, node-pre-gyp, pdfkit, sanitize-html, unzipper #3
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.
express-robots-txt
from 0.4.1 to 0.5.0 | 1 version ahead of your current version | 4 years ago
on 2020-08-17
feature-policy
from 0.5.0 to 0.6.0 | 1 version ahead of your current version | 4 years ago
on 2020-12-23
file-stream-rotator
from 0.5.7 to 0.6.1 | 2 versions ahead of your current version | 3 years ago
on 2022-01-22
i18n
from 0.11.1 to 0.15.1 | 11 versions ahead of your current version | 2 years ago
on 2022-09-22
jsonwebtoken
from 9.0.0 to 9.0.2 | 2 versions ahead of your current version | a year ago
on 2023-08-30
node-pre-gyp
from 0.15.0 to 0.17.0 | 2 versions ahead of your current version | 4 years ago
on 2020-12-07
pdfkit
from 0.14.0 to 0.15.0 | 1 version ahead of your current version | 6 months ago
on 2024-03-24
sanitize-html
from 2.12.1 to 2.13.0 | 1 version ahead of your current version | 6 months ago
on 2024-03-20
unzipper
from 0.12.1 to 0.12.3 | 2 versions ahead of your current version | a month ago
on 2024-07-31
Release notes
Package name: express-robots-txt
0.5.0
0.4.1
Package name: feature-policy
0.6.0
0.5.0
Package name: file-stream-rotator
No content.
No content.
Package name: i18n
add YAML support by parser config
Fixed
Fixes #493 - using i18n with a combination of retry and sync settings lead to a 'Maximum call stack size exceeded' exception due to an infinite loop while writing phrases to all locale files.
Fixed
This also updates to mocha 9.2.0 (mochajs/mocha#4814) which fixes GHSA-qrpm-p2h7-hrv2
Changed
Fixed
see aa60ac7, 3139881 and 4e6963f for details
Added
Fixed
Fixed
Fixed
Details
A preinstall script was added to force resolving specific versions of lodash and ajv. Those are sub-dependencies of zombie and its packages. Zombie is devDependency of i18n. But zombie still refers to older versions reported to vulnerable - so I decided to force fixed versions.
Of course that
preinstall
should count on anynpm install i18n
, it's renamed toforce-resolutions
so I can still resolve audit issues in dev while also supporting clean installs.now reads as
And doesn't get triggered by
npm install
.Added
retryInDefaultLocale
as proposed by PR #206header
as proposed by PRs #390 and #407Fixed
Changed
Package name: jsonwebtoken
Release 9.0.2 (#935)
Updating package version to 9.0.1 (#920)
Check if node version supports asymmetricKeyDetails
Validate algorithms for ec key type
Rename variable
Rename function
Add early return for symmetric keys
Validate algorithm for RSA key type
Validate algorithm for RSA-PSS key type
Check key types for EdDSA algorithm
Rename function
Move validateKey function to module
Convert arrow to function notation
Validate key in verify function
Simplify if
Convert if to switch..case
Guard against empty key in validation
Remove empty line
Add lib to check modulus length
Add modulus length checks
Validate mgf1HashAlgorithm and saltLength
Check node version before using key details API
Use built-in modulus length getter
Fix Node version validations
Remove duplicate validateKey
Add periods to error messages
Fix validation in verify function
Make asymmetric key validation the latest validation step
Change key curve validation
Remove support for ES256K
Fix old test that was using wrong key types to sign tokens
Enable RSA-PSS for old Node versions
Add specific RSA-PSS validations on Node 16 LTS+
Improve error message
Simplify key validation code
Fix typo
Improve error message
Change var to const in test
Change const to let to avoid reassigning problem
Improve error message
Test incorrect private key type
Rename invalid to unsupported
Test verifying of jwt token with unsupported key
Test invalid private key type
Change order of object parameters
Move validation test to separate file
Move all validation tests to separate file
Add prime256v1 ec key
Remove modulus length check
WIP: Add EC key validation tests
Fix node version checks
Fix error message check on test
Add successful tests for EC curve check
Remove only from describe
Remove
only
Remove duplicate block of code
Move variable to a different scope and make it const
Convert allowed curves to object for faster lookup
Rename variable
Change variable assignment order
Remove unused object properties
Test RSA-PSS happy path and wrong length
Add missing tests
Pass validation if no algorithm has been provided
Test validation of invalid salt length
Test error when signing token with invalid key
Change var to const/let in verify tests
Test verifying token with invalid key
Improve test error messages
Add parameter to skip private key validation
Replace DSA key with a 4096 bit long key
Test allowInvalidPrivateKeys in key signing
Improve test message
Rename variable
Add key validation flag tests
Fix variable name in Readme
Change private to public dsa key in verify
Rename flag
Run EC validation tests conditionally
Fix tests in old node versions
Ignore block of code from test coverage
Separate EC validations tests into two different ones
Add comment
Wrap switch in if instead of having an early return
Remove unsupported algorithms from asymmetric key validation
Rename option to allowInvalidAsymmetricKeyTypes and improve Readme
9.0.0
adding migration notes to readme
adding changelog for version 9.0.0
Co-authored-by: julienwoll [email protected]
Package name: node-pre-gyp
Package name: pdfkit
write
methodPackage name: sanitize-html
release 2.13.0
release 2.12.1
Package name: unzipper
Add @ ts-ignore to unblock typescript errors
fstream
replaced withfs-extra
big-integer
replaced withnode-int64
(up to 20x performance increase on large encrypted files)Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: