chore(deps-dev): bump typescript from 5.9.3 to 7.0.2 - #26
Merged
Merged
Conversation
moduleResolution=node10 is removed in TypeScript 7, so tsconfig moves to module/moduleResolution nodenext, the mode that matches a type:module package run by Node directly. esModuleInterop and allowSyntheticDefaultImports are implied by nodenext and are dropped. JS emit is byte-identical to the 5.9.3 build; .d.ts output differs only in quote style. Supersedes dependabot PR #22, which failed CI on the node10 option.
…M module require is not defined in an ES module, so generateSecureRandom would throw on first call. Nothing calls it yet, which is why it went unnoticed. Also give the one extensionless relative import in tests its .js suffix, matching every other import in the repo.
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.
Supersedes #22, which failed CI because
moduleResolution=node10is removed in TypeScript 7.What changed
typescript^5.8.3 → ^7.0.2 (the Go compiler; lockfile gains the 20 platform packages).tsconfig.json:module/moduleResolution→nodenext, the mode that matches atype: modulepackage run by Node directly.esModuleInteropandallowSyntheticDefaultImportsare implied bynodenextand dropped.src/utils/security-utils.ts:generateSecureRandomusedrequire('crypto')inside an ES module, which throws at runtime. Now a top-levelimport { randomBytes }. Nothing calls it yet, which is why it went unnoticed..jssuffix like every other import in the repo.mcp-affise.dxtrebuilt so the bundle carries the fixedsecurity-utils.js.Verified
tsc --noEmitclean on 7.0.2; no deprecations on 6.0.3 either..d.tsdiffer only in quote style.docker buildsucceeds; the Alpine builder stage compiles with the native TS 7 binary (linux-arm64 locally, linux-x64 is the same static Go build).dxt validatepasses; bundle contents matchbuild/.