@arcjet/stable-hash
Advanced tools
+0
-4
| import { makeHasher } from './hasher.js'; | ||
| export { bool, string, stringSliceOrdered, uint32 } from './hasher.js'; | ||
| // @ts-ignore: this value exists in Edge Light, as it implements the DOM type for it. | ||
| // See <https://vercel.com/docs/functions/runtimes/edge#crypto-apis>. | ||
| // This can be verified by adding `/// <reference lib="dom" />` above. | ||
| // But we don’t want to load the entire DOM types or edge-light-specific types. | ||
| const hash = makeHasher(crypto.subtle); | ||
| export { hash, makeHasher }; |
+4
-4
| { | ||
| "name": "@arcjet/stable-hash", | ||
| "version": "1.1.0-rc", | ||
| "version": "1.1.0", | ||
| "description": "Arcjet stable hashing utility", | ||
@@ -57,6 +57,6 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "@arcjet/eslint-config": "1.1.0-rc", | ||
| "@arcjet/rollup-config": "1.1.0-rc", | ||
| "@arcjet/eslint-config": "1.1.0", | ||
| "@arcjet/rollup-config": "1.1.0", | ||
| "@rollup/wasm-node": "4.57.0", | ||
| "@types/node": "25.0.10", | ||
| "@types/node": "25.1.0", | ||
| "eslint": "9.39.2", | ||
@@ -63,0 +63,0 @@ "typescript": "5.9.3" |
+0
-4
| import { makeHasher } from './hasher.js'; | ||
| export { bool, string, stringSliceOrdered, uint32 } from './hasher.js'; | ||
| // @ts-ignore: this value exists in Workerd, as it implements the DOM type for it. | ||
| // See <https://developers.cloudflare.com/workers/runtime-apis/web-crypto/>. | ||
| // This can be verified by adding `/// <reference lib="dom" />` above. | ||
| // But we don’t want to load the entire DOM types or workerd-specific types. | ||
| const hash = makeHasher(crypto.subtle); | ||
| export { hash, makeHasher }; |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
-100%22956
-2.67%278
-2.8%