fix: patch newly reported dependency vulnerabilities - #115
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
js-yaml.nanoiddependency to the first fixed 3.x release found bynpm audit.Security findings
js-yaml, GHSA-5p4m-2wfm-xmqj — https://github.com/maxatwork/form2js/security/dependabot/59js-yaml, GHSA-5p4m-2wfm-xmqj — https://github.com/maxatwork/form2js/security/dependabot/60npm audit: transitive developmentnanoidvulnerability GHSA-2v37-7h3g-55p8 — GHSA-2v37-7h3g-55p8Changes
js-yaml4.x: 4.3.0 → 4.3.1js-yaml3.x underread-yaml-file: 3.15.0 → 3.15.1nanoid: 3.3.16 → 3.3.18Validation
npm_config_cache=/private/tmp/form2js-npm-cache npm cinpx vitest run test/integration/dependency-security.test.tsnpm audit --audit-level=highnpm run buildnpm run lintnpm run typechecknpm run test:packagesnpm run test:integrationnpm run test:docsgit diff --checkThe PR should be merged only after required GitHub checks and reviews are green.
Summary by cubic
Patches high-severity vulnerabilities by upgrading
js-yamland pinningnanoid, and tightens dependency-security tests to prevent regressions.js-yaml4.x to 4.3.1 and the nested 3.x underread-yaml-fileto 3.15.1.nanoidat 3.3.18 to pin the first fixed 3.x release found bynpm audit.js-yaml< 4.3.1 (or < 3.15.1 for v3) ornanoid< 3.3.18.Written for commit 15e030d. Summary will update on new commits.