net-snmp 3.15.0 → 3.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +4 -0
  2. package/lib/mib.js +0 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3416,6 +3416,10 @@ Example programs are included under the module's `example` directory.
3416
3416
 
3417
3417
  * Change return of undefined or null MIB values to NoSuchInstance
3418
3418
 
3419
+ ## Version 3.15.1 - 12/10/2024
3420
+
3421
+ * Fix bundler failure due to unnecessary string length assignment
3422
+
3419
3423
  # License
3420
3424
 
3421
3425
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/lib/mib.js CHANGED
@@ -48,14 +48,12 @@ var MIB = function (dir) {
48
48
  column = (column - this.builder.length);
49
49
  var symbol = this.builder.toString().trim();
50
50
  this.builder = "";
51
- this.builder.length = 0;
52
51
  if (!this.Table[FileName]) {
53
52
  this.Table[FileName] = [];
54
53
  } else if (this.PreviousRow < row) {
55
54
  this.RowIndex++;
56
55
  this.ColumnIndex = 0;
57
56
  this.PreviousRow = row;
58
-
59
57
  }
60
58
  var R = this.RowIndex;
61
59
  var C = this.ColumnIndex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.15.0",
3
+ "version": "3.15.1",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "main": "index.js",
6
6
  "directories": {