Skip to content

Commit 15a76d4

Browse files
committed
update do-not-zip
1 parent 6099493 commit 15a76d4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"codemirror": "^5.36.0",
5252
"compression": "^1.6.2",
5353
"devalue": "^1.0.4",
54-
"do-not-zip": "^0.1.1",
54+
"do-not-zip": "^1.0.0",
5555
"dotenv": "^6.0.0",
5656
"express": "^4.16.3",
5757
"express-session": "^1.15.6",

src/routes/repl/_components/AppControls.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
<script>
132132
import ExampleSelector from './ExampleSelector.html';
133133
import UserMenu from './UserMenu.html';
134-
import doNotZip from 'do-not-zip';
134+
import * as doNotZip from 'do-not-zip';
135135
import downloadBlob from '../_utils/downloadBlob.js';
136136

137137
const isMac = typeof navigator !== 'undefined' && navigator.platform === 'MacIntel';
@@ -315,7 +315,7 @@
315315
316316
export default app;` });
317317

318-
downloadBlob(doNotZip(files), 'svelte-app.zip');
318+
downloadBlob(doNotZip.toBlob(files), 'svelte-app.zip');
319319

320320
this.set({ downloading: false });
321321
}

0 commit comments

Comments
 (0)