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

sax-wasm

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sax-wasm - npm Package Compare versions

Comparing version 1.1.2 to 1.1.4

5

package.json
{
"name": "sax-wasm",
"version": "1.1.2",
"version": "1.1.4",
"repository": "https://github.com/justinwilaby/sax-wasm",

@@ -18,3 +18,4 @@ "description": "An extremely fast JSX, HTML and XML parser written in Rust compiled to WebAssembly for Node and the Web",

"build:wasm": "rustc ./src/main.rs -C lto -O --target wasm32-unknown-unknown -o ./lib/sax-wasm.wasm",
"build": "tsc && npm run build:wasm"
"run:wasm-gc": "cd ./lib && wasm-gc sax-wasm.wasm",
"build": "tsc && npm run build:wasm && npm run run:wasm-gc"
},

@@ -21,0 +22,0 @@ "keywords": [

@@ -40,3 +40,3 @@ # SAX (Simple API for XML) for Web Assembly

}
}
};

@@ -96,3 +96,3 @@ // Instantiate and prepare the wasm for parsing

Streaming is supported with sax-wasm by writing utf-8 encoded text to the parser instance. Writes can occur safely
anywhere except withing the `eventHandler` function or within the `eventTrap` (when extending `SAXParser` class).
anywhere except within the `eventHandler` function or within the `eventTrap` (when extending `SAXParser` class).
Doing so anyway risks overwriting memory still in play.

@@ -175,2 +175,3 @@

```
Follow the instructions to install [wasm-gc](https://github.com/alexcrichton/wasm-gc) based on your platform.
The project can now be built using:

@@ -177,0 +178,0 @@ ```bash

lib/sax-wasm.wasm

Sorry, the diff of this file is not supported yet

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