fix #5436 chore(nimbus): update node, packages (#5445)

Because

* We would like to switch to daily dependabot updates with auto merge
* It's probably a good idea to bump all packages to latest before we turn it on so we don't get a deluge of prs
* Auto package updates don't constrain dependent package versions which may become wildly out of date and raise security alarms in https://github.com/mozilla/experimenter/security/dependabot

This commit

* Updates node to 14.17.1 LTS
* Updates all legacy/nimbus npm packages to latest minor/patch versions (excluding major changes that will break things)
* Applies resolution constraints to dependent packages to address the security alerts
This commit is contained in:
Jared Lockhart 2021-06-16 16:50:18 -04:00 коммит произвёл GitHub
Родитель 88d0fc409c
Коммит 8450af32cf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 690 добавлений и 970 удалений

Просмотреть файл

@ -14,7 +14,7 @@ RUN chmod +x /app/bin/wait-for-it.sh
# Install nvm with node and npm
ENV NODE_VERSION=14.8.0
ENV NODE_VERSION=14.17.1
RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.3/install.sh | bash
ENV NVM_DIR=/root/.nvm
RUN . "$NVM_DIR/nvm.sh" && nvm install ${NODE_VERSION}

Просмотреть файл

@ -29,7 +29,7 @@
"description": "a tool for managing experiments in Firefox",
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.3",
"@testing-library/dom": "7.31.0",
"@testing-library/dom": "7.31.2",
"autobind-decorator": "2.4.0",
"bootstrap": "4.5.2",
"bootstrap-select": "1.13.18",
@ -37,31 +37,31 @@
"immutable": "4.0.0-rc.12",
"jquery": "3.6.0",
"popper.js": "1.16.1",
"prettier": "2.3.0",
"prettier": "2.3.1",
"react": "17.0.2",
"react-bootstrap": "1.5.2",
"react-bootstrap": "1.6.1",
"react-dom": "17.0.2",
"react-select": "^4.3.0"
"react-select": "^4.3.1"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/core": "^7.14.6",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/plugin-proposal-decorators": "7.13.5",
"@babel/plugin-proposal-decorators": "7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "7.13.13",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.0.4",
"@babel/preset-react": "7.14.5",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "11.2.7",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"eslint": "7.22.0",
"eslint": "7.28.0",
"eslint-config-prettier": "7.0.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.21.2",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jest": "24.3.6",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.4.0",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-react": "7.23.2",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-standard": "5.0.0",
"faker": "5.5.3",
"jest": "26.6.3",

Просмотреть файл

@ -35,15 +35,15 @@
"dependencies": {
"@apollo/client": "^3.3.20",
"@reach/router": "^1.3.4",
"@sentry/browser": "^6.4.0",
"@types/react-select": "^4.0.13",
"apollo": "^2.33.2",
"@sentry/browser": "^6.7.1",
"@types/react-select": "^4.0.15",
"apollo": "^2.33.4",
"bootstrap": "^4.5.2",
"classnames": "^2.3.1",
"graphql": "^15.5.0",
"react": "^17.0.2",
"react-async-hook": "^3.6.2",
"react-bootstrap": "^1.5.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"react-helmet": "^6.1.0",
"react-hook-form": "^6.12.2",
@ -51,11 +51,11 @@
"react-markdown": "^5.0.3",
"react-scripts": "3.4.0",
"react-scrollspy": "^3.4.3",
"react-select": "^4.3.0",
"react-tooltip": "^4.2.18",
"react-select": "^4.3.1",
"react-tooltip": "^4.2.21",
"typescript": "4.3.2",
"vega": "^5.20.2",
"vega-embed": "^6.17.0",
"vega-embed": "^6.18.2",
"vega-lite": "^4.17.0"
},
"devDependencies": {
@ -65,38 +65,38 @@
"@storybook/addon-queryparams": "^6.2.9",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.2.9",
"@testing-library/dom": "^7.31.0",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/dom": "^7.31.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^5.1.2",
"@testing-library/user-event": "^12.8.0",
"@types/jest": "^26.0.22",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.41",
"@types/reach__router": "^1.3.7",
"@types/react": "^17.0.0",
"@types/reach__router": "^1.3.8",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"@types/react-helmet": "^6.1.1",
"@types/react-scrollspy": "^3.3.3",
"@typescript-eslint/eslint-plugin": "2.x",
"@typescript-eslint/parser": "2.x",
"babel-eslint": "10.x",
"eslint": "7.x",
"eslint": "7.28.0",
"eslint-config-prettier": "^7.0.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "5.x",
"eslint-plugin-import": "2.x",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-jsx-a11y": "6.x",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "7.x",
"eslint-plugin-react": "7.24.0",
"eslint-plugin-react-hooks": "4.x",
"fetch-mock": "^9.11.0",
"jest-canvas-mock": "^2.3.1",
"jest-fetch-mock": "^3.0.3",
"mini-css-extract-plugin": "0.9.0",
"mockdate": "^3.0.2",
"mockdate": "^3.0.5",
"mutationobserver-shim": "^0.3.7",
"node-sass": "^4.14.1",
"prettier": "^2.3.0",
"prettier": "^2.3.1",
"prettier-plugin-organize-imports": "^2.1.0",
"react-select-event": "^5.3.0",
"stylelint": "^13.13.1",

Просмотреть файл

@ -10,6 +10,24 @@
"react-select": "^4.3.0"
},
"devDependencies": {},
"resolutions": {
"postcss": "^7.0.36",
"trim-newlines": "^3.0.1",
"glob-parent": "^5.1.2",
"normalize-url": "^4.5.1",
"browserslist": "^4.16.5",
"immer": "^8.0.1",
"yargs-parser": "^13.1.2",
"serialize-javascript": "^3.1.0",
"ws": "^7.4.6",
"node-notifier": "^8.0.1",
"ssri": "^8.0.1",
"sockjs": "^0.3.20",
"is-svg": "^4.2.2",
"react-dev-utils": "^11.0.4",
"prismjs": "^1.23.0",
"object-path": "^0.11.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mozilla/experimenter.git"

Разница между файлами не показана из-за своего большого размера Загрузить разницу