@oxc-minify/binding-wasm32-wasi 0.105.0 → 0.107.0

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/minify.wasi.cjs CHANGED
@@ -39,7 +39,7 @@ if (__nodeFs.existsSync(__wasmDebugFilePath)) {
39
39
  __wasmFilePath = __wasmDebugFilePath
40
40
  } else if (!__nodeFs.existsSync(__wasmFilePath)) {
41
41
  try {
42
- __wasmFilePath = __nodePath.resolve('@oxc-minify/binding-wasm32-wasi')
42
+ __wasmFilePath = require.resolve('@oxc-minify/binding-wasm32-wasi/minify.wasm32-wasi.wasm')
43
43
  } catch {
44
44
  throw new Error('Cannot find minify.wasm32-wasi.wasm file, and @oxc-minify/binding-wasm32-wasi package is not installed.')
45
45
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-minify/binding-wasm32-wasi",
3
- "version": "0.105.0",
3
+ "version": "0.107.0",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -35,6 +35,6 @@
35
35
  },
36
36
  "browser": "minify.wasi-browser.js",
37
37
  "dependencies": {
38
- "@napi-rs/wasm-runtime": "^1.1.0"
38
+ "@napi-rs/wasm-runtime": "^1.1.1"
39
39
  }
40
40
  }