@turbowarp/sb3fix 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/sb3fix.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turbowarp/sb3fix",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Fix corrupted Scratch projects",
|
|
5
5
|
"main": "src/sb3fix.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/TurboWarp/sb3fix#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"jszip": "^3.
|
|
23
|
+
"@turbowarp/jszip": "^3.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"copy-webpack-plugin": "^12.0.2",
|
package/src/sb3fix.js
CHANGED
|
@@ -421,7 +421,7 @@ const fixJSON = (data, options = {}) => {
|
|
|
421
421
|
*/
|
|
422
422
|
const fixZip = async (data, options = {}) => {
|
|
423
423
|
// JSZip is not a small library, so we'll load it somewhat lazily.
|
|
424
|
-
const JSZip = require('jszip');
|
|
424
|
+
const JSZip = require('@turbowarp/jszip');
|
|
425
425
|
|
|
426
426
|
const zip = await JSZip.loadAsync(data);
|
|
427
427
|
|