Skip to content

Commit

Permalink
Updated to work with core ^1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 3, 2024
1 parent f18ec89 commit 113c9b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 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 @@ -54,7 +54,7 @@
"typescript": "^5.5.0"
},
"peerDependencies": {
"@zenfs/core": ">=0.18.0"
"@zenfs/core": "^1.0.0"
},
"dependencies": {
"utilium": ">=0.4.0"
Expand Down
4 changes: 2 additions & 2 deletions src/backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ function convertError(e: unknown, path: string = ''): ErrnoError {

export class EmscriptenFile extends File {
public constructor(
protected fs: EmscriptenFS,
public fs: EmscriptenFS,
protected em: typeof FS,
public readonly path: string,
protected stream: FS.FSStream
) {
super();
super(fs, path);
}

public get position(): number {
Expand Down

0 comments on commit 113c9b6

Please sign in to comment.