-
Notifications
You must be signed in to change notification settings - Fork 4
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
Update emscripten for Node 18 support #5
Conversation
node-version: | ||
- 14.x | ||
- 16.x | ||
- 18.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might as well test 20.x
so we catch the next problem :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -46,5 +46,8 @@ | |||
"jest-ts-webcompat-resolver": "1.0.0", | |||
"prettier": "2.3.2", | |||
"typescript": "4.3.5" | |||
}, | |||
"dependencies": { | |||
"tslib": "^2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What makes this project depend on tslib? I've constantly found myself struggling to understand when I need to add tslib as a dependency vs when I don't/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You must depend on tslib when importHelpers is set to true. Ideally, it is set to true in all TypeScript libraries your project depends on so TS standard library functions are compiled into your app once instead of repeated in the compiled source of each package.
Public-Facing Changes
Upgrade emscripten to fix compatibility with Node 18.
Description
Fixes #4