weixin_39531992
weixin_39531992
2020-12-08 22:55

build(deps-dev): bump jest and ts-jest

Bumps jest and ts-jest. These dependencies needed to be updated together.

Updates jest from 23.6.0 to 24.1.0

Changelog *Sourced from [jest's changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md).* > ## 24.1.0 > > ### Features > > - `[jest-resolve]`: Pass default resolver into custom resolvers ([#7714](https://github-redirect.dependabot.com/facebook/jest/pull/7714)) > - `[jest-cli]`: `global{Setup,Teardown}` use default export with es modules ([#7750](https://github-redirect.dependabot.com/facebook/jest/pull/7750)) > - `[jest-runtime]` Better error messages when the jest environment is used after teardown by async code ([#7756](https://github-redirect.dependabot.com/facebook/jest/pull/7756)) > - `[jest-jasmine2]` Will now only execute at most 5 concurrent tests _within the same testsuite_ when using `test.concurrent` ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > - `[jest-circus]` Same as `[jest-jasmine2]`, only 5 tests will run concurrently by default ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > - `[jest-config]` A new `maxConcurrency` option allows to change the number of tests allowed to run concurrently ([#7770](https://github-redirect.dependabot.com/facebook/jest/pull/7770)) > > ### Fixes > > - `[jest-runtime]` Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/pull/7787)) > - `[jest-cli]` Break dependency cycle when using Jest programmatically ([#7707](https://github-redirect.dependabot.com/facebook/jest/pull/7707)) > - `[jest-config]` Extract setupFilesAfterEnv from preset ([#7724](https://github-redirect.dependabot.com/facebook/jest/pull/7724)) > - `[jest-cli]` Do not execute any `globalSetup` or `globalTeardown` if there are no tests to execute ([#7745](https://github-redirect.dependabot.com/facebook/jest/pull/7745)) > - `[jest-runtime]` Lock down version of `write-file-atomic` ([#7725](https://github-redirect.dependabot.com/facebook/jest/pull/7725)) > - `[jest-cli]` Print log entries when logging happens after test environment is torn down ([#7731](https://github-redirect.dependabot.com/facebook/jest/pull/7731)) > - `[jest-config]` Do not use a uuid as `name` since that breaks caching ([#7746](https://github-redirect.dependabot.com/facebook/jest/pull/7746)) > - `[jest-config]` Make sure `normalize` can consume `Defaults` without warnings ([#7742](https://github-redirect.dependabot.com/facebook/jest/pull/7742)) > - `[jest-config]` Allow `moduleFileExtensions` without 'js' for custom runners ([#7751](https://github-redirect.dependabot.com/facebook/jest/pull/7751)) > - `[jest-cli]` Load transformers before installing require hooks ([#7752](https://github-redirect.dependabot.com/facebook/jest/pull/7752) > - `[jest-cli]` Handle missing `numTodoTests` in test results ([#7779](https://github-redirect.dependabot.com/facebook/jest/pull/7779)) > - `[jest-runtime]` Exclude setup/teardown files from coverage report ([#7790](https://github-redirect.dependabot.com/facebook/jest/pull/7790) > - `[babel-jest]` Throw an error if `babel-jest` tries to transform a file ignored by Babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/pull/7797)) > - `[babel-plugin-jest-hoist]` Ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/pull/7799) > > ### Chore & Maintenance > > - `[jest]` Update jest-junit to ^6.2.1 ([#7739](https://github-redirect.dependabot.com/facebook/jest/pull/7739)) > - `[website]` Fix broken help link on homepage ([#7706](https://github-redirect.dependabot.com/facebook/jest/pull/7706)) > - `[docs]` Changed Babel setup documentation to correctly compile `async/await` ([#7701](https://github-redirect.dependabot.com/facebook/jest/pull/7701)) > > ## 24.0.0 > > ### Features > > - `[jest-each]` [**BREAKING**] Add primitive pretty printing for interpolated titles ([#7694](https://github-redirect.dependabot.com/facebook/jest/pull/7694)) > - `[jest-runtime]` Add `jest.isolateModules` for scoped module initialization ([#6701](https://github-redirect.dependabot.com/facebook/jest/pull/6701)) > - `[jest-diff]` [**BREAKING**] Support diffing numbers and booleans instead of returning null for different ones ([#7605](https://github-redirect.dependabot.com/facebook/jest/pull/7605)) > - `[jest-diff]` [**BREAKING**] Replace `diff` with `diff-sequences` package ([#6961](https://github-redirect.dependabot.com/facebook/jest/pull/6961)) > - `[jest-cli]` [**BREAKING**] Only set error process error codes when they are non-zero ([#7363](https://github-redirect.dependabot.com/facebook/jest/pull/7363)) > - `[jest-config]` [**BREAKING**] Deprecate `setupTestFrameworkScriptFile` in favor of new `setupFilesAfterEnv` ([#7119](https://github-redirect.dependabot.com/facebook/jest/pull/7119)) > - `[jest-worker]` [**BREAKING**] Add functionality to call a `setup` method in the worker before the first call and a `teardown` method when ending the farm ([#7014](https://github-redirect.dependabot.com/facebook/jest/pull/7014)) > - `[jest-config]` [**BREAKING**] Set default `notifyMode` to `failure-change` ([#7024](https://github-redirect.dependabot.com/facebook/jest/pull/7024)) > - `[jest-haste-map]` [**BREAKING**] Remove support for `[@​providesModule](https://github.com/providesModule)` ([#6104](https://github-redirect.dependabot.com/facebook/jest/pull/6104)) > - `[jest-haste-map]` [**BREAKING**] Replace internal data structures to improve performance ([#6960](https://github-redirect.dependabot.com/facebook/jest/pull/6960)) > - `[jest-haste-map]` [**BREAKING**] Use relative paths to allow remote caching ([#7020](https://github-redirect.dependabot.com/facebook/jest/pull/7020)) > - `[jest-haste-map]` [**BREAKING**] Remove name from hash in `HasteMap.getCacheFilePath` ([#7218](https://github-redirect.dependabot.com/facebook/jest/pull/7218)) > ... (truncated) Commits - [`8a2ea1e`](https://github.com/facebook/jest/commit/8a2ea1e83845497fa7756b44c91f6ff97eb02692) Release 24.1.0 - [`b167892`](https://github.com/facebook/jest/commit/b16789230fd45056a7f2fa199bae06c7a1780deb) fix: ignore TS type references when looking for out-of-scope references ([#7799](https://github-redirect.dependabot.com/facebook/jest/issues/7799)) - [`5a81a09`](https://github.com/facebook/jest/commit/5a81a09b2561ece2fb9ce5380de1d8d78de12f7d) fix: make babel-jest warn when file to tarnsform is ignored by babel ([#7797](https://github-redirect.dependabot.com/facebook/jest/issues/7797)) - [`012820e`](https://github.com/facebook/jest/commit/012820ee00af31da1767acfec3c29821dfab5e49) Exclude setup files from coverage ([#7790](https://github-redirect.dependabot.com/facebook/jest/issues/7790)) - [`74ae342`](https://github.com/facebook/jest/commit/74ae342b28de957c0d3cf42545cfcf17bd172e4f) Addressing malfunctioning code snippet. ([#7789](https://github-redirect.dependabot.com/facebook/jest/issues/7789)) - [`c6c60f5`](https://github.com/facebook/jest/commit/c6c60f5261a02a36b8453a1ffa339d5b2ca90e12) sync Getting Started docs to readme ([#7782](https://github-redirect.dependabot.com/facebook/jest/issues/7782)) - [`ab64cc8`](https://github.com/facebook/jest/commit/ab64cc836c127b83b86511db4095449522fe4125) Fix for mocks not working with module name mapper ([#7787](https://github-redirect.dependabot.com/facebook/jest/issues/7787)) - [`006b0b9`](https://github.com/facebook/jest/commit/006b0b992475e65f004ab8f8798e3f699ea9529d) chore: add missing preset--env transform to typescript example - [`a61ac1d`](https://github.com/facebook/jest/commit/a61ac1dfd997218d832ff0301e8c397f0dd7ab46) Fix broken link for inline snapshots ([#7785](https://github-redirect.dependabot.com/facebook/jest/issues/7785)) - [`4ea8462`](https://github.com/facebook/jest/commit/4ea8462fc014de6b1c8aecfa77052e20f28fa1a5) fix: handle missing todo in test result ([#7779](https://github-redirect.dependabot.com/facebook/jest/issues/7779)) - Additional commits viewable in [compare view](https://github.com/facebook/jest/compare/v23.6.0...v24.1.0) Maintainer changes This version was pushed to npm by [rubennorte](https://www.npmjs.com/~rubennorte), a new releaser for jest since your current version.


Updates ts-jest from 23.10.5 to 24.0.0

Changelog *Sourced from [ts-jest's changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md).* > # [24.0.0](https://github.com/kulshekhar/ts-jest/compare/v23.10.5...v24.0.0) (2019-02-18) > > > ### Bug Fixes > > * cli test ([1d67101](https://github.com/kulshekhar/ts-jest/commit/1d67101)) > * module tests and some snapshots ([999f889](https://github.com/kulshekhar/ts-jest/commit/999f889)) > * remove unused snapshots ([108b08b](https://github.com/kulshekhar/ts-jest/commit/108b08b)) > * some tests ([d0f2231](https://github.com/kulshekhar/ts-jest/commit/d0f2231)) > * test command ([8372b5e](https://github.com/kulshekhar/ts-jest/commit/8372b5e)) > * test path for windows (attempt 1) ([6824ac4](https://github.com/kulshekhar/ts-jest/commit/6824ac4)) > * test path for windows (attempt 2) ([eb2fc8a](https://github.com/kulshekhar/ts-jest/commit/eb2fc8a)) > > > ### Features > > * **jest:** bump to 24 ([defcb77](https://github.com/kulshekhar/ts-jest/commit/defcb77)) > > > > > ## [23.10.4](https://github.com/kulshekhar/ts-jest/compare/v23.10.3...v23.10.4) (2018-10-06) > > > ### Bug Fixes > > * **cache:** adds project's dep versions to cache key ([6cacbea](https://github.com/kulshekhar/ts-jest/commit/6cacbea)), closes [#785](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/785) > * **cli:** change options to better reflect the new presets ([68abcfb](https://github.com/kulshekhar/ts-jest/commit/68abcfb)) > * **helpers:** deprecate import from ts-jest, now ts-jest/utils ([33ff29f](https://github.com/kulshekhar/ts-jest/commit/33ff29f)), closes [#782](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/782) > * **typings:** typo in presets definition file ([53767ab](https://github.com/kulshekhar/ts-jest/commit/53767ab)) > * **typings:** wrong import in preset typings + test ([94dc4e7](https://github.com/kulshekhar/ts-jest/commit/94dc4e7)) > > > > > ## [23.10.3](https://github.com/kulshekhar/ts-jest/compare/v23.10.2...v23.10.3) (2018-09-30) > > > ### Bug Fixes > > * **compiler:** do not force module kind if piping babel ([acebc8c](https://github.com/kulshekhar/ts-jest/commit/acebc8c)), closes [#767](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/767) > > > ### Features > > * **helpers:** adds a mocked test helper for mock typings ([f976135](https://github.com/kulshekhar/ts-jest/commit/f976135)), closes [#576](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/576) > > > > > ... (truncated) Commits - [`1ac501a`](https://github.com/kulshekhar/ts-jest/commit/1ac501ac52986c0f143900c2a441f472666f4991) chore: changelog - [`61d31b4`](https://github.com/kulshekhar/ts-jest/commit/61d31b48dc633bb415eb2d0d39f97dab771327c4) Merge pull request [#957](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/957) from thymikee/feat/jest24 - [`0a2f533`](https://github.com/kulshekhar/ts-jest/commit/0a2f533864f0e41fa144e890a7603e041fb9658c) chore: remove jest-config-resolver - [`eb2fc8a`](https://github.com/kulshekhar/ts-jest/commit/eb2fc8a28bcdb1b441a74b4bdc44020089643c84) fix: test path for windows (attempt 2) - [`6824ac4`](https://github.com/kulshekhar/ts-jest/commit/6824ac49ee36ee00f29aa97fe9001f6b5696cbe2) fix: test path for windows (attempt 1) - [`108b08b`](https://github.com/kulshekhar/ts-jest/commit/108b08b90ca428d9acbe91e922f59fb4e5f1f30a) fix: remove unused snapshots - [`16fd6b5`](https://github.com/kulshekhar/ts-jest/commit/16fd6b587fd24ed73d0da4ce78ad5f0b0b442f94) chore: merge master - [`fb53685`](https://github.com/kulshekhar/ts-jest/commit/fb536857dc2e1c72066d134db5df0aaeab5a33de) Merge pull request [#978](https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/978) from kulshekhar/fix-updates - [`9ff4f88`](https://github.com/kulshekhar/ts-jest/commit/9ff4f8887a303b2d2b614f054a97ebbae38dcbda) chore(deps): updated major dependencies - [`a0da54c`](https://github.com/kulshekhar/ts-jest/commit/a0da54c9d0a45b8674ccfb3a24435053987a160b) chore(deps): updated major dependencies - Additional commits viewable in [compare view](https://github.com/kulshekhar/ts-jest/compare/v23.10.5...v24.0.0)


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting rebase.

Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.

Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - ` rebase` will rebase this PR - ` recreate` will recreate this PR, overwriting any edits that have been made to it - ` merge` will merge this PR after your CI passes on it - ` squash and merge` will squash and merge this PR after your CI passes on it - ` cancel merge` will cancel a previously requested merge - ` reopen` will reopen this PR if it is closed - ` ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - ` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - ` use these labels` will set the current labels as the default for future PRs for this repo and language - ` use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - ` use these assignees` will set the current assignees as the default for future PRs for this repo and language - ` use this milestone` will set the current milestone as the default for future PRs for this repo and language - ` badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning .

该提问来源于开源项目:simplabs/qunit-dom

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39743414 weixin_39743414 5月前

    great! Let me know if there's anything we can improve.

    点赞 评论 复制链接分享
  • weixin_39611340 weixin_39611340 5月前

    These dependencies needed to be updated together.

    is that detected automatically or is there some sort of list for this?

    点赞 评论 复制链接分享
  • weixin_39743414 weixin_39743414 5月前

    👋 this is detected from the peerDependency requirement in ts-jest. Is this what you expected?

    点赞 评论 复制链接分享
  • weixin_39611340 weixin_39611340 5月前

    not necessarily what I expected, but it answers the question and is actually quite clever. nice work!

    点赞 评论 复制链接分享

相关推荐