Skip to content

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

Closed
lollipop-onl wants to merge 1 commit into
nulab:masterfrom
lollipop-onl:fix/issue-87
Closed

fix: Remove isomorphic-fetch and isomorphic-form-data polyfills#141
lollipop-onl wants to merge 1 commit into
nulab: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>
@mmktomato
Copy link
Copy Markdown
Member

@lollipop-onl
Closed as #132 is merged 🙏 Thank you for your contribution!!

@mmktomato mmktomato closed this May 8, 2026
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

2 participants