@bytecodealliance/jco
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -148,6 +148,2 @@ export namespace WasiFilesystemTypes { | ||
export class DirectoryEntryStream { | ||
readDirectoryEntry(): DirectoryEntry | undefined; | ||
} | ||
export class Descriptor { | ||
@@ -165,1 +161,5 @@ readViaStream(offset: Filesize): InputStream; | ||
} | ||
export class DirectoryEntryStream { | ||
readDirectoryEntry(): DirectoryEntry | undefined; | ||
} |
{ | ||
"name": "@bytecodealliance/jco", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "JavaScript tooling for working with WebAssembly Components", | ||
@@ -30,3 +30,3 @@ "author": "Guy Bedford", | ||
"devDependencies": { | ||
"@bytecodealliance/componentize-js": "^0.7.0", | ||
"@bytecodealliance/componentize-js": "^0.8.0", | ||
"@types/node": "^18.11.17", | ||
@@ -60,3 +60,3 @@ "@typescript-eslint/eslint-plugin": "^5.41.0", | ||
"test:lts": "mocha -u tdd test/test.js --timeout 30000", | ||
"test": "node --experimental-wasm-multi-memory node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 30000", | ||
"test": "node --stack-trace-limit=100 --experimental-wasm-multi-memory node_modules/mocha/bin/mocha.js -u tdd test/test.js --timeout 30000", | ||
"prepublishOnly": "cargo xtask build release && npm run test" | ||
@@ -63,0 +63,0 @@ }, |
@@ -99,3 +99,3 @@ <div align="center"> | ||
Components relying on WASI bindings will contain external WASI imports, which are automatically updated | ||
to the `@bytecodealliance/preview-shim` package. This package can be installed from npm separately for | ||
to the `@bytecodealliance/preview2-shim` package. This package can be installed from npm separately for | ||
runtime usage. This shim layer supports both Node.js and browsers. | ||
@@ -102,0 +102,0 @@ |
import { readFile, writeFile } from 'node:fs/promises'; | ||
import { resolve } from 'node:path'; | ||
import { resolve, basename } from 'node:path'; | ||
import c from 'chalk-template'; | ||
@@ -16,3 +16,3 @@ | ||
const { component, imports } = await componentizeFn(source, { | ||
sourceName: jsSource, | ||
sourceName: basename(jsSource), | ||
witPath: resolve(opts.wit), | ||
@@ -19,0 +19,0 @@ worldName: opts.worldName, |
@@ -14,3 +14,3 @@ #!/usr/bin/env node | ||
.usage('<command> [options]') | ||
.version('1.0.3'); | ||
.version('1.1.0'); | ||
@@ -17,0 +17,0 @@ function myParseInt(value) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8963
9875985