kc-workspace / kcws-js

A personal monorepo for javascript and typescript libraries
https://js.kcws.kamontat.net
GNU Affero General Public License v3.0
1 stars 0 forks source link

[Snyk] Upgrade jest-environment-node from 29.4.3 to 29.5.0 #79

Closed snyk-bot closed 1 year ago

snyk-bot commented 1 year ago

Snyk has created this PR to upgrade jest-environment-node from 29.4.3 to 29.5.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Release notes
Package name: jest-environment-node
  • 29.5.0 - 2023-03-06

    Features

    • [jest-changed-files] Support Sapling (#13941)
    • [jest-circus, @ jest/cli, jest-config] Add feature to randomize order of tests via CLI flag or through the config file(#12922)
    • [jest-cli, jest-config, @ jest/core, jest-haste-map, @ jest/reporters, jest-runner, jest-runtime, @ jest/types] Add workerThreads configuration option to allow using worker threads for parallelization (#13939)
    • [jest-cli] Export yargsOptions (#13970)
    • [jest-config] Add openHandlesTimeout option to configure possible open handles warning. (#13875)
    • [@ jest/create-cache-key-function] Allow passing length argument to createCacheKey() function and set its default value to 16 on Windows (#13827)
    • [jest-message-util] Add support for AggregateError (#13946 & #13947)
    • [jest-message-util] Add support for Error causes in test and it (#13935 & #13966)
    • [jest-reporters] Add summaryThreshold option to summary reporter to allow overriding the internal threshold that is used to print the summary of all failed tests when the number of test suites surpasses it (#13895)
    • [jest-runtime] Expose @ sinonjs/fake-timers async APIs functions advanceTimersByTimeAsync(msToRun) (tickAsync(msToRun)), advanceTimersToNextTimerAsync(steps) (nextAsync), runAllTimersAsync (runAllAsync), and runOnlyPendingTimersAsync (runToLastAsync) (#13981)
    • [jest-runtime, @ jest/transform] Allow V8 coverage provider to collect coverage from files which were not loaded explicitly (#13974)
    • [jest-snapshot] Add support to cts and mts TypeScript files to inline snapshots (#13975)
    • [jest-worker] Add start method to worker farms (#13937)
    • [jest-worker] Support passing a URL as path to worker (#13982)

    Fixes

    • [babel-plugin-jest-hoist] Fix unwanted hoisting of nested jest usages (#13952)
    • [jest-circus] Send test case results for todo tests (#13915)
    • [jest-circus] Update message printed on test timeout (#13830)
    • [jest-circus] Avoid creating the word "testfalse" when takesDoneCallback is false in the message printed on test timeout AND updated timeouts test (#13954)
    • [jest-environment-jsdom] Stop setting document to null on teardown (#13972)
    • [@ jest/expect-utils] Update toStrictEqual() to be able to check jest.fn().mock.calls (#13960)
    • [@ jest/test-result] Allow TestResultsProcessor type to return a Promise (#13950)

    Chore & Maintenance

    • [jest-snapshot] Remove dependency on jest-haste-map (#13977)

    New Contributors

    Full Changelog: v29.4.3...v29.5.0

  • 29.4.3 - 2023-02-15

    Features

    • [expect] Update toThrow() to be able to use error causes (#13606)
    • [jest-core] allow to use workerIdleMemoryLimit with only 1 worker or runInBand option (#13846)
    • [jest-message-util] Add support for error causes (#13868 & #13912)
    • [jest-runtime] Revert import assertions for JSON modules as it's been relegated to Stage 2 (#13911)

    Fixes

    • [@ jest/expect-utils] subsetEquality should consider also an object's inherited string keys (#13824)
    • [jest-mock] Clear mock state when jest.restoreAllMocks() is called (#13867)
    • [jest-mock] Prevent mockImplementationOnce and mockReturnValueOnce bleeding into withImplementation (#13888)
    • [jest-mock] Do not restore mocks when jest.resetAllMocks() is called (#13866)

    New Contributors

    Full Changelog: v29.4.2...v29.4.3

from jest-environment-node GitHub release notes
Commit messages
Package name: jest-environment-node
  • 39f3bed v29.5.0
  • df65c95 chore: update changelog for release
  • 3dff978 chore: roll new version of the documentation
  • 43988ff feat(jest-runtime): expose `@ sinonjs/fake-timers` async APIs (#13981)
  • d27e36f Update toStrictEqual() to be able to check jest.fn().mock.calls etc. (#13960)
  • 5093af4 docs: add missing admonitions in Global API page (#13953)
  • 654949b feat(jest-worker): support passing a URL as path to worker (#13982)
  • 0060728 fix(jest-runtime, @ jest/transform): allow V8 coverage provider to collect coverage from files which were not loaded explicitly (#13974)
  • 679b5ad chore: tweak wording when using conflicting CLI arguments (#13901)
  • 4156f86 feat(jest-snapshot): add support to cts and mts typescript files to inline snapshots (#13975)
  • 0e8ed24 feat(jest-cli): Export yargsOptions (#13970)
  • df6ddd8 chore(jest-snapshot): Remove hard dependency on `jest-haste-map` (#13977)
  • e7eb64c jest-environment-jsdom: stop setting document to null on teardown (#13972)
  • 7cf5006 feat: add summaryThreshold option to summary reporter (#13895)
  • 06f9fa1 feat(jest-inline-message): Support Error.cause with jasmine too (#13966)
  • d6d4575 fix: correct overeager hoisting in `babel-plugin-jest-hoist` (#13952)
  • bb39cb2 fix: Avoid creating the word testfalse in the message on test timeout (#13954)
  • 92630a6 fix(@ jest/test-result): allow `TestResultsProcessor` type to return a Promise (#13950)
  • eccb9b0 feat(jest-message-util): Add support for Error cause in `test` and `it` (#13935)
  • 302d783 fix: make timeouts on a test refer to timeout parameter, rather than jest.setTimeout() (#13830)
  • 47b37f8 refactor(jest-message-util): delete needless 'if' in AggregateError test (#13947)
  • cbe0ac1 jest-circus runs children in shuffled order (#12922)
  • ab510f5 feat(jest-config): `openHandlesTimeout` config option (#13875)
  • 39a0e05 refactor(jest-runtime): do not call `resetAllMock()` during `teardown` (#13924)
Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs