@modelcontextprotocol/server-system-monitor 1.7.2 → 1.7.4

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/dist/index.js +50 -26
  2. package/dist/server.js +210 -147
  3. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -21162,7 +21162,7 @@ var require_stringify = __commonJS((exports, module) => {
21162
21162
  }
21163
21163
  if (obj === null) {
21164
21164
  if (strictNullHandling) {
21165
- return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, "key", format) : prefix;
21165
+ return formatter(encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, "key", format) : prefix);
21166
21166
  }
21167
21167
  obj = "";
21168
21168
  }
@@ -21180,7 +21180,9 @@ var require_stringify = __commonJS((exports, module) => {
21180
21180
  var objKeys;
21181
21181
  if (generateArrayPrefix === "comma" && isArray(obj)) {
21182
21182
  if (encodeValuesOnly && encoder) {
21183
- obj = utils.maybeMap(obj, encoder);
21183
+ obj = utils.maybeMap(obj, function(v) {
21184
+ return v == null ? v : encoder(v);
21185
+ });
21184
21186
  }
21185
21187
  objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : undefined }];
21186
21188
  } else if (isArray(filter)) {
@@ -21299,6 +21301,9 @@ var require_stringify = __commonJS((exports, module) => {
21299
21301
  var sideChannel = getSideChannel();
21300
21302
  for (var i = 0;i < objKeys.length; ++i) {
21301
21303
  var key = objKeys[i];
21304
+ if (typeof key === "undefined" || key === null) {
21305
+ continue;
21306
+ }
21302
21307
  var value = obj[key];
21303
21308
  if (options.skipNulls && value === null) {
21304
21309
  continue;
@@ -21309,9 +21314,9 @@ var require_stringify = __commonJS((exports, module) => {
21309
21314
  var prefix = options.addQueryPrefix === true ? "?" : "";
21310
21315
  if (options.charsetSentinel) {
21311
21316
  if (options.charset === "iso-8859-1") {
21312
- prefix += "utf8=%26%2310003%3B&";
21317
+ prefix += "utf8=%26%2310003%3B" + options.delimiter;
21313
21318
  } else {
21314
- prefix += "utf8=%E2%9C%93&";
21319
+ prefix += "utf8=%E2%9C%93" + options.delimiter;
21315
21320
  }
21316
21321
  }
21317
21322
  return joined.length > 0 ? prefix + joined : "";
@@ -21368,8 +21373,8 @@ var require_parse = __commonJS((exports, module) => {
21368
21373
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
21369
21374
  cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
21370
21375
  var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
21371
- var parts = cleanStr.split(options.delimiter, options.throwOnLimitExceeded ? limit + 1 : limit);
21372
- if (options.throwOnLimitExceeded && parts.length > limit) {
21376
+ var parts = cleanStr.split(options.delimiter, options.throwOnLimitExceeded && typeof limit !== "undefined" ? limit + 1 : limit);
21377
+ if (options.throwOnLimitExceeded && typeof limit !== "undefined" && parts.length > limit) {
21373
21378
  throw new RangeError("Parameter limit exceeded. Only " + limit + " parameter" + (limit === 1 ? "" : "s") + " allowed.");
21374
21379
  }
21375
21380
  var skipIndex = -1;
@@ -21471,8 +21476,8 @@ var require_parse = __commonJS((exports, module) => {
21471
21476
  }
21472
21477
  return leaf;
21473
21478
  };
21474
- var splitKeyIntoSegments = function splitKeyIntoSegments2(givenKey, options) {
21475
- var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, "[$1]") : givenKey;
21479
+ var splitKeyIntoSegments = function splitKeyIntoSegments2(originalKey, options) {
21480
+ var key = options.allowDots ? originalKey.replace(/\.([^.[]+)/g, "[$1]") : originalKey;
21476
21481
  if (options.depth <= 0) {
21477
21482
  if (!options.plainObjects && has.call(Object.prototype, key)) {
21478
21483
  if (!options.allowPrototypes) {
@@ -21481,37 +21486,56 @@ var require_parse = __commonJS((exports, module) => {
21481
21486
  }
21482
21487
  return [key];
21483
21488
  }
21484
- var brackets = /(\[[^[\]]*])/;
21485
- var child = /(\[[^[\]]*])/g;
21486
- var segment = brackets.exec(key);
21487
- var parent = segment ? key.slice(0, segment.index) : key;
21488
- var keys = [];
21489
+ var segments = [];
21490
+ var first = key.indexOf("[");
21491
+ var parent = first >= 0 ? key.slice(0, first) : key;
21489
21492
  if (parent) {
21490
21493
  if (!options.plainObjects && has.call(Object.prototype, parent)) {
21491
21494
  if (!options.allowPrototypes) {
21492
21495
  return;
21493
21496
  }
21494
21497
  }
21495
- keys[keys.length] = parent;
21496
- }
21497
- var i = 0;
21498
- while ((segment = child.exec(key)) !== null && i < options.depth) {
21499
- i += 1;
21500
- var segmentContent = segment[1].slice(1, -1);
21501
- if (!options.plainObjects && has.call(Object.prototype, segmentContent)) {
21502
- if (!options.allowPrototypes) {
21503
- return;
21498
+ segments[segments.length] = parent;
21499
+ }
21500
+ var n = key.length;
21501
+ var open = first;
21502
+ var collected = 0;
21503
+ while (open >= 0 && collected < options.depth) {
21504
+ var level = 1;
21505
+ var i = open + 1;
21506
+ var close = -1;
21507
+ while (i < n && close < 0) {
21508
+ var cu = key.charCodeAt(i);
21509
+ if (cu === 91) {
21510
+ level += 1;
21511
+ } else if (cu === 93) {
21512
+ level -= 1;
21513
+ if (level === 0) {
21514
+ close = i;
21515
+ }
21504
21516
  }
21517
+ i += 1;
21518
+ }
21519
+ if (close < 0) {
21520
+ segments[segments.length] = "[" + key.slice(open) + "]";
21521
+ return segments;
21522
+ }
21523
+ var seg = key.slice(open, close + 1);
21524
+ var content = seg.slice(1, -1);
21525
+ if (!options.plainObjects && has.call(Object.prototype, content) && !options.allowPrototypes) {
21526
+ return;
21505
21527
  }
21506
- keys[keys.length] = segment[1];
21528
+ segments[segments.length] = seg;
21529
+ collected += 1;
21530
+ open = key.indexOf("[", close + 1);
21507
21531
  }
21508
- if (segment) {
21532
+ if (open >= 0) {
21509
21533
  if (options.strictDepth === true) {
21510
21534
  throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
21511
21535
  }
21512
- keys[keys.length] = "[" + key.slice(segment.index) + "]";
21536
+ segments[segments.length] = "[" + key.slice(open) + "]";
21513
21537
  }
21514
- return keys;
21538
+ return segments;
21515
21539
  };
21516
21540
  var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
21517
21541
  if (!givenKey) {
package/dist/server.js CHANGED
@@ -17169,6 +17169,9 @@ var require_data = __commonJS((exports, module) => {
17169
17169
  var require_utils = __commonJS((exports, module) => {
17170
17170
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
17171
17171
  var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
17172
+ var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
17173
+ var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
17174
+ var isPathCharacter = RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);
17172
17175
  function stringArrayToHexStripped(input) {
17173
17176
  let acc = "";
17174
17177
  let code = 0;
@@ -17362,27 +17365,77 @@ var require_utils = __commonJS((exports, module) => {
17362
17365
  }
17363
17366
  return output.join("");
17364
17367
  }
17365
- function normalizeComponentEncoding(component, esc2) {
17366
- const func = esc2 !== true ? escape : unescape;
17367
- if (component.scheme !== undefined) {
17368
- component.scheme = func(component.scheme);
17369
- }
17370
- if (component.userinfo !== undefined) {
17371
- component.userinfo = func(component.userinfo);
17372
- }
17373
- if (component.host !== undefined) {
17374
- component.host = func(component.host);
17368
+ var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
17369
+ var HOST_DELIM_RE = /[@/?#:]/g;
17370
+ var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
17371
+ function reescapeHostDelimiters(host, isIP) {
17372
+ const re = isIP ? HOST_DELIM_NO_COLON_RE : HOST_DELIM_RE;
17373
+ re.lastIndex = 0;
17374
+ return host.replace(re, (ch) => HOST_DELIMS[ch]);
17375
+ }
17376
+ function normalizePercentEncoding(input, decodeUnreserved = false) {
17377
+ if (input.indexOf("%") === -1) {
17378
+ return input;
17375
17379
  }
17376
- if (component.path !== undefined) {
17377
- component.path = func(component.path);
17380
+ let output = "";
17381
+ for (let i = 0;i < input.length; i++) {
17382
+ if (input[i] === "%" && i + 2 < input.length) {
17383
+ const hex3 = input.slice(i + 1, i + 3);
17384
+ if (isHexPair(hex3)) {
17385
+ const normalizedHex = hex3.toUpperCase();
17386
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
17387
+ if (decodeUnreserved && isUnreserved(decoded)) {
17388
+ output += decoded;
17389
+ } else {
17390
+ output += "%" + normalizedHex;
17391
+ }
17392
+ i += 2;
17393
+ continue;
17394
+ }
17395
+ }
17396
+ output += input[i];
17378
17397
  }
17379
- if (component.query !== undefined) {
17380
- component.query = func(component.query);
17398
+ return output;
17399
+ }
17400
+ function normalizePathEncoding(input) {
17401
+ let output = "";
17402
+ for (let i = 0;i < input.length; i++) {
17403
+ if (input[i] === "%" && i + 2 < input.length) {
17404
+ const hex3 = input.slice(i + 1, i + 3);
17405
+ if (isHexPair(hex3)) {
17406
+ const normalizedHex = hex3.toUpperCase();
17407
+ const decoded = String.fromCharCode(parseInt(normalizedHex, 16));
17408
+ if (decoded !== "." && isUnreserved(decoded)) {
17409
+ output += decoded;
17410
+ } else {
17411
+ output += "%" + normalizedHex;
17412
+ }
17413
+ i += 2;
17414
+ continue;
17415
+ }
17416
+ }
17417
+ if (isPathCharacter(input[i])) {
17418
+ output += input[i];
17419
+ } else {
17420
+ output += escape(input[i]);
17421
+ }
17381
17422
  }
17382
- if (component.fragment !== undefined) {
17383
- component.fragment = func(component.fragment);
17423
+ return output;
17424
+ }
17425
+ function escapePreservingEscapes(input) {
17426
+ let output = "";
17427
+ for (let i = 0;i < input.length; i++) {
17428
+ if (input[i] === "%" && i + 2 < input.length) {
17429
+ const hex3 = input.slice(i + 1, i + 3);
17430
+ if (isHexPair(hex3)) {
17431
+ output += "%" + hex3.toUpperCase();
17432
+ i += 2;
17433
+ continue;
17434
+ }
17435
+ }
17436
+ output += escape(input[i]);
17384
17437
  }
17385
- return component;
17438
+ return output;
17386
17439
  }
17387
17440
  function recomposeAuthority(component) {
17388
17441
  const uriTokens = [];
@@ -17397,7 +17450,7 @@ var require_utils = __commonJS((exports, module) => {
17397
17450
  if (ipV6res.isIPV6 === true) {
17398
17451
  host = `[${ipV6res.escapedHost}]`;
17399
17452
  } else {
17400
- host = component.host;
17453
+ host = reescapeHostDelimiters(host, false);
17401
17454
  }
17402
17455
  }
17403
17456
  uriTokens.push(host);
@@ -17411,7 +17464,10 @@ var require_utils = __commonJS((exports, module) => {
17411
17464
  module.exports = {
17412
17465
  nonSimpleDomain,
17413
17466
  recomposeAuthority,
17414
- normalizeComponentEncoding,
17467
+ reescapeHostDelimiters,
17468
+ normalizePercentEncoding,
17469
+ normalizePathEncoding,
17470
+ escapePreservingEscapes,
17415
17471
  removeDotSegments,
17416
17472
  isIPv4,
17417
17473
  isUUID,
@@ -17596,11 +17652,11 @@ var require_schemes = __commonJS((exports, module) => {
17596
17652
 
17597
17653
  // ../../node_modules/fast-uri/index.js
17598
17654
  var require_fast_uri = __commonJS((exports, module) => {
17599
- var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
17655
+ var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
17600
17656
  var { SCHEMES, getSchemeHandler } = require_schemes();
17601
17657
  function normalize(uri, options) {
17602
17658
  if (typeof uri === "string") {
17603
- uri = serialize(parse6(uri, options), options);
17659
+ uri = normalizeString(uri, options);
17604
17660
  } else if (typeof uri === "object") {
17605
17661
  uri = parse6(serialize(uri, options), options);
17606
17662
  }
@@ -17666,19 +17722,9 @@ var require_fast_uri = __commonJS((exports, module) => {
17666
17722
  return target;
17667
17723
  }
17668
17724
  function equal(uriA, uriB, options) {
17669
- if (typeof uriA === "string") {
17670
- uriA = unescape(uriA);
17671
- uriA = serialize(normalizeComponentEncoding(parse6(uriA, options), true), { ...options, skipEscape: true });
17672
- } else if (typeof uriA === "object") {
17673
- uriA = serialize(normalizeComponentEncoding(uriA, true), { ...options, skipEscape: true });
17674
- }
17675
- if (typeof uriB === "string") {
17676
- uriB = unescape(uriB);
17677
- uriB = serialize(normalizeComponentEncoding(parse6(uriB, options), true), { ...options, skipEscape: true });
17678
- } else if (typeof uriB === "object") {
17679
- uriB = serialize(normalizeComponentEncoding(uriB, true), { ...options, skipEscape: true });
17680
- }
17681
- return uriA.toLowerCase() === uriB.toLowerCase();
17725
+ const normalizedA = normalizeComparableURI(uriA, options);
17726
+ const normalizedB = normalizeComparableURI(uriB, options);
17727
+ return normalizedA !== undefined && normalizedB !== undefined && normalizedA.toLowerCase() === normalizedB.toLowerCase();
17682
17728
  }
17683
17729
  function serialize(cmpts, opts) {
17684
17730
  const component = {
@@ -17704,12 +17750,12 @@ var require_fast_uri = __commonJS((exports, module) => {
17704
17750
  schemeHandler.serialize(component, options);
17705
17751
  if (component.path !== undefined) {
17706
17752
  if (!options.skipEscape) {
17707
- component.path = escape(component.path);
17753
+ component.path = escapePreservingEscapes(component.path);
17708
17754
  if (component.scheme !== undefined) {
17709
17755
  component.path = component.path.split("%3A").join(":");
17710
17756
  }
17711
17757
  } else {
17712
- component.path = unescape(component.path);
17758
+ component.path = normalizePercentEncoding(component.path);
17713
17759
  }
17714
17760
  }
17715
17761
  if (options.reference !== "suffix" && component.scheme) {
@@ -17744,7 +17790,16 @@ var require_fast_uri = __commonJS((exports, module) => {
17744
17790
  return uriTokens.join("");
17745
17791
  }
17746
17792
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
17747
- function parse6(uri, opts) {
17793
+ function getParseError(parsed, matches) {
17794
+ if (matches[2] !== undefined && parsed.path && parsed.path[0] !== "/") {
17795
+ return 'URI path must start with "/" when authority is present.';
17796
+ }
17797
+ if (typeof parsed.port === "number" && (parsed.port < 0 || parsed.port > 65535)) {
17798
+ return "URI port is malformed.";
17799
+ }
17800
+ return;
17801
+ }
17802
+ function parseWithStatus(uri, opts) {
17748
17803
  const options = Object.assign({}, opts);
17749
17804
  const parsed = {
17750
17805
  scheme: undefined,
@@ -17755,6 +17810,7 @@ var require_fast_uri = __commonJS((exports, module) => {
17755
17810
  query: undefined,
17756
17811
  fragment: undefined
17757
17812
  };
17813
+ let malformedAuthorityOrPort = false;
17758
17814
  let isIP = false;
17759
17815
  if (options.reference === "suffix") {
17760
17816
  if (options.scheme) {
@@ -17775,6 +17831,11 @@ var require_fast_uri = __commonJS((exports, module) => {
17775
17831
  if (isNaN(parsed.port)) {
17776
17832
  parsed.port = matches[5];
17777
17833
  }
17834
+ const parseError = getParseError(parsed, matches);
17835
+ if (parseError !== undefined) {
17836
+ parsed.error = parsed.error || parseError;
17837
+ malformedAuthorityOrPort = true;
17838
+ }
17778
17839
  if (parsed.host) {
17779
17840
  const ipv4result = isIPv4(parsed.host);
17780
17841
  if (ipv4result === false) {
@@ -17813,14 +17874,18 @@ var require_fast_uri = __commonJS((exports, module) => {
17813
17874
  parsed.scheme = unescape(parsed.scheme);
17814
17875
  }
17815
17876
  if (parsed.host !== undefined) {
17816
- parsed.host = unescape(parsed.host);
17877
+ parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP);
17817
17878
  }
17818
17879
  }
17819
17880
  if (parsed.path) {
17820
- parsed.path = escape(unescape(parsed.path));
17881
+ parsed.path = normalizePathEncoding(parsed.path);
17821
17882
  }
17822
17883
  if (parsed.fragment) {
17823
- parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
17884
+ try {
17885
+ parsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));
17886
+ } catch {
17887
+ parsed.error = parsed.error || "URI malformed";
17888
+ }
17824
17889
  }
17825
17890
  }
17826
17891
  if (schemeHandler && schemeHandler.parse) {
@@ -17829,7 +17894,29 @@ var require_fast_uri = __commonJS((exports, module) => {
17829
17894
  } else {
17830
17895
  parsed.error = parsed.error || "URI can not be parsed.";
17831
17896
  }
17832
- return parsed;
17897
+ return { parsed, malformedAuthorityOrPort };
17898
+ }
17899
+ function parse6(uri, opts) {
17900
+ return parseWithStatus(uri, opts).parsed;
17901
+ }
17902
+ function normalizeString(uri, opts) {
17903
+ return normalizeStringWithStatus(uri, opts).normalized;
17904
+ }
17905
+ function normalizeStringWithStatus(uri, opts) {
17906
+ const { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);
17907
+ return {
17908
+ normalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),
17909
+ malformedAuthorityOrPort
17910
+ };
17911
+ }
17912
+ function normalizeComparableURI(uri, opts) {
17913
+ if (typeof uri === "string") {
17914
+ const { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);
17915
+ return malformedAuthorityOrPort ? undefined : normalized;
17916
+ }
17917
+ if (typeof uri === "object") {
17918
+ return serialize(uri, opts);
17919
+ }
17833
17920
  }
17834
17921
  var fastUri = {
17835
17922
  SCHEMES,
@@ -20635,11 +20722,11 @@ var require_dist = __commonJS((exports, module) => {
20635
20722
  exports.default = formatsPlugin;
20636
20723
  });
20637
20724
 
20638
- // node_modules/systeminformation/package.json
20725
+ // ../../node_modules/systeminformation/package.json
20639
20726
  var require_package = __commonJS((exports, module) => {
20640
20727
  module.exports = {
20641
20728
  name: "systeminformation",
20642
- version: "5.31.5",
20729
+ version: "5.31.7",
20643
20730
  description: "Advanced, lightweight system and OS information library",
20644
20731
  license: "MIT",
20645
20732
  author: "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
@@ -20740,7 +20827,7 @@ var require_package = __commonJS((exports, module) => {
20740
20827
  };
20741
20828
  });
20742
20829
 
20743
- // node_modules/systeminformation/lib/util.js
20830
+ // ../../node_modules/systeminformation/lib/util.js
20744
20831
  var require_util2 = __commonJS((exports) => {
20745
20832
  var os = __require("os");
20746
20833
  var fs = __require("fs");
@@ -21450,6 +21537,20 @@ var require_util2 = __commonJS((exports) => {
21450
21537
  }
21451
21538
  return !notPolluted;
21452
21539
  }
21540
+ function sanitizeString(str, strict) {
21541
+ if (typeof strict === "undefined") {
21542
+ strict = false;
21543
+ }
21544
+ let result2 = "";
21545
+ const s = isPrototypePolluted() ? "---" : sanitizeShellString(str, strict);
21546
+ const l = mathMin(s.length, 2000);
21547
+ for (let i = 0;i <= l; i++) {
21548
+ if (s[i] !== undefined) {
21549
+ result2 = result2 + s[i];
21550
+ }
21551
+ }
21552
+ return result2;
21553
+ }
21453
21554
  function hex2bin(hex3) {
21454
21555
  return ("00000000" + parseInt(hex3, 16).toString(2)).substr(-8);
21455
21556
  }
@@ -23273,6 +23374,12 @@ var require_util2 = __commonJS((exports) => {
23273
23374
  function cleanString(str) {
23274
23375
  return str.replace(/To Be Filled By O.E.M./g, "");
23275
23376
  }
23377
+ function grep(str, pattern) {
23378
+ const result2 = str.split(`
23379
+ `).filter((line) => line.includes(pattern)).join(`
23380
+ `);
23381
+ return result2;
23382
+ }
23276
23383
  function noop() {}
23277
23384
  exports.toInt = toInt;
23278
23385
  exports.splitByNumber = splitByNumber;
@@ -23303,6 +23410,7 @@ var require_util2 = __commonJS((exports) => {
23303
23410
  exports.isRaspbian = isRaspbian;
23304
23411
  exports.sanitizeShellString = sanitizeShellString;
23305
23412
  exports.isPrototypePolluted = isPrototypePolluted;
23413
+ exports.sanitizeString = sanitizeString;
23306
23414
  exports.decodePiCpuinfo = decodePiCpuinfo;
23307
23415
  exports.getRpiGpu = getRpiGpu;
23308
23416
  exports.promiseAll = promiseAll;
@@ -23327,16 +23435,18 @@ var require_util2 = __commonJS((exports) => {
23327
23435
  exports.getAppleModel = getAppleModel;
23328
23436
  exports.checkWebsite = checkWebsite;
23329
23437
  exports.cleanString = cleanString;
23438
+ exports.grep = grep;
23330
23439
  exports.getPowershell = getPowershell;
23331
23440
  });
23332
23441
 
23333
- // node_modules/systeminformation/lib/osinfo.js
23442
+ // ../../node_modules/systeminformation/lib/osinfo.js
23334
23443
  var require_osinfo = __commonJS((exports) => {
23335
23444
  var os = __require("os");
23336
23445
  var fs = __require("fs");
23337
23446
  var util2 = require_util2();
23338
23447
  var exec = __require("child_process").exec;
23339
23448
  var execSync = __require("child_process").execSync;
23449
+ var execFile = __require("child_process").execFile;
23340
23450
  var _platform = process.platform;
23341
23451
  var _linux = _platform === "linux" || _platform === "android";
23342
23452
  var _darwin = _platform === "darwin";
@@ -24127,12 +24237,18 @@ var require_osinfo = __commonJS((exports) => {
24127
24237
  const postgresql = stdout.toString().split(`
24128
24238
  `)[0].split(" ") || [];
24129
24239
  appsObj.versions.postgresql = postgresql.length ? postgresql[postgresql.length - 1] : "";
24240
+ if (appsObj.versions.postgresql.includes("(") && postgresql.length >= 2 && !postgresql[postgresql.length - 2].includes("(")) {
24241
+ appsObj.versions.postgresql = postgresql[postgresql.length - 2];
24242
+ }
24130
24243
  } else {
24131
24244
  exec("pg_config --version", (error49, stdout2) => {
24132
24245
  if (!error49) {
24133
24246
  const postgresql = stdout2.toString().split(`
24134
24247
  `)[0].split(" ") || [];
24135
24248
  appsObj.versions.postgresql = postgresql.length ? postgresql[postgresql.length - 1] : "";
24249
+ if (appsObj.versions.postgresql.includes("(") && postgresql.length >= 2 && !postgresql[postgresql.length - 2].includes("(")) {
24250
+ appsObj.versions.postgresql = postgresql[postgresql.length - 2];
24251
+ }
24136
24252
  }
24137
24253
  });
24138
24254
  }
@@ -24621,7 +24737,7 @@ echo -n "hardware: "; cat /sys/class/dmi/id/product_uuid 2> /dev/null; echo;`;
24621
24737
  exports.uuid = uuid3;
24622
24738
  });
24623
24739
 
24624
- // node_modules/systeminformation/lib/system.js
24740
+ // ../../node_modules/systeminformation/lib/system.js
24625
24741
  var require_system = __commonJS((exports) => {
24626
24742
  var fs = __require("fs");
24627
24743
  var os = __require("os");
@@ -25414,7 +25530,7 @@ var require_system = __commonJS((exports) => {
25414
25530
  exports.chassis = chassis;
25415
25531
  });
25416
25532
 
25417
- // node_modules/systeminformation/lib/cpu.js
25533
+ // ../../node_modules/systeminformation/lib/cpu.js
25418
25534
  var require_cpu = __commonJS((exports) => {
25419
25535
  var os = __require("os");
25420
25536
  var exec = __require("child_process").exec;
@@ -27501,7 +27617,7 @@ var require_cpu = __commonJS((exports) => {
27501
27617
  exports.fullLoad = fullLoad;
27502
27618
  });
27503
27619
 
27504
- // node_modules/systeminformation/lib/memory.js
27620
+ // ../../node_modules/systeminformation/lib/memory.js
27505
27621
  var require_memory = __commonJS((exports) => {
27506
27622
  var os = __require("os");
27507
27623
  var exec = __require("child_process").exec;
@@ -27993,7 +28109,7 @@ var require_memory = __commonJS((exports) => {
27993
28109
  exports.memLayout = memLayout;
27994
28110
  });
27995
28111
 
27996
- // node_modules/systeminformation/lib/battery.js
28112
+ // ../../node_modules/systeminformation/lib/battery.js
27997
28113
  var require_battery = __commonJS((exports, module) => {
27998
28114
  var exec = __require("child_process").exec;
27999
28115
  var fs = __require("fs");
@@ -28283,7 +28399,7 @@ var require_battery = __commonJS((exports, module) => {
28283
28399
  });
28284
28400
  });
28285
28401
 
28286
- // node_modules/systeminformation/lib/graphics.js
28402
+ // ../../node_modules/systeminformation/lib/graphics.js
28287
28403
  var require_graphics = __commonJS((exports) => {
28288
28404
  var fs = __require("fs");
28289
28405
  var path = __require("path");
@@ -29359,7 +29475,7 @@ var require_graphics = __commonJS((exports) => {
29359
29475
  exports.graphics = graphics;
29360
29476
  });
29361
29477
 
29362
- // node_modules/systeminformation/lib/filesystem.js
29478
+ // ../../node_modules/systeminformation/lib/filesystem.js
29363
29479
  var require_filesystem = __commonJS((exports) => {
29364
29480
  var util2 = require_util2();
29365
29481
  var fs = __require("fs");
@@ -30949,11 +31065,13 @@ ${BSDName}|"; diskutil info /dev/${BSDName} | grep SMART;`;
30949
31065
  exports.diskLayout = diskLayout;
30950
31066
  });
30951
31067
 
30952
- // node_modules/systeminformation/lib/network.js
31068
+ // ../../node_modules/systeminformation/lib/network.js
30953
31069
  var require_network = __commonJS((exports) => {
30954
31070
  var os = __require("os");
30955
31071
  var exec = __require("child_process").exec;
30956
31072
  var execSync = __require("child_process").execSync;
31073
+ var execFileSync = __require("child_process").execFileSync;
31074
+ var readFileSync = __require("fs").readFileSync;
30957
31075
  var fs = __require("fs");
30958
31076
  var util2 = require_util2();
30959
31077
  var _platform = process.platform;
@@ -31333,18 +31451,11 @@ Profile on interface`);
31333
31451
  try {
31334
31452
  const SSID = getWindowsWirelessIfaceSSID(iface);
31335
31453
  if (SSID !== "Unknown") {
31336
- let ifaceSanitized = "";
31337
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(SSID);
31338
- const l = util2.mathMin(s.length, 32);
31339
- for (let i = 0;i <= l; i++) {
31340
- if (s[i] !== undefined) {
31341
- ifaceSanitized = ifaceSanitized + s[i];
31342
- }
31343
- }
31454
+ const ifaceSanitized = util2.sanitizeString(SSID);
31344
31455
  const profiles = execSync(`netsh wlan show profiles "${ifaceSanitized}"`, util2.execOptsWin).split(`\r
31345
31456
  `);
31346
- i8021xState = (profiles.find((l2) => l2.indexOf("802.1X") >= 0) || "").trim();
31347
- i8021xProtocol = (profiles.find((l2) => l2.indexOf("EAP") >= 0) || "").trim();
31457
+ i8021xState = (profiles.find((l) => l.indexOf("802.1X") >= 0) || "").trim();
31458
+ i8021xProtocol = (profiles.find((l) => l.indexOf("EAP") >= 0) || "").trim();
31348
31459
  }
31349
31460
  if (i8021xState.includes(":") && i8021xProtocol.includes(":")) {
31350
31461
  i8021x.state = i8021xState.split(":").pop();
@@ -31446,13 +31557,14 @@ Profile on interface`);
31446
31557
  }
31447
31558
  }
31448
31559
  function getLinuxIfaceConnectionName(interfaceName) {
31449
- const cmd = `nmcli device status 2>/dev/null | grep ${interfaceName}`;
31450
31560
  try {
31451
- const result2 = execSync(cmd, util2.execOptsLinux).toString();
31561
+ const output = execFileSync("nmcli", ["device", "status"], { ...util2.execOptsLinux, stdio: ["ignore", "pipe", "ignore"] }).toString();
31562
+ const result2 = util2.grep(output, interfaceName);
31452
31563
  const resultFormat = result2.replace(/\s+/g, " ").trim();
31453
31564
  const connectionNameLines = resultFormat.split(" ").slice(3);
31454
31565
  const connectionName = connectionNameLines.join(" ");
31455
- return connectionName !== "--" ? connectionName : "";
31566
+ const connectionNameSanitized = util2.sanitizeString(connectionName, false);
31567
+ return connectionNameSanitized !== "--" ? connectionNameSanitized : "";
31456
31568
  } catch {
31457
31569
  return "";
31458
31570
  }
@@ -31460,9 +31572,9 @@ Profile on interface`);
31460
31572
  function checkLinuxDCHPInterfaces(file2) {
31461
31573
  let result2 = [];
31462
31574
  try {
31463
- const cmd = `cat ${file2} 2> /dev/null | grep 'iface\\|source'`;
31464
- const lines = execSync(cmd, util2.execOptsLinux).toString().split(`
31465
- `);
31575
+ const content = readFileSync(file2, { encoding: "utf8" });
31576
+ const lines = content.split(`
31577
+ `).filter((l) => /iface|source/.test(l));
31466
31578
  lines.forEach((line) => {
31467
31579
  const parts = line.replace(/\s+/g, " ").trim().split(" ");
31468
31580
  if (parts.length >= 4) {
@@ -31522,9 +31634,9 @@ Profile on interface`);
31522
31634
  function getLinuxIfaceDHCPstatus(iface, connectionName, DHCPNics) {
31523
31635
  let result2 = false;
31524
31636
  if (connectionName) {
31525
- const cmd = `nmcli connection show "${connectionName}" 2>/dev/null | grep ipv4.method;`;
31526
31637
  try {
31527
- const lines = execSync(cmd, util2.execOptsLinux).toString();
31638
+ const output = execFileSync("nmcli", ["connection", "show", connectionName], { ...util2.execOptsLinux, stdio: ["ignore", "pipe", "ignore"] }).toString();
31639
+ const lines = util2.grep(output, "ipv4.method");
31528
31640
  const resultFormat = lines.replace(/\s+/g, " ").trim();
31529
31641
  const dhcStatus = resultFormat.split(" ").slice(1).toString();
31530
31642
  switch (dhcStatus) {
@@ -31545,10 +31657,9 @@ Profile on interface`);
31545
31657
  }
31546
31658
  function getDarwinIfaceDHCPstatus(iface) {
31547
31659
  let result2 = false;
31548
- const cmd = `ipconfig getpacket "${iface}" 2>/dev/null | grep lease_time;`;
31549
31660
  try {
31550
- const lines = execSync(cmd).toString().split(`
31551
- `);
31661
+ const output = execFileSync("ipconfig", ["getpacket", iface], { ...util2.execOptsLinux, stdio: ["ignore", "pipe", "ignore"] }).toString();
31662
+ const lines = util2.grep(output, "lease_time");
31552
31663
  if (lines.length && lines[0].startsWith("lease_time")) {
31553
31664
  result2 = true;
31554
31665
  }
@@ -31559,9 +31670,9 @@ Profile on interface`);
31559
31670
  }
31560
31671
  function getLinuxIfaceDNSsuffix(connectionName) {
31561
31672
  if (connectionName) {
31562
- const cmd = `nmcli connection show "${connectionName}" 2>/dev/null | grep ipv4.dns-search;`;
31563
31673
  try {
31564
- const result2 = execSync(cmd, util2.execOptsLinux).toString();
31674
+ const output = execFileSync("nmcli", ["connection", "show", connectionName], { ...util2.execOptsLinux, stdio: ["ignore", "pipe", "ignore"] }).toString();
31675
+ const result2 = util2.grep(output, "ipv4.dns-search");
31565
31676
  const resultFormat = result2.replace(/\s+/g, " ").trim();
31566
31677
  const dnsSuffix = resultFormat.split(" ").slice(1).toString();
31567
31678
  return dnsSuffix === "--" ? "Not defined" : dnsSuffix;
@@ -31574,9 +31685,9 @@ Profile on interface`);
31574
31685
  }
31575
31686
  function getLinuxIfaceIEEE8021xAuth(connectionName) {
31576
31687
  if (connectionName) {
31577
- const cmd = `nmcli connection show "${connectionName}" 2>/dev/null | grep 802-1x.eap;`;
31578
31688
  try {
31579
- const result2 = execSync(cmd, util2.execOptsLinux).toString();
31689
+ const output = execFileSync("nmcli", ["connection", "show", connectionName], { ...util2.execOptsLinux, stdio: ["ignore", "pipe", "ignore"] }).toString();
31690
+ const result2 = util2.grep(output, "802-1x.eap");
31580
31691
  const resultFormat = result2.replace(/\s+/g, " ").trim();
31581
31692
  const authenticationProtocol = resultFormat.split(" ").slice(1).toString();
31582
31693
  return authenticationProtocol === "--" ? "" : authenticationProtocol;
@@ -31703,14 +31814,7 @@ Profile on interface`);
31703
31814
  nic.ip6 = ip6link;
31704
31815
  nic.ip6subnet = ip6linksubnet;
31705
31816
  }
31706
- let ifaceSanitized = "";
31707
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(nic.iface);
31708
- const l = util2.mathMin(s.length, 2000);
31709
- for (let i = 0;i <= l; i++) {
31710
- if (s[i] !== undefined) {
31711
- ifaceSanitized = ifaceSanitized + s[i];
31712
- }
31713
- }
31817
+ const ifaceSanitized = util2.sanitizeString(nic.iface);
31714
31818
  result2.push({
31715
31819
  iface: nic.iface,
31716
31820
  ifaceName: nic.iface,
@@ -31820,14 +31924,7 @@ Profile on interface`);
31820
31924
  ip6subnet = ip6linksubnet;
31821
31925
  }
31822
31926
  const iface = dev.split(":")[0].trim();
31823
- let ifaceSanitized = "";
31824
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(iface);
31825
- const l = util2.mathMin(s.length, 2000);
31826
- for (let i = 0;i <= l; i++) {
31827
- if (s[i] !== undefined) {
31828
- ifaceSanitized = ifaceSanitized + s[i];
31829
- }
31830
- }
31927
+ const ifaceSanitized = util2.sanitizeString(iface);
31831
31928
  const cmd = `echo -n "addr_assign_type: "; cat /sys/class/net/${ifaceSanitized}/addr_assign_type 2>/dev/null; echo;
31832
31929
  echo -n "address: "; cat /sys/class/net/${ifaceSanitized}/address 2>/dev/null; echo;
31833
31930
  echo -n "addr_len: "; cat /sys/class/net/${ifaceSanitized}/addr_len 2>/dev/null; echo;
@@ -31954,14 +32051,7 @@ Profile on interface`);
31954
32051
  nics8021xInfo = getWindowsWiredProfilesInformation();
31955
32052
  dnsSuffixes = getWindowsDNSsuffixes();
31956
32053
  for (let dev in ifaces) {
31957
- let ifaceSanitized = "";
31958
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(dev);
31959
- const l = util2.mathMin(s.length, 2000);
31960
- for (let i = 0;i <= l; i++) {
31961
- if (s[i] !== undefined) {
31962
- ifaceSanitized = ifaceSanitized + s[i];
31963
- }
31964
- }
32054
+ const ifaceSanitized = util2.sanitizeString(dev);
31965
32055
  let iface = dev;
31966
32056
  let ip4 = "";
31967
32057
  let ip4subnet = "";
@@ -32196,14 +32286,7 @@ Profile on interface`);
32196
32286
  }
32197
32287
  return new Promise((resolve) => {
32198
32288
  process.nextTick(() => {
32199
- let ifaceSanitized = "";
32200
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(iface);
32201
- const l = util2.mathMin(s.length, 2000);
32202
- for (let i = 0;i <= l; i++) {
32203
- if (s[i] !== undefined) {
32204
- ifaceSanitized = ifaceSanitized + s[i];
32205
- }
32206
- }
32289
+ const ifaceSanitized = util2.sanitizeString(iface);
32207
32290
  let result2 = {
32208
32291
  iface: ifaceSanitized,
32209
32292
  operstate: "unknown",
@@ -32769,7 +32852,7 @@ Profile on interface`);
32769
32852
  exports.networkGatewayDefault = networkGatewayDefault;
32770
32853
  });
32771
32854
 
32772
- // node_modules/systeminformation/lib/wifi.js
32855
+ // ../../node_modules/systeminformation/lib/wifi.js
32773
32856
  var require_wifi = __commonJS((exports) => {
32774
32857
  var os = __require("os");
32775
32858
  var exec = __require("child_process").exec;
@@ -33173,14 +33256,7 @@ Interface `);
33173
33256
  }
33174
33257
  });
33175
33258
  if (iface) {
33176
- let ifaceSanitized = "";
33177
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(iface, true);
33178
- const l = util2.mathMin(s.length, 2000);
33179
- for (let i = 0;i <= l; i++) {
33180
- if (s[i] !== undefined) {
33181
- ifaceSanitized = ifaceSanitized + s[i];
33182
- }
33183
- }
33259
+ const ifaceSanitized = util2.sanitizeString(iface, true);
33184
33260
  const res = getWifiNetworkListIw(ifaceSanitized);
33185
33261
  if (res === -1) {
33186
33262
  setTimeout(() => {
@@ -33314,26 +33390,12 @@ Interface `);
33314
33390
  const ifaces = ifaceListLinux();
33315
33391
  const networkList = getWifiNetworkListNmi();
33316
33392
  ifaces.forEach((ifaceDetail) => {
33317
- let ifaceSanitized = "";
33318
- const s = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(ifaceDetail.iface, true);
33319
- const ll = util2.mathMin(s.length, 2000);
33320
- for (let i = 0;i <= ll; i++) {
33321
- if (s[i] !== undefined) {
33322
- ifaceSanitized = ifaceSanitized + s[i];
33323
- }
33324
- }
33393
+ const ifaceSanitized = util2.sanitizeString(ifaceDetail.iface, true);
33325
33394
  const nmiDetails = nmiDeviceLinux(ifaceSanitized);
33326
33395
  const wpaDetails = wpaConnectionLinux(ifaceSanitized);
33327
33396
  const ssid = nmiDetails.ssid || wpaDetails.ssid;
33328
33397
  const network = networkList.filter((nw) => nw.ssid === ssid);
33329
- let ssidSanitized = "";
33330
- const t = util2.isPrototypePolluted() ? "---" : util2.sanitizeShellString(ssid, true);
33331
- const l = util2.mathMin(t.length, 32);
33332
- for (let i = 0;i <= l; i++) {
33333
- if (t[i] !== undefined) {
33334
- ssidSanitized = ssidSanitized + t[i];
33335
- }
33336
- }
33398
+ const ssidSanitized = util2.sanitizeString(ssid, true);
33337
33399
  const nmiConnection = nmiConnectionLinux(ssidSanitized);
33338
33400
  const channel = network && network.length && network[0].channel ? network[0].channel : wpaDetails.channel ? wpaDetails.channel : null;
33339
33401
  const bssid = network && network.length && network[0].bssid ? network[0].bssid : wpaDetails.bssid ? wpaDetails.bssid : null;
@@ -33481,7 +33543,8 @@ Interface `);
33481
33543
  if (_linux) {
33482
33544
  const ifaces = ifaceListLinux();
33483
33545
  ifaces.forEach((ifaceDetail) => {
33484
- const nmiDetails = nmiDeviceLinux(ifaceDetail.iface);
33546
+ const ifaceSanitized = util2.sanitizeString(ifaceDetail.iface, true);
33547
+ const nmiDetails = nmiDeviceLinux(ifaceSanitized);
33485
33548
  result2.push({
33486
33549
  id: ifaceDetail.id,
33487
33550
  iface: ifaceDetail.iface,
@@ -33575,7 +33638,7 @@ Interface `);
33575
33638
  exports.wifiInterfaces = wifiInterfaces;
33576
33639
  });
33577
33640
 
33578
- // node_modules/systeminformation/lib/processes.js
33641
+ // ../../node_modules/systeminformation/lib/processes.js
33579
33642
  var require_processes = __commonJS((exports) => {
33580
33643
  var os = __require("os");
33581
33644
  var fs = __require("fs");
@@ -34808,7 +34871,7 @@ var require_processes = __commonJS((exports) => {
34808
34871
  exports.processLoad = processLoad;
34809
34872
  });
34810
34873
 
34811
- // node_modules/systeminformation/lib/users.js
34874
+ // ../../node_modules/systeminformation/lib/users.js
34812
34875
  var require_users = __commonJS((exports) => {
34813
34876
  var exec = __require("child_process").exec;
34814
34877
  var util2 = require_util2();
@@ -35176,7 +35239,7 @@ var require_users = __commonJS((exports) => {
35176
35239
  exports.users = users;
35177
35240
  });
35178
35241
 
35179
- // node_modules/systeminformation/lib/internet.js
35242
+ // ../../node_modules/systeminformation/lib/internet.js
35180
35243
  var require_internet = __commonJS((exports) => {
35181
35244
  var util2 = require_util2();
35182
35245
  var _platform = process.platform;
@@ -35388,7 +35451,7 @@ var require_internet = __commonJS((exports) => {
35388
35451
  exports.inetLatency = inetLatency;
35389
35452
  });
35390
35453
 
35391
- // node_modules/systeminformation/lib/dockerSocket.js
35454
+ // ../../node_modules/systeminformation/lib/dockerSocket.js
35392
35455
  var require_dockerSocket = __commonJS((exports, module) => {
35393
35456
  var net = __require("net");
35394
35457
  var isWin = __require("os").type() === "Windows_NT";
@@ -35691,7 +35754,7 @@ var require_dockerSocket = __commonJS((exports, module) => {
35691
35754
  module.exports = DockerSocket;
35692
35755
  });
35693
35756
 
35694
- // node_modules/systeminformation/lib/docker.js
35757
+ // ../../node_modules/systeminformation/lib/docker.js
35695
35758
  var require_docker = __commonJS((exports) => {
35696
35759
  var util2 = require_util2();
35697
35760
  var DockerSocket = require_dockerSocket();
@@ -36368,7 +36431,7 @@ var require_docker = __commonJS((exports) => {
36368
36431
  exports.dockerAll = dockerAll;
36369
36432
  });
36370
36433
 
36371
- // node_modules/systeminformation/lib/virtualbox.js
36434
+ // ../../node_modules/systeminformation/lib/virtualbox.js
36372
36435
  var require_virtualbox = __commonJS((exports) => {
36373
36436
  var os = __require("os");
36374
36437
  var exec = __require("child_process").exec;
@@ -36463,7 +36526,7 @@ var require_virtualbox = __commonJS((exports) => {
36463
36526
  exports.vboxInfo = vboxInfo;
36464
36527
  });
36465
36528
 
36466
- // node_modules/systeminformation/lib/printer.js
36529
+ // ../../node_modules/systeminformation/lib/printer.js
36467
36530
  var require_printer = __commonJS((exports) => {
36468
36531
  var exec = __require("child_process").exec;
36469
36532
  var util2 = require_util2();
@@ -36649,7 +36712,7 @@ printer `);
36649
36712
  exports.printer = printer;
36650
36713
  });
36651
36714
 
36652
- // node_modules/systeminformation/lib/usb.js
36715
+ // ../../node_modules/systeminformation/lib/usb.js
36653
36716
  var require_usb = __commonJS((exports) => {
36654
36717
  var exec = __require("child_process").exec;
36655
36718
  var util2 = require_util2();
@@ -36931,7 +36994,7 @@ Bus `);
36931
36994
  exports.usb = usb;
36932
36995
  });
36933
36996
 
36934
- // node_modules/systeminformation/lib/audio.js
36997
+ // ../../node_modules/systeminformation/lib/audio.js
36935
36998
  var require_audio = __commonJS((exports) => {
36936
36999
  var exec = __require("child_process").exec;
36937
37000
  var execSync = __require("child_process").execSync;
@@ -37180,7 +37243,7 @@ var require_audio = __commonJS((exports) => {
37180
37243
  exports.audio = audio;
37181
37244
  });
37182
37245
 
37183
- // node_modules/systeminformation/lib/bluetoothVendors.js
37246
+ // ../../node_modules/systeminformation/lib/bluetoothVendors.js
37184
37247
  var require_bluetoothVendors = __commonJS((exports, module) => {
37185
37248
  module.exports = {
37186
37249
  0: "Ericsson Technology Licensing",
@@ -38320,7 +38383,7 @@ var require_bluetoothVendors = __commonJS((exports, module) => {
38320
38383
  };
38321
38384
  });
38322
38385
 
38323
- // node_modules/systeminformation/lib/bluetooth.js
38386
+ // ../../node_modules/systeminformation/lib/bluetooth.js
38324
38387
  var require_bluetooth = __commonJS((exports) => {
38325
38388
  var exec = __require("child_process").exec;
38326
38389
  var execSync = __require("child_process").execSync;
@@ -38572,7 +38635,7 @@ var require_bluetooth = __commonJS((exports) => {
38572
38635
  exports.bluetoothDevices = bluetoothDevices;
38573
38636
  });
38574
38637
 
38575
- // node_modules/systeminformation/lib/index.js
38638
+ // ../../node_modules/systeminformation/lib/index.js
38576
38639
  var require_lib = __commonJS((exports) => {
38577
38640
  var lib_version = require_package().version;
38578
38641
  var util2 = require_util2();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelcontextprotocol/server-system-monitor",
3
- "version": "1.7.2",
3
+ "version": "1.7.4",
4
4
  "type": "module",
5
5
  "description": "System monitor MCP App Server with real-time stats",
6
6
  "repository": {
@@ -26,12 +26,12 @@
26
26
  "serve": "bun --watch main.ts"
27
27
  },
28
28
  "dependencies": {
29
- "@modelcontextprotocol/ext-apps": "^1.0.0",
29
+ "@modelcontextprotocol/ext-apps": "^1.7.0",
30
30
  "@modelcontextprotocol/sdk": "^1.29.0",
31
31
  "chart.js": "^4.4.0",
32
32
  "cors": "^2.8.5",
33
33
  "express": "^5.1.0",
34
- "systeminformation": "^5.31.5",
34
+ "systeminformation": "^5.31.6",
35
35
  "zod": "^4.1.13"
36
36
  },
37
37
  "devDependencies": {