chore(deps): update dependency selfsigned to v5 #601
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.
This PR contains the following updates:
^3.0.0->^5.0.0Release Notes
jfromaniello/selfsigned (selfsigned)
v5.2.0Compare Source
v5.1.0Compare Source
v5.0.0Compare Source
🚀 Major Rewrite
Complete rewrite replacing
node-forgewith modern@peculiar/x509andpkijslibraries.✨ Added
keyPairoption to use existing keysselfsigned/pkcs7module for tree-shakeable PKCS#7 support💥 BREAKING CHANGES
Async-only API: The
generate()function now returns a Promise. Synchronous generation has been removed.No callback support: Callbacks have been completely removed in favor of Promises.
Minimum Node.js version: Now requires Node.js >= 15.6.0 (was >= 10)
Dependencies changed:
node-forge(1.64 MB)@peculiar/x509(551 KB) - 66% smaller!pkijs(1.94 MB, only for PKCS#7 support)PKCS#7 API changed:
const pems = await generate(attrs, { pkcs7: true }); pems.pkcs7const { createPkcs7 } = require('selfsigned/pkcs7'); const pkcs7 = createPkcs7(pems.cert);🔧 Changed
\nline endings (was\r\n)BEGIN PRIVATE KEYinstead ofBEGIN RSA PRIVATE KEY)selfsigned/pkcs7module so bundlers can exclude it when not used🐛 Fixed
📦 Dependencies
Removed:
node-forge@^1.3.1@types/node-forge@^1.3.0Added:
@peculiar/x509@​^1.14.2(required)pkijs@^3.3.3(required, but tree-shakeable via separateselfsigned/pkcs7module)🔒 Security
📚 Documentation
v4.0.1Compare Source
v4.0.0Compare Source
See git history for changes in 4.x and earlier versions.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.