Skip to content

Commit

Permalink
Update ZenFS
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 31, 2024
1 parent e61990e commit fc86c93
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 42 deletions.
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.

6 changes: 3 additions & 3 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.0.0",
"@zenfs/dom": "^1.0.0",
"@zenfs/zip": "^0.5.0",
"codemirror": "6.0.1",
"esbuild": "0.24.0",
"idb-keyval": "6.2.1",
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

0 comments on commit fc86c93

Please sign in to comment.