Comparing version 3.10.3 to 3.10.4
@@ -768,4 +768,11 @@ var fs = require('fs'); | ||
let match = entry.match(/(.*)\((.+)\)$/); | ||
midID.push(match[2]); | ||
midOD.push(match[1]); | ||
// cater for unannotated middle entries | ||
// e.g. { enterprises 2699 1 1 } | ||
if ( ! match ) { | ||
midID.push(entry); | ||
midOD.push(entry); | ||
} else { | ||
midID.push(match[2]); | ||
midOD.push(match[1]); | ||
} | ||
} | ||
@@ -772,0 +779,0 @@ midID.push(oid); |
{ | ||
"name": "net-snmp", | ||
"version": "3.10.3", | ||
"version": "3.10.4", | ||
"description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
1665063
7901
3387