Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion npm/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"type": "module",
"type": "commonjs",
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

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

Changing the package type from module to commonjs alters how Node treats .js files and can break ESM consumers that relied on the package being ESM by default; this should be treated as a breaking change. Please bump the package with a semver-major release and note the change in the changelog.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

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

[nitpick] Update the package README/CHANGELOG to document that the package defaults to CommonJS and provide clear import/require examples for both ESM and CJS consumers. This helps users adapt to the change and reduces integration friction.

Copilot uses AI. Check for mistakes.
"exports": {
"./helpers/OverloadYield": [
{
Expand Down
Loading