Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@thirdweb-dev/crypto

Package Overview
Dependencies
Maintainers
6
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thirdweb-dev/crypto - npm Package Compare versions

Comparing version 0.0.0-dev-ed17781-20240229185724 to 0.0.0-dev-f95024147f012f9b752b6cd2215199dca870c39d-20240511003159

4

dist/thirdweb-dev-crypto.cjs.dev.js

@@ -421,3 +421,5 @@ 'use strict';

}
totalLength ??= arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
if (totalLength === null || totalLength === undefined) {
totalLength = arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
}
const returnValue = new Uint8Array(totalLength);

@@ -424,0 +426,0 @@ let offset = 0;

@@ -421,3 +421,5 @@ 'use strict';

}
totalLength ??= arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
if (totalLength === null || totalLength === undefined) {
totalLength = arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
}
const returnValue = new Uint8Array(totalLength);

@@ -424,0 +426,0 @@ let offset = 0;

@@ -399,3 +399,5 @@ import { sha256 as sha256$1 } from '@noble/hashes/sha256';

}
totalLength ??= arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
if (totalLength === null || totalLength === undefined) {
totalLength = arrays.reduce((accumulator, currentValue) => accumulator + currentValue.length, 0);
}
const returnValue = new Uint8Array(totalLength);

@@ -402,0 +404,0 @@ let offset = 0;

{
"name": "@thirdweb-dev/crypto",
"version": "0.0.0-dev-ed17781-20240229185724",
"version": "0.0.0-dev-f95024147f012f9b752b6cd2215199dca870c39d-20240511003159",
"main": "dist/thirdweb-dev-crypto.cjs.js",

@@ -13,3 +13,3 @@ "module": "dist/thirdweb-dev-crypto.esm.js",

},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/utils",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/utils",
"license": "Apache-2.0",

@@ -31,6 +31,7 @@ "bugs": {

"dependencies": {
"@noble/hashes": "^1.3.2",
"js-sha3": "^0.9.2"
"@noble/hashes": "^1.4.0",
"js-sha3": "^0.9.3"
},
"devDependencies": {
"eslint": "8.57.0",
"@preconstruct/cli": "2.7.0",

@@ -40,8 +41,8 @@ "@thirdweb-dev/tsconfig": "^0.1.7",

"crypto-js": "^4.2.0",
"eslint-config-thirdweb": "^0.1.7",
"eslint-config-thirdweb": "^0.1.9",
"ethers": "^5.7.2",
"js-awe": "^1.0.62",
"tinybench": "^2.5.1",
"typescript": "^5.3.3",
"viem": "^1.19.1"
"js-awe": "^1.0.65",
"tinybench": "^2.6.0",
"typescript": "5.4.4",
"viem": "2.9.9"
},

@@ -53,3 +54,3 @@ "engines": {

"format": "prettier --write 'src/**/*'",
"lint": "eslint src/ && bunx publint --strict --level warning",
"lint": "eslint src/",
"fix": "eslint src/ --fix",

@@ -59,3 +60,3 @@ "clean": "rm -rf dist/",

"push": "yalc push",
"test": "bun test",
"test": "vitest run",
"benchmark:aes-encrypt": "bun benchmark/aes-encrypt.ts",

@@ -62,0 +63,0 @@ "benchmark:aes-decrypt": "bun benchmark/aes-decrypt.ts",

<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />

@@ -5,0 +5,0 @@ </p>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc