Socket
Socket
Sign inDemoInstall

@ethersproject/strings

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/strings - npm Package Compare versions

Comparing version 6.0.0-beta.1 to 6.0.0-beta.2

README.md

2

lib/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "@ethersproject/strings@6.0.0-beta.1";
export declare const version = "@ethersproject/strings@6.0.0-beta.2";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "@ethersproject/strings@6.0.0-beta.1";
export const version = "@ethersproject/strings@6.0.0-beta.2";
//# sourceMappingURL=_version.js.map

@@ -1,2 +0,2 @@

import { zeroPadRight } from "@ethersproject/bytes";
import { zeroPadBytes } from "@ethersproject/bytes";
import { logger } from "./logger.js";

@@ -12,3 +12,3 @@ import { toUtf8Bytes, toUtf8String } from "./utf8.js";

// Zero-pad (implicitly null-terminates)
return zeroPadRight(bytes, 32);
return zeroPadBytes(bytes, 32);
}

@@ -15,0 +15,0 @@ export function parseBytes32String(_bytes) {

@@ -12,3 +12,3 @@ {

"ethereum": "donations.ethers.eth",
"gitHead": "77f691b3bc3a6387a5184ec9b1779faab4bcb30d",
"gitHead": "4fcde0967317451fac6cec6addba8258f98c14b5",
"keywords": [

@@ -34,6 +34,6 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0x7384ab5b2d3212ff5cc0290b905e115e0253d44158b6e58958874c7aaefb3aa2",
"tarballHash": "0xed53e70ea1c0b967e3583fcd9e2e7a661a3f90722d8660470ec5175e4f46156e",
"type": "module",
"types": "./lib/index.d.ts",
"version": "6.0.0-beta.1"
"version": "6.0.0-beta.2"
}

@@ -1,1 +0,1 @@

export const version = "@ethersproject/strings@6.0.0-beta.1";
export const version = "@ethersproject/strings@6.0.0-beta.2";
import { zeroPadRight } from "@ethersproject/bytes";
import { zeroPadBytes } from "@ethersproject/bytes";

@@ -19,3 +19,3 @@ import { logger } from "./logger.js";

// Zero-pad (implicitly null-terminates)
return zeroPadRight(bytes, 32);
return zeroPadBytes(bytes, 32);
}

@@ -22,0 +22,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