Skip to content

Support current maintained Node TLS versions: 18, 20, and 22+#33

Merged
ndeloof merged 10 commits into
mainfrom
support-node10
Oct 9, 2025
Merged

Support current maintained Node TLS versions: 18, 20, and 22+#33
ndeloof merged 10 commits into
mainfrom
support-node10

Conversation

@wmluke

@wmluke wmluke commented Oct 8, 2025

Copy link
Copy Markdown
Contributor

- What I did
Support current maintained Node TLS versions: 18, 20, and 22+. Fixes #24.

- How I did it

  • Updated tsdown to target node18
  • Updated engines.node versions
  • Updated test-integration projects to work with Node 18.

- How to verify it
Run tests in test-integration/cjs-project and test-integration/esm-project

- Human readable description for the release notes

Support current maintained Node TLS versions: 18, 20, and 22+

- A picture of a cute animal (not mandatory but encouraged)

wmluke added 2 commits October 8, 2025 15:51
- Updated `engines.node` to `>=10.16.0`
- Updated tsdown.config.ts to target node 10 and strip `node:` import prefix.
- Updated `cjs-project` with `main.js` to test node10 support.
- Updated tsdown to target node18
- Updated `engines.node` versions
- Updated test-integration projects to work with Node 18.
@wmluke wmluke self-assigned this Oct 8, 2025
@wmluke wmluke requested review from Copilot and ndeloof October 8, 2025 21:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the project to support currently maintained Node.js LTS versions (18, 20, and 22+) instead of only supporting Node 22+. The changes enable better compatibility across different Node.js environments.

  • Updated build target configuration to support Node 18
  • Modified package.json engine requirements to accept Node 18, 20, and 22+
  • Enhanced test integration projects with proper Node 18 compatibility

Reviewed Changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tsdown.config.ts Updated build target to include Node 18 and changed nodeProtocol setting
package.json Changed engine requirements from ">=22.19.0" to support Node 18, 20, and 22+
test-integration/esm-project/package.json Added tsx dependency and updated test scripts for Node 18 compatibility
test-integration/esm-project/main.ts Added new ESM test file demonstrating Docker SDK usage
test-integration/esm-project/.node-version Set Node version to 18.20.8 for testing
test-integration/cjs-project/package.json Simplified dependencies and added start script
test-integration/cjs-project/main.js Added new CommonJS test file demonstrating Docker SDK usage
test-integration/cjs-project/.node-version Set Node version to 18.20.8 for testing

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread test-integration/esm-project/main.ts Outdated
Comment thread test-integration/cjs-project/main.js Outdated
Comment thread test-integration/cjs-project/main.js Fixed
Comment thread test-integration/cjs-project/main.js Fixed
Comment thread test-integration/esm-project/main.ts Fixed
Comment thread test-integration/esm-project/main.ts Fixed
Comment thread main.ts Dismissed
Comment thread main.ts Dismissed
Comment thread test-integration/cjs-project/main.js Dismissed
Comment thread test-integration/cjs-project/main.js Dismissed
Comment thread test-integration/esm-project/main.ts Dismissed
Comment thread test-integration/esm-project/main.ts Dismissed
@wmluke wmluke requested a review from Copilot October 9, 2025 01:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

wmluke added 3 commits October 8, 2025 21:50
… removed redundant Docker configurations, and introduced a separate CI matrix for Node 18, 20, and 22.
Comment thread .github/workflows/ci.yml Fixed
@ndeloof ndeloof merged commit 628b3fb into main Oct 9, 2025
10 checks passed
@ndeloof ndeloof deleted the support-node10 branch October 9, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use minimal nodeJS version requirement

4 participants