Skip to content

fix: Remove isomorphic-fetch and isomorphic-form-data polyfills#141

Draft
lollipop-onl wants to merge 1 commit intonulab:masterfrom
lollipop-onl:fix/issue-87
Draft

fix: Remove isomorphic-fetch and isomorphic-form-data polyfills#141
lollipop-onl wants to merge 1 commit intonulab:masterfrom
lollipop-onl:fix/issue-87

Conversation

@lollipop-onl
Copy link
Copy Markdown
Contributor

@lollipop-onl lollipop-onl commented Mar 21, 2026

Summary

  • Removed isomorphic-fetch and isomorphic-form-data polyfills, as fetch and FormData are available as built-in global APIs in Node.js v18 and later.
  • Added engines.node: ">= 18" to package.json to specify the minimum required Node.js version.
  • Removed descriptions of unnecessary polyfills from the README and test code.

Note

This change does not affect the runtime source code. Additionally, adding the engines field only triggers a warning and does not block user operations. Therefore, this change does not qualify as a breaking change.

References

Node.js v18+ provides built-in fetch and FormData globals, making
these polyfills unnecessary. Add engines field requiring Node.js >= 18.

Closes nulab#87

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Omit isomorphic-fetch and isomorphic-form-data fetch is not part of common nodejs runtime

1 participant