Skip to content

Convert to ESM #846

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 27, 2021
Merged

Convert to ESM #846

merged 1 commit into from
Dec 27, 2021

Conversation

drwpow
Copy link
Contributor

@drwpow drwpow commented Dec 27, 2021

Converts library to ESM. This unblocks use of some dependencies that have already upgraded to ESM. Improves portability while reducing vulnerabilities.

⚠️ This Drops Node 12 support. This will be released as a breaking change.

@changeset-bot
Copy link

changeset-bot bot commented Dec 27, 2021

⚠️ No Changeset found

Latest commit: b2dafe0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@drwpow drwpow force-pushed the esm branch 2 times, most recently from b00dd9b to 0594b6c Compare December 27, 2021 02:27
@codecov
Copy link

codecov bot commented Dec 27, 2021

Codecov Report

Merging #846 (b2dafe0) into main (63d0d30) will increase coverage by 9.56%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##             main      #846      +/-   ##
===========================================
+ Coverage   90.43%   100.00%   +9.56%     
===========================================
  Files          13         1      -12     
  Lines         596         1     -595     
  Branches      177         0     -177     
===========================================
- Hits          539         1     -538     
+ Misses         23         0      -23     
+ Partials       34         0      -34     
Impacted Files Coverage Δ
prettier.config.cjs 100.00% <ø> (ø)
bin/cli.js
src/index.ts
src/load.ts
src/utils.ts
src/transform/index.ts
src/transform/paths.ts
src/transform/headers.ts
src/transform/request.ts
src/transform/responses.ts
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03bf0ac...b2dafe0. Read the comment docs.

Also drops Node 12 support
@drwpow drwpow merged commit 08f290f into main Dec 27, 2021
@drwpow drwpow deleted the esm branch December 27, 2021 02:48
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.

1 participant