Socket
Socket
Sign inDemoInstall

@ethersproject/solidity

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/solidity - npm Package Compare versions

Comparing version 5.0.10 to 5.1.0

2

lib.esm/_version.d.ts

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

export declare const version = "solidity/5.0.10";
export declare const version = "solidity/5.1.0";
//# sourceMappingURL=_version.d.ts.map

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

export const version = "solidity/5.0.10";
export const version = "solidity/5.1.0";
//# sourceMappingURL=_version.js.map

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

export declare function pack(types: Array<string>, values: Array<any>): string;
export declare function keccak256(types: Array<string>, values: Array<any>): string;
export declare function sha256(types: Array<string>, values: Array<any>): string;
export declare function pack(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
export declare function keccak256(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
export declare function sha256(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
//# sourceMappingURL=index.d.ts.map

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

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

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

export declare function pack(types: Array<string>, values: Array<any>): string;
export declare function keccak256(types: Array<string>, values: Array<any>): string;
export declare function sha256(types: Array<string>, values: Array<any>): string;
export declare function pack(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
export declare function keccak256(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
export declare function sha256(types: ReadonlyArray<string>, values: ReadonlyArray<any>): string;
//# sourceMappingURL=index.d.ts.map
{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bignumber": "^5.0.13",
"@ethersproject/bytes": "^5.0.9",
"@ethersproject/keccak256": "^5.0.7",
"@ethersproject/sha2": "^5.0.7",
"@ethersproject/strings": "^5.0.8"
"@ethersproject/bignumber": "^5.1.0",
"@ethersproject/bytes": "^5.1.0",
"@ethersproject/keccak256": "^5.1.0",
"@ethersproject/sha2": "^5.1.0",
"@ethersproject/strings": "^5.1.0"
},

@@ -22,3 +22,3 @@ "description": "Solidity coder for non-standard (tight) packing.",

],
"gitHead": "6c43e20e7a68f3f5a141c74527ec63d9fe8458be",
"gitHead": "3b1d3fcee6bfb5178861e26ff1a1e9daa0663ec9",
"keywords": [

@@ -44,5 +44,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0x2d087168dbc5ab1da5581867bef409c909d3a6d2eb9f3ccbbe278591b27240da",
"tarballHash": "0x01f9bc603a4892496f5996a4bad343633e75fdfebcf2d189c4cdbc14879c3350",
"types": "./lib/index.d.ts",
"version": "5.0.10"
"version": "5.1.0"
}

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

export const version = "solidity/5.0.10";
export const version = "solidity/5.1.0";

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

export function pack(types: Array<string>, values: Array<any>) {
export function pack(types: ReadonlyArray<string>, values: ReadonlyArray<any>) {
if (types.length != values.length) { throw new Error("type/value count mismatch"); }

@@ -85,8 +85,8 @@ const tight: Array<Uint8Array> = [];

export function keccak256(types: Array<string>, values: Array<any>) {
export function keccak256(types: ReadonlyArray<string>, values: ReadonlyArray<any>) {
return hashKeccak256(pack(types, values));
}
export function sha256(types: Array<string>, values: Array<any>) {
export function sha256(types: ReadonlyArray<string>, values: ReadonlyArray<any>) {
return hashSha256(pack(types, values));
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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