Skip to content

Commit

Permalink
Replace jszip with @turbowarp/jszip
Browse files Browse the repository at this point in the history
To avoid duplicating a copy of jszip in our scratch-gui
  • Loading branch information
GarboMuffin committed May 20, 2024
1 parent f2f7900 commit c7fa1a1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/TurboWarp/sb3fix#readme",
"dependencies": {
"jszip": "^3.10.1"
"@turbowarp/jszip": "^3.11.0"
},
"devDependencies": {
"copy-webpack-plugin": "^12.0.2",
Expand Down
2 changes: 1 addition & 1 deletion src/sb3fix.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ const fixJSON = (data, options = {}) => {
*/
const fixZip = async (data, options = {}) => {
// JSZip is not a small library, so we'll load it somewhat lazily.
const JSZip = require('jszip');
const JSZip = require('@turbowarp/jszip');

const zip = await JSZip.loadAsync(data);

Expand Down

0 comments on commit c7fa1a1

Please sign in to comment.