Socket
Socket
Sign inDemoInstall

@ethersproject/base64

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/base64 - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

2

lib.esm/_version.d.ts

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

export declare const version = "base64/5.4.0";
export declare const version = "base64/5.5.0";
//# sourceMappingURL=_version.d.ts.map

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

export const version = "base64/5.4.0";
export const version = "base64/5.5.0";
//# sourceMappingURL=_version.js.map

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

export declare const version = "base64/5.4.0";
export declare const version = "base64/5.5.0";
//# sourceMappingURL=_version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "base64/5.4.0";
exports.version = "base64/5.5.0";
//# sourceMappingURL=_version.js.map

@@ -6,3 +6,3 @@ "use strict";

function decode(textData) {
return bytes_1.arrayify(new Uint8Array(Buffer.from(textData, "base64")));
return (0, bytes_1.arrayify)(new Uint8Array(Buffer.from(textData, "base64")));
}

@@ -12,5 +12,5 @@ exports.decode = decode;

function encode(data) {
return Buffer.from(bytes_1.arrayify(data)).toString("base64");
return Buffer.from((0, bytes_1.arrayify)(data)).toString("base64");
}
exports.encode = encode;
//# sourceMappingURL=base64.js.map

@@ -11,7 +11,7 @@ "use strict";

}
return bytes_1.arrayify(data);
return (0, bytes_1.arrayify)(data);
}
exports.decode = decode;
function encode(data) {
data = bytes_1.arrayify(data);
data = (0, bytes_1.arrayify)(data);
var textData = "";

@@ -18,0 +18,0 @@ for (var i = 0; i < data.length; i++) {

@@ -10,3 +10,3 @@ {

"dependencies": {
"@ethersproject/bytes": "^5.4.0"
"@ethersproject/bytes": "^5.5.0"
},

@@ -25,3 +25,3 @@ "description": "Base64 coder.",

],
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296",
"gitHead": "73a46efea32c3f9a4833ed77896a216e3d3752a0",
"keywords": [

@@ -47,5 +47,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0xe6955a5176152a04ecfcea37db020e7b0d81eebda713f333bd2d28dc29ccbb7d",
"tarballHash": "0xd41aeec849d5c477d67777f87429f2494a37e758d237433bd25664427acae89c",
"types": "./lib/index.d.ts",
"version": "5.4.0"
"version": "5.5.0"
}

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

export const version = "base64/5.4.0";
export const version = "base64/5.5.0";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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