-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Making tldr compatible with node 10 #216
Conversation
- updating unzip2 with node-unzip-2 fork that uses graceful-fs@4 nodejs/node#20285 (comment)
@agnivade There were 2 different things that made node 10 fail:
Second is problematic because |
Ah so that was the issue ! I was investigating but could not figure out the webworker failures. I have a different approach without changing the unzip2 dependency here at #215, which I believe is slightly more safe than changing the dependency altogether. Let me know what you think. |
Hm, I also bumped Regarding dependency change, it is actually exactly same codebase just with updated deps:
so technically it is a depedency change but what it does it just updates dependencies of |
Now I'm confused 💫 tldr-node-client/package-lock.json Lines 1897 to 1903 in 240f957
tldr-node-client/package-lock.json Lines 743 to 748 in 240f957
But in the same time, package.json of [email protected] says that it requires "graceful-fs": "~3.0.2" ...
Did you change |
Yes, I did 😆
Oh shucks .. didn't think of that. Ok, let us go with node-unzip2. |
Description
Swapping
unzip2
withnode-unzip-2
fork (usesgraceful-fs@4
) in order to avoid node 10 core dump.Source: nodejs/node#20285 (comment)
Checklist
Please review this checklist before submitting a pull request.
npm run test:all
)