Comparing version 1.1.9 to 1.1.10
@@ -104,2 +104,3 @@ | ||
this.message = message; | ||
Error.captureStackTrace(this, ResponseInvalidError); | ||
} | ||
@@ -111,2 +112,3 @@ util.inherits (ResponseInvalidError, Error); | ||
this.message = message; | ||
Error.captureStackTrace(this, RequestInvalidError); | ||
} | ||
@@ -119,2 +121,3 @@ util.inherits (RequestInvalidError, Error); | ||
this.status = status; | ||
Error.captureStackTrace(this, RequestFailedError); | ||
} | ||
@@ -126,2 +129,3 @@ util.inherits (RequestFailedError, Error); | ||
this.message = message; | ||
Error.captureStackTrace(this, RequestTimedOutError); | ||
} | ||
@@ -569,3 +573,3 @@ util.inherits (RequestTimedOutError, Error); | ||
this.retries = (options && options.retries) | ||
this.retries = (options && (options.retries || options.retries == 0)) | ||
? options.retries | ||
@@ -914,3 +918,3 @@ : 1; | ||
if (error) { | ||
req.responseCb (new Error (error)); | ||
req.responseCb (error); | ||
} else { | ||
@@ -917,0 +921,0 @@ if (noWait) { |
{ | ||
"name": "net-snmp", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,1 @@ | ||
# net-snmp - [homepage][homepage] | ||
@@ -47,4 +46,4 @@ | ||
* [1065][1065] - Structure and Identification of Management Information | ||
* [1067][1067] - A Simple Network Management Protocol (version 1) | ||
* [1155][1155] - Structure and Identification of Management Information | ||
* [1098][1098] - A Simple Network Management Protocol (version 1) | ||
* [2578][2578] - Structure of Management Information Version 2 (SMIv2) | ||
@@ -56,4 +55,4 @@ * [3416][3416] - Simple Network Management Protocol (SNMP) (version 2c) | ||
[1065]: https://tools.ietf.org/rfc/rfc1065.txt "RFC 1065" | ||
[1067]: https://tools.ietf.org/rfc/rfc1067.txt "RFC 1067" | ||
[1155]: https://tools.ietf.org/rfc/rfc1155.txt "RFC 1155" | ||
[1098]: https://tools.ietf.org/rfc/rfc1098.txt "RFC 1098" | ||
[2578]: https://tools.ietf.org/rfc/rfc2578.txt "RFC 2578" | ||
@@ -1104,2 +1103,14 @@ [3416]: https://tools.ietf.org/rfc/rfc3416.txt "RFC 3416" | ||
## Version 1.1.10 - ? | ||
* Error handler in the `dgram.send()` callback in the `send()` method was | ||
creating a new instance of the `Error` class from the `error` parameter, but | ||
it was already an instance of the `Error` class (thanks Ray Solomon) | ||
* Add stack traces to Error classes exported by this module (thanks Ray | ||
Solomon) | ||
* Allow users to specify `0` retries when creating a session (thanks Ray | ||
Solomon) | ||
* Update the list of SNMP version 1 related RFCs we adhere to in the | ||
`Standards Compliance` section of the README.md file | ||
# Roadmap | ||
@@ -1109,2 +1120,6 @@ | ||
* Use a single socket per session | ||
* Allow users to specify sysUpTime for SNMP traps and informs | ||
* SNMP agent (i.e. server) | ||
* SNMP trap/inform receiver | ||
* SNMP version 3 | ||
@@ -1111,0 +1126,0 @@ |
616774
24
1581
1150