@parcel/rust 2.12.1-canary.3205 → 2.12.1-canary.3209

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -7,19 +7,6 @@ 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
23
10
  export interface ConfigKeyChange {
24
11
  filePath: ProjectPath
25
12
  configKey: string
@@ -55,6 +42,19 @@ export interface EntryResult {
55
42
  export interface EntryRequestInput {
56
43
  projectPath: string
57
44
  }
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.3205+d1f778f79",
3
+ "version": "2.12.1-canary.3209+59ed06663",
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": "d1f778f79e8c8fbab6ebc56e40da936f59441439"
43
+ "gitHead": "59ed06663b39921ba28da3629c14f4104e70f8ca"
44
44
  }