fastyaml-rs 0.2.0 → 0.3.0

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **High-performance YAML 1.2.2 parser for Node.js, powered by Rust.**
8
8
 
9
- Drop-in replacement for js-yaml with **5-10x faster** parsing through Rust's `yaml-rust2` library. Full YAML 1.2.2 Core Schema compliance with TypeScript definitions included.
9
+ Drop-in replacement for js-yaml with **5-10x faster** parsing through Rust's `saphyr` library. Full YAML 1.2.2 Core Schema compliance with TypeScript definitions included.
10
10
 
11
11
  > **YAML 1.2.2 Compliance** — Unlike js-yaml (YAML 1.1 by default), `fastyaml-rs` follows the modern YAML 1.2.2 specification. This means `yes/no/on/off` are strings, not booleans, and octal numbers require `0o` prefix.
12
12
 
@@ -33,7 +33,7 @@ import { safeLoad, safeDump } from 'fastyaml-rs';
33
33
  // Parse YAML
34
34
  const data = safeLoad(`
35
35
  name: fast-yaml
36
- version: 0.1.0
36
+ version: 0.3.0
37
37
  features:
38
38
  - fast
39
39
  - safe
@@ -250,7 +250,7 @@ npm run bench
250
250
 
251
251
  ## Technology Stack
252
252
 
253
- - **YAML Parser**: [yaml-rust2](https://github.com/Ethiraric/yaml-rust2) — Rust YAML 1.2.2 parser
253
+ - **YAML Parser**: [saphyr](https://github.com/saphyr-rs/saphyr) — Rust YAML 1.2.2 parser
254
254
  - **Node.js Bindings**: [NAPI-RS](https://napi.rs/) — Zero-cost Node.js bindings
255
255
  - **Test Framework**: [Vitest](https://vitest.dev/) — Fast test runner
256
256
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastyaml-rs",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Fast YAML 1.2.2 parser, linter, and parallel processor for Node.js",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",