koajs / koa

Expressive middleware for node.js using ES2017 async functions
https://koajs.com
MIT License
35.2k stars 3.23k forks source link

build(deps-dev): bump jest from 28.1.3 to 29.6.2 #1772

Closed dependabot[bot] closed 12 months ago

dependabot[bot] commented 1 year ago

Bumps jest from 28.1.3 to 29.6.2.

Release notes

Sourced from jest's releases.

v29.6.2

Fixes

  • [jest-circus] Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency (#14335)
  • [@jest/core] When running global setup and teardown, do not try to change the message property of the thrown error object when the message property is unwritable (#14113)
  • [jest-snapshot] Move @types/prettier from dependencies to devDependencies (#14328)
  • [jest-snapshot] Throw an explicit error if Prettier v3 is used (#14367)
  • [jest-reporters] Add "skipped" and "todo" symbols to Github Actions Reporter (#14309)

Chore & Maintenance

  • [@jest/core] Use pluralize from jest-util rather than own internal (#14322)

New Contributors

Full Changelog: https://github.com/jestjs/jest/compare/v29.6.1...v29.6.2

v29.6.1

Fixes

  • [jest-circus] Revert #14110 as it was a breaking change (#14304)

Full Changelog: https://github.com/jestjs/jest/compare/v29.6.0...v29.6.1

v29.6.0

Features

  • [jest-circus, jest-snapshot] Add support for snapshot matchers in concurrent tests (#14139)
  • [jest-cli] Include type definitions to generated config files (#14078)
  • [jest-snapshot] Support arrays as property matchers (#14025)
  • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting about start individual test cases using jest-circus (#14174)

Fixes

  • [jest-circus] Prevent false test failures caused by promise rejections handled asynchronously (#14110)
  • [jest-config] Handle frozen config object (#14054)
  • [jest-config] Allow coverageDirectory and collectCoverageFrom in project config (#14180)
  • [jest-core] Always use workers in watch mode to avoid crashes (#14059).
  • [jest-environment-jsdom, jest-environment-node] Fix assignment of customExportConditions via testEnvironmentOptions when custom env subclass defines a default value (#13989)
  • [jest-matcher-utils] Fix copying value of inherited getters (#14007)
  • [jest-mock] Tweak typings to allow jest.replaceProperty() replace methods (#14008)
  • [jest-mock] Improve user input validation and error messages of spyOn and replaceProperty methods (#14087)
  • [jest-runtime] Bind jest.isolateModulesAsync to this (#14083)
  • [jest-runtime] Forward wrapperLength to the Script constructor as columnOffset for accurate debugging (#14148)
  • [jest-runtime] Guard _isMockFunction access with in (#14188)
  • [jest-snapshot] Fix a potential bug when not using prettier and improve performance (#14036)

... (truncated)

Changelog

Sourced from jest's changelog.

29.6.2

Fixes

  • [jest-circus] Fix snapshot matchers in concurrent tests when nr of tests exceeds maxConcurrency (#14335)
  • [@jest/core] When running global setup and teardown, do not try to change the message property of the thrown error object when the message property is unwritable (#14113)
  • [jest-snapshot] Move @types/prettier from dependencies to devDependencies (#14328)
  • [jest-snapshot] Throw an explicit error if Prettier v3 is used (#14367)
  • [jest-reporters] Add "skipped" and "todo" symbols to Github Actions Reporter (#14309)

Chore & Maintenance

  • [@jest/core] Use pluralize from jest-util rather than own internal (#14322)

29.6.1

Fixes

  • [jest-circus] Revert #14110 as it was a breaking change (#14304)

29.6.0

Features

  • [jest-circus, jest-snapshot] Add support for snapshot matchers in concurrent tests (#14139)
  • [jest-cli] Include type definitions to generated config files (#14078)
  • [jest-snapshot] Support arrays as property matchers (#14025)
  • [jest-core, jest-circus, jest-reporter, jest-runner] Added support for reporting about start individual test cases using jest-circus (#14174)

Fixes

  • [jest-circus] Prevent false test failures caused by promise rejections handled asynchronously (#14110)
  • [jest-config] Handle frozen config object (#14054)
  • [jest-config] Allow coverageDirectory and collectCoverageFrom in project config (#14180)
  • [jest-core] Always use workers in watch mode to avoid crashes (#14059).
  • [jest-environment-jsdom, jest-environment-node] Fix assignment of customExportConditions via testEnvironmentOptions when custom env subclass defines a default value (#13989)
  • [jest-matcher-utils] Fix copying value of inherited getters (#14007)
  • [jest-mock] Tweak typings to allow jest.replaceProperty() replace methods (#14008)
  • [jest-mock] Improve user input validation and error messages of spyOn and replaceProperty methods (#14087)
  • [jest-runtime] Bind jest.isolateModulesAsync to this (#14083)
  • [jest-runtime] Forward wrapperLength to the Script constructor as columnOffset for accurate debugging (#14148)
  • [jest-runtime] Guard _isMockFunction access with in (#14188)
  • [jest-snapshot] Fix a potential bug when not using prettier and improve performance (#14036)
  • [@jest/transform] Do not instrument .json modules (#14048)
  • [jest-worker] Restart a shut down worker before sending it a task (#14015)

Chore & Maintenance

  • [*] Update semver dependency to get vulnerability fix (#14262)
  • [docs] Updated documentation for the --runTestsByPath CLI command (#14004)

... (truncated)

Commits


Dependabot compatibility score

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 @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot 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)
socket-security[bot] commented 1 year ago

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: jest@28.1.3

adaptly-bot commented 1 year ago

:warning:  jest

 Breaking changes
1: Differentiate between MatcherContext MatcherUtils and MatcherState types > The types `MatcherContext`, `MatcherUtils`, and `MatcherState` have been differentiated. This may affect your existing code if you were using these types interchangeably.
2: Make snapshotFormat default to escapeString: false and printBasicPrototype: false > The default values for `snapshotFormat` have been changed to `escapeString: false` and `printBasicPrototype: false`. This may affect your snapshot tests.
3: Remove undocumented collectCoverageOnlyFrom option > The `collectCoverageOnlyFrom` option has been removed. If you were using this option, you will need to update your configuration.
4: Upgrade to jsdom@20 > The `jsdom` dependency has been upgraded to version 20. This may affect your tests if they rely on features or behavior present in older versions of `jsdom`.
5: Refactor Mocked* utility types > `MaybeMockedDeep` and `MaybeMocked` became `Mocked` and `MockedShallow` respectively; only deep mocked variants of `MockedClass`, `MockedFunction` and `MockedObject` are exported. This may require changes in your code if you were using these types.
6: Change the default jest.mocked helper’s behavior to deep mocked > The default behavior of the `jest.mocked` helper has been changed to deep mocked. This may affect your tests if they rely on the previous shallow mocking behavior.
7: Let babel find config when updating inline snapshots > Babel is now responsible for finding the config when updating inline snapshots. This may affect your tests if they rely on a specific Babel configuration.
8: Replace Bytes and Milliseconds types with number > The `Bytes` and `Milliseconds` types have been replaced with `number`. This may require changes in your code if you were using these types.
9: Remove ConvertAnsi plugin in favour of jest-serializer-ansi-escapes > The `ConvertAnsi` plugin has been removed in favor of `jest-serializer-ansi-escapes`. If you were using `ConvertAnsi`, you will need to switch to `jest-serializer-ansi-escapes`.
10: Drop support for Node v12 and v17 > Support for Node v12 and v17 has been dropped. If you are using either of these versions, you will need to upgrade Node to continue using this package.
11: Require rootDir as argument to SnapshotState > `rootDir` is now a required argument to `SnapshotState`. This may require changes in your code if you were not previously providing this argument.

:bust_in_silhouette: Who am I? I am a bot that helps developers to update dependencies by informing if changelogs contain breaking changes or not.

:wave: See you again? If you want my help with other dependency updates, add me to your repository.

PS. I hope I didn't bother you - my purpose is to help developers and I won't comment anymore without your request. Feel free to shoot me a message about anything support@adaptly.dev. Cheers.

dependabot[bot] commented 12 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.