@parcel/rust 2.12.1-canary.3353 → 2.12.1-canary.3355

Sign up to get free protection for your applications and to get access to all the features.
package/browser.js CHANGED
@@ -1,5 +1,3 @@
1
- /* global WebAssembly, crypto */
2
-
3
1
  const {Environment, napi} = require('napi-wasm');
4
2
 
5
3
  let env;
package/index.d.ts CHANGED
@@ -63,13 +63,13 @@ export interface JsInvalidations {
63
63
  }
64
64
  export declare function transform(opts: object): unknown
65
65
  export declare function transformAsync(opts: object): object
66
- export class Hash {
66
+ export declare class Hash {
67
67
  constructor()
68
68
  writeString(s: string): void
69
69
  writeBuffer(buf: Buffer): void
70
70
  finish(): string
71
71
  }
72
- export class Resolver {
72
+ export declare class Resolver {
73
73
  constructor(projectRoot: string, options: FileSystem)
74
74
  resolve(options: ResolveOptions): ResolveResult
75
75
  resolveAsync(): object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/rust",
3
- "version": "2.12.1-canary.3353+684b164a3",
3
+ "version": "2.12.1-canary.3355+0bebfa6c5",
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": "684b164a37f16d39c883fabbf812f83276ccb9cb"
43
+ "gitHead": "0bebfa6c53d0cc7b50c12a384ccc8fb13dc4de31"
44
44
  }