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

net-snmp

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

net-snmp - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

54

index.js

@@ -15,3 +15,3 @@

var keys = [];
for (key in object)
for (var key in object)
keys.push (key);

@@ -137,8 +137,5 @@ for (var i = 0; i < keys.length; i++)

function isVarbindError (varbind) {
if (varbind.type == ObjectType.NoSuchObject
|| varbind.type == ObjectType.NoSuchInstance
|| varbind.type == ObjectType.EndOfMibView)
return true;
else
return false;
return !!(varbind.type == ObjectType.NoSuchObject
|| varbind.type == ObjectType.NoSuchInstance
|| varbind.type == ObjectType.EndOfMibView);
}

@@ -221,2 +218,4 @@

var length = buffer.readByte ();
var value = 0;
var signedBitSet = false;

@@ -231,4 +230,2 @@ if (length > 5) {

value = 0, signedBitSet = false;
for (var i = 0; i < length; i++) {

@@ -255,3 +252,3 @@ value *= 256;

throw new RequestInvalidError ("64 bit unsigned integer too long '"
+ value.length + "'")
+ value.length + "'");

@@ -337,3 +334,3 @@ return value;

throw new RequestInvalidError ("64 bit unsigned integer too long '"
+ value.length + "'")
+ value.length + "'");
buffer.writeBuffer (value, ObjectType.Counter64);

@@ -390,3 +387,3 @@ }

buffer.endSequence ();
};
}
buffer.endSequence ();

@@ -559,3 +556,3 @@ }

}
}
};

@@ -618,5 +615,6 @@ /*****************************************************************************

return this;
}
};
Session.prototype.cancelRequests = function (error) {
var id;
for (id in this.reqs) {

@@ -627,3 +625,3 @@ var req = this.reqs[id];

}
}
};

@@ -658,3 +656,3 @@ function _generateId () {

}
};
}

@@ -761,3 +759,3 @@ var pduVarbinds = [];

req.responseCb (null, varbinds);
};
}

@@ -811,3 +809,3 @@ var pduVarbinds = [];

}
};
}

@@ -829,3 +827,3 @@ var pduVarbinds = [];

Session.prototype.inform = function () {
var typeOrOid = arguments[0];;
var typeOrOid = arguments[0];
var varbinds, options = {}, responseCb;

@@ -882,3 +880,3 @@

}
};
}

@@ -1047,3 +1045,3 @@ if (typeof typeOrOid != "string")

}
};
}

@@ -1068,3 +1066,3 @@ var pduVarbinds = [];

responseCb, options) {
var req = {}
var req = {};

@@ -1136,3 +1134,3 @@ try {

return this;
}
};

@@ -1164,3 +1162,3 @@ function tableColumnsResponseCb (req, error) {

var oid = varbinds[i].oid.replace (req.rowOid, "")
var oid = varbinds[i].oid.replace (req.rowOid, "");
if (oid && oid != varbinds[i].oid) {

@@ -1209,3 +1207,3 @@ var match = oid.match (/^(\d+)\.(.+)$/);

return this;
}
};

@@ -1228,3 +1226,3 @@ function tableResponseCb (req, error) {

var oid = varbinds[i].oid.replace (req.rowOid, "")
var oid = varbinds[i].oid.replace (req.rowOid, "");
if (oid && oid != varbinds[i].oid) {

@@ -1267,3 +1265,3 @@ var match = oid.match (/^(\d+)\.(.+)$/);

return this;
}
};

@@ -1455,3 +1453,3 @@ Session.prototype.trap = function () {

return this;
}
};

@@ -1458,0 +1456,0 @@ /*****************************************************************************

{
"name": "net-snmp",
"version": "1.1.15",
"version": "1.1.16",
"description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1234,2 +1234,6 @@

## Version 1.1.16 - 29/02/2016
* Address a number of issues detected with the Mocha test suite by a user
# Roadmap

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