devbcn-mcp-server 0.0.0-202610270613 → 0.0.0-202610270633

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 (2) hide show
  1. package/dist/index.js +28 -15
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17282,7 +17282,8 @@ var require_formats = __commonJS(function(exports, module) {
17282
17282
  var percentTwenties = /%20/g;
17283
17283
  var Format = {
17284
17284
  RFC1738: "RFC1738",
17285
- RFC3986: "RFC3986"
17285
+ RFC3986: "RFC3986",
17286
+ WHATWG: "WHATWG"
17286
17287
  };
17287
17288
  module.exports = {
17288
17289
  default: Format.RFC3986,
@@ -17292,10 +17293,14 @@ var require_formats = __commonJS(function(exports, module) {
17292
17293
  },
17293
17294
  RFC3986: function(value) {
17294
17295
  return String(value);
17296
+ },
17297
+ WHATWG: function(value) {
17298
+ return replace.call(value, percentTwenties, "+");
17295
17299
  }
17296
17300
  },
17297
17301
  RFC1738: Format.RFC1738,
17298
- RFC3986: Format.RFC3986
17302
+ RFC3986: Format.RFC3986,
17303
+ WHATWG: Format.WHATWG
17299
17304
  };
17300
17305
  });
17301
17306
 
@@ -17599,7 +17604,7 @@ var require_utils2 = __commonJS(function(exports, module) {
17599
17604
  var arr = [];
17600
17605
  for (var i = 0;i < segment.length; ++i) {
17601
17606
  var c = segment.charCodeAt(i);
17602
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
17607
+ if (c === 45 || c === 46 || c === 95 || c === 126 && format !== formats.WHATWG || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41) || format === formats.WHATWG && c === 42) {
17603
17608
  arr[arr.length] = segment.charAt(i);
17604
17609
  continue;
17605
17610
  }
@@ -17615,9 +17620,14 @@ var require_utils2 = __commonJS(function(exports, module) {
17615
17620
  arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
17616
17621
  continue;
17617
17622
  }
17618
- i += 1;
17619
- c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
17620
- arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
17623
+ var next = segment.charCodeAt(i + 1);
17624
+ if (c <= 56319 && next >= 56320 && next <= 57343) {
17625
+ i += 1;
17626
+ c = 65536 + ((c & 1023) << 10 | next & 1023);
17627
+ arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
17628
+ } else {
17629
+ arr[arr.length] = "%EF%BF%BD";
17630
+ }
17621
17631
  }
17622
17632
  out += arr.join("");
17623
17633
  }
@@ -17697,6 +17707,7 @@ var require_utils2 = __commonJS(function(exports, module) {
17697
17707
  markOverflow,
17698
17708
  maybeMap,
17699
17709
  merge,
17710
+ setProperty,
17700
17711
  toCoercible
17701
17712
  };
17702
17713
  });
@@ -17821,7 +17832,7 @@ var require_stringify = __commonJS(function(exports, module) {
17821
17832
  var encodedPrefix = String(prefix);
17822
17833
  var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
17823
17834
  if (allowEmptyArrays && isArray(obj) && obj.length === 0 && Object.keys(obj).length === 0) {
17824
- return adjustedPrefix + "[]";
17835
+ return formatter(encoder && !encodeValuesOnly ? encoder(adjustedPrefix, defaults.encoder, charset, "key", format) : adjustedPrefix) + "[]";
17825
17836
  }
17826
17837
  for (var j = 0;j < objKeys.length; ++j) {
17827
17838
  var key = objKeys[j];
@@ -17911,7 +17922,7 @@ var require_stringify = __commonJS(function(exports, module) {
17911
17922
  filter = options.filter;
17912
17923
  obj = filter("", obj);
17913
17924
  } else if (isArray(options.filter)) {
17914
- filter = options.filter;
17925
+ filter = options.filter.slice();
17915
17926
  objKeys = filter;
17916
17927
  }
17917
17928
  var keys = [];
@@ -17937,7 +17948,7 @@ var require_stringify = __commonJS(function(exports, module) {
17937
17948
  continue;
17938
17949
  }
17939
17950
  var encodedKey = options.encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
17940
- pushToArray(keys, stringify(value, encodedKey, generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, options.filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel, options.depth, 0));
17951
+ pushToArray(keys, stringify(value, encodedKey, generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel, options.depth, 0));
17941
17952
  }
17942
17953
  var joined = keys.join(options.delimiter);
17943
17954
  var prefix = options.addQueryPrefix === true ? "?" : "";
@@ -17993,9 +18004,9 @@ var require_parse = __commonJS(function(exports, module) {
17993
18004
  copies.set(value, copy);
17994
18005
  queue[queue.length] = { source: value, target: copy };
17995
18006
  }
17996
- target[keys[j]] = copies.get(value);
18007
+ utils.setProperty(target, keys[j], copies.get(value));
17997
18008
  } else {
17998
- target[keys[j]] = value;
18009
+ utils.setProperty(target, keys[j], value);
17999
18010
  }
18000
18011
  }
18001
18012
  }
@@ -18045,7 +18056,7 @@ var require_parse = __commonJS(function(exports, module) {
18045
18056
  }
18046
18057
  return val.split(",");
18047
18058
  }
18048
- if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
18059
+ if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit && currentArrayLength > 0) {
18049
18060
  throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
18050
18061
  }
18051
18062
  return val;
@@ -18093,13 +18104,15 @@ var require_parse = __commonJS(function(exports, module) {
18093
18104
  } else {
18094
18105
  key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
18095
18106
  if (key !== null) {
18096
- val = utils.maybeMap(parseArrayValue(part.slice(pos + 1), options, isArray(obj[key]) ? obj[key].length : 0), function(encodedVal) {
18107
+ val = utils.maybeMap(parseArrayValue(part.slice(pos + 1), options, isArray(obj[key]) && (options.duplicates === "combine" || isEmptyBracketKey) ? obj[key].length : 0), function(encodedVal) {
18097
18108
  return options.decoder(encodedVal, defaults.decoder, charset, "value");
18098
18109
  });
18099
18110
  }
18100
18111
  }
18101
18112
  if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
18102
- val = interpretNumericEntities(String(val));
18113
+ val = utils.maybeMap(val, function(value) {
18114
+ return value ? interpretNumericEntities(String(value)) : value;
18115
+ });
18103
18116
  }
18104
18117
  if (isEmptyBracketKey) {
18105
18118
  val = isArray(val) ? [val] : val;
@@ -18137,7 +18150,7 @@ var require_parse = __commonJS(function(exports, module) {
18137
18150
  } else {
18138
18151
  obj = options.plainObjects ? { __proto__: null } : {};
18139
18152
  var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
18140
- var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
18153
+ var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/gi, ".") : cleanRoot;
18141
18154
  var index = parseInt(decodedRoot, 10);
18142
18155
  var isValidArrayIndex = !isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && options.parseArrays;
18143
18156
  if (!options.parseArrays && decodedRoot === "") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devbcn-mcp-server",
3
- "version": "0.0.0-202610270613",
3
+ "version": "0.0.0-202610270633",
4
4
  "homepage": "https://github.com/marcnuri-demo/blog-tutorials",
5
5
  "licenese": "Apache-2.0",
6
6
  "main": "./dist/index.js",