@yowasp/yosys 0.0.0-experimental3 → 0.0.0-experimental4

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.
@@ -366,7 +366,7 @@ var BaseApplication = class {
366
366
  throw e;
367
367
  }
368
368
  for (const dirName of Object.keys(this._resources))
369
- delete environment.root[dirName];
369
+ delete environment.root.files[dirName];
370
370
  return directoryIntoTree(environment.root);
371
371
  }
372
372
  };
@@ -369,7 +369,7 @@ var BaseApplication = class {
369
369
  throw e;
370
370
  }
371
371
  for (const dirName of Object.keys(this._resources))
372
- delete environment.root[dirName];
372
+ delete environment.root.files[dirName];
373
373
  return directoryIntoTree(environment.root);
374
374
  }
375
375
  };
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@yowasp/yosys", "version": "0.0.0-experimental3", "description": "Yosys Open SYnthesis Suite", "author": "Catherine <whitequark@whitequark.org>", "license": "ISC", "homepage": "https://yowasp.org/", "repository": {"type": "git", "url": "git+https://github.com/YoWASP/yosys.git"}, "bugs": {"url": "https://github.com/YoWASP/yosys/issues"}, "type": "module", "files": ["gen/*.json", "gen/*.wasm", "gen/bundle-*.js"], "exports": {"node": "./gen/bundle-node.js", "browser": "./gen/bundle-browser.js"}, "dependencies": {"@yowasp/runtime": "^2.0.6"}, "devDependencies": {"@bytecodealliance/jco": "^0.14.1", "esbuild": "^0.19.8"}, "scripts": {"pack": "yowasp-pack-resources ../yosys-build/share gen/yosys-share.json", "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' --out-dir gen/", "build:node": "esbuild --bundle lib/api.js --outfile=gen/bundle-node.js --format=esm --platform=node", "build:browser": "esbuild --bundle lib/api.js --outfile=gen/bundle-browser.js --format=esm --platform=browser"}}
1
+ {"name": "@yowasp/yosys", "version": "0.0.0-experimental4", "description": "Yosys Open SYnthesis Suite", "author": "Catherine <whitequark@whitequark.org>", "license": "ISC", "homepage": "https://yowasp.org/", "repository": {"type": "git", "url": "git+https://github.com/YoWASP/yosys.git"}, "bugs": {"url": "https://github.com/YoWASP/yosys/issues"}, "type": "module", "files": ["gen/*.json", "gen/*.wasm", "gen/bundle-*.js"], "exports": {"node": "./gen/bundle-node.js", "browser": "./gen/bundle-browser.js"}, "dependencies": {"@yowasp/runtime": "^2.0.7"}, "devDependencies": {"@bytecodealliance/jco": "^0.14.1", "esbuild": "^0.19.8"}, "scripts": {"pack": "yowasp-pack-resources ../yosys-build/share gen/yosys-share.json", "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' --out-dir gen/", "build:node": "esbuild --bundle lib/api.js --outfile=gen/bundle-node.js --format=esm --platform=node", "build:browser": "esbuild --bundle lib/api.js --outfile=gen/bundle-browser.js --format=esm --platform=browser"}}