@eclipsa/optimizer 0.0.0 → 0.1.1

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.
@@ -36,7 +36,6 @@ const {
36
36
  type: 'module',
37
37
  })
38
38
 
39
-
40
39
  return worker
41
40
  },
42
41
  overwriteImports(importObject) {
@@ -1,7 +1,5 @@
1
1
  import { instantiateNapiModuleSync, MessageHandler, WASI } from '@napi-rs/wasm-runtime'
2
2
 
3
- const errorOutputs = []
4
-
5
3
  const handler = new MessageHandler({
6
4
  onLoad({ wasmModule, wasmMemory }) {
7
5
  const wasi = new WASI({
@@ -12,7 +10,6 @@ const handler = new MessageHandler({
12
10
  printErr: function() {
13
11
  // eslint-disable-next-line no-console
14
12
  console.error.apply(console, arguments)
15
-
16
13
  },
17
14
  })
18
15
  return instantiateNapiModuleSync(wasmModule, {
@@ -28,7 +25,6 @@ const handler = new MessageHandler({
28
25
  },
29
26
  })
30
27
  },
31
-
32
28
  })
33
29
 
34
30
  globalThis.onmessage = function (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipsa/optimizer",
3
- "version": "0.0.0",
3
+ "version": "0.1.1",
4
4
  "homepage": "https://github.com/pnsk-lab/eclipsa",
5
5
  "bugs": {
6
6
  "url": "https://github.com/pnsk-lab/eclipsa/issues"
@@ -94,4 +94,4 @@
94
94
  "@eclipsa/optimizer-win32-arm64-msvc": "0.0.0",
95
95
  "@eclipsa/optimizer-wasm32-wasi": "0.0.0"
96
96
  }
97
- }
97
+ }