@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 +2 -3
- package/index.js.flow +2 -3
- package/package.json +2 -2
- package/parcel-node-bindings.darwin-arm64.node +0 -0
- package/parcel-node-bindings.darwin-x64.node +0 -0
- package/parcel-node-bindings.linux-arm-gnueabihf.node +0 -0
- package/parcel-node-bindings.linux-arm64-gnu.node +0 -0
- package/parcel-node-bindings.linux-arm64-musl.node +0 -0
- package/parcel-node-bindings.linux-x64-gnu.node +0 -0
- package/parcel-node-bindings.linux-x64-musl.node +0 -0
- package/parcel-node-bindings.win32-x64-msvc.node +0 -0
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
|
-
|
20
|
-
|
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
|
-
|
20
|
+
readLink: string => string;
|
21
21
|
read: string => Buffer;
|
22
|
-
|
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.
|
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": "
|
43
|
+
"gitHead": "2eb951596d052c13928ca520e08a5563c454d42e"
|
44
44
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|