Comparing version 4.15.0 to 4.15.1
@@ -19,3 +19,3 @@ import { Volume } from './volume'; | ||
private _nlink; | ||
symlink: string[]; | ||
symlink: string; | ||
constructor(ino: number, perm?: number); | ||
@@ -48,3 +48,3 @@ set ctime(ctime: Date); | ||
isSymlink(): boolean; | ||
makeSymlink(steps: string[]): void; | ||
makeSymlink(symlink: string): void; | ||
write(buf: Buffer, off?: number, len?: number, pos?: number): number; | ||
@@ -70,3 +70,3 @@ read(buf: Buffer | ArrayBufferView | DataView, off?: number, len?: number, pos?: number): number; | ||
nlink: number; | ||
symlink: string[]; | ||
symlink: string; | ||
data: string; | ||
@@ -73,0 +73,0 @@ }; |
@@ -125,5 +125,5 @@ "use strict"; | ||
} | ||
makeSymlink(steps) { | ||
this.symlink = steps; | ||
this.setIsSymlink(); | ||
makeSymlink(symlink) { | ||
this.mode = S_IFLNK; | ||
this.symlink = symlink; | ||
} | ||
@@ -130,0 +130,0 @@ write(buf, off = 0, len = buf.length, pos = 0) { |
{ | ||
"name": "memfs", | ||
"version": "4.15.0", | ||
"version": "4.15.1", | ||
"description": "In-memory file-system with Node's fs API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
682572
10168
158
4
1
32