New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ib

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

ib - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

2

lib/controller.js

@@ -89,3 +89,3 @@ var _ = require('lodash');

if (!_.contains(['connected', 'disconnected', 'error', 'received', 'sent', 'server'], eventOfArgs)) {
if (!_.includes(['connected', 'disconnected', 'error', 'received', 'sent', 'server'], eventOfArgs)) {
this._ib.emit('result', eventOfArgs, argsOfArgs);

@@ -92,0 +92,0 @@ }

@@ -250,5 +250,5 @@ var _ = require('lodash');

Outgoing.prototype.placeOrder = function (id, contract, order) {
var comboLeg,
orderComboLeg;
if (this._controller._serverVersion < C.MIN_SERVER_VER.SCALE_ORDERS) {

@@ -267,3 +267,3 @@ if (order.scaleInitLevelSize != Number.MAX_VALUE ||

}
});
}.bind(this));
}

@@ -326,3 +326,3 @@ }

}
});
}.bind(this));
}

@@ -383,3 +383,3 @@ }

}
});
}.bind(this));
}

@@ -508,3 +508,3 @@ }

}
});
}.bind(this));
}

@@ -979,4 +979,4 @@ }

var comboLeg;
if (_.isString(contract.secType) &&

@@ -983,0 +983,0 @@ C.BAG_SEC_TYPE.toUpperCase() === contract.secType.toUpperCase()) {

@@ -112,3 +112,3 @@ var net = require('net');

_.each(tokens, function (value, i) {
_.forEach(tokens, function (value, i) {
if (_.isBoolean(value)) {

@@ -115,0 +115,0 @@ tokens[i] = value ? 1 : 0;

{
"name": "ib",
"description": "Interactive Brokers TWS (or IB Gateway) API client library for Node.js",
"version": "0.1.8",
"version": "0.1.9",
"license": "MIT",

@@ -43,4 +43,4 @@ "author": {

"dependencies": {
"command-buffer": "~0.1.0",
"lodash": "~2.2.1"
"command-buffer": "0.1.0",
"lodash": "4.6.1"
},

@@ -47,0 +47,0 @@ "devDependencies": {

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