devbcn-mcp-server 0.0.0-202604030509 → 0.0.0-202604130516

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/bun.lock +5 -5
  2. package/dist/index.js +91 -25
  3. package/package.json +1 -1
package/bun.lock CHANGED
@@ -11,7 +11,7 @@
11
11
  },
12
12
  },
13
13
  "packages": {
14
- "@hono/node-server": ["@hono/node-server@1.19.12", "", { "peerDependencies": { "hono": "^4" } }, "sha512-txsUW4SQ1iilgE0l9/e9VQWmELXifEFvmdA1j6WFh/aFPj99hIntrSsq/if0UWyGVkmrRPKA1wCeP+UCr1B9Uw=="],
14
+ "@hono/node-server": ["@hono/node-server@1.19.14", "", { "peerDependencies": { "hono": "^4" } }, "sha512-GwtvgtXxnWsucXvbQXkRgqksiH2Qed37H9xHZocE5sA3N8O8O8/8FA3uclQXxXVzc9XBZuEOMK7+r02FmSpHtw=="],
15
15
 
16
16
  "@modelcontextprotocol/sdk": ["@modelcontextprotocol/sdk@1.29.0", "", { "dependencies": { "@hono/node-server": "^1.19.9", "ajv": "^8.17.1", "ajv-formats": "^3.0.1", "content-type": "^1.0.5", "cors": "^2.8.5", "cross-spawn": "^7.0.5", "eventsource": "^3.0.2", "eventsource-parser": "^3.0.0", "express": "^5.2.1", "express-rate-limit": "^8.2.1", "hono": "^4.11.4", "jose": "^6.1.3", "json-schema-typed": "^8.0.2", "pkce-challenge": "^5.0.0", "raw-body": "^3.0.0", "zod": "^3.25 || ^4.0", "zod-to-json-schema": "^3.25.1" }, "peerDependencies": { "@cfworker/json-schema": "^4.1.1" }, "optionalPeers": ["@cfworker/json-schema"] }, "sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ=="],
17
17
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  "call-bound": ["call-bound@1.0.4", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "get-intrinsic": "^1.3.0" } }, "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg=="],
31
31
 
32
- "content-disposition": ["content-disposition@1.0.1", "", {}, "sha512-oIXISMynqSqm241k6kcQ5UwttDILMK4BiurCfGEREw6+X9jkkpEe5T9FZaApyLGGOnFuyMWZpdolTXMtvEJ08Q=="],
32
+ "content-disposition": ["content-disposition@1.1.0", "", {}, "sha512-5jRCH9Z/+DRP7rkvY83B+yGIGX96OYdJmzngqnw2SBSxqCFPd0w2km3s5iawpGX8krnwSGmF0FW5Nhr0Hfai3g=="],
33
33
 
34
34
  "content-type": ["content-type@1.0.5", "", {}, "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="],
35
35
 
@@ -91,7 +91,7 @@
91
91
 
92
92
  "hasown": ["hasown@2.0.2", "", { "dependencies": { "function-bind": "^1.1.2" } }, "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ=="],
93
93
 
94
- "hono": ["hono@4.12.10", "", {}, "sha512-mx/p18PLy5og9ufies2GOSUqep98Td9q4i/EF6X7yJgAiIopxqdfIO3jbqsi3jRgTgw88jMDEzVKi+V2EF+27w=="],
94
+ "hono": ["hono@4.12.12", "", {}, "sha512-p1JfQMKaceuCbpJKAPKVqyqviZdS0eUxH9v82oWo1kb9xjQ5wA6iP3FNVAPDFlz5/p7d45lO+BpSk1tuSZMF4Q=="],
95
95
 
96
96
  "http-errors": ["http-errors@2.0.1", "", { "dependencies": { "depd": "~2.0.0", "inherits": "~2.0.4", "setprototypeof": "~1.2.0", "statuses": "~2.0.2", "toidentifier": "~1.0.1" } }, "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ=="],
97
97
 
@@ -145,7 +145,7 @@
145
145
 
146
146
  "proxy-addr": ["proxy-addr@2.0.7", "", { "dependencies": { "forwarded": "0.2.0", "ipaddr.js": "1.9.1" } }, "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg=="],
147
147
 
148
- "qs": ["qs@6.15.0", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ=="],
148
+ "qs": ["qs@6.15.1", "", { "dependencies": { "side-channel": "^1.1.0" } }, "sha512-6YHEFRL9mfgcAvql/XhwTvf5jKcOiiupt2FiJxHkiX1z4j7WL8J/jRHYLluORvc1XxB5rV20KoeK00gVJamspg=="],
149
149
 
150
150
  "range-parser": ["range-parser@1.2.1", "", {}, "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="],
151
151
 
@@ -169,7 +169,7 @@
169
169
 
170
170
  "side-channel": ["side-channel@1.1.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3", "side-channel-list": "^1.0.0", "side-channel-map": "^1.0.1", "side-channel-weakmap": "^1.0.2" } }, "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw=="],
171
171
 
