🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@arcjet/stable-hash

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/stable-hash - npm Package Compare versions

Comparing version
1.1.0-rc
to
1.1.0
+0
-4
edge-light.js
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"

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 };