-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrade to Node 20, Webpack 5, npm audit fixes #147
Comments
adriancofie
added a commit
that referenced
this issue
Feb 20, 2024
nvm install 18 nvm use 18 npm audit fix --force npm install webpack@latest --save-dev
adriancofie
added a commit
that referenced
this issue
Feb 21, 2024
Investigation only. nvm install 18 nvm use 18 npm audit fix --force npm install webpack@latest --save-dev Overrridges the the github workflow node_version to v18. (react-app-playgrounds workflow at this time is v16)
adriancofie
added a commit
that referenced
this issue
Feb 21, 2024
Investigation only. nvm install 18 nvm use 18 npm audit fix --force npm install webpack@latest --save-dev
adriancofie
added a commit
that referenced
this issue
Feb 21, 2024
Investigation only. nvm install 18 nvm use 18 npm audit fix --force npm install webpack@latest --save-dev npm run lint:fix
belaolsonNIH
added a commit
that referenced
this issue
Feb 28, 2024
Investigation only nvm install 20 nvm use 20 npm audit fix --force npm install webpack@latest --save-dev
belaolsonNIH
added a commit
that referenced
this issue
Feb 28, 2024
Investigation only nvm install 20 nvm use 20 npm audit fix --force npm install webpack@latest --save-dev
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Mar 1, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
belaolsonNIH
added a commit
that referenced
this issue
Mar 5, 2024
Investigation only nvm install 20 nvm use 20 npm audit fix --force npm install webpack@latest --save-dev updated axios
adriancofie
added a commit
that referenced
this issue
Mar 7, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Mar 7, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated (#147) Lint fixes for prior commit The lint fixes for prior commit
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated (#147) Lint fixes for prior commit The lint fixes for prior commit
adriancofie
added a commit
that referenced
this issue
Mar 8, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated (#147) Lint fixes for prior commit The lint fixes for prior commit
adriancofie
changed the title
Run npm audit fix and resolve remaining moderate or above vulnerabilities
Upgrade to Node 18, Webpack 5, npm audit fixes (#102)
Mar 11, 2024
adriancofie
changed the title
Upgrade to Node 18, Webpack 5, npm audit fixes (#102)
Upgrade to Node 18, Webpack 5, npm audit fixes
Mar 11, 2024
adriancofie
changed the title
Upgrade to Node 18, Webpack 5, npm audit fixes
Upgrade to Node 20, Webpack 5, npm audit fixes
Mar 11, 2024
adriancofie
added a commit
that referenced
this issue
Mar 12, 2024
Updates node to 18, webpack to v8 and addresses security updates ``` nvm install 18 nvm use 18 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force` Eslint loader deprecated (#147) Lint fixes for prior commit The lint fixes for prior commit
belaolsonNIH
added a commit
that referenced
this issue
Mar 20, 2024
nvm install 20 nvm use 20 npm audit fix --force npm install webpack@latest --save-dev updated axios removed adapter: 'http' from axios-client.js
adriancofie
added a commit
that referenced
this issue
Aug 20, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Aug 20, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 1, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 22, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 22, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 22, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 22, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Oct 22, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Nov 21, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
adriancofie
added a commit
that referenced
this issue
Nov 26, 2024
Updates node to 20, webpack to v8 and addresses security updates ``` nvm install 20 nvm use 20 ``` * Updates LTS in `.nvmrc` `npm install webpack@latest --save-dev` - Updates webpack config to address CRA CommonJS bug affecting axios/nock/jest combo facebook/create-react-app#11889 (comment) - Updater syntax change for IgnorePlugin in webpack config - Misc webpack config changes following migration guide: https://webpack.js.org/migrate/5/ - Moves jest config out of package.json into own config - Adds axios to transformIgnoreModules `npm audit fix --force`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This ticket is to upgrade the version of node to a supported version, update webpack, and resolve any moderate or above vulnerabilities related to this repository.
This should entail the following:
Update Node to the latest LTS v20 (lts/iron)
Update Webpack to v5
Update any other required dependencies to resolve aforementioned security issues
Steps:
Node
.nvmrc
to containlts/iron
and update the allowed version inspackage.json
Webpack et al.
Extract the jest config from
package.json
tojest.config.js
Note: This allows for more modularity and lets us have dynamic paths
Run the following:
Run the following:
Update the webpack hashing function from the insecure
md4
toxxhash64
Add the following line
const __webpack_base_uri__ = 'http://localhost:3000';
Update loader notation in webpack config
Usage of loader notation
'style-loader!css-loader'
is deprecated and replaced with[{loader: ‘style-loader’}, {loader: ‘css-loader’}]
Update the import statement for the
ManifestPlugin
to the following and update the references:const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
Add the required absoluteRuntime key to
babel.config.js
Replace the deprecated
babel-eslint
package with@babel/eslint-parser
Replace eslint loader with eslint-webpack-plugin
Import the new plugin
Add the plugin to the plugin list in
webpack.config.js
buildAxiosRequest.test.js
to set the addapter type to httpApp.test.js
to remove the following:Requirements:
In the commits comment take note of which packages were updated to a new major version, and any other pertinent information or steps taken to resolve issues encountered.
Acceptance Criteria:
All major and above node/NPM vulnerabilities are resolved.
Node is at LTS v20
Webpack is at v5
The text was updated successfully, but these errors were encountered: