Skip to content
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

Update ZenFS #40

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 178 additions & 38 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@typescript/vfs": "1.6.0",
"@web/dev-server-esbuild": "1.0.2",
"@web/test-runner": "0.19.0",
"@zenfs/core": "0.9.7",
"@zenfs/dom": "0.2.6",
"@zenfs/zip": "0.3.1",
"@zenfs/core": "1.2.7",
"@zenfs/dom": "1.0.3",
"@zenfs/zip": "0.5.2",
"codemirror": "6.0.1",
"esbuild": "0.24.0",
"idb-keyval": "6.2.1",
Expand Down Expand Up @@ -60,7 +60,7 @@
"gzip": "3.5 KB"
},
"dist/play-pen.js": {
"none": "26580 KB",
"none": "26681 KB",
"gzip": "4826 KB"
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/elements/play-assets/play-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class PlayAssets extends ReactiveElement {
file = fileHandle as File
await this.#cacheClear()
}
await this.#mountRoot(Zip.create({zipData: await file.arrayBuffer()}))
await this.#mountRoot(Zip.create({data: await file.arrayBuffer()}))
this.#updateState({archiveFilename: fileHandle.name})
}

Expand Down
Loading