Skip to content
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

feat: Add support for Node.js 16 #243

Merged
merged 8 commits into from
Dec 22, 2021
Merged

feat: Add support for Node.js 16 #243

merged 8 commits into from
Dec 22, 2021

Conversation

styfle
Copy link
Member

@styfle styfle commented Oct 26, 2021

This PR adds support for Node.js 16 LTS by bumping a few dependencies.

We also dropped Node.js 12 from CI but support is still there since tsconfig.json is unmodified.

In the future, we can update tsconfig.json target to es2020 once Node.js 12 reaches EOL.

@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #243 (c7b2a40) into main (e89f3ca) will decrease coverage by 0.41%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
- Coverage   81.14%   80.72%   -0.42%     
==========================================
  Files          13       13              
  Lines        1453     1453              
  Branches      539      539              
==========================================
- Hits         1179     1173       -6     
- Misses        108      116       +8     
+ Partials      166      164       -2     
Impacted Files Coverage Δ
src/analyze.ts 86.49% <ø> (ø)
src/utils/binary-locators.ts 15.38% <0.00%> (-15.39%) ⬇️

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 e89f3ca...c7b2a40. Read the comment docs.

@styfle styfle changed the title Add Node.js 16 to CI chore: Add Node.js 16 to CI Dec 7, 2021
@styfle styfle changed the title chore: Add Node.js 16 to CI feat: Add support for Node.js 16 Dec 22, 2021
require("acorn-private-class-elements")
//require("acorn-class-fields"),
//require("acorn-static-class-features"),
//require("acorn-private-class-elements")
Copy link
Member

Choose a reason for hiding this comment

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

Should we fully remove these lines as tests are passing with them disabled?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going to do a follow up PR to make sure we support all Node.js 16 features and therefore plugins

@styfle styfle merged commit f5b7fcf into main Dec 22, 2021
@styfle styfle deleted the nodejs16 branch December 22, 2021 14:02
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.

None yet

2 participants