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

@0x/utils

Package Overview
Dependencies
Maintainers
5
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0x/utils - npm Package Compare versions

Comparing version 2.1.1 to 3.0.0

22

CHANGELOG.json
[
{
"version": "3.0.0",
"changes": [
{
"note": "Make `promisify` resolve when the callback error is undefined.",
"pr": 1501
}
],
"timestamp": 1547225310
},
{
"version": "2.1.1",

@@ -34,4 +44,3 @@ "changes": [

{
"note":
"Optimized ABI Encoder/Decoder. Generates compressed calldata to save gas. Generates human-readable calldata to aid development."
"note": "Optimized ABI Encoder/Decoder. Generates compressed calldata to save gas. Generates human-readable calldata to aid development."
}

@@ -167,4 +176,3 @@ ],

{
"note":
"Store different ABIs for events with same function signature and different amount of indexed arguments",
"note": "Store different ABIs for events with same function signature and different amount of indexed arguments",
"pr": 933

@@ -336,4 +344,3 @@ }

{
"note":
"Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface."
"note": "Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface."
}

@@ -381,4 +388,3 @@ ],

{
"note":
"Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes).",
"note": "Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes).",
"pr": 366

@@ -385,0 +391,0 @@ }

@@ -8,2 +8,6 @@ <!--

## v3.0.0 - _January 11, 2019_
* Make `promisify` resolve when the callback error is undefined. (#1501)
## v2.1.1 - _January 9, 2019_

@@ -10,0 +14,0 @@

@@ -53,4 +53,3 @@ "use strict";

AddressDataType._ADDRESS_SIZE_IN_BYTES = 20;
AddressDataType._DECODED_ADDRESS_OFFSET_IN_BYTES = constants_1.constants.EVM_WORD_WIDTH_IN_BYTES -
AddressDataType._ADDRESS_SIZE_IN_BYTES;
AddressDataType._DECODED_ADDRESS_OFFSET_IN_BYTES = constants_1.constants.EVM_WORD_WIDTH_IN_BYTES - AddressDataType._ADDRESS_SIZE_IN_BYTES;
return AddressDataType;

@@ -57,0 +56,0 @@ }(blob_1.AbstractBlobDataType));

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

var callback = function (err, data) {
_.isNull(err) ? resolve(data) : reject(err);
_.isNull(err) || _.isUndefined(err) ? resolve(data) : reject(err);
};

@@ -79,0 +79,0 @@ originalFn.apply(thisArg, __spread(callArgs, [callback]));

{
"name": "@0x/utils",
"version": "2.1.1",
"version": "3.0.0",
"engines": {

@@ -31,3 +31,3 @@ "node": ">=6.12"

"devDependencies": {
"@0x/tslint-config": "^2.0.0",
"@0x/tslint-config": "^2.0.1",
"@types/detect-node": "2.0.0",

@@ -48,4 +48,4 @@ "@types/lodash": "4.14.104",

"dependencies": {
"@0x/types": "^1.5.0",
"@0x/typescript-typings": "^3.0.6",
"@0x/types": "^1.5.1",
"@0x/typescript-typings": "^3.0.7",
"@types/node": "*",

@@ -56,3 +56,3 @@ "abortcontroller-polyfill": "^1.1.9",

"detect-node": "2.0.3",
"ethereum-types": "^1.1.4",
"ethereum-types": "^1.1.5",
"ethereumjs-util": "^5.1.1",

@@ -67,3 +67,3 @@ "ethers": "~4.0.4",

},
"gitHead": "5b7eff217e9c8d09d64ff8721d7a16e1df8a7c58"
"gitHead": "cf3787edbb9e8acf7160ab93b903b54c63bdffda"
}

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