Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update jest monorepo #538

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/jest (source) ^29.5.11 -> ^29.5.14 age adoption passing confidence
jest (source) ^30.0.0-alpha.2 -> ^30.0.0-alpha.6 age adoption passing confidence

Release Notes

jestjs/jest (jest)

v30.0.0-alpha.6

Compare Source

Features

  • [babel-jest] Add option excludeJestPreset to allow opting out of babel-preset-jest (#​15164)
  • [jest-circus, jest-test-result] Add startedAt timestamp in TestCaseResultObject within onTestCaseResult (#​15145)
  • [jest-config] Show rootDir in error message when a preset fails to load (#​15194)
  • [jest-config] Support loading TS config files using esbuild-register via docblock loader (#​15190)
  • [jest-config] allow passing TS config loader options via docblock comment (#​15234)
  • [expect, @​jest/expect] [BREAKING] Add type inference for function parameters in CalledWith assertions (#​15129)
  • [@jest/expect-utils] Properly compare all types of TypedArrays (#​15178)
  • [jest-resolver] Support file:// URLs as paths (#​15154)
  • [jest-runtime] Add unstable_unmockModule (#​15080)
  • [expect] Use Array.isArray to check if an array is an Array (#​15101)
  • [@jest/create-cache-key-function] Correct the return type of createCacheKey (#​15159)
  • [pretty-format] Fixed a bug where "anonymous custom elements" were not being printed as expected. (#​15138)
  • [jest-worker] Properly handle a circular reference error when worker tries to send an assertion fails where either the expected or actual value is circular (#​15191)
  • [jest-worker] Properly handle a BigInt when worker tries to send an assertion fails where either the expected or actual value is BigInt (#​15191)

Performance

  • [jest-runner] Better cleanup source-map-support after test to resolve (minor) memory leak (#​15233)

Chore & Maintenance

  • [*] [BREAKING] Drop support for Node.js versions 14, 19 and 21 (#​14460, #​15118)
  • [babel-jest, @​jest/transform] Update babel-plugin-istanbul to v6 (#​15156)
  • [babel-plugin-jest-hoist] Move unnecessary dependencies to devDependencies (#​15010)

New Contributors

Full Changelog: jestjs/jest@v30.0.0-alpha.5...v30.0.0-alpha.6

v30.0.0-alpha.5

Compare Source

Features

  • [@jest/util-snapshot] Extract utils used by tooling from jest-snapshot into its own package (#​15095)
  • [jest-each] Introduce %$ option to add number of the test to its title (#​14710)

Fixes

  • [jest-config] Allow Node16/NodeNext/Bundler moduleResolution in project's tsconfig (#​14739)
  • [BREAKING] Specifying testPathPatterns when programmatically calling watch must be specified as `new

Chore & Maintenance

  • [*] Increase version of micromatch to ^4.0.7 (#​15082)
  • [docs] Revised documentation for .toHaveBeenCalled() to accurately depict its functionality. (#​14853)

New Contributors

Full Changelog: jestjs/jest@v30.0.0-alpha.4...v30.0.0-alpha.5

v30.0.0-alpha.4

Compare Source

Features

  • [jest-circus] Add a retryImmediately option to jest.retryTimes (#​14696)
  • [@jest/core] Support --outputFile option for --listTests (#​14980)
  • [@jest/environment] [BREAKING] Remove deprecated jest.genMockFromModule() (#​15042)
  • [@jest/environment] [BREAKING] Remove unnecessary defensive code (#​15045)
  • [jest-matcher-utils] Add SERIALIZABLE_PROPERTIES to allow custom serialization of objects (#​14893)
  • [jest-reporters] Add support for DEC mode 2026 (#​15008)
  • [jest-runtime] Support import.meta.resolve (#​14930)
  • [jest-runtime] [BREAKING] Make it mandatory to pass globalConfig to the Runtime constructor (#​15044)
  • [@jest/types] Improve argument type inference passed to test and describe callback functions from each tables (#​14920)

Fixes

  • [expect] Improve diff for failing expect.objectContaining (#​15038)
  • [jest-changed-files] Print underlying errors when VCS commands fail (#​15052)
  • [jest-changed-files] Abort sl root call if output resembles a steam locomotive (#​15053)
  • [jest-each] Allow $keypath templates with null or undefined values (#​14831)
  • [@jest/expect-utils] Catch circular references within arrays when matching objects (#​14894)
  • [@jest/expect-utils] Fix not addressing to Sets and Maps as objects without keys (#​14873)
  • [jest-util] Add missing dependency on jest-regex-util (#​15030)

Chore & Maintenance

  • [@jest/reporters] Upgrade istanbul-lib-source-maps (#​14924)
  • [jest-util] Upgrade picomatch to v4 (#​14653 & #​14885)
  • [docs] Link NestJS documentation on testing with Jest (#​14940)

New Contributors

Full Changelog: jestjs/jest@v30.0.0-alpha.3...v30.0.0-alpha.4

v30.0.0-alpha.3

Compare Source

Features

  • [jest-circus] Add a waitBeforeRetry option to jest.retryTimes (#​14738)
  • [jest-circus, jest-jasmine2] Allow setupFilesAfterEnv to export an async function (#​10962)
  • [jest-config] Loads config file from provided path in package.json (#​14044)
  • [jest-config] Allow loading jest.config.cts files (#​14070)
  • [@jest/core] Group together open handles with the same stack trace (#​13417, & #​14789)
  • [@jest/core] [BREAKING] Changed --filter to accept an object with shape { filtered: Array<string> } to match documentation (#​13319)
  • [@jest/environment-jsdom-abstract] Introduce new package which abstracts over the jsdom environment, allowing usage of custom versions of JSDOM (#​14717)
  • [jest-environment-node] Update jest environment with dispose symbols Symbol (#​14888 & #​14909)
  • [jest-mock] Add support for the Explicit Resource Management proposal to use the using keyword with jest.spyOn(object, methodName) (#​14895)
  • [jest-runtime] Support import.meta.filename and import.meta.dirname (available from Node 20.11)
  • [jest-circus] Replace recursive makeTestResults implementation with iterative one (#​14760)
  • [jest-circus] Omit expect.hasAssertions() errors if a test already has errors (#​14866)
  • [jest-cli] [BREAKING] Validate CLI flags that require arguments receives them (#​14783)
  • [jest-config] Support testTimeout in project config (#​14697)
  • [jest-config] Support coverageReporters in project config (#​14697)
  • [jest-config] Allow reporters in project config (#​14768)
  • [pretty-format] [BREAKING] Print ArrayBuffer and DataView correctly (#​14290)

Performance

  • [jest-haste-map] Only spawn one process to check for watchman installation (#​14826)

Chore & Maintenance

  • [*] [BREAKING] Upgrade to glob@10 (#​14509)
  • [*] Use TypeError over Error where appropriate (#​14799)
  • [jest-schemas] Upgrade @sinclair/typebox (#​14775)
  • [docs] Append to NODE_OPTIONS, not overwrite (#​14730)
  • [docs] Updated .toHaveBeenCalled() documentation to correctly reflect its functionality (#​14842)

New Contributors

Full Changelog: jestjs/jest@v30.0.0-alpha.2...v30.0.0-alpha.3


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

changeset-bot bot commented Apr 1, 2024

⚠️ No Changeset found

Latest commit: 7bd29c9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codesandbox-ci bot commented Apr 1, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Copy link
Contributor

github-actions bot commented Apr 1, 2024

📊 Package size report   No changes

File Before After
Total (Includes all files) 1.5 MB 1.5 MB
Tarball size 173.8 kB 173.8 kB
Unchanged files
File Size
.babelrc 35 B
.changeset/config.json 372 B
.changeset/README.md 510 B
.codesandbox/ci.json 119 B
.editorconfig 161 B
.eslintrc.js 837 B
.gitattributes 35 B
.github/FUNDING.yml 204 B
.github/workflows/ci.yml 1.1 kB
.github/workflows/codeql.yml 794 B
.github/workflows/pkg-size.yml 699 B
.github/workflows/release.yml 1.4 kB
.lintstagedrc.js 50 B
.simple-git-hooks.js 51 B
.yarn/plugins/plugin-prepare-lifecycle.cjs 202 B
.yarnrc.yml 332 B
CHANGELOG.md 283 B
CONTRIBUTING.md 931 B
LICENSE 1.1 kB
package.json 3.4 kB
packages/eslint-mdx/CHANGELOG.md 25.1 kB
packages/eslint-mdx/package.json 1.1 kB
packages/eslint-mdx/README.md 11.7 kB
packages/eslint-mdx/shim.d.ts 1.4 kB
packages/eslint-mdx/src/helpers.ts 4.3 kB
packages/eslint-mdx/src/index.ts 121 B
packages/eslint-mdx/src/meta.ts 87 B
packages/eslint-mdx/src/parser.ts 2.5 kB
packages/eslint-mdx/src/sync.ts 384 B
packages/eslint-mdx/src/tokens.ts 6.8 kB
packages/eslint-mdx/src/types.ts 1.5 kB
packages/eslint-mdx/src/worker.ts 23.3 kB
packages/eslint-mdx/tsconfig.json 131 B
packages/eslint-plugin-mdx/CHANGELOG.md 27.9 kB
packages/eslint-plugin-mdx/package.json 1.0 kB
packages/eslint-plugin-mdx/README.md 11.7 kB
packages/eslint-plugin-mdx/src/configs/base.ts 305 B
packages/eslint-plugin-mdx/src/configs/code-blocks.ts 1.0 kB
packages/eslint-plugin-mdx/src/configs/flat.ts 705 B
packages/eslint-plugin-mdx/src/configs/index.ts 439 B
packages/eslint-plugin-mdx/src/configs/overrides.ts 725 B
packages/eslint-plugin-mdx/src/configs/recommended.ts 2.4 kB
packages/eslint-plugin-mdx/src/helpers.ts 620 B
packages/eslint-plugin-mdx/src/index.ts 128 B
packages/eslint-plugin-mdx/src/meta.ts 87 B
packages/eslint-plugin-mdx/src/processors/helpers.ts 633 B
packages/eslint-plugin-mdx/src/processors/index.ts 198 B
packages/eslint-plugin-mdx/src/processors/options.ts 1.8 kB
packages/eslint-plugin-mdx/src/processors/remark.ts 1.8 kB
packages/eslint-plugin-mdx/src/processors/types.ts 241 B
packages/eslint-plugin-mdx/src/rules/.eslintrc 124 B
packages/eslint-plugin-mdx/src/rules/index.ts 138 B
packages/eslint-plugin-mdx/src/rules/remark.ts 3.6 kB
packages/eslint-plugin-mdx/src/rules/types.ts 415 B
packages/eslint-plugin-mdx/tsconfig.json 131 B
patches/eslint+8.56.0.patch 555 B
patches/smartwrap+2.0.2.patch 461 B
patches/string-width-cjs+4.2.3.patch 444 B
patches/tty-table+4.2.3.patch 926 B
patches/wrap-ansi-cjs+7.0.0.patch 489 B
patches/yargs+17.7.2.patch 124.6 kB
README.md 11.7 kB
test/__snapshots__/fixtures.test.ts.snap 57.5 kB
test/__snapshots__/flat-config.test.ts.snap 823 B
test/__snapshots__/parser.test.ts.snap 1.1 MB
test/fixtures.test.ts 2.7 kB
test/fixtures/287.mdx 204 B
test/fixtures/292.mdx 191 B
test/fixtures/334.mdx 70 B
test/fixtures/336.mdx 178 B
test/fixtures/367.mdx 87 B
test/fixtures/371.mdx 75 B
test/fixtures/380.mdx 11.0 kB
test/fixtures/391.mdx 62 B
test/fixtures/429.mdx 52 B
test/fixtures/435.mdx 134 B
test/fixtures/437.mdx 32 B
test/fixtures/445.mdx 188 B
test/fixtures/450.mdx 418 B
test/fixtures/488.mdx 78 B
test/fixtures/acorn.mdx 860 B
test/fixtures/adjacent.mdx 50 B
test/fixtures/async/.remarkrc 67 B
test/fixtures/async/test.md 15 B
test/fixtures/basic.mdx 405 B
test/fixtures/basic.tsx 77 B
test/fixtures/blank-lines.mdx 768 B
test/fixtures/code-blocks.md 511 B
test/fixtures/comments.mdx 162 B
test/fixtures/details.mdx 881 B
test/fixtures/dir.mdx/.gitkeep 0 B
test/fixtures/esm/.remarkrc.mjs 103 B
test/fixtures/esm/test.md 15 B
test/fixtures/flat-config/code-blocks.mdx 76 B
test/fixtures/jsx-in-list.mdx 810 B
test/fixtures/leading-spaces.mdx 42 B
test/fixtures/markdown.md 5 B
test/fixtures/no-unescaped-entities.mdx 99 B
test/fixtures/no-unused-expressions.mdx 90 B
test/fixtures/processor.mdx 13 B
test/fixtures/remark.md 171 B
test/fixtures/remark.mdx 169 B
test/fixtures/style/.remarkrc 228 B
test/fixtures/style/nested.md 10 B
test/fixtures/style/plugin1.cjs 26 B
test/fixtures/style/plugin2.mjs 24 B
test/fixtures/unicorn.jsx 119 B
test/fixtures/unicorn.mdx 118 B
test/flat-config.test.ts 1.0 kB
test/helpers.test.ts 874 B
test/helpers.ts 548 B
test/parser.test.ts 4.6 kB
test/remark.test.ts 2.8 kB
tsconfig.base.json 235 B
tsconfig.json 259 B
tsconfig.lib.json 195 B

🤖 This report was automatically generated by pkg-size-action

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d6fc093) to head (cfc0d35).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #538   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          196       196           
  Branches        33        33           
=========================================
  Hits           196       196           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant