@oxc-node/core-wasm32-wasi 0.0.21 → 0.0.23

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.
@@ -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 './oxc-node.wasm32-wasi.wasm?url'
@@ -54,8 +54,7 @@ const {
54
54
  },
55
55
  })
56
56
  export const Output = __napiModule.exports.Output
57
+ export const OxcTransformer = __napiModule.exports.OxcTransformer
57
58
  export const createResolve = __napiModule.exports.createResolve
58
59
  export const initTracing = __napiModule.exports.initTracing
59
60
  export const load = __napiModule.exports.load
60
- export const transform = __napiModule.exports.transform
61
- export const transformAsync = __napiModule.exports.transformAsync
package/oxc-node.wasi.cjs CHANGED
@@ -86,8 +86,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
86
86
  })
87
87
 
88
88
  module.exports.Output = __napiModule.exports.Output
89
+ module.exports.OxcTransformer = __napiModule.exports.OxcTransformer
89
90
  module.exports.createResolve = __napiModule.exports.createResolve
90
91
  module.exports.initTracing = __napiModule.exports.initTracing
91
92
  module.exports.load = __napiModule.exports.load
92
- module.exports.transform = __napiModule.exports.transform
93
- module.exports.transformAsync = __napiModule.exports.transformAsync
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-node/core-wasm32-wasi",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -26,6 +26,6 @@
26
26
  },
27
27
  "browser": "oxc-node.wasi-browser.js",
28
28
  "dependencies": {
29
- "@napi-rs/wasm-runtime": "^0.2.7"
29
+ "@napi-rs/wasm-runtime": "^0.2.8"
30
30
  }
31
31
  }