hellomouse / GNS

GitHub Notification Service For IRC
MIT License
6 stars 3 forks source link

chore(deps): update jest monorepo to v26 (major) #952

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
babel-jest devDependencies major ^25.1.0 -> ^26.0.0
jest (source) devDependencies major ~25.1.0 -> ~26.6.0
jest (source) devDependencies major ^25.0.0 -> ^26.0.0
jest-resolve devDependencies major ^25.1.0 -> ^26.0.0

Release Notes

facebook/jest ### [`v26.6.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2661) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.0...v26.6.1) ##### Features - `[jest-runtime]` Support named exports from CommonJS as named ES Module imports ([#​10673](https://togithub.com/facebook/jest/pull/10673)) - `[jest-validate]` Add support for `recursiveDenylist` option as an alternative to `recursiveBlacklist` ([#​10236](https://togithub.com/facebook/jest/pull/10236)) ##### Fixes - `[expect]` Fix `objectContaining` to work recursively into sub-objects ([#​10508](https://togithub.com/facebook/jest/pull/10508)) - `[jest-cli, jest-core, jest-config, jest-types]` Fix `--onlyFailures` flag to work in non-watch mode ([#​10678](https://togithub.com/facebook/jest/pull/10678/files)) - `[jest-config]` Fix for the `jest.config.ts` compiler to not interfere with `tsconfig.json` files ([#​10675](https://togithub.com/facebook/jest/pull/10675)) - `[jest-message-util]` Update to work properly with Node 15 ([#​10660](https://togithub.com/facebook/jest/pull/10660)) - `[jest-mock]` Allow to mock methods in getters (TypeScript 3.9 export) ([#​10156](https://togithub.com/facebook/jest/pull/10156)) ### [`v26.6.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2660) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.2...v26.6.0) ##### Features - `[jest-cli, jest-config]` Add support for the `jest.config.ts` configuration file ([#​10564](https://togithub.com/facebook/jest/pull/10564)) ##### Fixes - `[jest-config]` Simplify transform RegExp ([#​10207](https://togithub.com/facebook/jest/pull/10207)) - `[jest-fake-timers]` Lazily instantiate mock timers ([#​10551](https://togithub.com/facebook/jest/pull/10551)) - `[jest-runtime]` `require.main` is no longer `undefined` when using `jest.resetModules` ([#​10626](https://togithub.com/facebook/jest/pull/10626)) - `[@jest/types]` Add missing values for `timers` ([#​10632](https://togithub.com/facebook/jest/pull/10632)) ##### Chore & Maintenance - `[docs]` Add step for fetching `backers.json` file in website setup docs ([#​10631](https://togithub.com/facebook/jest/pull/10631)) - `[docs]` Add page detailing environment variables set by Jest ([#​10630](https://togithub.com/facebook/jest/pull/10630)) - `[jest-circus]` Refactor `callAsyncCircusFn` parameters ([#​10629](https://togithub.com/facebook/jest/pull/10629)) ### [`v26.5.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2652) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.0...v26.5.2) ##### Fixes - `[*]` Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13 ([#​10599](https://togithub.com/facebook/jest/pull/10599)) - `[jest-circus]` Setup globals before emitting `setup`, and include Jest globals in the `setup` payload ([#​10598](https://togithub.com/facebook/jest/pull/10598)) - `[jest-mock]` Fix typings for `mockResolvedValue`, `mockResolvedValueOnce`, `mockRejectedValue` and `mockRejectedValueOnce` ([#​10600](https://togithub.com/facebook/jest/pull/10600)) ### [`v26.5.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2650) [Compare Source](https://togithub.com/facebook/jest/compare/v26.3.0...v26.5.0) ##### Features - `[jest-circus, jest-config, jest-runtime]` Add new `injectGlobals` config and CLI option to disable injecting global variables into the runtime ([#​10484](https://togithub.com/facebook/jest/pull/10484)) - `[jest-each]` Fixes `.each` type to always be callable ([#​10447](https://togithub.com/facebook/jest/pull/10447)) - `[jest-runner]` Add support for `moduleLoader`s with `default` exports ([#​10541](https://togithub.com/facebook/jest/pull/10541)) - `[@jest/create-cache-key-function]` Added a new package for creating cache keys ([#​10587](https://togithub.com/facebook/jest/pull/10587)) ##### Fixes - `[jest-circus, jest-jasmine2]` Find correct location for `test.each` tests ([#​10413](https://togithub.com/facebook/jest/pull/10413)) - `[jest-console]` Add `Console` constructor to `console` object ([#​10502](https://togithub.com/facebook/jest/pull/10502)) - `[jest-globals]` Fix lifecycle hook function types ([#​10480](https://togithub.com/facebook/jest/pull/10480)) - `[jest-runtime]` Remove usage of `vm.compileFunction` due to a performance issue ([#​10586](https://togithub.com/facebook/jest/pull/10586)) ##### Chore & Maintenance - `[jest-resolve]` Replace read-pkg-up with escalade package ([10558](https://togithub.com/facebook/jest/pull/10558)) - `[jest-environment-jsdom]` Update jsdom to 16.4.0 ([10578](https://togithub.com/facebook/jest/pull/10578)) ### [`v26.3.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2630) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.2...v26.3.0) ##### Features - `[jest-circus, jest-jasmine2]` Include `failureDetails` property in test results ([#​9496](https://togithub.com/facebook/jest/pull/9496)) - `[jest-each, jest-jasmine, jest-circus]` Add support for `.concurrent.each` ([#​9326](https://togithub.com/facebook/jest/pull/9326)) ##### Fixes - `[jest-config]` Add `.pnp.js` to `transformIgnorePatterns` defaults ([#​10383](https://togithub.com/facebook/jest/pull/10383)) - `[jest-leak-detector]` Wait properly for GC runs due to changes in Node 14.7 ([#​10366](https://togithub.com/facebook/jest/pull/10366)) - `[jest-worker]` Downgrade minimum node version to 10.13 ([#​10352](https://togithub.com/facebook/jest/pull/10352)) - `[docs]` Update snapshot testing documentation([#​10359](https://togithub.com/facebook/jest/pull/10359)) ### [`v26.2.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2622) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.1...v26.2.2) ##### Fixes - `[jest-cli]` Use correct file name to override existing jest config on init ([#​10337](https://togithub.com/facebook/jest/pull/10337)) - `[jest-haste-map]` Properly detect support for native `find` ([#​10346](https://togithub.com/facebook/jest/pull/10346)) ### [`v26.2.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2621) [Compare Source](https://togithub.com/facebook/jest/compare/v26.2.0...v26.2.1) ##### Fixes - `[jest-worker]` Make sure to work with Node TS typings v12 ([#​10336](https://togithub.com/facebook/jest/pull/10336)) ### [`v26.2.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2620) [Compare Source](https://togithub.com/facebook/jest/compare/v26.1.0...v26.2.0) ##### Features - `[jest-core, jest-circus, jest-reporter, jest-runner]` Added support for reporting individual test cases using jest-circus ([#​10227](https://togithub.com/facebook/jest/pull/10227)) - `[jest-config, jest-reporter, jest-runner, jest-test-sequencer]` Add `slowTestThreshold` configuration option ([#​9366](https://togithub.com/facebook/jest/pull/9366)) - `[jest-haste-map]` Watchman crawler now includes dotfiles ([#​10075](https://togithub.com/facebook/jest/pull/10075)) - `[jest-worker]` Added support for workers to send custom messages to parent in jest-worker ([#​10293](https://togithub.com/facebook/jest/pull/10293)) - `[jest-worker]` Support passing `resourceLimits` ([#​10335](https://togithub.com/facebook/jest/pull/10335)) - `[pretty-format]` Added support for serializing custom elements (web components) ([#​10217](https://togithub.com/facebook/jest/pull/10237)) ##### Fixes - `[expect]` Match symbols and bigints in `any()` ([#​10223](https://togithub.com/facebook/jest/pull/10223)) - `[jest-changed-files]` Use `git diff` instead of `git log` for `--changedSince` ([#​10155](https://togithub.com/facebook/jest/pull/10155)) - `[jest-console]` Add missing `console.timeLog` for compatibility with Node ([#​10209](https://togithub.com/facebook/jest/pull/10209)) - `[jest-haste-map]` Check `find` binary supports the `-iname` parameter ([#​10308](https://togithub.com/facebook/jest/pull/10308)) - `[jest-snapshot]` Strip added indentation for inline error snapshots ([#​10217](https://togithub.com/facebook/jest/pull/10217)) ##### Chore & Maintenance - `[*]` Add missing dependency on `@types/node` ([#​10248](https://togithub.com/facebook/jest/pull/10248)) - `[jest-jasmine2]` Convert `PCancelable` to TypeScript ([#​10215](https://togithub.com/facebook/jest/pull/10215)) - `[jest-jasmine2]` Refine typings of `queueRunner` ([#​10215](https://togithub.com/facebook/jest/pull/10215)) - `[jest-jasmine2]` Remove usage of `Function` type ([#​10216](https://togithub.com/facebook/jest/pull/10216)) - `[jest-resolve]` Improve types ([#​10239](https://togithub.com/facebook/jest/pull/10239)) - `[docs]` Clarify the [`jest.requireActual(moduleName)`](https://jestjs.io/docs/en/jest-object#jestrequireactualmodulename) example - `[jest-types]` Refine typings of `coverageReporters` ([#​10275](https://togithub.com/facebook/jest/pull/10275)) ### [`v26.1.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2610) [Compare Source](https://togithub.com/facebook/jest/compare/v26.0.1...v26.1.0) ##### Features - `[jest-mock]` Export `Mock`, `MockInstance`, `SpyInstance` types ([#​10138](https://togithub.com/facebook/jest/pull/10138)) - `[jest-config]` Support config files exporting (`async`) `function`s ([#​10001](https://togithub.com/facebook/jest/pull/10001)) - `[jest-cli, jest-core]` Add `--selectProjects` CLI argument to filter test suites by project name ([#​8612](https://togithub.com/facebook/jest/pull/8612)) - `[jest-cli, jest-init]` Add `coverageProvider` to `jest --init` prompts ([#​10044](https://togithub.com/facebook/jest/pull/10044)) ##### Fixes - `[jest-console]` `getConsoleOutput` to receive global stack trace config and use it to format stack trace ([#​10081](https://togithub.com/facebook/jest/pull/10081)) - `[jest-jasmine2]` Stop adding `:` after an error that has no message ([#​9990](https://togithub.com/facebook/jest/pull/9990)) - `[jest-diff]` Control no diff message color with `commonColor` in diff options ([#​9997](https://togithub.com/facebook/jest/pull/9997)) - `[jest-snapshot]` Fix TypeScript compilation ([#​10008](https://togithub.com/facebook/jest/pull/10008)) ##### Chore & Maintenance - `[docs]` Correct confusing filename in `enableAutomock` example ([#​10055](https://togithub.com/facebook/jest/pull/10055)) - `[jest-core]` 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 ([#​10000](https://togithub.com/facebook/jest/pull/10000)) - `[jest-core, jest-reporters, jest-test-result, jest-types]` Cleanup `displayName` type ([#​10049](https://togithub.com/facebook/jest/pull/10049)) - `[jest-runtime]` Jest-internal sandbox escape hatch ([#​9907](https://togithub.com/facebook/jest/pull/9907)) - `[jest-fake-timers]` Update `now` param type to support `Date` in addition to `number`. ([#​10169](https://togithub.com/facebook/jest/pull/10169)) - `[docs]` Add param to `setSystemTime` docs and remove preceding period from it and `getRealSystemTime` ([#​10169](https://togithub.com/facebook/jest/pull/10169)) - `[jest-snapshot, jest-util]` Replace `make-dir` with `fs.mkdir` ([#​10136](https://togithub.com/facebook/jest/pull/10136)) - `[docs]` Added parcel-bundler documentation inside readme.md file ##### Performance - `[jest-core, jest-transform, jest-haste-map]` Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances ([#​10131](https://togithub.com/facebook/jest/pull/10131)) ### [`v26.0.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2601) [Compare Source](https://togithub.com/facebook/jest/compare/v26.0.0...v26.0.1) ##### Fixes - `[jest-circus]` Backward compatibility for deprecated `DescribeBlock.tests` to not break e.g. Detox reporter ### [`v26.0.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#​2600) [Compare Source](https://togithub.com/facebook/jest/compare/v25.5.1...v26.0.0) ##### Features - `[jest-environment-jsdom]` [**BREAKING**] Upgrade `jsdom` to v16 ([#​9606](https://togithub.com/facebook/jest/pull/9606)) - `[@jest/fake-timers]` Add possibility to use a modern implementation of fake timers, backed by `@sinonjs/fake-timers` ([#​7776](https://togithub.com/facebook/jest/pull/7776)) - `[jest-runtime]` Add `createMockFromModule` as an alias for `genMockFromModule` ([#​9962](https://togithub.com/facebook/jest/pull/9962)) ##### Fixes - `[babel-jest]` Handle `null` being passed to `createTransformer` ([#​9955](https://togithub.com/facebook/jest/pull/9955)) - `[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]` Fix time durating formatting and consolidate time formatting code ([#​9765](https://togithub.com/facebook/jest/pull/9765)) - `[jest-circus]` [**BREAKING**] Fail tests if a test takes a done callback and have return values ([#​9129](https://togithub.com/facebook/jest/pull/9129)) - `[jest-circus]` [**BREAKING**] Throw a proper error if a test / hook is defined asynchronously ([#​8096](https://togithub.com/facebook/jest/pull/8096)) - `[jest-circus]` Throw more descriptive error if hook is defined inside test ([#​9957](https://togithub.com/facebook/jest/pull/9957)) - `[jest-circus]` [**BREAKING**] Align execution order of tests to match `jasmine`'s top to bottom order ([#​9965](https://togithub.com/facebook/jest/pull/9965)) - `[jest-config, jest-resolve]` [**BREAKING**] Remove support for `browser` field ([#​9943](https://togithub.com/facebook/jest/pull/9943)) - `[jest-haste-map]` Stop reporting files as changed when they are only accessed ([#​7347](https://togithub.com/facebook/jest/pull/7347)) - `[jest-resolve]` Show relative path from root dir for `module not found` errors ([#​9963](https://togithub.com/facebook/jest/pull/9963)) - `[jest-runtime]` Fix absolute path moduleNameMapper + jest.mock bug ([#​8727](https://togithub.com/facebook/jest/pull/8727)) ##### Chore & Maintenance - `[*]` [**BREAKING**] TypeScript definitions requires a minimum of TypeScript v3.8 ([#​9823](https://togithub.com/facebook/jest/pull/9823)) - `[*]` [**BREAKING**] Drop support for Node 8 ([#​9423](https://togithub.com/facebook/jest/pull/9423)) - `[*]` Upgrade to chalk@4 ([#​9752](https://togithub.com/facebook/jest/pull/9752)) - `[*]` Remove usage of `realpath-native` ([#​9952](https://togithub.com/facebook/jest/pull/9952)) - `[docs]` Fix example reference implementation to use Jest with Phabricator ([#​8662](https://togithub.com/facebook/jest/pull/8662)) - `[docs]` Added default compiler to tranform ([#​8583](https://togithub.com/facebook/jest/pull/8583)) - `[docs]` Updated Testing Frameworks guide with React; make it generic ([#​9106](https://togithub.com/facebook/jest/pull/9106)) - `[expect, jest-mock, pretty-format]` [**BREAKING**] Remove `build-es5` from package ([#​9945](https://togithub.com/facebook/jest/pull/9945)) - `[@jest/fake-timers, @​jest/environment]` [**BREAKING**] Rename `LolexFakeTimers` to `ModernFakeTimers` ([#​9960](https://togithub.com/facebook/jest/pull/9960)) - `[jest-haste-map]` [**BREAKING**] removed `providesModuleNodeModules` ([#​8535](https://togithub.com/facebook/jest/pull/8535)) - `[jest-runtime]` [**BREAKING**] Remove long-deprecated `require.requireActual` and `require.requireMock` methods ([#​9854](https://togithub.com/facebook/jest/pull/9854))

Renovate configuration

:date: Schedule: "before 3am on Monday" (UTC).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 3 years ago

:warning: Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

:recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: dashboard/package-lock.json
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! Found: babel-jest@25.1.0
npm ERR! node_modules/babel-jest
npm ERR!   dev babel-jest@"^26.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! dev babel-jest@"^26.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2020-10-28T07_03_13_469Z-debug.log