Socket
Book a DemoSign in
Socket

@bytecodealliance/componentize-js

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bytecodealliance/componentize-js - npm Package Compare versions

Comparing version
0.18.4
to
0.18.5
+8
-8
package.json
{
"name": "@bytecodealliance/componentize-js",
"version": "0.18.4",
"version": "0.18.5",
"homepage": "https://github.com/bytecodealliance/componentize-js#readme",

@@ -20,4 +20,4 @@ "description": "ESM -> WebAssembly Component creator, via a SpiderMonkey JS engine embedding",

"cross-env": "^7.0.3",
"mocha": "^11.1.0",
"semver": "^7.7.2"
"semver": "^7.7.2",
"vitest": "^3.2.4"
},

@@ -27,3 +27,3 @@ "dependencies": {

"@bytecodealliance/weval": "^0.3.4",
"@bytecodealliance/wizer": "^7.0.5",
"@bytecodealliance/wizer": "^10.0.0",
"es-module-lexer": "^1.6.0",

@@ -40,6 +40,6 @@ "oxc-parser": "^0.76.0"

"build:debug": "make debug",
"test": "mocha -u tdd test/test.js --timeout 120000",
"test:release": "mocha -u tdd test/test.js --timeout 120000",
"test:weval": "cross-env WEVAL_TEST=1 mocha -u tdd test/test.js --timeout 120000",
"test:debug": "cross-env DEBUG_TEST=1 mocha -u tdd test/test.js --timeout 120000",
"test": "vitest run -c test/vitest.ts",
"test:release": "vitest run -c test/vitest.ts",
"test:weval": "cross-env WEVAL_TEST=1 vitest run -c test/vitest.ts",
"test:debug": "cross-env DEBUG_TEST=1 vitest run -c test/vitest.ts",
"prepack": "node scripts/prepack.mjs"

@@ -46,0 +46,0 @@ },

@@ -55,3 +55,2 @@ <div align="center">

## Platform APIs

@@ -109,3 +108,3 @@

The component iself can be executed in any component runtime, see the [example](EXAMPLE.md) for an end to end workflow in Wasmtime.
The component itself can be executed in any component runtime, see the [example](EXAMPLE.md) for an end to end workflow in Wasmtime.

@@ -335,3 +334,3 @@ ### AOT Compilation

### Pre-requisites
To contribute, you'll need to set up the following:

@@ -343,3 +342,3 @@ * `git submodule update --init --recursive` to update the submodules.

### Building and testing
## Building

@@ -351,3 +350,2 @@ Building and testing the project can be performed via NPM scripts (see [`package.json`](./package.json)):

npm run build
npm run test
```

@@ -369,2 +367,20 @@

## Testing
To run all tests:
```console
npm run test
```
### Running a specific test
To run a specific test suite, you can pass an argument to [`vitest`][vitest]:
```console
npm run test -- test/wasi.js
```
[vitest]: https://vitest.dev
# License

@@ -375,3 +391,3 @@

### Contribution
## Contribution

@@ -378,0 +394,0 @@ Unless you explicitly state otherwise, any contribution intentionally submitted

@@ -25,3 +25,3 @@ #! /usr/bin/env node

program
.version('0.18.4')
.version('0.18.5')
.description('Create a component from a JavaScript module')

@@ -28,0 +28,0 @@ .usage('<js-source> --wit wit-world.wit -o <component-path>')

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display