Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@cnpmjs/packument

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnpmjs/packument - npm Package Compare versions

Comparing version
1.0.0
to
1.1.0
+3
-0
index.d.ts

@@ -49,3 +49,6 @@ /* auto-generated by NAPI-RS */

get readmePosition(): [number, number] | null
get repository(): string | Repository | null
get time(): Record<string, string> | null
get distTags(): Record<string, string> | null
get maintainers(): Array<Human> | null
get isUnpublished(): boolean

@@ -52,0 +55,0 @@ get versions(): Record<string, Version>

+50
-50

@@ -83,4 +83,4 @@ // prettier-ignore

const bindingPackageVersion = require('@cnpmjs/packument-android-arm64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -100,4 +100,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-android-arm-eabi/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -121,4 +121,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-win32-x64-msvc/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -138,4 +138,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-win32-ia32-msvc/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -155,4 +155,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-win32-arm64-msvc/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -175,4 +175,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-darwin-universal/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -192,4 +192,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-darwin-x64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -209,4 +209,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-darwin-arm64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -230,4 +230,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-freebsd-x64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -247,4 +247,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-freebsd-arm64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -269,4 +269,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-x64-musl/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -286,4 +286,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-x64-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -305,4 +305,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-arm64-musl/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -322,4 +322,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-arm64-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -341,4 +341,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-arm-musleabihf/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -358,4 +358,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-arm-gnueabihf/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -377,4 +377,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-loong64-musl/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -394,4 +394,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-loong64-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -413,4 +413,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-riscv64-musl/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -430,4 +430,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-riscv64-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -448,4 +448,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-ppc64-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -465,4 +465,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-linux-s390x-gnu/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -486,4 +486,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-openharmony-arm64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -503,4 +503,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-openharmony-x64/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -520,4 +520,4 @@ return binding

const bindingPackageVersion = require('@cnpmjs/packument-openharmony-arm/package.json').version
if (bindingPackageVersion !== '1.0.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
if (bindingPackageVersion !== '1.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
throw new Error(`Native binding package version mismatch, expected 1.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
}

@@ -524,0 +524,0 @@ return binding

{
"name": "@cnpmjs/packument",
"version": "1.0.0",
"version": "1.1.0",
"description": "Packument helper",

@@ -103,13 +103,13 @@ "main": "index.js",

},
"packageManager": "yarn@4.11.0",
"packageManager": "yarn@4.12.0",
"optionalDependencies": {
"@cnpmjs/packument-win32-x64-msvc": "1.0.0",
"@cnpmjs/packument-darwin-x64": "1.0.0",
"@cnpmjs/packument-linux-x64-gnu": "1.0.0",
"@cnpmjs/packument-linux-x64-musl": "1.0.0",
"@cnpmjs/packument-linux-arm64-gnu": "1.0.0",
"@cnpmjs/packument-darwin-arm64": "1.0.0",
"@cnpmjs/packument-linux-arm64-musl": "1.0.0",
"@cnpmjs/packument-win32-arm64-msvc": "1.0.0"
"@cnpmjs/packument-win32-x64-msvc": "1.1.0",
"@cnpmjs/packument-darwin-x64": "1.1.0",
"@cnpmjs/packument-linux-x64-gnu": "1.1.0",
"@cnpmjs/packument-linux-x64-musl": "1.1.0",
"@cnpmjs/packument-linux-arm64-gnu": "1.1.0",
"@cnpmjs/packument-darwin-arm64": "1.1.0",
"@cnpmjs/packument-linux-arm64-musl": "1.1.0",
"@cnpmjs/packument-win32-arm64-msvc": "1.1.0"
}
}
+86
-41

@@ -101,3 +101,3 @@ # `@cnpmjs/packument`

Result:
### Node.js v24.11.1 Result

@@ -108,46 +108,91 @@ ```bash

├─────────┼──────────────────────────────────────────────────────────────────────┼─────────────────────┼───────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'JSONParse small data readme string (117KB)' │ '239983 ± 0.90%' │ '229708 ± 7334.0' │ '4287 ± 0.30%' │ '4353 ± 141' │ 4167 │
│ 1 │ 'sonic-rs small data readme string (117KB)' │ '91962 ± 0.15%' │ '91000 ± 333.00' │ '10904 ± 0.07%' │ '10989 ± 40' │ 10875 │
│ 2 │ 'sonic-rs small data readme string with position (117KB)' │ '100489 ± 0.20%' │ '99083 ± 334.00' │ '9994 ± 0.09%' │ '10093 ± 34' │ 9952 │
│ 3 │ 'sonic-rs small data readme JSON buffer with position (117KB)' │ '77909 ± 0.04%' │ '77333 ± 251.00' │ '12843 ± 0.04%' │ '12931 ± 42' │ 12836 │
│ 4 │ 'JSONParse large data readme string (22MB)' │ '73062542 ± 5.30%' │ '62544063 ± 1231980' │ '14 ± 4.66%' │ '16 ± 0' │ 64 │
│ 5 │ 'sonic-rs large data readme string (22MB)' │ '13559412 ± 0.39%' │ '13531125 ± 124438' │ '74 ± 0.38%' │ '74 ± 1' │ 74 │
│ 6 │ 'sonic-rs large data readme string with position (22MB)' │ '13704525 ± 0.42%' │ '13665167 ± 121500' │ '73 ± 0.42%' │ '73 ± 1' │ 73 │
│ 7 │ 'sonic-rs large data readme JSON buffer with position (22MB)' │ '13794191 ± 0.38%' │ '13796167 ± 68374' │ '73 ± 0.38%' │ '72 ± 0' │ 73 │
│ 8 │ 'JSONParse super large data readme string (89M)' │ '154877875 ± 2.49%' │ '145676145 ± 6952812' │ '7 ± 2.43%' │ '7 ± 0' │ 64 │
│ 9 │ 'sonic-rs super large data readme string (89M)' │ '49542118 ± 0.37%' │ '49603208 ± 517938' │ '20 ± 0.37%' │ '20 ± 0' │ 64 │
│ 10 │ 'sonic-rs super large data readme string with position (89M)' │ '49208003 ± 0.41%' │ '48979667 ± 421416' │ '20 ± 0.40%' │ '20 ± 0' │ 64 │
│ 11 │ 'sonic-rs super large data readme JSON buffer with position (89M)' │ '49418123 ± 0.29%' │ '49411667 ± 383459' │ '20 ± 0.29%' │ '20 ± 0' │ 64 │
│ 12 │ 'JSONParse big readme string (229KB, 64KB readme)' │ '308030 ± 0.80%' │ '299583 ± 8458.0' │ '3317 ± 0.33%' │ '3338 ± 94' │ 3247 │
│ 13 │ 'sonic-rs big readme string (229KB, 64KB readme)' │ '141525 ± 0.19%' │ '137708 ± 3166.5' │ '7095 ± 0.13%' │ '7262 ± 171' │ 7066 │
│ 14 │ 'sonic-rs big readme string with position (229KB, 64KB readme)' │ '167679 ± 0.20%' │ '162875 ± 2875.0' │ '5990 ± 0.15%' │ '6140 ± 110' │ 5964 │
│ 15 │ 'sonic-rs big readme JSON buffer with position (229KB, 64KB readme)' │ '122125 ± 0.11%' │ '118666 ± 1541.0' │ '8207 ± 0.10%' │ '8427 ± 111' │ 8189 │
│ 0 │ 'JSONParse small data readme string (117KB)' │ '266169 ± 1.79%' │ '256167 ± 6458.0' │ '3880 ± 0.22%' │ '3904 ± 98' │ 3758 │
│ 1 │ 'sonic-rs small data readme string (117KB)' │ '96116 ± 0.18%' │ '93959 ± 3334.0' │ '10449 ± 0.11%' │ '10643 ± 392' │ 10405 │
│ 2 │ 'sonic-rs small data readme string with position (117KB)' │ '104260 ± 0.18%' │ '101875 ± 3541.0' │ '9636 ± 0.12%' │ '9816 ± 349' │ 9592 │
│ 3 │ 'sonic-rs small data readme JSON buffer with position (117KB)' │ '80798 ± 0.10%' │ '78125 ± 1250.0' │ '12415 ± 0.09%' │ '12800 ± 202' │ 12377 │
│ 4 │ 'JSONParse large data readme string (22MB)' │ '61213649 ± 0.46%' │ '60913854 ± 457520' │ '16 ± 0.46%' │ '16 ± 0' │ 64 │
│ 5 │ 'sonic-rs large data readme string (22MB)' │ '14408984 ± 0.77%' │ '14446271 ± 314188' │ '69 ± 0.77%' │ '69 ± 2' │ 70 │
│ 6 │ 'sonic-rs large data readme string with position (22MB)' │ '14422542 ± 0.82%' │ '14286833 ± 445437' │ '69 ± 0.81%' │ '70 ± 2' │ 70 │
│ 7 │ 'sonic-rs large data readme JSON buffer with position (22MB)' │ '14601161 ± 0.90%' │ '14690709 ± 292041' │ '69 ± 0.90%' │ '68 ± 1' │ 69 │
│ 8 │ 'JSONParse super large data readme string (89M)' │ '156435868 ± 1.25%' │ '152015667 ± 2226000' │ '6 ± 1.21%' │ '7 ± 0' │ 64 │
│ 9 │ 'sonic-rs super large data readme string (89M)' │ '52196231 ± 0.78%' │ '51696729 ± 991125' │ '19 ± 0.77%' │ '19 ± 0' │ 64 │
│ 10 │ 'sonic-rs super large data readme string with position (89M)' │ '52017035 ± 0.87%' │ '51689855 ± 1427041' │ '19 ± 0.86%' │ '19 ± 1' │ 64 │
│ 11 │ 'sonic-rs super large data readme JSON buffer with position (89M)' │ '52177505 ± 0.85%' │ '51624876 ± 1226542' │ '19 ± 0.83%' │ '19 ± 0' │ 64 │
│ 12 │ 'JSONParse big readme string (229KB, 64KB readme)' │ '335244 ± 1.66%' │ '323958 ± 6624.0' │ '3071 ± 0.26%' │ '3087 ± 63' │ 2983 │
│ 13 │ 'sonic-rs big readme string (229KB, 64KB readme)' │ '146211 ± 0.21%' │ '147375 ± 4500.0' │ '6867 ± 0.13%' │ '6785 ± 209' │ 6840 │
│ 14 │ 'sonic-rs big readme string with position (229KB, 64KB readme)' │ '173274 ± 0.19%' │ '173729 ± 5771.0' │ '5791 ± 0.14%' │ '5756 ± 192' │ 5772 │
│ 15 │ 'sonic-rs big readme JSON buffer with position (229KB, 64KB readme)' │ '126633 ± 0.13%' │ '127208 ± 5292.0' │ '7922 ± 0.12%' │ '7861 ± 331' │ 7897 │
└─────────┴──────────────────────────────────────────────────────────────────────┴─────────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
┌─────────┬─────────────────────────────────────────┬─────────────────────┬───────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────────────┼───────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'JSONParse small data (117KB)' │ '234077 ± 0.93%' │ '223000 ± 5542.0' │ '4393 ± 0.30%' │ '4484 ± 112' │ 4273 │
│ 1 │ 'SonicJSONParse small data (117KB)' │ '61699 ± 0.07%' │ '60917 ± 167.00' │ '16231 ± 0.05%' │ '16416 ± 45' │ 16208 │
│ 2 │ 'JSONParse large data (22MB)' │ '70623540 ± 5.05%' │ '61562229 ± 2125354' │ '15 ± 4.42%' │ '16 ± 1' │ 64 │
│ 3 │ 'SonicJSONParse large data (22MB)' │ '12553824 ± 4.28%' │ '12177480 ± 196520' │ '81 ± 1.92%' │ '82 ± 1' │ 80 │
│ 4 │ 'JSONParse super large data (89M)' │ '154712072 ± 2.50%' │ '145670980 ± 7871438' │ '7 ± 2.44%' │ '7 ± 0' │ 64 │
│ 5 │ 'SonicJSONParse super large data (89M)' │ '44102241 ± 0.64%' │ '43674334 ± 81312' │ '23 ± 0.60%' │ '23 ± 0' │ 64 │
└─────────┴─────────────────────────────────────────┴─────────────────────┴───────────────────────┴────────────────────────┴────────────────────────┴─────────┘
Memory Usage:
JSONParse description (22M): 478.1 MB (min: 477.9 MB, max: 478.5 MB)
JSONParse description (89M): 792.1 MB (min: 791.5 MB, max: 792.9 MB)
SonicJSONParse description (22M): 91.4 MB (min: 91.2 MB, max: 91.6 MB)
SonicJSONParse description (89M): 158.5 MB (min: 158.3 MB, max: 158.6 MB)
```
┌─────────┬─────────────────────────────────────────┬─────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'JSONParse small data (117KB)' │ '240212 ± 0.99%' │ '229667 ± 8374.0' │ '4297 ± 0.31%' │ '4354 ± 157' │ 4163 │
│ 1 │ 'SimdJSONParse small data (117KB)' │ '99006 ± 0.11%' │ '98959 ± 2667.0' │ '10132 ± 0.11%' │ '10105 ± 273' │ 10101 │
│ 2 │ 'SonicJSONParse small data (117KB)' │ '61006 ± 0.09%' │ '59958 ± 292.00' │ '16432 ± 0.07%' │ '16678 ± 81' │ 16392 │
│ 3 │ 'JSONParse large data (22MB)' │ '71175486 ± 4.75%' │ '62085958 ± 1078521' │ '15 ± 4.21%' │ '16 ± 0' │ 64 │
│ 4 │ 'SimdJSONParse large data (22MB)' │ '21355649 ± 1.27%' │ '21161958 ± 187917' │ '47 ± 0.97%' │ '47 ± 0' │ 64 │
│ 5 │ 'SonicJSONParse large data (22MB)' │ '12398512 ± 0.57%' │ '12425708 ± 176542' │ '81 ± 0.55%' │ '80 ± 1' │ 81 │
│ 6 │ 'JSONParse super large data (89M)' │ '158460347 ± 2.56%' │ '159199542 ± 14441521' │ '6 ± 2.48%' │ '6 ± 1' │ 64 │
│ 7 │ 'SimdJSONParse super large data (89M)' │ '96796832 ± 2.39%' │ '95567833 ± 2567291' │ '10 ± 2.10%' │ '10 ± 0' │ 64 │
│ 8 │ 'SonicJSONParse super large data (89M)' │ '44677622 ± 0.65%' │ '44483041 ± 514895' │ '22 ± 0.61%' │ '22 ± 0' │ 64 │
└─────────┴─────────────────────────────────────────┴─────────────────────┴────────────────────────┴────────────────────────┴────────────────────────┴─────────┘
### Node.js v22.21.1 Result
```bash
┌─────────┬──────────────────────────────────────────────────────────────────────┬─────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼──────────────────────────────────────────────────────────────────────┼─────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'JSONParse small data readme string (117KB)' │ '248949 ± 0.99%' │ '238125 ± 8542.0' │ '4146 ± 0.33%' │ '4199 ± 151' │ 4017 │
│ 1 │ 'sonic-rs small data readme string (117KB)' │ '96073 ± 0.29%' │ '91542 ± 1167.0' │ '10498 ± 0.14%' │ '10924 ± 141' │ 10409 │
│ 2 │ 'sonic-rs small data readme string with position (117KB)' │ '106362 ± 0.33%' │ '101667 ± 3125.0' │ '9514 ± 0.17%' │ '9836 ± 312' │ 9402 │
│ 3 │ 'sonic-rs small data readme JSON buffer with position (117KB)' │ '80189 ± 0.11%' │ '77417 ± 500.00' │ '12514 ± 0.10%' │ '12917 ± 84' │ 12471 │
│ 4 │ 'JSONParse large data readme string (22MB)' │ '74725439 ± 5.11%' │ '65167479 ± 2361458' │ '14 ± 4.53%' │ '15 ± 1' │ 64 │
│ 5 │ 'sonic-rs large data readme string (22MB)' │ '14298166 ± 0.70%' │ '14189291 ± 172062' │ '70 ± 0.66%' │ '70 ± 1' │ 70 │
│ 6 │ 'sonic-rs large data readme string with position (22MB)' │ '14494829 ± 1.09%' │ '14322083 ± 302250' │ '69 ± 1.01%' │ '70 ± 1' │ 70 │
│ 7 │ 'sonic-rs large data readme JSON buffer with position (22MB)' │ '14345457 ± 0.73%' │ '14255708 ± 186354' │ '70 ± 0.70%' │ '70 ± 1' │ 70 │
│ 8 │ 'JSONParse super large data readme string (89M)' │ '161558691 ± 2.89%' │ '168895375 ± 15843625' │ '6 ± 2.65%' │ '6 ± 1' │ 64 │
│ 9 │ 'sonic-rs super large data readme string (89M)' │ '51225944 ± 0.52%' │ '51134480 ± 577354' │ '20 ± 0.50%' │ '20 ± 0' │ 64 │
│ 10 │ 'sonic-rs super large data readme string with position (89M)' │ '50900172 ± 0.48%' │ '50671208 ± 589959' │ '20 ± 0.47%' │ '20 ± 0' │ 64 │
│ 11 │ 'sonic-rs super large data readme JSON buffer with position (89M)' │ '51286851 ± 0.50%' │ '51228125 ± 562354' │ '20 ± 0.49%' │ '20 ± 0' │ 64 │
│ 12 │ 'JSONParse big readme string (229KB, 64KB readme)' │ '320480 ± 0.93%' │ '308959 ± 9709.0' │ '3201 ± 0.36%' │ '3237 ± 102' │ 3121 │
│ 13 │ 'sonic-rs big readme string (229KB, 64KB readme)' │ '147998 ± 0.26%' │ '148125 ± 5292.0' │ '6799 ± 0.15%' │ '6751 ± 244' │ 6757 │
│ 14 │ 'sonic-rs big readme string with position (229KB, 64KB readme)' │ '172298 ± 0.29%' │ '169063 ± 8354.5' │ '5849 ± 0.19%' │ '5915 ± 294' │ 5804 │
│ 15 │ 'sonic-rs big readme JSON buffer with position (229KB, 64KB readme)' │ '125021 ± 0.14%' │ '124000 ± 6459.0' │ '8027 ± 0.13%' │ '8065 ± 422' │ 7999 │
└─────────┴──────────────────────────────────────────────────────────────────────┴─────────────────────┴────────────────────────┴────────────────────────┴────────────────────────┴─────────┘
Memory Usage:
JSONParse description (22M): 397.4 MB (min: 397.2 MB, max: 397.9 MB)
JSONParse description (89M): 583.3 MB (min: 582.6 MB, max: 584.2 MB)
SonicJSONParse description (22M): 88.4 MB (min: 88.2 MB, max: 88.9 MB)
SonicJSONParse description (89M): 155.4 MB (min: 155.2 MB, max: 155.5 MB)
```
### Node.js 20.19.5 Result
```bash
$ npx tsx benchmark/bench.ts
┌─────────┬──────────────────────────────────────────────────────────────────────┬─────────────────────┬────────────────────────┬────────────────────────┬────────────────────────┬─────────┐
│ (index) │ Task name │ Latency avg (ns) │ Latency med (ns) │ Throughput avg (ops/s) │ Throughput med (ops/s) │ Samples │
├─────────┼──────────────────────────────────────────────────────────────────────┼─────────────────────┼────────────────────────┼────────────────────────┼────────────────────────┼─────────┤
│ 0 │ 'JSONParse small data readme string (117KB)' │ '282642 ± 0.87%' │ '272875 ± 8667.0' │ '3626 ± 0.33%' │ '3665 ± 115' │ 3539 │
│ 1 │ 'sonic-rs small data readme string (117KB)' │ '97086 ± 0.17%' │ '96416 ± 5042.0' │ '10353 ± 0.12%' │ '10372 ± 537' │ 10301 │
│ 2 │ 'sonic-rs small data readme string with position (117KB)' │ '106532 ± 0.49%' │ '105209 ± 5584.0' │ '9486 ± 0.15%' │ '9505 ± 509' │ 9387 │
│ 3 │ 'sonic-rs small data readme JSON buffer with position (117KB)' │ '81501 ± 0.11%' │ '79625 ± 2708.0' │ '12312 ± 0.10%' │ '12559 ± 442' │ 12270 │
│ 4 │ 'JSONParse large data readme string (22MB)' │ '81700227 ± 3.67%' │ '74035333 ± 1724355' │ '12 ± 3.35%' │ '14 ± 0' │ 64 │
│ 5 │ 'sonic-rs large data readme string (22MB)' │ '14406041 ± 0.58%' │ '14339813 ± 245083' │ '69 ± 0.57%' │ '70 ± 1' │ 70 │
│ 6 │ 'sonic-rs large data readme string with position (22MB)' │ '14373543 ± 0.47%' │ '14350042 ± 98937' │ '70 ± 0.46%' │ '70 ± 0' │ 70 │
│ 7 │ 'sonic-rs large data readme JSON buffer with position (22MB)' │ '14372198 ± 0.52%' │ '14351229 ± 96354' │ '70 ± 0.52%' │ '70 ± 0' │ 70 │
│ 8 │ 'JSONParse super large data readme string (89M)' │ '192673340 ± 1.78%' │ '201564354 ± 19275396' │ '5 ± 1.75%' │ '5 ± 1' │ 64 │
│ 9 │ 'sonic-rs super large data readme string (89M)' │ '51303309 ± 0.60%' │ '51097167 ± 809375' │ '20 ± 0.59%' │ '20 ± 0' │ 64 │
│ 10 │ 'sonic-rs super large data readme string with position (89M)' │ '51120106 ± 0.44%' │ '50995396 ± 506500' │ '20 ± 0.43%' │ '20 ± 0' │ 64 │
│ 11 │ 'sonic-rs super large data readme JSON buffer with position (89M)' │ '51319434 ± 0.44%' │ '51296937 ± 428146' │ '19 ± 0.43%' │ '19 ± 0' │ 64 │
│ 12 │ 'JSONParse big readme string (229KB, 64KB readme)' │ '339916 ± 0.59%' │ '331250 ± 6375.0' │ '2985 ± 0.33%' │ '3019 ± 58' │ 2942 │
│ 13 │ 'sonic-rs big readme string (229KB, 64KB readme)' │ '145951 ± 0.21%' │ '147000 ± 4167.0' │ '6881 ± 0.14%' │ '6803 ± 193' │ 6852 │
│ 14 │ 'sonic-rs big readme string with position (229KB, 64KB readme)' │ '171549 ± 0.22%' │ '170541 ± 7417.0' │ '5858 ± 0.16%' │ '5864 ± 248' │ 5830 │
│ 15 │ 'sonic-rs big readme JSON buffer with position (229KB, 64KB readme)' │ '125563 ± 0.19%' │ '125875 ± 5500.0' │ '7994 ± 0.12%' │ '7944 ± 345' │ 7965 │
└─────────┴──────────────────────────────────────────────────────────────────────┴─────────────────────┴────────────────────────┴────────────────────────┴────────────────────────┴─────────┘
Memory Usage:
JSONParse description (22M): 406.0 MB (min: 392.1 MB, max: 498.3 MB)
JSONParse description (89M): 659.6 MB (min: 594.5 MB, max: 987.7 MB)
SonicJSONParse description (22M): 179.7 MB (min: 177.0 MB, max: 181.3 MB)
SonicJSONParse description (89M): 179.3 MB (min: 175.2 MB, max: 181.8 MB)
```
## Ability

@@ -202,3 +247,3 @@

git push
git push origin master --tags
```

@@ -205,0 +250,0 @@