moltin-request icon indicating copy to clipboard operation
moltin-request copied to clipboard

chore(deps): update jest monorepo (major)

Open renovate[bot] opened this issue 5 years ago โ€ข 0 comments

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest 24.9.1 -> 27.4.1 age adoption passing confidence
jest (source) 24.9.0 -> 27.5.1 age adoption passing confidence
ts-jest (source) 24.3.0 -> 27.1.4 age adoption passing confidence

Release Notes

facebook/jest

v27.5.1

Compare Source

Features
Fixes
Chore & Maintenance

v27.5.0

Compare Source

Features
  • [expect] Add asymmetric matcher expect.closeTo (#โ€‹12243)
  • [jest-mock] Added mockFn.mock.lastCall to retrieve last argument (#โ€‹12285)
Fixes
  • [expect] Add a fix for .toHaveProperty('') (#โ€‹12251)
  • [jest-each, @​jest/globals] Allow passing ReadonlyArray type of a table to describe.each and test.each (#โ€‹12297)
  • [@jest/globals] Add missing options argument to jest.doMock typing (#โ€‹12292)
  • [jest-environment-node] Add atob and btoa (#โ€‹12269)
  • [jest-matcher-utils] Correct diff for expected asymmetric matchers (#โ€‹12264)
  • [jest-message-util] Fix .getTopFrame() (and toMatchInlineSnapshot()) with mjs files (#โ€‹12277)
Chore & Maintenance
Performance
  • [jest-resolve] perf: skip error creation on not found stat calls (#โ€‹11749)

v27.4.7

Compare Source

Fixes

v27.4.6

Compare Source

Fixes
  • [jest-environment-node] Add AbortSignal (#โ€‹12157)
  • [jest-environment-node] Add Missing node global performance (#โ€‹12002)
  • [jest-runtime] Handle missing mocked property (#โ€‹12213)
  • [@jest/transform] Update dependency package pirates to 4.0.4 (#โ€‹12002)
Performance
  • jest-config perf: only register ts-node once when loading TS config files (#โ€‹12160)

v27.4.5

Compare Source

Fixes
  • [jest-worker] Stop explicitly passing process.env (#โ€‹12141)

v27.4.4

Compare Source

Fixes
  • [babel-jest] Add process.version chunk to the cache key (#โ€‹12122)
  • [jest-environment] Add mocked to jest object (#โ€‹12133)
  • [jest-worker] Stop explicitly passing execArgv (#โ€‹12128)
Chore & Maintenance
  • [website] Fix the card front that looks overlapping part of the card back

v27.4.3

Compare Source

Fixes
  • [jest-environment-jsdom] Remove @types/jsdom dependency (and make its dom property private) (#โ€‹12107)

v27.4.2

Compare Source

Fixes
  • [jest-worker] Add additional execArgv to filter (#โ€‹12103)

v27.4.1

Compare Source

Fixes

v27.4.0

Compare Source

Features
  • [expect] Enhancing the toHaveProperty matcher to support array selection (#โ€‹12092)
  • [jest-core] Add support for testResultsProcessor written in ESM (#โ€‹12006)
  • [jest-diff, pretty-format] Add compareKeys option for custom sorting of object keys (#โ€‹11992)
  • [jest-mock] Add ts-jest mock util functions (#โ€‹12089)
Fixes
  • [expect] Allow again expect.Matchers generic with single value (#โ€‹11986)
  • [jest-circus, jest-jasmine2] Avoid false concurrent test failures due to unhandled promise rejections (#โ€‹11987)
  • [jest-config] Add missing slash dependency to package.json (#โ€‹12080)
  • [jest-core] Incorrect detection of open ZLIB handles (#โ€‹12022)
  • [jest-diff] Break dependency cycle (#โ€‹10818)
  • [jest-environment-jsdom] Add @types/jsdom dependency (#โ€‹11999)
  • [jest-environment-jsdom] Do not reset the global.document too early on teardown (#โ€‹11871)
  • [jest-transform] Improve error and warning messages (#โ€‹11998)
  • [jest-worker] Pass execArgv correctly to worker_threads worker (#โ€‹12069)
Chore & Maintenance

v27.3.1

Compare Source

Fixes
  • [expect] Make expect extension properties configurable (#โ€‹11978)
  • [expect] Fix .any() checks on primitive wrapper classes (#โ€‹11976)
Chore & Maintenance
  • [expect] BigInt global is always defined, don't check for its existence at runtime (#โ€‹11979)
  • [jest-config, jest-util] Use ci-info instead of is-ci to detect CI environment (#โ€‹11973)

v27.3.0

Compare Source

Features
  • [jest-config] Add testEnvironmentOptions.html to apply to jsdom input (#โ€‹11950)
  • [jest-resolver] Support default export (.) in exports field if main is missing (#โ€‹11919)
Fixes
  • [expect] Tweak and improve types (#โ€‹11949)
  • [jest-runtime] Ensure absolute paths can be resolved within test modules (#โ€‹11943)
  • [jest-runtime] Fix instanceof for ModernFakeTimers and LegacyFakeTimers methods (#โ€‹11946)

v27.2.5

Compare Source

Features
  • [jest-config] Warn when multiple Jest configs are located (#โ€‹11922)
Fixes
  • [expect] Pass matcher context to asymmetric matchers (#โ€‹11926 & #โ€‹11930)
  • [expect] Improve TypeScript types (#โ€‹11931)
  • [expect] Improve typings of toThrow() and toThrowError() matchers (#โ€‹11929)
  • [jest-cli] Improve --help printout by removing defunct --browser option (#โ€‹11914)
  • [jest-haste-map] Use distinct cache paths for different values of computeDependencies (#โ€‹11916)
  • [@jest/reporters] Do not buffer console.logs when using verbose reporter (#โ€‹11054)
Chore & Maintenance
  • [expect] Export default matchers (#โ€‹11932)
  • [@jest/types] Mark deprecated configuration options as @deprecated (#โ€‹11913)

v27.2.4

Compare Source

Features
  • [expect] Add equality checks for Array Buffers in expect.ToStrictEqual() (#โ€‹11805)
Fixes
  • [jest-snapshot] Correctly indent inline snapshots (#โ€‹11560)

v27.2.3

Compare Source

Features
  • [@jest/fake-timers] Update @sinonjs/fake-timers to v8 (#โ€‹11879)
Fixes
  • [jest-config] Parse testEnvironmentOptions if received from CLI (#โ€‹11902)
  • [jest-reporters] Call destroy on v8-to-istanbul converters to free memory (#โ€‹11896)

v27.2.2

Compare Source

Fixes
  • [jest-runtime] Correct wrapperLength value for ESM modules. (#โ€‹11893)

v27.2.1

Compare Source

Features
  • [jest-transform] Improve the unexpected token error message. (#โ€‹11807)
Fixes
  • [jest-runtime] Fix regression when using jest.isolateModules and mocks (#โ€‹11882)
  • [jest-runtime] Include test name when importing modules after test has completed (#โ€‹11885)
  • [jest-runtime] Error when ESM import is used after test is torn down (#โ€‹11885)

v27.2.0

Compare Source

Features
  • [jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#โ€‹11859)
  • [jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#โ€‹11863)
Fixes
  • [@jest/reporters] Use async transform if available to transform files with no coverage (#โ€‹11852)
  • [jest-util] Return correct value from process.send stub (#โ€‹11799)

v27.1.1

Compare Source

Features
  • [jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#โ€‹11818)
Fixes
  • [jest-resolver] Support node: prefix when importing Node core modules with ESM (#โ€‹11817)
  • [jest-types] Export the PrettyFormatOptions interface (#โ€‹11801)

v27.1.0

Compare Source

Features
  • [jest-haste-map] Use watchman suffix-set option for faster file indexing. (#โ€‹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. (#โ€‹11654)
  • [jest-reporters] Expose the getSummary util (#โ€‹11695).
  • [jest-resolver] Support node: prefix when importing Node core modules (#โ€‹11331)
Fixes
  • [jest-each] Relaxed the validation to allow multibyte characters in headings (#โ€‹11575)
  • [jest-environment-jsdom] Add support for userAgent option (#โ€‹11773)
  • [jest-environment-node] Add Event and EventTarget to node global environment. (#โ€‹11727)
  • [jest-mock] Fix spyOn to use Object.prototype.hasOwnProperty (#โ€‹11721)
  • [jest-resolver] Add dependency on jest-haste-map (#โ€‹11759)
  • [jest-types] Compat with @types/node v16 (#โ€‹11645)
Chore & Maintenance
  • [docs] Correct expects.assertions documentation by adding async/await for asynchronous function.

v27.0.6

Compare Source

Fixes
  • [*] Publish all modules to include the build change in (#โ€‹11569)

v27.0.5

Compare Source

Features
  • [@jest/fake-timers] Flush callbacks scheduled with requestAnimationFrame every 16ms when using legacy timers. (#โ€‹11523)
  • [pretty-format] Use globalThis (with polyfill if required) to bring support for esbuild's browser bundling mode (#โ€‹11569)
Fixes
  • [jest-core] Support special characters like @, + and () on Windows with --findRelatedTests (#โ€‹11548)
  • [@jest/fake-timers] Do not add setImmediate and clearImmediate if they do not exist in the global environment (#โ€‹11599)
  • [@jest/reporters] Allow node-notifier@10 as peer dependency (#โ€‹11523)
  • [@jest/reporters] Update v8-to-istanbul (#โ€‹11523)

v27.0.4

Compare Source

Fixes
  • [jest-config, jest-resolve] Pass in require.resolve to resolvers to resolve from correct base (#โ€‹11493)

v27.0.3

Compare Source

Fixes
  • [jest-config] require.resolve on default test sequencer and test environment (#โ€‹11482)
  • [jest-mock] Fixed fn and spyOn exports (#โ€‹11480)

v27.0.2

Compare Source

Features
  • [jest-circus] Add some APIs to make it easier to build your own test runner
  • [jest-reporters] Expose the getResultHeader util (#โ€‹11460)
  • [jest-resolver] Export resolve* utils for different Jest modules (#โ€‹11466)
  • [@jest/test-result] Export Test, TestEvents and TestFileEvent (#โ€‹11466)
Fixes
  • [jest-circus] Add missing slash dependency (#โ€‹11465)
  • [jest-circus, @​jest/test-sequencer] Remove dependency on jest-runner (#โ€‹11466)
  • [jest-config] Resolve config.runner to absolute path (#โ€‹11465)
  • [jest-config] Make sure to support functions as config (#โ€‹11475)
  • [jest-core] Do not warn about DNSCHANNEL handles when using the --detectOpenHandles option (#โ€‹11470)
  • [jest-runner] Remove dependency on jest-config (#โ€‹11466)
  • [jest-worker] Loosen engine requirement to >= 10.13.0 (#โ€‹11451)

v27.0.1

Compare Source

Fixes
  • [jest-environment-jsdom] Bump version of JSDOM to avoid deprecated request package (#โ€‹11442)

v27.0.0

Compare Source

Features
  • [babel-jest] Add async transformation (#โ€‹11192)
  • [jest-changed-files] Use '--' to separate paths from revisions (#โ€‹11160)
  • [jest-circus] [BREAKING] Fail tests when multiple done() calls are made (#โ€‹10624)
  • [jest-circus, jest-jasmine2] [BREAKING] Fail the test instead of just warning when describe returns a value (#โ€‹10947)
  • [jest-config] [BREAKING] Default to Node testing environment instead of browser (JSDOM) (#โ€‹9874)
  • [jest-config] [BREAKING] Use jest-circus as default test runner (#โ€‹10686)
  • [jest-config] Add support for preset written in ESM (#โ€‹11200)
  • [jest-config, jest-runtime] Support ESM for files other than .js and .mjs (#โ€‹10823)
  • [jest-config, jest-runtime] [BREAKING] Use "modern" implementation as default for fake timers (#โ€‹10874 & #โ€‹11197)
  • [jest-config Allow passing forceNodeFilesystemAPI through to jest-haste-map (#โ€‹11264)
  • [jest-config, jest-haste-map, jest-resolve, jest-runner, jest-runtime, jest-test-sequencer, jest-transform, jest-types] [BREAKING] Add custom HasteMap class implementation config option (#โ€‹11107)
  • [jest-core] make TestWatcher extend emittery (#โ€‹10324)
  • [jest-core] Run failed tests interactively the same way we do with snapshots (#โ€‹10858)
  • [jest-core] more TestSequencer methods can be async (#โ€‹10980)
  • [jest-core] Add support for testSequencer written in ESM (#โ€‹11207)
  • [jest-core] Add support for globalSetup and globalTeardown written in ESM (#โ€‹11267)
  • [jest-core] Add support for watchPlugins written in ESM (#โ€‹11315)
  • [jest-core] Add support for runner written in ESM (#โ€‹11232)
  • [jest-core] Add support for reporters written in ESM (#โ€‹11427)
  • [jest-each] Add support for interpolation with object properties (#โ€‹11388)
  • [jest-environment-node] Add AbortController to globals (#โ€‹11182)
  • [@jest/fake-timers] Update to @sinonjs/fake-timers to v7 (#โ€‹11198)
  • [jest-haste-map] Handle injected scm clocks (#โ€‹10966)
  • [jest-haste-map] Add enableSymlinks configuration option to follow symlinks for test files (#โ€‹9351)
  • [jest-repl, jest-runner] [BREAKING] Run transforms over environment (#โ€‹8751)
  • [jest-repl] Add support for testEnvironment written in ESM (#โ€‹11232)
  • [jest-reporters] Add static filepath property to all reporters (#โ€‹11015)
  • [jest-runner] [BREAKING] set exit code to 1 if test logs after teardown (#โ€‹10728)
  • [jest-runner] [BREAKING] Run transforms over runner (#โ€‹8823)
  • [jest-runner] [BREAKING] Run transforms over testRunner (#โ€‹8823)
  • [jest-runner] Possibility to use ESM for test environment (11033)
  • [jest-runner] Add support for testRunner written in ESM (#โ€‹11232)
  • [jest-runtime] Detect reexports from CJS as named exports in ESM (#โ€‹10988)
  • [jest-runtime] Support for async code transformations (#โ€‹11191 & #โ€‹11220)
  • [jest-snapshot] [BREAKING] Make prettier optional for inline snapshots - fall back to string replacement (#โ€‹7792 & #โ€‹11192)
  • [jest-snapshot] [BREAKING] Run transforms over snapshotResolver (#โ€‹8751)
  • [jest-transform] Pass config options defined in Jest's config to transformer's process and getCacheKey functions (#โ€‹10926)
  • [jest-transform] Add support for transformers written in ESM (#โ€‹11163)
  • [jest-transform] [BREAKING] Do not export ScriptTransformer class, instead export the async function createScriptTransformer (#โ€‹11163)
  • [jest-transform] Async code transformations (#โ€‹9889)
  • [jest-transform] Support transpiled transformers (#โ€‹11193)
  • [jest-transform] [BREAKING] requireAndTranspileModule always return a Promise, and the third parameter type is changed to RequireAndTranspileModuleOptions which accept applyInteropRequireDefault option (#โ€‹11232)
  • [jest-transform] [BREAKING] createTranspilingRequire return function which return a Promise now (#โ€‹11232)
  • [jest-util] add requireOrImportModule for importing CJS or ESM (#โ€‹11199)
  • [jest-util] add applyInteropRequireDefault option on requireOrImportModule (#โ€‹11232)
  • [jest-watcher] Added support for clearing the line when <C-u> is pressed in a watch mode pattern prompt (#โ€‹11358)
  • [jest-worker] Add support for custom task queues and adds a PriorityQueue implementation. (#โ€‹10921)
  • [jest-worker] Add in-order scheduling policy to jest worker (10902)
  • [pretty-format] Better print for sparse arrays (11326)
  • [pretty-print] Add option printBasicPrototype which determines whether or not the prototype should be printed for raw objects or arrays (#โ€‹11441)
Fixes
  • [babel-plugin-jest-hoist] Add __dirname and __filename to whitelisted globals (#โ€‹10903)
  • [expect] [BREAKING] Revise expect.not.objectContaining() to be the inverse of expect.objectContaining(), as documented. (#โ€‹10708)
  • [expect] [BREAKING] Make toContain more strict with the received type (#โ€‹10119 & #โ€‹10929)
  • [expect] [BREAKING] matcherResult on JestAssertionError are now strings rather than functions (#โ€‹10989)
  • [jest-circus] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block (#โ€‹10806)
  • [jest-circus] Fix testLocation on Windows when using test.each (#โ€‹10871)
  • [jest-cli] Use testFailureExitCode when bailing from a failed test (#โ€‹10958)
  • [jest-cli] Print custom error if error thrown from global hooks is not an error already (#โ€‹11003)
  • [jest-cli] Allow running multiple "projects" from programmatic API (#โ€‹11307)
  • [jest-cli] Fix missing collectCoverage after init (#โ€‹11353)
  • [jest-cli, jest-config, jest-types] Move all default values into jest-config (#โ€‹9924)
  • [jest-config] [BREAKING] Change default file extension order by moving json behind ts and tsx (10572)
  • [jest-console] console.dir now respects the second argument correctly (#โ€‹10638)
  • [jest-core] Don't report PerformanceObserver as open handle (#โ€‹11123)
  • [jest-core] Use WeakRef to hold timers when detecting open handles (#โ€‹11277)
  • [jest-core] Correctly detect open handles that were created in test functions using done callbacks (#โ€‹11382)
  • [jest-core] Do not collect RANDOMBYTESREQUEST as open handles (#โ€‹11278)
  • [jest-core] Wait briefly for open handles to close before flagging them when using --detectOpenHandles (#โ€‹11429)
  • [jest-diff] [BREAKING] Use only named exports (#โ€‹11371)
  • [jest-each] [BREAKING] Ignore excess words in headings (#โ€‹8766)
  • [jest-each] Support array index with template strings (#โ€‹10763)
  • [jest-each] Interpolate %% correctly (#โ€‹11364)
  • [jest-each] Fix wrong interpolation when the value of array contains multiple % (#โ€‹11364)
  • [jest-environment] [BREAKING] Drop support for runScript for test environments (#โ€‹11155)
  • [jest-environment-jsdom] Use inner realmโ€™s ArrayBuffer constructor (#โ€‹10885)
  • [jest-environment-jsdom] [BREAKING] Remove Node globals setImmediate and clearImmediate (#โ€‹11222)
  • [jest-get-type] [BREAKING] Convert to ES Module (#โ€‹11359)
  • [jest-globals] [BREAKING] Disallow return values other than a Promise from hooks and tests (#โ€‹10512)
  • [jest-globals] [BREAKING] Disallow mixing a done callback and returning a Promise from hooks and tests (#โ€‹10512)
  • [jest-haste-map] Vendor NodeWatcher from sane (#โ€‹10919)
  • [jest-jasmine2] Fixed the issue of beforeAll & afterAll hooks getting executed even if it is inside a skipped describe block when it has child tests marked as either only or todo (#โ€‹10806)
  • [jest-jasmine2] Fixed the issues of child tests marked with only or todo getting executed even if it is inside a skipped parent describe block (#โ€‹10806)
  • [jest-jasmine2] Wrap all test functions so they open handles that were created in test functions using done callbacks can be detected (#โ€‹11382)
  • [jest-reporter] Handle empty files when reporting code coverage with V8 (#โ€‹10819)
  • [jest-resolve] Replace read-pkg-up with escalade package (#โ€‹10781)
  • [jest-resolve] Disable jest-pnp-resolver for Yarn 2 (#โ€‹10847)
  • [jest-runtime] [BREAKING] Do not inject global variable into module wrapper (#โ€‹10644)
  • [jest-runtime] [BREAKING] remove long-deprecated jest.addMatchers, jest.resetModuleRegistry, and jest.runTimersToTime (#โ€‹9853)
  • [jest-runtime] Fix stack overflow and promise deadlock when importing mutual dependant ES module (#โ€‹10892)
  • [jest-runtime] Prevent global module registry from leaking into isolateModules registry (#โ€‹10963)
  • [jest-runtime] Refactor to prevent race condition when linking and evaluating ES Modules (#โ€‹11150)
  • [jest-runtime] Throw correct error when attempting to load ESM via require (#โ€‹11260)
  • [jest-runtime] Do not cache modules that throw during evaluation (#โ€‹11263)
  • [jest-transform] Show enhanced SyntaxError message for all SyntaxErrors (#โ€‹10749)
  • [jest-transform] [BREAKING] Refactor API to pass an options bag around rather than multiple boolean options (#โ€‹10753)
  • [jest-transform] [BREAKING] Refactor API of transformers to pass an options bag rather than separate config and other options (#โ€‹10834)
  • [jest-types] Fix Config.ts projects types (#โ€‹11285)
  • [jest-util] Replace micromatch with picomatch to fix issues with negated globs (#โ€‹11287)
  • [jest-validate] Use en-US locale to avoid case conversion problems while validating CLI options on machines with some certain locales(e.g. Turkish) set as default locale. (#โ€‹11412)
  • [jest-worker] [BREAKING] Use named exports (#โ€‹10623)
  • [jest-worker] Do not swallow errors during serialization (#โ€‹10984)
  • [jest-worker] Handle ERR_IPC_CHANNEL_CLOSED errors properly (#โ€‹11143)
  • [pretty-format] [BREAKING] Convert to ES Modules (#โ€‹10515)
  • [pretty-format] Only call hasAttribute if it's a function (#โ€‹11000)
  • [pretty-format] Handle jsdom attributes properly (#โ€‹11189)
  • [pretty-format] Import pretty-format using named imports (#โ€‹11360)
Chore & Maintenance
  • [*] [BREAKING] Only support Node LTS releases and Node 15 (#โ€‹10685)
  • [*] [BREAKING] Add exports field to all package.jsons (#โ€‹9921)
  • [*] Make it easier for Jest's packages to use the VM escape hatch (#โ€‹10824)
  • [*] [BREAKING] Remove deprecated mapCoverage (#โ€‹9968)
  • [babel-jest] [BREAKING] Migrate to ESM (#โ€‹11193)
  • [docs] Correct example using browser-resolve (#โ€‹11140)
  • [docs] Clarify timers configuration property (#โ€‹11376)
  • [jest, jest-core] [BREAKING] Replace TestScheduler export with createTestScheduler (#โ€‹11427)
  • [jest-config] [BREAKING] Remove enabledTestsMap config, use filter instead (#โ€‹10787)
  • [jest-console] [BREAKING] Move root into config and take GlobalConfig as mandatory parameter for getConsoleOutput (#โ€‹10126)
  • [jest-console] Export LogEntry (#โ€‹11017)
  • [jest-fake-timers] Clarify global behavior of jest.useFakeTimers and jest.useRealTimers (#โ€‹10867)
  • [jest-haste-map] [BREAKING] Migrate to ESM (#โ€‹10875)
  • [jest-haste-map] [BREAKING] Remove support for deprecated option ignorePattern as function (#โ€‹10348)
  • [jest-jasmine2] [BREAKING] Migrate to ESM (#โ€‹10906)
  • [jest-jasmine2] [BREAKING] Remove unused options argument from Env constructor (#โ€‹10240)
  • [jest-repl, jest-runtime] [BREAKING] Move the jest-runtime CLI into jest-repl (#โ€‹10016 & #โ€‹10925)
  • [jest-resolve] [BREAKING] Migrate to ESM (#โ€‹10688)
  • [jest-resolve-dependencies] [BREAKING] Migrate to ESM (#โ€‹10876)
  • [jest-mock] [BREAKING] Migrate to ESM (#โ€‹10887)
  • [jest-reporters] [BREAKING] Make node-notifier a peer dependency (#โ€‹10977)
  • [jest-resolve, jest-runtime] [BREAKING] Use Maps instead of objects for all cached resources (#โ€‹10968)
  • [jest-runner] [BREAKING] Migrate to ESM (#โ€‹10900)
  • [jest-runtime] [BREAKING] Remove deprecated and unused getSourceMapInfo from Runtime (#โ€‹9969)
  • [jest-transformer] [BREAKING] Remove unused isCoreModule option (#โ€‹11166)
  • [jest-util] No longer checking enumerable when adding process.domain (#โ€‹10862)
  • [jest-validate] [BREAKING] Remove recursiveBlacklist option in favor of previously introduced recursiveDenylist (#โ€‹10650)
  • [website] Replace 'Github' with 'GitHub' (#โ€‹11279)
  • [website] Remove a language code from the link to the Node.js website (#โ€‹11282)
  • [website] Remove a duplicated word (#โ€‹11281)
  • [website] Add french to website (#โ€‹11361)
Performance
  • [jest-resolve] Cache reading and parsing of package.jsons (#โ€‹11076)
  • [jest-runtime, jest-transform] share cacheFS between runtime and transformer (#โ€‹10901)
  • [jest-runtime] Load chalk only once per worker (#โ€‹10864)
  • [jest-worker] Fix memory leak of previous task arguments while no new task is scheduled (#โ€‹11187)

v26.6.3

Compare Source

Fixes
  • [jest-resolve-dependencies] Continue dependency resolution if mock dependency can't be found (#โ€‹10779)

v26.6.2

Compare Source

Features
  • [jest-core] Add findRelatedTests and nonFlagArgs in allowed config options for updateConfigAndRun in watch plugins (#โ€‹10659)
Fixes
  • [babel-plugin-jest-hoist] Preserve order of hoisted mock nodes within containing block (#โ€‹10536)
  • [babel-plugin-jest-hoist] Hoist pure constants to support experimental JSX transform in hoisted mocks (#โ€‹10723)
  • [babel-preset-jest] Update babel-preset-current-node-syntax to support top level await (#โ€‹10747)
  • [expect] Revert "Fix objectContaining to work recursively into sub-objects (#โ€‹10508)" (#โ€‹10766)
  • [jest-circus, jest-jasmine2] fix: don't assume stack is always a string (#โ€‹10697)
  • [jest-config] Fix bug introduced in watch mode by PR #โ€‹10678 (#โ€‹10692)
  • [jest-config] Throw correct error for missing preset modules (#โ€‹10737)
  • [jest-resolve-dependencies] Resolve mocks as dependencies (#โ€‹10713)
  • [jest-runtime] Handle file URLs in dynamic imports (#โ€‹10744)
  • [jest-runtime, babel-jest] Pass more ESM options to @jest/transform (#โ€‹10752)
  • [jest-runtime] Properly inject extraGlobals into the runtime (#โ€‹10758)
  • [jest-transform] Link to ESM docs on syntax errors (#โ€‹10748)
Chore & Maintenance
  • [docs] Add docs for using mocks in TypeScript (#โ€‹10415)
  • [eslint-config-fb-strict] Move package from this repo to fbjs repo (#โ€‹10739)
  • [examples] Update TypeScript example to show use of newer Jest types (#โ€‹10399)
  • [jest-cli] chore: standardize files and folder names (#โ€‹10698)
  • [jest-config] Switch ts-node Register type to Service due to deprecation (#โ€‹11210)

v26.6.1

Compare Source

Features
  • [jest-runtime] Support named exports from CommonJS as named ES Module imports (#โ€‹10673)
  • [jest-validate] Add support for recursiveDenylist option as an alternative to recursiveBlacklist (#โ€‹10236)
Fixes
  • [expect] Fix objectContaining to work recursively into sub-objects (#โ€‹10508)
  • [jest-cli, jest-core, jest-config, jest-types] Fix --onlyFailures flag to work in non-watch mode (#โ€‹10678)
  • [jest-config] Fix for the jest.config.ts compiler to not interfere with tsconfig.json files (#โ€‹10675)
  • [jest-message-util] Update to work properly with Node 15 (#โ€‹10660)
  • [jest-mock] Allow to mock methods in getters (TypeScript 3.9 export) (#โ€‹10156)

v26.6.0

Compare Source

Features
  • [jest-cli, jest-config] Add support for the jest.config.ts configuration file (#โ€‹10564)
Fixes
  • [jest-config] Simplify transform RegExp (#โ€‹10207)
  • [jest-fake-timers] Lazily instantiate mock timers (#โ€‹10551)
  • [jest-runtime] require.main is no longer undefined when using jest.resetModules (#โ€‹10626)
  • [@jest/types] Add missing values for timers (#โ€‹10632)
Chore & Maintenance
  • [docs] Add step for fetching backers.json file in website setup docs (#โ€‹10631)
  • [docs] Add page detailing environment variables set by Jest (#โ€‹10630)
  • [jest-circus] Refactor callAsyncCircusFn parameters (#โ€‹10629)

v26.5.3

Compare Source

Features
  • [jest-runtime] add support for dynamic import() from CommonJS (#โ€‹10620)
Fixes
  • [jest-runner, jest-runtime] require.main should not be undefined with createRequire() (#โ€‹10610)
  • [jest-runtime] add missing module.path property (#โ€‹10615)
  • [jest-runtime] Add mainModule instance variable to runtime (#โ€‹10621)
  • [jest-runtime] Evaluate Node core modules on dynamic import() (#โ€‹10622)
  • [jest-validate] Show suggestion only when unrecognized cli param is longer than 1 character (#โ€‹10604)
  • [jest-validate] Validate testURL as CLI option (#โ€‹10595)

v26.5.2

Compare Source

Fixes
  • [*] Revert usage of Escalade and rollback Yargs to v15 as it breaks Node 13 (#โ€‹10599)
  • [jest-circus] Setup globals before emitting setup, and include Jest globals in the setup payload (#โ€‹10598)
  • [jest-mock] Fix typings for mockResolvedValue, mockResolvedValueOnce, mockRejectedValue and mockRejectedValueOnce (#โ€‹10600)

v26.5.0

Compare Source

Features
  • [jest-circus, jest-config, jest-runtime] Add new injectGlobals config and CLI option to disable injecting global variables into the runtime (#โ€‹10484)
  • [jest-each] Fixes .each type to always be callable (#โ€‹10447)
  • [jest-runner] Add support for moduleLoaders with default exports (#โ€‹10541)
  • [@jest/create-cache-key-function] Added a new package for creating cache keys (#โ€‹10587)
Fixes
  • [jest-circus, jest-jasmine2] Find correct location for test.each tests (#โ€‹10413)
  • [jest-console] Add Console constructor to console object (#โ€‹10502)
  • [jest-globals] Fix lifecycle hook function types (#โ€‹10480)
  • [jest-runtime] Remove usage of vm.compileFunction due to a performance issue (#โ€‹10586)
Chore & Maintenance
  • [jest-resolve] Replace read-pkg-up with escalade package (10558)
  • [jest-environment-jsdom] Update jsdom to 16.4.0 (10578)

v26.4.2

Compare Source

Fixes
  • [expect] Fix toMatchObject to work with inherited class getters (#โ€‹10381)
  • [pretty-format] Lower minimum node version to >= 10 (#โ€‹10435)

v26.4.1

Compare Source

Fixes
  • [jest-core] Don't report ELDHistogram as open handle (#โ€‹10417)
  • [jest-matcher-utils] Fix diffing object contain readonly symbol key object (#โ€‹10414)
  • [jest-reporters] Fixes notify reporter on Linux (using notify-send) (#โ€‹10393)
  • [jest-snapshot] Correctly handles arrays and property matchers in snapshots (#โ€‹10404)

v26.4.0

Compare Source

Features
  • [jest-resolve] Add support for packageFilter on custom resolver (#โ€‹10393)
Fixes
  • [pretty-format] Handle tagName not being a string (#โ€‹10397)

v26.3.0

Compare Source

Features
  • [jest-circus, jest-jasmine2] Include failureDetails property in test results (#โ€‹9496)
  • [jest-each, jest-jasmine, jest-circus] Add support for .concurrent.each (#โ€‹9326)
Fixes
  • [jest-config] Add .pnp.js to transformIgnorePatterns defaults (#โ€‹10383)
  • [jest-leak-detector] Wait properly for GC runs due to changes in Node 14.7 (#โ€‹10366)
  • [jest-worker] Downgrade minimum node version to 10.13 (#โ€‹10352)
  • [docs] Update snapshot testing documentation(#โ€‹10359)

v26.2.2

Compare Source

Fixes
  • [jest-cli] Use correct file name to override existing jest config on init (#โ€‹10337)
  • [jest-haste-map] Properly detect support for native find (#โ€‹10346)

v26.2.1

Compare Source

Fixes
  • [jest-worker] Make sure to work with Node TS typings v12 (#โ€‹10336)

v26.2.0

Compare Source

Features
  • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting individual test cases using jest-circus (#โ€‹10227)
  • [jest-config, jest-reporter, jest-runner, jest-test-sequencer] Add slowTestThreshold configuration option (#โ€‹9366)
  • [jest-haste-map] Watchman crawler now includes dotfiles (#โ€‹10075)
  • [jest-worker] Added support for workers to send custom messages to parent in jest-worker (#โ€‹10293)
  • [jest-worker] Support passing resourceLimits (#โ€‹10335)
  • [pretty-format] Added support for serializing custom elements (web components) (#โ€‹10217)
Fixes
  • [expect] Match symbols and bigints in any() (#โ€‹10223)
  • [jest-changed-files] Use git diff instead of git log for --changedSince (#โ€‹10155)
  • [jest-console] Add missing console.timeLog for compatibility with Node ([#โ€‹10209](

Configuration

๐Ÿ“… Schedule: "before 3am on Monday" (UTC).

๐Ÿšฆ 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.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

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

renovate[bot] avatar Jan 27 '20 00:01 renovate[bot]