stanwasm 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/stanwasm?logo=npm&color=cb3837)](https://www.npmjs.com/package/stanwasm)
4
4
  [![crates.io](https://img.shields.io/crates/v/stanwasm?logo=rust&color=e43717)](https://crates.io/crates/stanwasm)
5
- [![bundle](https://img.shields.io/badge/wasm-482%20KB%20%7C%20180%20KB%20gzip-654ff0?logo=webassembly&logoColor=white)](https://github.com/habakan/stanwasm/blob/main/docs/en/BENCHMARKS.md)
5
+ [![bundle](https://img.shields.io/badge/wasm-514%20KB%20%7C%20192%20KB%20gzip-654ff0?logo=webassembly&logoColor=white)](https://github.com/habakan/stanwasm/blob/main/docs/en/BENCHMARKS.md)
6
6
  [![license](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/habakan/stanwasm/blob/main/LICENSE)
7
7
 
8
8
  Stan probabilistic models compiled and sampled **entirely in the browser**.
9
- Pure Rust compiled to WebAssembly, a single ~482 KB bundle (~180 KB gzipped),
9
+ Pure Rust compiled to WebAssembly, a single ~514 KB bundle (~192 KB gzipped),
10
10
  with [nuts-rs](https://github.com/pymc-devs/nuts-rs) embedded as the sampler.
11
11
  No server, no cmdstan, no round trip.
12
12
 
@@ -22,7 +22,7 @@ Chrome, Edge, Firefox, Safari and Node.js, plus every browser on iOS and
22
22
  iPadOS. Verified under Playwright's three engines: Chromium 151, Firefox 153
23
23
  and WebKit 26.5 all instantiate the module and sample.
24
24
 
25
- Safari used to fail outright — WebKit rejects a module containing
25
+ Safari failed outright before 0.1.1 — WebKit rejects a module containing
26
26
  [relaxed SIMD](https://github.com/WebAssembly/relaxed-simd) opcodes at
27
27
  validation time, and `pulp` emitted them. This package ships the prebuilt wasm
28
28
  with that resolved, so nothing is required of you; see
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stanwasm",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Stan inference engine for WebAssembly (Rust port).",
5
5
  "type": "module",
6
6
  "main": "./index.js",
Binary file