Open renovate[bot] opened 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/yurikrupnik/batman/71sKPf7j41xD1XFv1NdLdJfDKp1H
✅ Preview: https://batman-git-renovate-jest-monorepo-yurikrupnik.vercel.app
🔍 Inspect: https://vercel.com/yurikrupnik/alfred/EuJBEK3v32BaCDRiyjPLyi4PtDfE
✅ Preview: https://alfred-git-renovate-jest-monorepo-yurikrupnik.vercel.app
This PR contains the following updates:
27.0.1
->27.5.2
27.0.6
->27.5.1
Release Notes
jestjs/jest (jest)
### [`v27.5.1`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2751) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.5.0...v27.5.1) ##### Features - `[jest-config]` Support comments in JSON config file ([#12316](https://togithub.com/facebook/jest/pull/12316)) - `[pretty-format]` Expose `ConvertAnsi` plugin ([#12308](https://togithub.com/facebook/jest/pull/12308)) ##### Fixes - `[expect]` Add type definitions for asymmetric `closeTo` matcher ([#12304](https://togithub.com/facebook/jest/pull/12304)) - `[jest-cli]` Load binary via exported API ([#12315](https://togithub.com/facebook/jest/pull/12315)) - `[jest-config]` Replace `jsonlint` with `parse-json` ([#12316](https://togithub.com/facebook/jest/pull/12316)) - `[jest-repl]` Make module importable ([#12311](https://togithub.com/facebook/jest/pull/12311) & [#12315](https://togithub.com/facebook/jest/pull/12315)) ##### Chore & Maintenance - `[*]` Avoid anonymous default exports ([#12313](https://togithub.com/facebook/jest/pull/12313)) ### [`v27.5.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2750) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.7...v27.5.0) ##### Features - `[expect]` Add asymmetric matcher `expect.closeTo` ([#12243](https://togithub.com/facebook/jest/pull/12243)) - `[jest-mock]` Added `mockFn.mock.lastCall` to retrieve last argument ([#12285](https://togithub.com/facebook/jest/pull/12285)) ##### Fixes - `[expect]` Add a fix for `.toHaveProperty('')` ([#12251](https://togithub.com/facebook/jest/pull/12251)) - `[jest-each, @jest/globals]` Allow passing `ReadonlyArray` type of a table to `describe.each` and `test.each` ([#12297](https://togithub.com/facebook/jest/pull/12297)) - `[@jest/globals]` Add missing `options` argument to `jest.doMock` typing ([#12292](https://togithub.com/facebook/jest/pull/12292)) - `[jest-environment-node]` Add `atob` and `btoa` ([#12269](https://togithub.com/facebook/jest/pull/12269)) - `[jest-matcher-utils]` Correct diff for expected asymmetric matchers ([#12264](https://togithub.com/facebook/jest/pull/12264)) - `[jest-message-util]` Fix `.getTopFrame()` (and `toMatchInlineSnapshot()`) with `mjs` files ([#12277](https://togithub.com/facebook/jest/pull/12277)) ##### Chore & Maintenance - `[*]` Update `graceful-fs` to `^4.2.9` ([#11749](https://togithub.com/facebook/jest/pull/11749)) ##### Performance - `[jest-resolve]` perf: skip error creation on not found `stat` calls ([#11749](https://togithub.com/facebook/jest/pull/11749)) ### [`v27.4.7`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2747) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.6...v27.4.7) ##### Fixes - `jest-config` Add missing `@babel/core` dependency ([#12216](https://togithub.com/facebook/jest/pull/12216)) ### [`v27.4.6`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2746) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.5...v27.4.6) ##### Fixes - `[jest-environment-node]` Add `AbortSignal` ([#12157](https://togithub.com/facebook/jest/pull/12157)) - `[jest-environment-node]` Add Missing node global `performance` ([#12002](https://togithub.com/facebook/jest/pull/12002)) - `[jest-runtime]` Handle missing `mocked` property ([#12213](https://togithub.com/facebook/jest/pull/12213)) - `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12002](https://togithub.com/facebook/jest/pull/12002)) ##### Performance - `jest-config` perf: only register ts-node once when loading TS config files ([#12160](https://togithub.com/facebook/jest/pull/12160)) ### [`v27.4.5`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2745) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.4...v27.4.5) ##### Fixes - `[jest-worker]` Stop explicitly passing `process.env` ([#12141](https://togithub.com/facebook/jest/pull/12141)) ### [`v27.4.4`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2744) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.3...v27.4.4) ##### Fixes - `[babel-jest]` Add `process.version` chunk to the cache key ([#12122](https://togithub.com/facebook/jest/pull/12122)) - `[jest-environment]` Add `mocked` to `jest` object ([#12133](https://togithub.com/facebook/jest/pull/12133)) - `[jest-worker]` Stop explicitly passing `execArgv` ([#12128](https://togithub.com/facebook/jest/pull/12128)) ##### Chore & Maintenance - `[website]` Fix the card front that looks overlapping part of the card back ### [`v27.4.3`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2743) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.2...v27.4.3) ##### Fixes - `[jest-environment-jsdom]` Remove `@types/jsdom` dependency (and make its `dom` property `private`) ([#12107](https://togithub.com/facebook/jest/pull/12107)) ### [`v27.4.2`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2742) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.1...v27.4.2) ##### Fixes - `[jest-worker]` Add additional `execArgv` to filter ([#12103](https://togithub.com/facebook/jest/pull/12103)) ### [`v27.4.1`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2741) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.4.0...v27.4.1) ##### Fixes - `[jest-worker]` Filter `execArgv` correctly ([#12097](https://togithub.com/facebook/jest/pull/12097)) ### [`v27.4.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2740) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.3.1...v27.4.0) ##### Features - `[expect]` Enhancing the `toHaveProperty` matcher to support array selection ([#12092](https://togithub.com/facebook/jest/pull/12092)) - `[jest-core]` Add support for `testResultsProcessor` written in ESM ([#12006](https://togithub.com/facebook/jest/pull/12006)) - `[jest-diff, pretty-format]` Add `compareKeys` option for custom sorting of object keys ([#11992](https://togithub.com/facebook/jest/pull/11992)) - `[jest-mock]` Add `ts-jest` mock util functions ([#12089](https://togithub.com/facebook/jest/pull/12089)) ##### Fixes - `[expect]` Allow again `expect.Matchers` generic with single value ([#11986](https://togithub.com/facebook/jest/pull/11986)) - `[jest-circus, jest-jasmine2]` Avoid false concurrent test failures due to unhandled promise rejections ([#11987](https://togithub.com/facebook/jest/pull/11987)) - `[jest-config]` Add missing `slash` dependency to `package.json` ([#12080](https://togithub.com/facebook/jest/pull/12080)) - `[jest-core]` Incorrect detection of open ZLIB handles ([#12022](https://togithub.com/facebook/jest/pull/12022)) - `[jest-diff]` Break dependency cycle ([#10818](https://togithub.com/facebook/jest/pull/10818)) - `[jest-environment-jsdom]` Add `@types/jsdom` dependency ([#11999](https://togithub.com/facebook/jest/pull/11999)) - `[jest-environment-jsdom]` Do not reset the global.document too early on teardown ([#11871](https://togithub.com/facebook/jest/pull/11871)) - `[jest-transform]` Improve error and warning messages ([#11998](https://togithub.com/facebook/jest/pull/11998)) - `[jest-worker]` Pass `execArgv` correctly to `worker_threads` worker ([#12069](https://togithub.com/facebook/jest/pull/12069)) ##### Chore & Maintenance - `[docs]` CLI options alphabetized ([#11586](https://togithub.com/facebook/jest/pull/11586)) - `[jest-runner]` Add info regarding timers to forcedExit message([#12083](https://togithub.com/facebook/jest/pull/12083)) - `[*]` Replaced `substr` method with `substring` ([#12066](https://togithub.com/facebook/jest/pull/12066)) - `[*]` Add `types` entry to all export maps ([#12073](https://togithub.com/facebook/jest/pull/12073)) ### [`v27.3.1`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2731) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.3.0...v27.3.1) ##### Fixes - `[expect]` Make `expect` extension properties `configurable` ([#11978](https://togithub.com/facebook/jest/pull/11978)) - `[expect]` Fix `.any()` checks on primitive wrapper classes ([#11976](https://togithub.com/facebook/jest/pull/11976)) ##### Chore & Maintenance - `[expect]` `BigInt` global is always defined, don't check for its existence at runtime ([#11979](https://togithub.com/facebook/jest/pull/11979)) - `[jest-config, jest-util]` Use `ci-info` instead of `is-ci` to detect CI environment ([#11973](https://togithub.com/facebook/jest/pull/11973)) ### [`v27.3.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2730) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.5...v27.3.0) ##### Features - `[jest-config]` Add `testEnvironmentOptions.html` to apply to jsdom input ([#11950](https://togithub.com/facebook/jest/pull/11950)) - `[jest-resolver]` Support default export (`.`) in `exports` field *if* `main` is missing ([#11919](https://togithub.com/facebook/jest/pull/11919)) ##### Fixes - `[expect]` Tweak and improve types ([#11949](https://togithub.com/facebook/jest/pull/11949)) - `[jest-runtime]` Ensure absolute paths can be resolved within test modules ([#11943](https://togithub.com/facebook/jest/pull/11943)) - `[jest-runtime]` Fix `instanceof` for `ModernFakeTimers` and `LegacyFakeTimers` methods ([#11946](https://togithub.com/facebook/jest/pull/11946)) ### [`v27.2.5`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2725) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.4...v27.2.5) ##### Features - `[jest-config]` Warn when multiple Jest configs are located ([#11922](https://togithub.com/facebook/jest/pull/11922)) ##### Fixes - `[expect]` Pass matcher context to asymmetric matchers ([#11926](https://togithub.com/facebook/jest/pull/11926) & [#11930](https://togithub.com/facebook/jest/pull/11930)) - `[expect]` Improve TypeScript types ([#11931](https://togithub.com/facebook/jest/pull/11931)) - `[expect]` Improve typings of `toThrow()` and `toThrowError()` matchers ([#11929](https://togithub.com/facebook/jest/pull/11929)) - `[jest-cli]` Improve `--help` printout by removing defunct `--browser` option ([#11914](https://togithub.com/facebook/jest/pull/11914)) - `[jest-haste-map]` Use distinct cache paths for different values of `computeDependencies` ([#11916](https://togithub.com/facebook/jest/pull/11916)) - `[@jest/reporters]` Do not buffer `console.log`s when using verbose reporter ([#11054](https://togithub.com/facebook/jest/pull/11054)) ##### Chore & Maintenance - `[expect]` Export default matchers ([#11932](https://togithub.com/facebook/jest/pull/11932)) - `[@jest/types]` Mark deprecated configuration options as `@deprecated` ([#11913](https://togithub.com/facebook/jest/pull/11913)) ### [`v27.2.4`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2724) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.3...v27.2.4) ##### Features - `[expect]` Add equality checks for Array Buffers in `expect.ToStrictEqual()` ([#11805](https://togithub.com/facebook/jest/pull/11805)) ##### Fixes - `[jest-snapshot]` Correctly indent inline snapshots ([#11560](https://togithub.com/facebook/jest/pull/11560)) ### [`v27.2.3`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2723) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.2...v27.2.3) ##### Features - `[@jest/fake-timers]` Update `@sinonjs/fake-timers` to v8 ([#11879](https://togithub.com/facebook/jest/pull/11879)) ##### Fixes - `[jest-config]` Parse `testEnvironmentOptions` if received from CLI ([#11902](https://togithub.com/facebook/jest/pull/11902)) - `[jest-reporters]` Call `destroy` on `v8-to-istanbul` converters to free memory ([#11896](https://togithub.com/facebook/jest/pull/11896)) ### [`v27.2.2`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2722) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.1...v27.2.2) ##### Fixes - `[jest-runtime]` Correct `wrapperLength` value for ESM modules. ([#11893](https://togithub.com/facebook/jest/pull/11893)) ### [`v27.2.1`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2721) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.2.0...v27.2.1) ##### Features - `[jest-transform]` Improve the unexpected token error message. ([#11807](https://togithub.com/facebook/jest/pull/11807)) ##### Fixes - `[jest-runtime]` Fix regression when using `jest.isolateModules` and mocks ([#11882](https://togithub.com/facebook/jest/pull/11882)) - `[jest-runtime]` Include test name when importing modules after test has completed ([#11885](https://togithub.com/facebook/jest/pull/11885)) - `[jest-runtime]` Error when ESM import is used after test is torn down ([#11885](https://togithub.com/facebook/jest/pull/11885)) ### [`v27.2.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2720) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.1.1...v27.2.0) ##### Features - `[jest-resolver, jest-runtime]` Pass `conditions` to custom resolvers to enable them to implement support for package.json `exports` field ([#11859](https://togithub.com/facebook/jest/pull/11859)) - `[jest-runtime]` Allow custom envs to specify `exportConditions` which is passed together with Jest's own conditions to custom resolvers ([#11863](https://togithub.com/facebook/jest/pull/11863)) ##### Fixes - `[@jest/reporters]` Use async transform if available to transform files with no coverage ([#11852](https://togithub.com/facebook/jest/pull/11852)) - `[jest-util]` Return correct value from `process.send` stub ([#11799](https://togithub.com/facebook/jest/pull/11799)) ### [`v27.1.1`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2711) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.1.0...v27.1.1) ##### Features - `[jest-runtime]` Add experimental, limited (and undocumented) support for mocking ECMAScript Modules ([#11818](https://togithub.com/facebook/jest/pull/11818)) ##### Fixes - `[jest-resolver]` Support `node:` prefix when importing Node core modules with ESM ([#11817](https://togithub.com/facebook/jest/pull/11817)) - `[jest-types]` Export the `PrettyFormatOptions` interface ([#11801](https://togithub.com/facebook/jest/pull/11801)) ### [`v27.1.0`](https://togithub.com/jestjs/jest/blob/HEAD/CHANGELOG.md#2710) [Compare Source](https://togithub.com/jestjs/jest/compare/v27.0.6...v27.1.0) ##### Features - `[jest-haste-map]` Use watchman suffix-set option for faster file indexing. ([#11784](https://togithub.com/facebook/jest/pull/11784)) - `[jest-cli]` Adds a new config options `snapshotFormat` which offers a way to override any of the formatting settings which come with [pretty-format](https://www.npmjs.com/package/pretty-format#usage-with-options). ([#11654](https://togithub.com/facebook/jest/pull/11654)) - `[jest-reporters]` Expose the `getSummary` util ([#11695](https://togithub.com/facebook/jest/pull/11695)). - `[jest-resolver]` Support `node:` prefix when importing Node core modules ([#11331](https://togithub.com/facebook/jest/pull/11331)) ##### Fixes - `[jest-each]` Relaxed the validation to allow multibyte characters in headings ([#11575](https://togithub.com/facebook/jest/pull/11575)) - `[jest-environment-jsdom]` Add support for `userAgent` option ([#11773](https://togithub.com/facebook/jest/pull/11773)) - `[jest-environment-node]` Add `Event` and `EventTarget` to node global environment. ([#11727](https://togithub.com/facebook/jest/pull/11727)) - `[jest-mock]` Fix `spyOn` to use `Object.prototype.hasOwnProperty` ([#11721](https://togithub.com/facebook/jest/pull/11721)) - `[jest-resolver]` Add dependency on `jest-haste-map` ([#11759](https://togithub.com/facebook/jest/pull/11759)) - `[jest-types]` Compat with `@types/node` v16 ([#11645](https://togithub.com/facebook/jest/pull/11645)) ##### Chore & Maintenance - `[docs]` Correct `expects.assertions` documentation by adding async/await for asynchronous function.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.