Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
2.22.1
2.25.3
26.0.0
26.6.3
📅 Schedule: "every 2 weeks on Monday before 7am" in timezone Europe/Berlin.
🚦 Automerge: Enabled.
♻ 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 has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
2.22.1
->2.25.3
26.0.0
->26.6.3
Release Notes
import-js/eslint-plugin-import
### [`v2.25.3`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2253---2021-11-09) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.25.3) ##### Fixed - \[`extensions`]: ignore unresolveable type-only imports (\[[#2270](https://togithub.com/import-js/eslint-plugin-import/issues/2270)], \[[#2271](https://togithub.com/import-js/eslint-plugin-import/issues/2271)], \[[@jablko](https://togithub.com/jablko)]) - `importType`: fix `isExternalModule` calculation (\[[#2282](https://togithub.com/import-js/eslint-plugin-import/issues/2282)], \[[@mx-bernhard](https://togithub.com/mx-bernhard)]) - \[`no-import-module-exports`]: avoid false positives with a shadowed `module` or `exports` (\[[#2297](https://togithub.com/import-js/eslint-plugin-import/issues/2297)], \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] \[`order`]: add type to the default groups (\[[#2272](https://togithub.com/import-js/eslint-plugin-import/issues/2272)], \[[@charpeni](https://togithub.com/charpeni)]) - \[readme] Add note to TypeScript docs to install appropriate resolver (\[[#2279](https://togithub.com/import-js/eslint-plugin-import/issues/2279)], \[[@johnthagen](https://togithub.com/johnthagen)]) - \[Refactor] `importType`: combine redundant `isScoped` and `isScopedModule` (\[[@ljharb](https://togithub.com/ljharb)]) - \[Docs] HTTP => HTTPS (\[[#2287](https://togithub.com/import-js/eslint-plugin-import/issues/2287)], \[[@Schweinepriester](https://togithub.com/Schweinepriester)]) ### [`v2.25.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2252---2021-10-12) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.1...v2.25.2) ##### Fixed - \[Deps] update `eslint-module-utils` for real this time (\[[#2255](https://togithub.com/import-js/eslint-plugin-import/issues/2255)]) ### [`v2.25.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2251---2021-10-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.25.0...v2.25.1) ##### Fixed - \[Deps] update `eslint-module-utils` ### [`v2.25.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2250---2021-10-11) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.0) ##### Added - Support `eslint` v8 (\[[#2191](https://togithub.com/import-js/eslint-plugin-import/issues/2191)], thanks \[[@ota-meshi](https://togithub.com/ota-meshi)]) - \[`no-unresolved`]: add `caseSensitiveStrict` option (\[[#1262](https://togithub.com/import-js/eslint-plugin-import/issues/1262)], thanks \[[@sergei-startsev](https://togithub.com/sergei-startsev)]) - \[`no-unused-modules`]: add eslint v8 support (\[[#2194](https://togithub.com/import-js/eslint-plugin-import/issues/2194)], thanks \[[@coderaiser](https://togithub.com/coderaiser)]) - \[`no-restricted-paths`]: add/restore glob pattern support (\[[#2219](https://togithub.com/import-js/eslint-plugin-import/issues/2219)], thanks \[[@stropho](https://togithub.com/stropho)]) - \[`no-unused-modules`]: support dynamic imports (\[[#1660](https://togithub.com/import-js/eslint-plugin-import/issues/1660)], \[[#2212](https://togithub.com/import-js/eslint-plugin-import/issues/2212)], thanks \[[@maxkomarychev](https://togithub.com/maxkomarychev)], \[[@aladdin-add](https://togithub.com/aladdin-add)], \[[@Hypnosphi](https://togithub.com/Hypnosphi)]) ##### Fixed - \[`no-unresolved`]: ignore type-only imports (\[[#2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@jablko](https://togithub.com/jablko)]) - \[`order`]: fix sorting imports inside TypeScript module declarations (\[[#2226](https://togithub.com/import-js/eslint-plugin-import/issues/2226)], thanks \[[@remcohaszing](https://togithub.com/remcohaszing)]) - \[`default`], `ExportMap`: Resolve extended TypeScript configuration files (\[[#2240](https://togithub.com/import-js/eslint-plugin-import/issues/2240)], thanks \[[@mrmckeb](https://togithub.com/mrmckeb)]) ##### Changed - \[Refactor] switch to an internal replacement for `pkg-up` and `read-pkg-up` (\[[#2047](https://togithub.com/import-js/eslint-plugin-import/issues/2047)], thanks \[[@mgwalker](https://togithub.com/mgwalker)]) - \[patch] TypeScript config: remove `.d.ts` from \[`import/parsers` setting] and \[`import/extensions` setting] (\[[#2220](https://togithub.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@jablko](https://togithub.com/jablko)]) - \[Refactor] \[`no-unresolved`], \[`no-extraneous-dependencies`]: moduleVisitor usage (\[[#2233](https://togithub.com/import-js/eslint-plugin-import/issues/2233)], thanks \[[@jablko](https://togithub.com/jablko)]) ### [`v2.24.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2242---2021-08-24) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.1...v2.24.2) ##### Fixed - \[`named`], \[`namespace`]: properly handle ExportAllDeclarations (\[[#2199](https://togithub.com/import-js/eslint-plugin-import/issues/2199)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ### [`v2.24.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2241---2021-08-19) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.24.1) ##### Fixed - `ExportMap`: Add default export when esModuleInterop is true and anything is exported (\[[#2184](https://togithub.com/import-js/eslint-plugin-import/issues/2184)], thanks \[[@Maxim-Mazurok](https://togithub.com/Maxim-Mazurok)]) - \[`named`], \[`namespace`]: properly set reexports on `export * as … from` (\[[#1998](https://togithub.com/import-js/eslint-plugin-import/issues/1998)], \[[#2161](https://togithub.com/import-js/eslint-plugin-import/issues/2161)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-duplicates`]: correctly handle case of mixed default/named type imports (\[[#2149](https://togithub.com/import-js/eslint-plugin-import/issues/2149)], thanks \[[@GoodForOneFare](https://togithub.com/GoodForOneFare)], \[[@nwalters512](https://togithub.com/nwalters512)]) - \[`no-duplicates`]: avoid crash with empty `import type {}` (\[[#2201](https://togithub.com/import-js/eslint-plugin-import/issues/2201)], thanks \[[@ljharb](https://togithub.com/ljharb)]) ##### Changed - \[Docs] `max-dependencies`: 📖 Document `ignoreTypeImports` option (\[[#2196](https://togithub.com/import-js/eslint-plugin-import/issues/2196)], thanks \[[@himynameisdave](https://togithub.com/himynameisdave)]) ### [`v2.24.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2240---2021-08-08) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0) ##### Added - \[`no-dynamic-require`]: add option `esmodule` (\[[#1223](https://togithub.com/import-js/eslint-plugin-import/issues/1223)], thanks \[[@vikr01](https://togithub.com/vikr01)]) - \[`named`]: add `commonjs` option (\[[#1222](https://togithub.com/import-js/eslint-plugin-import/issues/1222)], thanks \[[@vikr01](https://togithub.com/vikr01)]) - \[`no-namespace`]: Add `ignore` option (\[[#2112](https://togithub.com/import-js/eslint-plugin-import/issues/2112)], thanks \[[@aberezkin](https://togithub.com/aberezkin)]) - \[`max-dependencies`]: add option `ignoreTypeImports` (\[[#1847](https://togithub.com/import-js/eslint-plugin-import/issues/1847)], thanks \[[@rfermann](https://togithub.com/rfermann)]) ##### Fixed - \[`no-duplicates`]: ensure autofix avoids excessive newlines (\[[#2028](https://togithub.com/import-js/eslint-plugin-import/issues/2028)], thanks \[[@ertrzyiks](https://togithub.com/ertrzyiks)]) - \[`extensions`]: avoid crashing on partially typed import/export statements (\[[#2118](https://togithub.com/import-js/eslint-plugin-import/issues/2118)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-extraneous-dependencies`]: add ESM intermediate package.json support (\[[#2121](https://togithub.com/import-js/eslint-plugin-import/issues/2121)], thanks \[[@paztis](https://togithub.com/paztis)]) - Use `context.getPhysicalFilename()` when available (ESLint 7.28+) (\[[#2160](https://togithub.com/import-js/eslint-plugin-import/issues/2160)], thanks \[[@pmcelhaney](https://togithub.com/pmcelhaney)]) - \[`extensions`]/`importType`: fix isScoped treating @/abc as scoped module (\[[#2146](https://togithub.com/import-js/eslint-plugin-import/issues/2146)], thanks \[[@rperello](https://togithub.com/rperello)]) ##### Changed - \[Docs] \[`extensions`]: improved cases for using `@/...` (\[[#2140](https://togithub.com/import-js/eslint-plugin-import/issues/2140)], thanks \[[@wenfangdu](https://togithub.com/wenfangdu)]) - \[Docs] \[`extensions`]: removed incorrect cases (\[[#2138](https://togithub.com/import-js/eslint-plugin-import/issues/2138)], thanks \[[@wenfangdu](https://togithub.com/wenfangdu)]) - \[Tests] \[`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` (\[[#2158](https://togithub.com/import-js/eslint-plugin-import/issues/2158)], thanks \[[@atav32](https://togithub.com/atav32)]) - \[Docs] \[`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option (\[[#2156](https://togithub.com/import-js/eslint-plugin-import/issues/2156)], thanks \[[@liby](https://togithub.com/liby)]) - \[Tests] \[`no-cycle`]: Restructure test files (\[[#1517](https://togithub.com/import-js/eslint-plugin-import/issues/1517)], thanks \[[@soryy708](https://togithub.com/soryy708)]) - \[Docs] add description how to use plugin with yarn berry (\[[#2179](https://togithub.com/import-js/eslint-plugin-import/issues/2179)], thanks \[[@KostyaZgara](https://togithub.com/KostyaZgara)]) ### [`v2.23.4`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2234---2021-05-29) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.3...v2.23.4) ##### Fixed - \[`no-import-module-exports`]: Don't crash if packages have no entrypoint (\[[#2099](https://togithub.com/import-js/eslint-plugin-import/issues/2099)], thanks \[[@eps1lon](https://togithub.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#2097](https://togithub.com/import-js/eslint-plugin-import/issues/2097)], thanks \[[@paztis](https://togithub.com/paztis)]) ### [`v2.23.3`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2233---2021-05-21) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#2090](https://togithub.com/import-js/eslint-plugin-import/issues/2090)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-cycle`]: ignore imports where imported file only imports types of importing file (\[[#2083](https://togithub.com/import-js/eslint-plugin-import/issues/2083)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix false negative when file imports a type after importing a value in Flow (\[[#2083](https://togithub.com/import-js/eslint-plugin-import/issues/2083)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#2087](https://togithub.com/import-js/eslint-plugin-import/issues/2087)], thanks \[[@grit96](https://togithub.com/grit96)]) ##### Changed - \[Docs] Add `no-relative-packages` to list of to the list of rules (\[[#2075](https://togithub.com/import-js/eslint-plugin-import/issues/2075)], thanks \[[@arvigeus](https://togithub.com/arvigeus)]) ### [`v2.23.2`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2232---2021-05-15) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.1...v2.23.2) ##### Changed - \[meta] add `safe-publish-latest`; use `prepublishOnly` script for npm 7+ ### [`v2.23.1`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2231---2021-05-14) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#2063](https://togithub.com/import-js/eslint-plugin-import/issues/2063)], \[[#2056](https://togithub.com/import-js/eslint-plugin-import/issues/2056)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#2067](https://togithub.com/import-js/eslint-plugin-import/issues/2067)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#2071](https://togithub.com/import-js/eslint-plugin-import/issues/2071)], thanks \[[@grit96](https://togithub.com/grit96)]) ### [`v2.23.0`](https://togithub.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md#2230---2021-05-13) [Compare Source](https://togithub.com/import-js/eslint-plugin-import/compare/v2.22.1...v2.23.0) ##### Added - \[`no-commonjs`]: Also detect require calls with expressionless template literals: ``require(`x`)`` (\[[#1958](https://togithub.com/import-js/eslint-plugin-import/issues/1958)], thanks \[[@FloEdelmann](https://togithub.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#1846](https://togithub.com/import-js/eslint-plugin-import/issues/1846)], thanks \[[@guillaumewuip](https://togithub.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#1860](https://togithub.com/import-js/eslint-plugin-import/issues/1860)], \[[#966](https://togithub.com/import-js/eslint-plugin-import/issues/966)], thanks \[[@tapayne88](https://togithub.com/tapayne88)] \[[@panrafal](https://togithub.com/panrafal)]) - add \[`no-import-module-exports`] rule: report import declarations with CommonJS exports (\[[#804](https://togithub.com/import-js/eslint-plugin-import/issues/804)], thanks \[[@kentcdodds](https://togithub.com/kentcdodds)] and \[[@ttmarek](https://togithub.com/ttmarek)]) - \[`no-unused-modules`]: Support destructuring assignment for `export`. (\[[#1997](https://togithub.com/import-js/eslint-plugin-import/issues/1997)], thanks \[[@s-h-a-d-o-w](https://togithub.com/s-h-a-d-o-w)]) - \[`order`]: support type imports (\[[#2021](https://togithub.com/import-js/eslint-plugin-import/issues/2021)], thanks \[[@grit96](https://togithub.com/grit96)]) - \[`order`]: Add `warnOnUnassignedImports` option to enable warnings for out of order unassigned imports (\[[#1990](https://togithub.com/import-js/eslint-plugin-import/issues/1990)], thanks \[[@hayes](https://togithub.com/hayes)]) ##### Fixed - \[`export`]/TypeScript: properly detect export specifiers as children of a TS module block (\[[#1889](https://togithub.com/import-js/eslint-plugin-import/issues/1889)], thanks \[[@andreubotella](https://togithub.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#1940](https://togithub.com/import-js/eslint-plugin-import/issues/1940)], thanks \[[@golopot](https://togithub.com/golopot)]) - \[`no-webpack-loader-syntax`]/TypeScript: avoid crash on missing name (\[[#1947](https://togithub.com/import-js/eslint-plugin-import/issues/1947)], thanks \[[@leonardodino](https://togithub.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#1948](https://togithub.com/import-js/eslint-plugin-import/issues/1948)], thanks \[[@fa93hws](https://togithub.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#1965](https://togithub.com/import-js/eslint-plugin-import/issues/1965)], thanks \[[@ljharb](https://togithub.com/ljharb)]) - \[`no-unused-modules`]: make type imports mark a module as used (fixes [#1924](https://togithub.com/import-js/eslint-plugin-import/issues/1924)) (\[[#1974](https://togithub.com/import-js/eslint-plugin-import/issues/1974)], thanks \[[@cherryblossom000](https://togithub.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#1944](https://togithub.com/import-js/eslint-plugin-import/issues/1944)], thanks \[[@Blasz](https://togithub.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#1963](https://togithub.com/import-js/eslint-plugin-import/issues/1963)], thanks \[[@MatthiasKunnen](https://togithub.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#1696](https://togithub.com/import-js/eslint-plugin-import/issues/1696)], thanks \[[@paztis](https://togithub.com/paztis)]) - \[`extensions`]/\[`no-cycle`]/\[`no-extraneous-dependencies`]: Correct module real path resolution (\[[#1696](https://togithub.com/import-js/eslint-plugin-import/issues/1696)], thanks \[[@paztis](https://togithub.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#1983](https://togithub.com/import-js/eslint-plugin-import/issues/1983)], thanks \[[@christianvuerings](https://togithub.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#1534](https://togithub.com/import-js/eslint-plugin-import/issues/1534)], thanks \[[@devongovett](https://togithub.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#1985](https://togithub.com/import-js/eslint-plugin-import/issues/1985)], thanks \[[@lilling](https://togithub.com/lilling)]) - \[`no-restricted-paths`]: enhance performance for zones with `except` paths (\[[#2022](https://togithub.com/import-js/eslint-plugin-import/issues/2022)], thanks \[[@malykhinvi](https://togithub.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#2026](https://togithub.com/import-js/eslint-plugin-import/issues/2026)], thanks \[[@aladdin-add](https://togithub.com/aladdin-add)]) ##### Changed - \[Generic Import Callback] Make callback for all imports once in rules (\[[#1237](https://togithub.com/import-js/eslint-plugin-import/issues/1237)], thanks \[[@ljqx](https://togithub.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#1897](https://togithub.com/import-js/eslint-plugin-import/issues/1897)], thanks \[[@bicstone](https://togithub.com/bicstone)]) - \[Docs] `no-extraneous-dependencies`: correct peerDependencies option default to `true` (\[[#1993](https://togithub.com/import-js/eslint-plugin-import/issues/1993)], thanks \[[@dwardu](https://togithub.com/dwardu)]) - \[Docs] `order`: Document options required to match ordering example (\[[#1992](https://togithub.com/import-js/eslint-plugin-import/issues/1992)], thanks \[[@silviogutierrez](https://togithub.com/silviogutierrez)]) - \[Tests] `no-unresolved`: add tests for `import()` (\[[#2012](https://togithub.com/import-js/eslint-plugin-import/issues/2012)], thanks \[[@davidbonnet](https://togithub.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#2034](https://togithub.com/import-js/eslint-plugin-import/issues/2034)], thanks \[[@edemaine](https://togithub.com/edemaine)])facebook/jest
### [`v26.6.3`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2663) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.2...v26.6.3) ##### Fixes - `[jest-resolve-dependencies]` Continue dependency resolution if mock dependency can't be found ([#10779](https://togithub.com/facebook/jest/pull/10779)) ### [`v26.6.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2662) [Compare Source](https://togithub.com/facebook/jest/compare/v26.6.1...v26.6.2) ##### Features - `[jest-core]` Add `findRelatedTests` and `nonFlagArgs` in allowed config options for `updateConfigAndRun` in watch plugins ([#10659](https://togithub.com/facebook/jest/pull/10659)) ##### Fixes - `[babel-plugin-jest-hoist]` Preserve order of hoisted mock nodes within containing block ([#10536](https://togithub.com/facebook/jest/pull/10536)) - `[babel-plugin-jest-hoist]` Hoist pure constants to support experimental JSX transform in hoisted mocks ([#10723](https://togithub.com/facebook/jest/pull/10723)) - `[babel-preset-jest]` Update `babel-preset-current-node-syntax` to support top level await ([#10747](https://togithub.com/facebook/jest/pull/10747)) - `[expect]` Revert "Fix `objectContaining` to work recursively into sub-objects ([#10508](https://togithub.com/facebook/jest/pull/10508))" ([#10766](https://togithub.com/facebook/jest/pull/10766)) - `[jest-circus, jest-jasmine2]` fix: don't assume `stack` is always a string ([#10697](https://togithub.com/facebook/jest/pull/10697)) - `[jest-config]` Fix bug introduced in watch mode by PR [#10678](https://togithub.com/facebook/jest/pull/10678/files#r511037803) ([#10692](https://togithub.com/facebook/jest/pull/10692)) - `[jest-config]` Throw correct error for missing preset modules ([#10737](https://togithub.com/facebook/jest/pull/10737)) - `[jest-resolve-dependencies]` Resolve mocks as dependencies ([#10713](https://togithub.com/facebook/jest/pull/10713)) - `[jest-runtime]` Handle file URLs in dynamic imports ([#10744](https://togithub.com/facebook/jest/pull/10744)) - `[jest-runtime, babel-jest]` Pass more ESM options to `@jest/transform` ([#10752](https://togithub.com/facebook/jest/pull/10752)) - `[jest-runtime]` Properly inject `extraGlobals` into the runtime ([#10758](https://togithub.com/facebook/jest/pull/10758)) - `[jest-transform]` Link to ESM docs on syntax errors ([#10748](https://togithub.com/facebook/jest/pull/10748)) ##### Chore & Maintenance - `[docs]` Add docs for using mocks in TypeScript ([#10415](https://togithub.com/facebook/jest/pull/10415)) - `[eslint-config-fb-strict]` Move package from this repo to `fbjs` repo ([#10739](https://togithub.com/facebook/jest/pull/10739)) - `[examples]` Update TypeScript example to show use of newer Jest types ([#10399](https://togithub.com/facebook/jest/pull/10399)) - `[jest-cli]` chore: standardize files and folder names ([#10698](https://togithub.com/facebook/jest/pull/10698)) - `[jest-config]` Switch ts-node `Register` type to `Service` due to deprecation ([#11210](https://togithub.com/facebook/jest/pull/11210)) ### [`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.3...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.3`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2653) [Compare Source](https://togithub.com/facebook/jest/compare/v26.5.2...v26.5.3) ##### Features - `[jest-runtime]` add support for dynamic `import()` from CommonJS ([#10620](https://togithub.com/facebook/jest/pull/10620)) ##### Fixes - `[jest-runner, jest-runtime]` `require.main` should not be `undefined` with `createRequire()` ([#10610](https://togithub.com/facebook/jest/pull/10610)) - `[jest-runtime]` add missing `module.path` property ([#10615](https://togithub.com/facebook/jest/pull/10615)) - `[jest-runtime]` Add `mainModule` instance variable to runtime ([#10621](https://togithub.com/facebook/jest/pull/10621)) - `[jest-runtime]` Evaluate Node core modules on dynamic `import()` ([#10622](https://togithub.com/facebook/jest/pull/10622)) - `[jest-validate]` Show suggestion only when unrecognized cli param is longer than 1 character ([#10604](https://togithub.com/facebook/jest/pull/10604)) - `[jest-validate]` Validate `testURL` as CLI option ([#10595](https://togithub.com/facebook/jest/pull/10595)) ### [`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.4.2...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.4.2`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2642) [Compare Source](https://togithub.com/facebook/jest/compare/v26.4.1...v26.4.2) ##### Fixes - `[expect]` Fix `toMatchObject` to work with inherited class getters ([#10381](https://togithub.com/facebook/jest/pull/10381)) - `[pretty-format]` Lower minimum node version to >= 10 ([#10435](https://togithub.com/facebook/jest/pull/10435)) ### [`v26.4.1`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2641) [Compare Source](https://togithub.com/facebook/jest/compare/v26.4.0...v26.4.1) ##### Fixes - `[jest-core]` Don't report ELDHistogram as open handle ([#10417](https://togithub.com/facebook/jest/pull/10417)) - `[jest-matcher-utils]` Fix diffing object contain readonly symbol key object ([#10414](https://togithub.com/facebook/jest/pull/10414)) - `[jest-reporters]` Fixes notify reporter on Linux (using notify-send) ([#10393](https://togithub.com/facebook/jest/pull/10400)) - `[jest-snapshot]` Correctly handles arrays and property matchers in snapshots ([#10404](https://togithub.com/facebook/jest/pull/10404)) ### [`v26.4.0`](https://togithub.com/facebook/jest/blob/master/CHANGELOG.md#2640) [Compare Source](https://togithub.com/facebook/jest/compare/v26.3.0...v26.4.0) ##### Features - `[jest-resolve]` Add support for `packageFilter` on custom resolver ([#10393](https://togithub.com/facebook/jest/pull/10393)) ##### Fixes - `[pretty-format]` Handle `tagName` not being a string ([#10397](https://togithub.com/facebook/jest/pull/10397)) ### [`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/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 reporterConfiguration
📅 Schedule: "every 2 weeks on Monday before 7am" in timezone Europe/Berlin.
🚦 Automerge: Enabled.
♻ 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 has been generated by WhiteSource Renovate. View repository job log here.