-
Notifications
You must be signed in to change notification settings - Fork 1.1k
USWDS - Dependencies: POAM March ‘24 #5800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.3...v1.15.4) --- updated-dependencies: - dependency-name: follow-redirects dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1. - [Commits](indutny/node-ip@v2.0.0...v2.0.1) --- updated-dependencies: - dependency-name: ip dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
…swds into cm-POAM-march-24
…hub.com:uswds/uswds into cm-POAM-march-24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mahoneycm Everything seemed to be working well after this change. One question: The PR description mentions multiple dependency changes but the package.json
shows only one change. My understanding was that we only listed package.json
changes there, but I'm also not sure if that is true! Flagging for discussion so that the PR description shows the changes that should be included in the release notes.
- Confirm the dependency changes match the PR description
- Confirm the dependency warning count
- 40 vulnerabilities (15 moderate, 25 high)
- Confirm the following run without error:
- Fresh
npm install
-
npm run start
-
npm run build:html
-
npm run test:ci
-
gulp
- Fresh
@amyleadem Oh that's a good point! I included them because they were causing dependabot alerts and reported vulnerabilities via @mejiaj What are your thoughts here? |
As discussed in 03/05/24 dev sync We'll only list direct dependencies in table because of the complexity of tracking multiple nested deps. We can revisit in the future if this is something we need to start tracking. |
Updated the dependency table to only feature the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Found no issues with update or with dependencies we're using webpack 5+.
"postcss-preset-env": "9.3.0", | ||
"prettier": "2.8.8", | ||
"react-dom": "17.0.2", | ||
"resolve-url-loader": "4.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependency updates
Changelog for resolve-url-loader
in 5.0.0.
Breaking changes
- Require node>=12.
- Support only webpack>=4.
- Update to postcss@^8.
- Remove rework engine (which was deprecated in V4).
Bugfixes
- Fix log messages not correctly normalising absolute paths to posix style on Windows platform
- Fixes to end-to-end tests and test framework.
I've added this note to Dependencies and security section 3.8.0 draft release notes1. Footnotes |
Summary
Resolves 4 dependency vulnerabilities.
Before: 44 vulnerabilities (1 low, 18 moderate, 25 high)
After: 40 vulnerabilities (15 moderate, 25 high)
Breaking change
This is not a breaking change.
Related issue
Closes #5780
Closes #5717
Preview link
Storybook preview →
Problem statement
Various dependencies were causing moderate and low security vulnerabilities
Solution
Bump dependencies with resolving updates.
Major changes
Npm audit fix
automatically removed theuswds-core
workspace frompackage-lock
in d731d79. This will happen after runningnpm install
ondevelop
as well. I believe this may be a result of removing theuswds-core
package.json file in #5673.package-lock.json
Testing and review
npm install
.npm start
.npx gulp sassTests
ornpm run test
should not fail.Dependency updates