Socket
Socket
Sign inDemoInstall

@bytecodealliance/jco

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bytecodealliance/jco - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

8

obj/interfaces/wasi-filesystem-types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc