@parcel/rust 2.12.1-canary.3231 → 2.12.1-canary.3233

Sign up to get free protection for your applications and to get access to all the features.
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.3231+e1d3cbe91",
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": "e1d3cbe910e746380822e9b5a8a18c9574e6925c"
43
+ "gitHead": "38635b59ded912d6d6a1f8b174299a392ffcbd02"
44
44
  }