@parcel/rust 2.12.1-canary.3232 → 2.12.1-canary.3233
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +13 -13
- 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,6 +7,19 @@ export interface JsMacroError {
|
|
|
7
7
|
kind: number
|
|
8
8
|
message: string
|
|
9
9
|
}
|
|
10
|
+
export function initSentry(): void
|
|
11
|
+
export function closeSentry(): void
|
|
12
|
+
/**
|
|
13
|
+
* JavaScript API for running a config request.
|
|
14
|
+
* At the moment the request fields themselves will be copied on call.
|
|
15
|
+
*
|
|
16
|
+
* This is not efficient but can be worked around when it becomes an issue.
|
|
17
|
+
*
|
|
18
|
+
* This should have exhaustive unit-tests on `packages/core/core/test/requests/ConfigRequest.test.js`.
|
|
19
|
+
*/
|
|
20
|
+
export function napiRunConfigRequest(configRequest: ConfigRequest, api: object, options: object): void
|
|
21
|
+
/** napi entry-point for `run_entry_request`. */
|
|
22
|
+
export function napiRunEntryRequest(entryRequest: EntryRequestInput, api: object, options: object): EntryResult
|
|
10
23
|
export interface ConfigKeyChange {
|
|
11
24
|
filePath: ProjectPath
|
|
12
25
|
configKey: string
|
|
@@ -42,19 +55,6 @@ export interface EntryResult {
|
|
|
42
55
|
export interface EntryRequestInput {
|
|
43
56
|
projectPath: string
|
|
44
57
|
}
|
|
45
|
-
export function initSentry(): void
|
|
46
|
-
export function closeSentry(): void
|
|
47
|
-
/**
|
|
48
|
-
* JavaScript API for running a config request.
|
|
49
|
-
* At the moment the request fields themselves will be copied on call.
|
|
50
|
-
*
|
|
51
|
-
* This is not efficient but can be worked around when it becomes an issue.
|
|
52
|
-
*
|
|
53
|
-
* This should have exhaustive unit-tests on `packages/core/core/test/requests/ConfigRequest.test.js`.
|
|
54
|
-
*/
|
|
55
|
-
export function napiRunConfigRequest(configRequest: ConfigRequest, api: object, options: object): void
|
|
56
|
-
/** napi entry-point for `run_entry_request`. */
|
|
57
|
-
export function napiRunEntryRequest(entryRequest: EntryRequestInput, api: object, options: object): EntryResult
|
|
58
58
|
export function findAncestorFile(filenames: Array<string>, from: string, root: string): string | null
|
|
59
59
|
export function findFirstFile(names: Array<string>): string | null
|
|
60
60
|
export function findNodeModule(module: string, from: string): string | null
|
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.3233+38635b59d",
|
|
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": "38635b59ded912d6d6a1f8b174299a392ffcbd02"
|
|
44
44
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|