Repository navigation
Update all dependencies to their latest versions - #301
Merged
Merged
Conversation
Root: ava 8, @ava/typescript 7, @sinonjs/fake-timers 15, @types/sinonjs__fake-timers 15, TypeScript 6.0.3. compatibility-checks: Babel 8, ava 8, @types/node 26, TypeScript 6.0.3, rollup, vitest, webpack, ansi-regex. GitHub Actions: actions/checkout and actions/setup-node v7. Held back on purpose: - TypeScript 7 (the native port) has no JS compiler API, which spec-docs/check.js, spec-types/TD-10.T32.jsdoc.js and a regression spec use, and ts-jest supports only TypeScript < 7. - @types/node stays on 18.x in the root: the type tests pin the event emitter typings of @types/node 18 (they change from 25 on). - expect-jest29 stays on expect 29: it checks the matchers of jest 29. Adjustments: - tsconfig: TypeScript 6 deprecates moduleResolution node10 and baseUrl, needs an explicit rootDir and no longer includes @types by default. Uses node16 (the built dist/ is byte-for-byte the same). - spec/: nodenext, so the CommonJS specs can import ESM-only ava 8; ThrowsExpectation now takes a type argument; ava's CLI is cli.js. - packaging tests: ava is ESM (require('ava').default), and the node10 consumer checks pass --ignoreDeprecations 6.0. - compatibility-checks: ava 8 takes extensions as an array and imports test files, so the ava runner uses tsx's ESM loader with test-runners/ava marked as an ES module directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KD7sVk38Ack98abHLgjp8K
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Updated
Root: ava 4 → 8, @ava/typescript 3 → 7, @sinonjs/fake-timers 11 → 15, @types/sinonjs__fake-timers 8 → 15, TypeScript 5.9 → 6.0.3, @types/node 18.19.130 (latest 18.x)
compatibility-checks: Babel 7 → 8, ava 6 → 8, @types/node 22 → 26, TypeScript 6.0.3, rollup, vitest, webpack, ansi-regex
GitHub Actions: actions/checkout and actions/setup-node v5 → v7
Held back on purpose
spec-docs/check.js,spec-types/TD-10.T32.jsdoc.jsand a regression spec need that API, and ts-jest supports only TypeScript below 7. TypeScript 6.0.3 is the newest release that has it.spec-types/R12FE-4…).Changes needed for the new versions
moduleResolution: nodeandbaseUrl, needs an explicitrootDir, and no longer includes@types/*by default. The build now usesnode16, and the builtdist/is byte-for-byte the same as before.nodenextso the CommonJS specs can import ava 8, which is ESM-only.ThrowsExpectationnow takes a type argument, and ava's CLI entry is nowcli.js.require('ava').default, and the node10 consumer checks pass--ignoreDeprecations 6.0.extensionsas an array and loads test files withimport(). The ava runner now uses tsx's ESM loader, andtest-runners/avais marked as an ES module directory.Verified locally (Node 22)
npm test(636 passed),test:types,test:docs,test:types:min-ts(TS 3.6 and 4.3), and the compatibility checks (39/39).Generated by Claude Code