@oxc-transform/binding-wasm32-wasi 0.69.0 → 0.71.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-transform/binding-wasm32-wasi",
3
- "version": "0.69.0",
3
+ "version": "0.71.0",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -35,6 +35,6 @@
35
35
  "bugs": "https://github.com/oxc-project/oxc/issues",
36
36
  "browser": "transform.wasi-browser.js",
37
37
  "dependencies": {
38
- "@napi-rs/wasm-runtime": "^0.2.9"
38
+ "@napi-rs/wasm-runtime": "^0.2.10"
39
39
  }
40
40
  }
@@ -1,8 +1,8 @@
1
1
  import {
2
- instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
2
+ createOnMessage as __wasmCreateOnMessageForFsProxy,
3
3
  getDefaultContext as __emnapiGetDefaultContext,
4
+ instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
4
5
  WASI as __WASI,
5
- createOnMessage as __wasmCreateOnMessageForFsProxy,
6
6
  } from '@napi-rs/wasm-runtime'
7
7
 
8
8
  import __wasmUrl from './transform.wasm32-wasi.wasm?url'
@@ -53,6 +53,7 @@ const {
53
53
  }
54
54
  },
55
55
  })
56
+ export default __napiModule.exports
56
57
  export const HelperMode = __napiModule.exports.HelperMode
57
58
  export const isolatedDeclaration = __napiModule.exports.isolatedDeclaration
58
59
  export const moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
@@ -9,9 +9,9 @@ const { WASI: __nodeWASI } = require('node:wasi')
9
9
  const { Worker } = require('node:worker_threads')
10
10
 
11
11
  const {
12
- instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
13
- getDefaultContext: __emnapiGetDefaultContext,
14
12
  createOnMessage: __wasmCreateOnMessageForFsProxy,
13
+ getDefaultContext: __emnapiGetDefaultContext,
14
+ instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
15
15
  } = require('@napi-rs/wasm-runtime')
16
16
 
17
17
  const __rootDir = __nodePath.parse(process.cwd()).root
@@ -84,7 +84,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
84
84
  }
85
85
  },
86
86
  })
87
-
87
+ module.exports = __napiModule.exports
88
88
  module.exports.HelperMode = __napiModule.exports.HelperMode
89
89
  module.exports.isolatedDeclaration = __napiModule.exports.isolatedDeclaration
90
90
  module.exports.moduleRunnerTransform = __napiModule.exports.moduleRunnerTransform
Binary file