Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wasmparser

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wasmparser - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

test.js

5

package.json
{
"name": "wasmparser",
"version": "0.1.4",
"version": "0.1.5",
"description": "Binary WebAssembly file parser.",
"main": "./dist/WasmParser.js",
"types": "./dist/WasmParser.d.td",
"bin": {

@@ -10,3 +11,3 @@ "disassemble-wasm": "./disassemble-wasm.js"

"scripts": {
"test": "node ./disassemble-wasm.js test/malloc.wasm",
"test": "node ./test.js",
"build": "node_modules/.bin/tsc"

@@ -13,0 +14,0 @@ },

Simple streamable WebAssembly binary parser.
## Test
### Running Tests
```
npm test
```
### Creating Tests
Place a `.wasm` and an associated `.wasm.out` file in the `test` directory.
The testing harness will compare the parsing output of the `.wasm` file against the `.wasm.out` file.
You can use the `npm test update` command to automatically create a `.out` files. This is useful if you have made a change that affects the tests.
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