Security Updates - #2205
Open
lisagorewitdecker wants to merge 10 commits into
Open
Conversation
…-github-actions-job pin js-yaml to >=3.15.1 to resolve Dependabot security failure
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.4. - [Commits](WebReflection/flatted@v3.3.3...v3.4.4) --- updated-dependencies: - dependency-name: flatted dependency-version: 3.4.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [picomatch](https://github.com/micromatch/picomatch) to 4.0.7 and updates ancestor dependencies [picomatch](https://github.com/micromatch/picomatch), [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli), [expect](https://github.com/jestjs/jest/tree/HEAD/packages/expect), [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) and [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest). These dependencies need to be updated together. Updates `picomatch` from 4.0.3 to 4.0.7 - [Release notes](https://github.com/micromatch/picomatch/releases) - [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md) - [Commits](micromatch/picomatch@4.0.3...4.0.7) Updates `@babel/cli` from 7.28.6 to 8.0.4 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v8.0.4/packages/babel-cli) Updates `expect` from 30.2.0 to 30.4.1 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.4.1/packages/expect) Updates `eslint-plugin-jest` from 27.9.0 to 29.16.2 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v27.9.0...v29.16.2) Updates `jest` from 30.2.0 to 30.4.2 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.4.2/packages/jest) --- updated-dependencies: - dependency-name: picomatch dependency-version: 4.0.7 dependency-type: indirect - dependency-name: "@babel/cli" dependency-version: 8.0.4 dependency-type: direct:development - dependency-name: expect dependency-version: 30.4.1 dependency-type: indirect - dependency-name: eslint-plugin-jest dependency-version: 29.16.2 dependency-type: direct:development - dependency-name: jest dependency-version: 30.4.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The override and lockfile updates are consistent and narrowly scoped to dependency security/version resolution.
Pull request overview
This PR adds an npm overrides entry to force @istanbuljs/load-nyc-config to use a patched js-yaml version, and updates the lockfile accordingly to reflect the resolved dependency versions.
Changes:
- Added an npm
overridesrule for@istanbuljs/load-nyc-config -> js-yamlto require^3.15.1. - Updated
package-lock.jsonso@istanbuljs/load-nyc-confignow resolvesjs-yamlto3.15.2. - Updated the lockfile’s top-level
js-yamlresolution to4.3.2(used elsewhere in the dev dependency tree, e.g., ESLint tooling).
File summaries
| File | Description |
|---|---|
| package.json | Adds npm overrides to enforce a patched js-yaml under @istanbuljs/load-nyc-config. |
| package-lock.json | Updates resolved js-yaml versions to match the override and current dependency tree resolution. |
Review details
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…n/flatted-3.4.4 Bump flatted from 3.3.3 to 3.4.4
…ict with @babel/core@7
…n/multi-45df76a7c0 Bump picomatch, @babel/cli, expect, eslint-plugin-jest and jest
…n permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: lisagorewitdecker <50784106+lisagorewitdecker@users.noreply.github.com>
Potential fix for code scanning alert no. 1: Workflow does not contain permissions
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.
Security Updates and
"overrides": {
"@istanbuljs/load-nyc-config": {
"js-yaml": "^3.15.1"
}
},