generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 7
Bump jest and @types/jest #1029
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fe324ce to
89d8c80
Compare
89d8c80 to
99d5ee7
Compare
99d5ee7 to
5bf013f
Compare
5bf013f to
e56b759
Compare
e56b759 to
9e96d13
Compare
9e96d13 to
85ebf17
Compare
85ebf17 to
96a4eef
Compare
96a4eef to
eaf965d
Compare
Contributor
Author
|
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting |
Member
|
@dependabot recreate |
Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together. Updates `jest` from 29.7.0 to 30.2.0 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.2.0/packages/jest) Updates `@types/jest` from 29.5.14 to 30.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) --- updated-dependencies: - dependency-name: jest dependency-version: 30.2.0 dependency-type: direct:development update-type: version-update:semver-major - dependency-name: "@types/jest" dependency-version: 30.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
eaf965d to
f03bbdc
Compare
Adding the local ReportBase stub bridges a gap between the freshly updated typings and what ships on npm. `@types/[email protected]` (pulled in transitively by the Jest 30 toolchain) now depends on `istanbul-lib-report` exposing a `ReportBase` type. However, `istanbul-lib-report` never published TypeScript definitions, and the companion `@types/istanbul-lib-report` package on DefinitelyTyped still targets the old API and does not declare `ReportBase`. Because TypeScript resolves the `.d.ts` first, the missing export breaks the build: npm run build > [email protected] build > tsc node_modules/@types/istanbul-reports/index.d.ts:1:16 - error TS2305: Module '"istanbul-lib-report"' has no exported member 'ReportBase'. 1 import { Node, ReportBase } from "istanbul-lib-report"; ~~~~~~~~~~ Found 1 error in node_modules/@types/istanbul-reports/index.d.ts:1 Until either `istanbul-lib-report` publishes its own typings or the DefinitelyTyped package is updated, we patch the gap locally with a minimal augmentation so the compiler can see the symbol and keep the new Jest stack happy. Assisted-by: GPT-5-Codex Signed-off-by: Johannes Schindelin <[email protected]>
Signed-off-by: Johannes Schindelin <[email protected]>
This is needed allow `npm run lint` to run again after the Jest version bump switched us over to a flat ESLint configuration that assumes the shared globals catalog is available. Without explicitly declaring that package, `npm run lint` fails because Node cannot resolve the import inside `eslint.config.mjs`. Assisted-by: GPT-5-Codex Signed-off-by: Johannes Schindelin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
javascript
Pull requests that update Javascript code
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps jest and @types/jest. These dependencies needed to be updated together.
Updates
jestfrom 29.7.0 to 30.2.0Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
855864ev30.2.0da9b532v30.1.3ebfa31cv30.1.2d347c0fv30.1.14d5f41dv30.1.022236cfv30.0.5f4296d2v30.0.4d4a6c94v30.0.3393acbfv30.0.25ce865bv30.0.1Updates
@types/jestfrom 29.5.14 to 30.0.0Commits
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)