@parcel/rust 2.12.1-canary.3351 → 2.12.1-canary.3353
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +8 -8
- 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
@@ -7,12 +7,12 @@ export interface JsMacroError {
|
|
7
7
|
kind: number
|
8
8
|
message: string
|
9
9
|
}
|
10
|
-
export function findAncestorFile(filenames: Array<string>, from: string, root: string): string | null
|
11
|
-
export function findFirstFile(names: Array<string>): string | null
|
12
|
-
export function findNodeModule(module: string, from: string): string | null
|
13
|
-
export function hashString(s: string): string
|
14
|
-
export function hashBuffer(buf: Buffer): string
|
15
|
-
export function optimizeImage(kind: string, buf: Buffer): Buffer
|
10
|
+
export declare function findAncestorFile(filenames: Array<string>, from: string, root: string): string | null
|
11
|
+
export declare function findFirstFile(names: Array<string>): string | null
|
12
|
+
export declare function findNodeModule(module: string, from: string): string | null
|
13
|
+
export declare function hashString(s: string): string
|
14
|
+
export declare function hashBuffer(buf: Buffer): string
|
15
|
+
export declare function optimizeImage(kind: string, buf: Buffer): Buffer
|
16
16
|
export interface JsFileSystemOptions {
|
17
17
|
canonicalize: (...args: any[]) => any
|
18
18
|
read: (...args: any[]) => any
|
@@ -61,8 +61,8 @@ export interface JsInvalidations {
|
|
61
61
|
invalidateOnFileCreate: Array<FilePathCreateInvalidation | FileNameCreateInvalidation | GlobCreateInvalidation>
|
62
62
|
invalidateOnStartup: boolean
|
63
63
|
}
|
64
|
-
export function transform(opts: object): unknown
|
65
|
-
export function transformAsync(opts: object): object
|
64
|
+
export declare function transform(opts: object): unknown
|
65
|
+
export declare function transformAsync(opts: object): object
|
66
66
|
export class Hash {
|
67
67
|
constructor()
|
68
68
|
writeString(s: string): 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.3353+684b164a3",
|
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": "684b164a37f16d39c883fabbf812f83276ccb9cb"
|
44
44
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|