chore: bump deps and simplify runtime internals#60
Merged
Conversation
|
tsdown 0.22 requires Node ^22.18.0 || >=24.0.0; the workflow was still pinned to 20.x. Aligns with release.yml and deploy.yml which already use node-version-file.
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.
What
tsdown0.21 → 0.22,valibot1.3 → 1.4,vite8.0.10 → 8.0.11packageManagerfrompnpm@10.33.3→pnpm@11.0.8src/internal/runtime.ts:transformValidatedDatato a single conditionalPromise.resolvecompileExtractDescriptorinto a thin shape function plus acompileDescriptorValuehelpercompileArrayItemhelper intocompileExtractFieldWhy
How
value-key contract for cheerio'sextract(present-vs-absent matters) is preserved by the conditional return incompileExtractDescriptor. No public API or type changes.Changes
package.json,pnpm-lock.yaml— dep + pnpm bumpssrc/internal/runtime.ts— 194 → 179 lines, three atomic refactorsTesting
pnpm ciclean: 17/17 vitest tests pass,tscclean,ultracite checkclean,tsdownbuild clean,attwreports green for node10 / node16-CJS / node16-ESM / bundler.