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.2.0 to 0.2.1-nightly-553f7fda4-20240229191938

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.2.0",
"version": "0.2.1-nightly-553f7fda4-20240229191938",
"main": "dist/thirdweb-dev-crypto.cjs.js",

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

"@thirdweb-dev/tsconfig": "^0.1.7",
"@types/crypto-js": "^4.1.3",
"@types/crypto-js": "^4.2.2",
"crypto-js": "^4.2.0",
"eslint-config-thirdweb": "^0.1.6",
"eslint-config-thirdweb": "^0.1.7",
"ethers": "^5.7.2",
"js-awe": "^1.0.62",
"tinybench": "^2.5.1",
"typescript": "^5.1.6",
"typescript": "^5.3.3",
"viem": "^1.19.1"

@@ -45,0 +45,0 @@ },

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