172
- "side-channel-list": ["side-channel-list@1.0.0", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.3" } }, "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA=="],
172
+ "side-channel-list": ["side-channel-list@1.0.1", "", { "dependencies": { "es-errors": "^1.3.0", "object-inspect": "^1.13.4" } }, "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w=="],
173
173
 
174
174
  "side-channel-map": ["side-channel-map@1.0.1", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.5", "object-inspect": "^1.13.3" } }, "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA=="],
175
175
 
package/dist/index.js CHANGED
@@ -16212,9 +16212,8 @@ var require_side_channel_list = __commonJS((exports, module) => {
16212
16212
  }
16213
16213
  },
16214
16214
  delete: function(key) {
16215
- var root = $o && $o.next;
16216
16215
  var deletedNode = listDelete($o, key);
16217
- if (deletedNode && root && root === deletedNode) {
16216
+ if (deletedNode && $o && !$o.next) {
16218
16217
  $o = undefined;
16219
16218
  }
16220
16219
  return !!deletedNode;
@@ -17658,8 +17657,8 @@ var require_parse = __commonJS((exports, module) => {
17658
17657
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
17659
17658
  cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
17660
17659
  var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
17661
- var parts = cleanStr.split(options.delimiter, options.throwOnLimitExceeded ? limit + 1 : limit);
17662
- if (options.throwOnLimitExceeded && parts.length > limit) {
17660
+ var parts = cleanStr.split(options.delimiter, options.throwOnLimitExceeded && typeof limit !== "undefined" ? limit + 1 : limit);
17661
+ if (options.throwOnLimitExceeded && typeof limit !== "undefined" && parts.length > limit) {
17663
17662
  throw new RangeError("Parameter limit exceeded. Only " + limit + " parameter" + (limit === 1 ? "" : "s") + " allowed.");
17664
17663
  }
17665
17664
  var skipIndex = -1;
@@ -21747,10 +21746,8 @@ var require_content_disposition = __commonJS((exports, module) => {
21747
21746
  */
21748
21747
  module.exports = contentDisposition;
21749
21748
  module.exports.parse = parse;
21750
- var basename = __require("path").basename;
21749
+ var utf8Decoder = new TextDecoder("utf-8");
21751
21750
  var ENCODE_URL_ATTR_CHAR_REGEXP = /[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g;
21752
- var HEX_ESCAPE_REGEXP = /%[0-9A-Fa-f]{2}/;
21753
- var HEX_ESCAPE_REPLACE_REGEXP = /%([0-9A-Fa-f]{2})/g;
21754
21751
  var NON_LATIN1_REGEXP = /[^\x20-\x7e\xa0-\xff]/g;
21755
21752
  var QESC_REGEXP = /\\([\u0000-\u007f])/g;
21756
21753
  var QUOTE_REGEXP = /([\\"])/g;
@@ -21786,7 +21783,7 @@ var require_content_disposition = __commonJS((exports, module) => {
21786
21783
  var isQuotedString = TEXT_REGEXP.test(name);
21787
21784
  var fallbackName = typeof fallback !== "string" ? fallback && getlatin1(name) : basename(fallback);
21788
21785
  var hasFallback = typeof fallbackName === "string" && fallbackName !== name;
21789
- if (hasFallback || !isQuotedString || HEX_ESCAPE_REGEXP.test(name)) {
21786
+ if (hasFallback || !isQuotedString || hasHexEscape(name)) {
21790
21787
  params["filename*"] = name;
21791
21788
  }
21792
21789
  if (isQuotedString || hasFallback) {
@@ -21813,26 +21810,32 @@ var require_content_disposition = __commonJS((exports, module) => {
21813
21810
  return string;
21814
21811
  }
21815
21812
  function decodefield(str) {
21816
- var match = EXT_VALUE_REGEXP.exec(str);
21813
+ const match = EXT_VALUE_REGEXP.exec(str);
21817
21814
  if (!match) {
21818
21815
  throw new TypeError("invalid extended field value");
21819
21816
  }
21820
- var charset = match[1].toLowerCase();
21821
- var encoded = match[2];
21822
- var value;
21823
- var binary = encoded.replace(HEX_ESCAPE_REPLACE_REGEXP, pdecode);
21817
+ const charset = match[1].toLowerCase();
21818
+ const encoded = match[2];
21824
21819
  switch (charset) {
21825
- case "iso-8859-1":
21826
- value = getlatin1(binary);
21827
- break;
21820
+ case "iso-8859-1": {
21821
+ const binary = decodeHexEscapes(encoded);
21822
+ return getlatin1(binary);
21823
+ }
21828
21824
  case "utf-8":
21829
- case "utf8":
21830
- value = Buffer.from(binary, "binary").toString("utf8");
21831
- break;
21832
- default:
21833
- throw new TypeError("unsupported charset in extended field");
21825
+ case "utf8": {
21826
+ try {
21827
+ return decodeURIComponent(encoded);
21828
+ } catch {
21829
+ const binary = decodeHexEscapes(encoded);
21830
+ const bytes = new Uint8Array(binary.length);
21831
+ for (let idx = 0;idx < binary.length; idx++) {
21832
+ bytes[idx] = binary.charCodeAt(idx);
21833
+ }
21834
+ return utf8Decoder.decode(bytes);
21835
+ }
21836
+ }
21834
21837
  }
21835
- return value;
21838
+ throw new TypeError("unsupported charset in extended field");
21836
21839
  }
21837
21840
  function getlatin1(val) {
21838
21841
  return String(val).replace(NON_LATIN1_REGEXP, "?");
@@ -21882,9 +21885,6 @@ var require_content_disposition = __commonJS((exports, module) => {
21882
21885
  }
21883
21886
  return new ContentDisposition(type, params);
21884
21887
  }
21885
- function pdecode(str, hex) {
21886
- return String.fromCharCode(parseInt(hex, 16));
21887
- }
21888
21888
  function pencode(char) {
21889
21889
  return "%" + String(char).charCodeAt(0).toString(16).toUpperCase();
21890
21890
  }
@@ -21901,6 +21901,50 @@ var require_content_disposition = __commonJS((exports, module) => {
21901
21901
  this.type = type;
21902
21902
  this.parameters = parameters;
21903
21903
  }
21904
+ function basename(path) {
21905
+ const normalized = path.replaceAll("\\", "/");
21906
+ let end = normalized.length;
21907
+ while (end > 0 && normalized[end - 1] === "/") {
21908
+ end--;
21909
+ }
21910
+ if (end === 0) {
21911
+ return "";
21912
+ }
21913
+ let start = end - 1;
21914
+ while (start >= 0 && normalized[start] !== "/") {
21915
+ start--;
21916
+ }
21917
+ return normalized.slice(start + 1, end);
21918
+ }
21919
+ function isHexDigit(char) {
21920
+ const code = char.charCodeAt(0);
21921
+ return code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102;
21922
+ }
21923
+ function hasHexEscape(str) {
21924
+ const maxIndex = str.length - 3;
21925
+ let lastIndex = -1;
21926
+ while ((lastIndex = str.indexOf("%", lastIndex + 1)) !== -1 && lastIndex <= maxIndex) {
21927
+ if (isHexDigit(str[lastIndex + 1]) && isHexDigit(str[lastIndex + 2])) {
21928
+ return true;
21929
+ }
21930
+ }
21931
+ return false;
21932
+ }
21933
+ function decodeHexEscapes(str) {
21934
+ const firstEscape = str.indexOf("%");
21935
+ if (firstEscape === -1)
21936
+ return str;
21937
+ let result = str.slice(0, firstEscape);
21938
+ for (let idx = firstEscape;idx < str.length; idx++) {
21939
+ if (str[idx] === "%" && idx + 2 < str.length && isHexDigit(str[idx + 1]) && isHexDigit(str[idx + 2])) {
21940
+ result += String.fromCharCode(Number.parseInt(str[idx + 1] + str[idx + 2], 16));
21941
+ idx += 2;
21942
+ } else {
21943
+ result += str[idx];
21944
+ }
21945
+ }
21946
+ return result;
21947
+ }
21904
21948
  });
21905
21949
 
21906
21950
  // node_modules/cookie-signature/index.js
@@ -51830,6 +51874,17 @@ var requestPrototype = {
51830
51874
  }
51831
51875
  });
51832
51876
  });
51877
+ Object.defineProperty(requestPrototype, Symbol.for("nodejs.util.inspect.custom"), {
51878
+ value: function(depth, options, inspectFn) {
51879
+ const props = {
51880
+ method: this.method,
51881
+ url: this.url,
51882
+ headers: this.headers,
51883
+ nativeRequest: this[requestCache]
51884
+ };
51885
+ return `Request (lightweight) ${inspectFn(props, { ...options, depth: depth == null ? null : depth - 1 })}`;
51886
+ }
51887
+ });
51833
51888
  Object.setPrototypeOf(requestPrototype, Request.prototype);
51834
51889
  var newRequest = (incoming, defaultHostname) => {
51835
51890
  const req = Object.create(requestPrototype);
@@ -51930,6 +51985,17 @@ var Response2 = class _Response {
51930
51985
  }
51931
51986
  });
51932
51987
  });
51988
+ Object.defineProperty(Response2.prototype, Symbol.for("nodejs.util.inspect.custom"), {
51989
+ value: function(depth, options, inspectFn) {
51990
+ const props = {
51991
+ status: this.status,
51992
+ headers: this.headers,
51993
+ ok: this.ok,
51994
+ nativeResponse: this[responseCache]
51995
+ };
51996
+ return `Response (lightweight) ${inspectFn(props, { ...options, depth: depth == null ? null : depth - 1 })}`;
51997
+ }
51998
+ });
51933
51999
  Object.setPrototypeOf(Response2, GlobalResponse);
51934
52000
  Object.setPrototypeOf(Response2.prototype, GlobalResponse.prototype);
51935
52001
  async function readWithoutBlocking(readPromise) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devbcn-mcp-server",
3
- "version": "0.0.0-202604030509",
3
+ "version": "0.0.0-202604130516",
4
4
  "homepage": "https://github.com/marcnuri-demo/blog-tutorials",
5
5
  "licenese": "Apache-2.0",
6
6
  "main": "./dist/index.js",