@yowasp/yosys 0.55.943 → 0.55.944

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/gen/bundle.js CHANGED
@@ -5092,8 +5092,10 @@ function instantiate(getCoreModule, imports, instantiateCore = WebAssembly.insta
5092
5092
  var yosys = new Application(() => import("./resources-yosys.js"), instantiate, "yowasp-yosys");
5093
5093
  var runYosys = yosys.run.bind(yosys);
5094
5094
  var commands = { "yosys": runYosys };
5095
+ var version = "0.55.944";
5095
5096
  export {
5096
5097
  Exit,
5097
5098
  commands,
5098
- runYosys
5099
+ runYosys,
5100
+ version
5099
5101
  };
Binary file
package/lib/api.d.ts CHANGED
@@ -31,3 +31,5 @@ export const runYosys: Command;
31
31
  export const commands: {
32
32
  'yosys': Command,
33
33
  };
34
+
35
+ export const version: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yowasp/yosys",
3
- "version": "0.55.943",
3
+ "version": "0.55.944",
4
4
  "description": "Yosys Open SYnthesis Suite",
5
5
  "author": "Catherine <whitequark@whitequark.org>",
6
6
  "license": "ISC",
@@ -33,7 +33,7 @@
33
33
  "scripts": {
34
34
  "transpile": "jco new ../yosys-build/yosys.wasm --wasi-command --output yosys.wasm && jco transpile yosys.wasm --instantiation async --no-typescript --no-namespaced-exports --map 'wasi:io/*=runtime#io' --map 'wasi:cli/*=runtime#cli' --map 'wasi:clocks/*=runtime#*' --map 'wasi:filesystem/*=runtime#fs' --map 'wasi:random/*=runtime#random' --out-dir gen/",
35
35
  "pack": "yowasp-pack-resources gen/resources-yosys.js gen ../yosys-build/share",
36
- "build": "esbuild --bundle lib/api.js --outfile=gen/bundle.js --format=esm --platform=node --external:./resources-*.js",
36
+ "build": "esbuild --bundle lib/api.js --outfile=gen/bundle.js --format=esm --platform=node --external:./resources-*.js --define:VERSION=\\\"0.55.944\\\"",
37
37
  "all": "npm run transpile && npm run pack && npm run build"
38
38
  }
39
39
  }