Skip to content

Commit

Permalink
chore(dependabot): upgrading jest to v25 and node-notifier to v8 (#4790)
Browse files Browse the repository at this point in the history
### Related Ticket(s)

No related issue

### Description

This is in response to a dependabot security risk identified with
node-notifier, where a minimum of v8.0.1 needs to be used. The repo is
currently on v24 of jest, which is using a much older version of
`node-notifier` (v5). We currently cannot upgrade to Jest 26
easily as Storybook v6 is needed for Jest 26 support. This patch will
however upgrade to Jest 25, then resolving `node-notifier` to v8.0.1 so
at least there is less of a version gap for that dependency.

Storybook 6 upgrade is being handled separately, but is a large upgrade
across the board.

### Changelog

**Changed**

- Upgrade to Jest v25
- Resolve `node-notifier` to `>=8.0.1`
- Adding `.prettierignore` configuration for `storybook-static-react` folder
  • Loading branch information
jeffchew authored Dec 30, 2020
1 parent 0e74853 commit 6601a90
Show file tree
Hide file tree
Showing 144 changed files with 976 additions and 490 deletions.
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-parser-7.12.11.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-template-7.12.7.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@babel-types-7.12.12.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@bcoe-v8-coverage-0.2.3.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@istanbuljs-schema-0.1.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-console-25.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-core-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-core-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-environment-24.9.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-fake-timers-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-globals-25.5.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-reporters-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-reporters-25.5.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-source-map-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-test-result-25.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/@jest-test-sequencer-24.9.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@jest-transform-25.5.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/@sinonjs-commons-1.8.1.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-graceful-fs-4.1.4.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/@types-prettier-1.19.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/abab-2.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/abab-2.0.5.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/acorn-6.3.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/acorn-6.4.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/acorn-globals-4.3.3.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/acorn-globals-4.3.4.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/babel-jest-25.5.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/babel-preset-jest-25.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/cssstyle-1.4.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/detect-newline-3.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/execa-3.4.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/expect-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/fsevents-2.2.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/get-package-type-0.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/import-local-3.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/istanbul-reports-2.2.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/istanbul-reports-3.0.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-24.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-changed-files-24.9.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-circus-24.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-circus-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-circus-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-cli-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-cli-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-config-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-config-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-docblock-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-docblock-25.3.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-each-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-each-25.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-haste-map-25.5.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-jasmine2-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-jasmine2-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-leak-detector-24.9.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-message-util-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-mock-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-regex-util-25.2.6.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-resolve-25.5.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-runner-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-runner-25.5.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-runtime-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-runtime-25.5.4.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-serializer-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-snapshot-25.5.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-util-25.5.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-validate-25.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jest-watcher-24.9.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jest-watcher-25.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/jsdom-11.12.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/jsdom-15.2.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/left-pad-1.3.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/lolex-5.1.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/node-notifier-5.4.3.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/node-notifier-9.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/nwsapi-2.1.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/p-each-series-1.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/p-each-series-2.2.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/p-finally-2.0.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/parse5-4.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/parse5-5.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/realpath-native-2.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/request-promise-core-1.1.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/resolve-cwd-3.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/saxes-3.1.11.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/string-length-2.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/string-length-3.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/strip-bom-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file added .yarn/offline-mirror/terminal-link-2.1.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/test-exclude-6.0.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/throat-4.1.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/throat-5.0.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/type-detect-4.0.8.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/uuid-8.3.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/v8-to-istanbul-4.1.4.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/w3c-hr-time-1.0.1.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/w3c-xmlserializer-1.1.2.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/whatwg-url-6.5.0.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/ws-5.2.2.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/ws-7.4.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/yargs-13.3.0.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/yargs-15.4.1.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/yargs-parser-13.1.1.tgz
Binary file not shown.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"gulp": "^4.0.0",
"husky": "^4.2.0",
"inquirer": "^7.2.0",
"jest": "24.9.0",
"jest-circus": "24.9.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jest-junit": "^6.4.0",
"lerna": "^3.20.2",
"lint-staged": "^10.2.0",
Expand All @@ -90,7 +90,8 @@
"@babel/runtime": "^7.5.1"
},
"resolutions": {
"kind-of": ">=6.0.3",
"minimist": ">=1.2.2",
"kind-of": ">=6.0.3"
"node-notifier": ">=8.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
"gzip-size": "^5.0.0",
"is-port-reachable": "^3.0.0",
"jasmine-core": "^3.0.0",
"jest": "24.0.0",
"jest-circus": "^24.0.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jest-dev-server": "^4.4.0",
"jest-environment-puppeteer": "^4.4.0",
"jest-playwright-preset": "^0.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/services-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"gulp-prettier": "^2.1.0",
"gulp-sourcemaps": "^2.6.0",
"gulp-typescript": "^5.0.0",
"jest": "^24.0.0",
"jest-circus": "^24.0.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jest-fetch-mock": "^3.0.0",
"prettier": "^1.19.0",
"redux-mock-store": "^1.5.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"core-js": "^3.1.3",
"cross-env": "^5.2.0",
"gzip-size": "^5.0.0",
"jest": "24.0.0",
"jest-circus": "24.0.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jsdoc": "^3.6.2",
"object-assign": "^4.1.1",
"promise": "^8.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/utilities/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"cross-env": "^5.2.0",
"dompurify": "2.0.17",
"gzip-size": "^5.0.0",
"jest": "24.0.0",
"jest-circus": "24.0.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jsdoc": "^3.6.2",
"object-assign": "^4.1.1",
"promise": "^8.0.1",
Expand Down
1 change: 1 addition & 0 deletions packages/web-components/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ es
lib
node_modules
docs
storybook-static-react
6 changes: 3 additions & 3 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@
"is-port-reachable": "^3.0.0",
"istanbul-instrumenter-loader": "^3.0.0",
"jasmine-core": "^3.0.0",
"jest": "^24.0.0",
"jest-circus": "^24.0.0",
"jest": "25.5.4",
"jest-circus": "25.5.4",
"jest-dev-server": "^4.4.0",
"jest-diff": "^24.9.0",
"jest-diff": "25.5.0",
"jest-environment-puppeteer": "^4.4.0",
"jest-playwright-preset": "^0.1.0",
"karma": "^4.0.0",
Expand Down
Loading

0 comments on commit 6601a90

Please sign in to comment.