Description
Dependabot reports a security vulnerability in js-yaml from the smoke test
dependency manifest:
- Manifest:
test/smoke/package-lock.json
- Current version:
4.3.0
- Patched version:
4.3.1 or later
The smoke test project declares js-yaml as a direct development dependency.
Mocha also depends on it transitively, and npm deduplicates both dependency paths
to the direct version.
Proposed solution
Upgrade the direct js-yaml development dependency from 4.3.0 to 4.3.1
and regenerate the smoke test lock file.
Expected result
- All smoke test dependency paths resolve to
js-yaml@4.3.1.
- The
js-yaml Dependabot alert is resolved.
- The smoke test project continues to compile successfully.
Validation
npm ci completed successfully in test/smoke.
npm ls js-yaml shows all paths resolved to js-yaml@4.3.1.
npm audit no longer reports a vulnerability for js-yaml.
npm run compile-smoke-tests completed successfully.
Description
Dependabot reports a security vulnerability in
js-yamlfrom the smoke testdependency manifest:
test/smoke/package-lock.json4.3.04.3.1or laterThe smoke test project declares
js-yamlas a direct development dependency.Mocha also depends on it transitively, and npm deduplicates both dependency paths
to the direct version.
Proposed solution
Upgrade the direct
js-yamldevelopment dependency from4.3.0to4.3.1and regenerate the smoke test lock file.
Expected result
js-yaml@4.3.1.js-yamlDependabot alert is resolved.Validation
npm cicompleted successfully intest/smoke.npm ls js-yamlshows all paths resolved tojs-yaml@4.3.1.npm auditno longer reports a vulnerability forjs-yaml.npm run compile-smoke-testscompleted successfully.