Refresh runtime support and dependency versions#681
Open
samiashi wants to merge 3 commits intohighcharts:masterfrom
Open
Refresh runtime support and dependency versions#681samiashi wants to merge 3 commits intohighcharts:masterfrom
samiashi wants to merge 3 commits intohighcharts:masterfrom
Conversation
Raise the package version to 6.0.0 and set the supported Node.js runtime to Node 22.13.x and Node 24.x only. Upgrade direct runtime dependencies including multer 2.x, uuid 14.x, Express 5.x, express-rate-limit 8.x, Puppeteer 24.x, dotenv 17.x, https-proxy-agent 9.x, and zod 4.x while keeping jsdom on the latest Jest-compatible 24.x line. Move ESLint to the current flat-config based toolchain with ESLint 10 and eslint-plugin-import-x, keep the uuid resolver exception needed by package exports, and keep unit-test configuration explicit. Use the named express-rate-limit export to avoid the default-import compatibility warning and update the changelog for the breaking dependency refresh.
Update the GitHub Actions workflows from checkout/setup-node v4 to the current v6 major tags. Run build and lint jobs on the new minimum supported Node.js 22.13.0 runtime, switch ESLint installation to npm ci, and remove the deprecated set-output based ESLint handling. Run unit tests across the supported Node.js release matrix, Node 22.13.0 and Node 24.0.0, with fail-fast disabled so both supported runtimes report independently.
Regenerate the committed CommonJS and ESM bundles from the refreshed dependency tree using Node.js 22.13.0, the minimum supported runtime. The generated output reflects the named express-rate-limit import and keeps uuid as a normal external package import now that the runtime floor supports uuid 14.
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.
Summary
This PR refreshes the export server dependency stack and runtime support as a breaking v6 update.
Notes
jsdomremains on 24.1.3 intentionally. The current 29.x line introduces ESM-only transitive modules that are not compatible with the existing Jest runtime setup, while 24.1.3 keeps audit clean and the test suite passing.Verification
npm run lintnode --experimental-vm-modules node_modules/jest/bin/jest.json Node 22.13.0node --experimental-vm-modules node_modules/jest/bin/jest.json Node 24.0.0npm auditnpm audit --omit=devdist/with Rollup on Node 22.13.0dist/index.cjson Node 22.13.0 and Node 24.0.0