fastify-ata 0.2.6 → 0.2.8

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 +4 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -91,15 +91,16 @@ Works with Fastify v5's Standard Schema support, tRPC, TanStack Form, Drizzle OR
91
91
  | **Serverless cold start** (50 schemas) | 7.7ms | 96ms | **12.5x faster** |
92
92
  | **ReDoS protection** (catastrophic pattern) | 0.3ms | 765ms | **immune** |
93
93
  | **Batch NDJSON** (10K items, multi-core) | 13.4M/sec | 5.1M/sec | **2.6x faster** |
94
- | **validate(obj)** valid (micro) | 15M ops/sec | 8.5M ops/sec | **1.8x faster** |
95
- | **Schema compilation** | 125K ops/sec | 831 ops/sec | **151x faster** |
94
+ | **validate(obj)** valid (isolated) | 76M ops/sec | 8M ops/sec | **9.5x faster** |
95
+ | **validate(obj)** invalid (isolated) | 34M ops/sec | 8M ops/sec | **4.3x faster** |
96
+ | **Schema compilation** | 113K ops/sec | 818 ops/sec | **138x faster** |
96
97
 
97
98
  ### Things only ata can do
98
99
 
99
100
  - **RE2 regex engine** — linear-time guaranteed, immune to ReDoS attacks
100
101
  - **Multi-core parallel validation** — NDJSON batch at 12.5M items/sec
101
102
  - **Standard Schema V1** — native support, ajv doesn't have it
102
- - **151x faster compilation** — serverless cold starts, dynamic schemas
103
+ - **138x faster compilation** — serverless cold starts, dynamic schemas
103
104
 
104
105
  ## License
105
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastify-ata",
3
- "version": "0.2.6",
3
+ "version": "0.2.8",
4
4
  "description": "Fastify plugin for ata-validator — beats ajv on every valid-path benchmark. 2.7x faster validate(obj), 151x faster compilation, simdjson + multi-core.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "homepage": "https://github.com/ata-core/fastify-ata#readme",
28
28
  "dependencies": {
29
- "ata-validator": "^0.4.5",
29
+ "ata-validator": "^0.4.7",
30
30
  "fastify-plugin": "^5.1.0"
31
31
  },
32
32
  "peerDependencies": {