-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: [REV-1551] clean up dependencies for Renovate (#510)
* chore: run npm audit fix * chore: upgrade to @edx/frontend-build@8.1.3 for npm audit * chore: remove purgecss-webpack-plugin Required to upgrade @edx/frontend-build. See https://github.com/edx/frontend-build/releases/tag/v7.0.0 * chore: upgrade to immer@9.0.6 for npm audit * chore: upgrade to @edx/paragon@16.16.0 for npm audit * chore: upgrade to mozjpeg@7.1.1 for npm audit Note: There is a known issue in mozjpeg@7.1.1: On GitHub, see: imagemin/mozjpeg-bin!67 This may throw errors in the dev build. However, since it is a devDependency, it should not affect the prod build. Workarounds: * Pin mozjpeg@7.1.0 locally. * `apt-get install nasm` in your frontend-app-payment devstack shell. Note mozjpeg@7.1.0 contains 1 high vulnerability. * chore: upgrade to html-webpack-plugin@5.3.2 to fix htmlWebpackPluginAlterChunks error * chore: upgrade react (&c) for npm audit * fix: unpin all repos and npm update for renovate prep * chore: upgrade to audit-ci@5 & husky@7 * chore: upgrade to paragon@16.17 * fix: refresh snapshots after dependency upgrades * chore: upgrade to form-urlencoded@6.0.5 * chore: upgrade to es-check@6.1.0 for npm audit * chore: whitelist audit findings after manual review * fix: sync Makefile precommit with package.json * fix: add PCI compliance reminders * chore: update snapshots * fix: convert react-test-renderer tests to enzyme Paragon <Input> components employ an accessibility test called checkHasLabel() that uses forwardRefs. checkHasLabel() is set to run only in devstack. react-test-renderer is natively incompatible with forwardRefs: https://reactjs.org/docs/test-renderer.html#ideas Convert react-test-renderer tests to enzyme tests so a jsdom makes forwardRefs available for the devstack accessibility tests. * fix: have CI do npm audit last Audits usually are addressed after all tests have passed. If audit precede test checks, information about test failure is obscured by incoming audit findings. * fix: remove depcheck-id'ed unused dependencies * fix: upgrade husky * fix: run npm upgrade & npm dedup * fix: update owner & reflect removal of Purgecss in README.md * fix: reword PCI compliance impact check * chore: npm-force-resolutions to upgrade deps in lockfile
- Loading branch information
Showing
17 changed files
with
5,528 additions
and
7,893 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run lint && npm run audit:whitelisted |
Validating CODEOWNERS rules …
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# PCI compliance requires stricter scrutiny, see PR template | ||
/src @edx/revenue-squad |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
{ | ||
"allowlist": [ | ||
1675, | ||
1676, | ||
1677, | ||
1693, | ||
1747, | ||
1748, | ||
1751, | ||
1753, | ||
1754, | ||
1773, | ||
1776 | ||
1002401, | ||
1002423, | ||
1002465, | ||
1002522, | ||
1002655 | ||
], | ||
"moderate": true | ||
} |
Oops, something went wrong.