Skip to content

jsops: migrate to ESM from CJM #228

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 3 commits into from
Aug 24, 2022
Merged

jsops: migrate to ESM from CJM #228

merged 3 commits into from
Aug 24, 2022

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Aug 22, 2022

Resolves #227

  1. node-fetch updated to 3+ version which does not support the CommonJS projects.
  2. The projects updated to ESM adding the "type": "module" to the package.json
  3. The TypeScript updated to 4.7+ that supports the new "Node16" and "NodeNext" module types.
  4. In the "Node16" TypeScript requires imports containing .js extensions. See the Discussion here

@neSpecc neSpecc merged commit 505daaf into main Aug 24, 2022
@neSpecc neSpecc deleted the jsops/esm branch August 24, 2022 14:05
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems with node-fetch package
2 participants