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

@thirdweb-dev/crypto

Package Overview
Dependencies
Maintainers
7
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-9467fc3-20231117115135 to 0.0.0-dev-9aaf173-20240301192815

14

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

@@ -27,15 +27,13 @@ 'use strict';

class TextProcessorCache {
#encoder;
#decoder;
get encoder() {
if (!this.#encoder) {
this.#encoder = new TextEncoder();
if (!this._encoder) {
this._encoder = new TextEncoder();
}
return this.#encoder;
return this._encoder;
}
get decoder() {
if (!this.#decoder) {
this.#decoder = new TextDecoder();
if (!this._decoder) {
this._decoder = new TextDecoder();
}
return this.#decoder;
return this._decoder;
}

@@ -42,0 +40,0 @@ }

@@ -27,15 +27,13 @@ 'use strict';

class TextProcessorCache {
#encoder;
#decoder;
get encoder() {
if (!this.#encoder) {
this.#encoder = new TextEncoder();
if (!this._encoder) {
this._encoder = new TextEncoder();
}
return this.#encoder;
return this._encoder;
}
get decoder() {
if (!this.#decoder) {
this.#decoder = new TextDecoder();
if (!this._decoder) {
this._decoder = new TextDecoder();
}
return this.#decoder;
return this._decoder;
}

@@ -42,0 +40,0 @@ }

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

class TextProcessorCache {
#encoder;
#decoder;
get encoder() {
if (!this.#encoder) {
this.#encoder = new TextEncoder();
if (!this._encoder) {
this._encoder = new TextEncoder();
}
return this.#encoder;
return this._encoder;
}
get decoder() {
if (!this.#decoder) {
this.#decoder = new TextDecoder();
if (!this._decoder) {
this._decoder = new TextDecoder();
}
return this.#decoder;
return this._decoder;
}

@@ -20,0 +18,0 @@ }

{
"name": "@thirdweb-dev/crypto",
"version": "0.0.0-dev-9467fc3-20231117115135",
"version": "0.0.0-dev-9aaf173-20240301192815",
"main": "dist/thirdweb-dev-crypto.cjs.js",

@@ -36,10 +36,10 @@ "module": "dist/thirdweb-dev-crypto.esm.js",

"@thirdweb-dev/tsconfig": "^0.1.7",
"@types/crypto-js": "^4.2.1",
"@types/crypto-js": "^4.2.2",
"crypto-js": "^4.2.0",
"eslint-config-thirdweb": "^0.0.0-dev-9467fc3-20231117115135",
"eslint-config-thirdweb": "^0.1.7",
"ethers": "^5.7.2",
"js-awe": "^1.0.63",
"js-awe": "^1.0.62",
"tinybench": "^2.5.1",
"typescript": "^5.2.2",
"viem": "^1.19.3"
"typescript": "^5.3.3",
"viem": "^1.19.1"
},

@@ -46,0 +46,0 @@ "engines": {

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