@parcel/rust 2.12.1-canary.3259 → 2.12.1-canary.3260
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -0
- package/index.js.flow +3 -0
- 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
@@ -76,6 +76,7 @@ export class ParcelNapi {
|
|
76
76
|
testingTempFsReadToString(path: string): Promise<string>
|
77
77
|
testingTempFsIsFile(path: string): Promise<boolean>
|
78
78
|
testingTempFsIsDir(path: string): Promise<boolean>
|
79
|
+
testingRpcPing(): Promise<void>
|
79
80
|
}
|
80
81
|
export class Resolver {
|
81
82
|
constructor(projectRoot: string, options: FileSystem)
|
package/index.js.flow
CHANGED
@@ -16,8 +16,10 @@ export interface ConfigRequest {
|
|
16
16
|
}
|
17
17
|
export interface RequestOptions {}
|
18
18
|
|
19
|
+
|
19
20
|
export interface ParcelNapiOptions {
|
20
21
|
fs?: any;
|
22
|
+
rpc?: (error: any, id: number, data: any, done: (value: {| Ok: any |} | {| Err: any |}) => any) => any | Promise<any>;
|
21
23
|
}
|
22
24
|
|
23
25
|
declare export class ParcelNapi {
|
@@ -25,6 +27,7 @@ declare export class ParcelNapi {
|
|
25
27
|
testingTempFsReadToString(path: string): string;
|
26
28
|
testingTempFsIsDir(path: string): boolean;
|
27
29
|
testingTempFsIsFile(path: string): boolean;
|
30
|
+
testingRpcPing(): void;
|
28
31
|
}
|
29
32
|
|
30
33
|
declare export function initSentry(): void;
|
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.3260+4933651b1",
|
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": "4933651b11bbfab7f7e4bf727be8cc52819aa7a0"
|
44
44
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|