@parcel/rust 2.12.1-canary.3358 → 2.12.1-canary.3364

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -14,10 +14,9 @@ export declare function hashString(s: string): string
14
14
  export declare function hashBuffer(buf: Buffer): string
15
15
  export declare function optimizeImage(kind: string, buf: Buffer): Buffer
16
16
  export interface JsFileSystemOptions {
17
- canonicalize: (...args: any[]) => any
18
17
  read: (...args: any[]) => any
19
- isFile: (...args: any[]) => any
20
- isDir: (...args: any[]) => any
18
+ readLink: (...args: any[]) => any
19
+ kind: (...args: any[]) => any
21
20
  includeNodeModules?: NapiSideEffectsVariants
22
21
  }
23
22
  export interface FileSystem {
package/index.js.flow CHANGED
@@ -17,10 +17,9 @@ declare export function hashString(s: string): string;
17
17
  declare export function hashBuffer(buf: Buffer): string;
18
18
  declare export function optimizeImage(kind: string, buf: Buffer): Buffer;
19
19
  export interface JsFileSystemOptions {
20
- canonicalize: string => string;
20
+ readLink: string => string;
21
21
  read: string => Buffer;
22
- isFile: string => boolean;
23
- isDir: string => boolean;
22
+ kind: string => number;
24
23
  includeNodeModules?: boolean | Array<string> | {|[string]: boolean|};
25
24
  }
26
25
  export interface FileSystem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/rust",
3
- "version": "2.12.1-canary.3358+f53f45037",
3
+ "version": "2.12.1-canary.3364+2eb951596",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,5 +40,5 @@
40
40
  "wasm:build": "cargo build -p parcel-node-bindings --target wasm32-unknown-unknown && cp ../../../target/wasm32-unknown-unknown/debug/parcel_node_bindings.wasm .",
41
41
  "wasm:build-release": "CARGO_PROFILE_RELEASE_LTO=true cargo build -p parcel-node-bindings --target wasm32-unknown-unknown --release && wasm-opt --strip-debug -O ../../../target/wasm32-unknown-unknown/release/parcel_node_bindings.wasm -o parcel_node_bindings.wasm"
42
42
  },
43
- "gitHead": "f53f4503799a07e3a01452f5e53ead44c30ebc53"
43
+ "gitHead": "2eb951596d052c13928ca520e08a5563c454d42e"
44
44
  }