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
replace archiver with @zip.js/zip.js #4769
base: master
Are you sure you want to change the base?
Conversation
01bdfa3
to
65ec6e8
Compare
The "minimum" is testing a very old version of vscode, which has an older nodejs.
I think we can and should bump the minimum to a vscode version that has node 16. That will likely need to be a separate PR and may require some minor fixups in the tests, etc. |
1c2dea8
to
2556aee
Compare
2556aee
to
6f9e995
Compare
I've added #4787 to our current sprint, to unblock this. So please feel free to continue with the assumption that the vscode minimum will be bumped. |
b41d29a
to
e7c95ae
Compare
4be3f1a
to
7532d82
Compare
packages/toolkit/package.json
Outdated
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.
was packages/toolkit/package.json
an accidental commit?
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.
ah yes, let me revert it
|
||
export interface ZipStreamResult { | ||
sizeInBytes: number | ||
md5: string | ||
hash: string |
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.
Nice!
Problem
The
archiver
package usesfs
which is not available in the browser. Runningnpm run testWeb
results in the following error:Solution
archiver
with@zip.js/zip.js
which has browser support.License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.