devbcn-mcp-server 0.0.0-202512011027 → 0.0.0-202512020553
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.
- package/bun.lock +3 -3
- package/dist/index.js +25 -14
- package/package.json +2 -2
package/bun.lock
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"name": "devbcn-mcp-server",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@modelcontextprotocol/sdk": "1.23.0",
|
|
9
|
-
"express": "5.
|
|
9
|
+
"express": "5.2.0",
|
|
10
10
|
},
|
|
11
11
|
},
|
|
12
12
|
},
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
"eventsource-parser": ["eventsource-parser@3.0.6", "", {}, "sha512-Vo1ab+QXPzZ4tCa8SwIHJFaSzy4R6SHf7BY79rFBDf0idraZWAkYrDjDj8uWaSm3S2TK+hJ7/t1CEmZ7jXw+pg=="],
|
|
65
65
|
|
|
66
|
-
"express": ["express@5.
|
|
66
|
+
"express": ["express@5.2.0", "", { "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", "content-disposition": "^1.0.0", "content-type": "^1.0.5", "cookie": "^0.7.1", "cookie-signature": "^1.2.1", "debug": "^4.4.0", "depd": "^2.0.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "finalhandler": "^2.1.0", "fresh": "^2.0.0", "http-errors": "^2.0.0", "merge-descriptors": "^2.0.0", "mime-types": "^3.0.0", "on-finished": "^2.4.1", "once": "^1.4.0", "parseurl": "^1.3.3", "proxy-addr": "^2.0.7", "qs": "^6.14.0", "range-parser": "^1.2.1", "router": "^2.2.0", "send": "^1.1.0", "serve-static": "^2.2.0", "statuses": "^2.0.1", "type-is": "^2.0.1", "vary": "^1.1.2" } }, "sha512-XdpJDLxfztVY59X0zPI6sibRiGcxhTPXRD3IhJmjKf2jwMvkRGV1j7loB8U+heeamoU3XvihAaGRTR4aXXUN3A=="],
|
|
67
67
|
|
|
68
68
|
"express-rate-limit": ["express-rate-limit@7.5.1", "", { "peerDependencies": { "express": ">= 4.11" } }, "sha512-7iN8iPMDzOMHPUYllBEsQdWVB6fPDMPqwjBaFrgr4Jgr/+okjvzAy+UHlYYL/Vs0OsOrMkwS6PJDkFlJwoxUnw=="],
|
|
69
69
|
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
"fast-uri": ["fast-uri@3.1.0", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="],
|
|
73
73
|
|
|
74
|
-
"finalhandler": ["finalhandler@2.1.
|
|
74
|
+
"finalhandler": ["finalhandler@2.1.1", "", { "dependencies": { "debug": "^4.4.0", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "on-finished": "^2.4.1", "parseurl": "^1.3.3", "statuses": "^2.0.1" } }, "sha512-S8KoZgRZN+a5rNwqTxlZZePjT/4cnm0ROV70LedRHZ0p8u9fRID0hJUZQpkKLzro8LfmC8sx23bY6tVNxv8pQA=="],
|
|
75
75
|
|
|
76
76
|
"forwarded": ["forwarded@0.2.0", "", {}, "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="],
|
|
77
77
|
|
package/dist/index.js
CHANGED
|
@@ -19217,7 +19217,8 @@ var require_utils3 = __commonJS((exports) => {
|
|
|
19217
19217
|
var mime = require_mime_types();
|
|
19218
19218
|
var proxyaddr = require_proxy_addr();
|
|
19219
19219
|
var qs = require_lib2();
|
|
19220
|
-
var querystring = __require("querystring");
|
|
19220
|
+
var querystring = __require("node:querystring");
|
|
19221
|
+
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
19221
19222
|
exports.methods = METHODS.map((method) => method.toLowerCase());
|
|
19222
19223
|
exports.etag = createETagGenerator({ weak: false });
|
|
19223
19224
|
exports.wetag = createETagGenerator({ weak: true });
|
|
@@ -19323,13 +19324,13 @@ var require_utils3 = __commonJS((exports) => {
|
|
|
19323
19324
|
};
|
|
19324
19325
|
function createETagGenerator(options) {
|
|
19325
19326
|
return function generateETag(body, encoding) {
|
|
19326
|
-
var buf = !
|
|
19327
|
+
var buf = !Buffer2.isBuffer(body) ? Buffer2.from(body, encoding) : body;
|
|
19327
19328
|
return etag(buf, options);
|
|
19328
19329
|
};
|
|
19329
19330
|
}
|
|
19330
19331
|
function parseExtendedQueryString(str) {
|
|
19331
19332
|
return qs.parse(str, {
|
|
19332
|
-
|
|
19333
|
+
plainObjects: true
|
|
19333
19334
|
});
|
|
19334
19335
|
}
|
|
19335
19336
|
});
|
|
@@ -20690,7 +20691,7 @@ var require_application = __commonJS((exports, module) => {
|
|
|
20690
20691
|
};
|
|
20691
20692
|
app.listen = function listen() {
|
|
20692
20693
|
var server = http.createServer(this);
|
|
20693
|
-
var args =
|
|
20694
|
+
var args = slice.call(arguments);
|
|
20694
20695
|
if (typeof args[args.length - 1] === "function") {
|
|
20695
20696
|
var done = args[args.length - 1] = once(args[args.length - 1]);
|
|
20696
20697
|
server.once("error", done);
|
|
@@ -21512,9 +21513,8 @@ var require_request = __commonJS((exports, module) => {
|
|
|
21512
21513
|
var accept = accepts(this);
|
|
21513
21514
|
return accept.charsets.apply(accept, arguments);
|
|
21514
21515
|
};
|
|
21515
|
-
req.acceptsLanguages = function() {
|
|
21516
|
-
|
|
21517
|
-
return accept.languages.apply(accept, arguments);
|
|
21516
|
+
req.acceptsLanguages = function(...languages) {
|
|
21517
|
+
return accepts(this).languages(...languages);
|
|
21518
21518
|
};
|
|
21519
21519
|
req.range = function range(size, options) {
|
|
21520
21520
|
var range = this.get("Range");
|
|
@@ -21541,9 +21541,9 @@ var require_request = __commonJS((exports, module) => {
|
|
|
21541
21541
|
return typeis(this, arr);
|
|
21542
21542
|
};
|
|
21543
21543
|
defineGetter(req, "protocol", function protocol() {
|
|
21544
|
-
var proto = this.
|
|
21544
|
+
var proto = this.socket.encrypted ? "https" : "http";
|
|
21545
21545
|
var trust = this.app.get("trust proxy fn");
|
|
21546
|
-
if (!trust(this.
|
|
21546
|
+
if (!trust(this.socket.remoteAddress, 0)) {
|
|
21547
21547
|
return proto;
|
|
21548
21548
|
}
|
|
21549
21549
|
var header = this.get("X-Forwarded-Proto") || proto;
|
|
@@ -21577,7 +21577,7 @@ var require_request = __commonJS((exports, module) => {
|
|
|
21577
21577
|
defineGetter(req, "host", function host() {
|
|
21578
21578
|
var trust = this.app.get("trust proxy fn");
|
|
21579
21579
|
var val = this.get("X-Forwarded-Host");
|
|
21580
|
-
if (!val || !trust(this.
|
|
21580
|
+
if (!val || !trust(this.socket.remoteAddress, 0)) {
|
|
21581
21581
|
val = this.get("Host");
|
|
21582
21582
|
} else if (val.indexOf(",") !== -1) {
|
|
21583
21583
|
val = val.substring(0, val.indexOf(",")).trimRight();
|
|
@@ -22572,6 +22572,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
22572
22572
|
*/
|
|
22573
22573
|
var contentDisposition = require_content_disposition();
|
|
22574
22574
|
var createError = require_http_errors();
|
|
22575
|
+
var deprecate = require_depd()("express");
|
|
22575
22576
|
var encodeUrl = require_encodeurl();
|
|
22576
22577
|
var escapeHtml = require_escape_html();
|
|
22577
22578
|
var http = __require("node:http");
|
|
@@ -22589,6 +22590,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
22589
22590
|
var extname = path.extname;
|
|
22590
22591
|
var resolve = path.resolve;
|
|
22591
22592
|
var vary = require_vary();
|
|
22593
|
+
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
22592
22594
|
var res = Object.create(http.ServerResponse.prototype);
|
|
22593
22595
|
module.exports = res;
|
|
22594
22596
|
res.status = function status(code) {
|
|
@@ -22652,12 +22654,12 @@ var require_response = __commonJS((exports, module) => {
|
|
|
22652
22654
|
var generateETag = !this.get("ETag") && typeof etagFn === "function";
|
|
22653
22655
|
var len;
|
|
22654
22656
|
if (chunk !== undefined) {
|
|
22655
|
-
if (
|
|
22657
|
+
if (Buffer2.isBuffer(chunk)) {
|
|
22656
22658
|
len = chunk.length;
|
|
22657
22659
|
} else if (!generateETag && chunk.length < 1000) {
|
|
22658
|
-
len =
|
|
22660
|
+
len = Buffer2.byteLength(chunk, encoding);
|
|
22659
22661
|
} else {
|
|
22660
|
-
chunk =
|
|
22662
|
+
chunk = Buffer2.from(chunk, encoding);
|
|
22661
22663
|
encoding = undefined;
|
|
22662
22664
|
len = chunk.length;
|
|
22663
22665
|
}
|
|
@@ -22899,6 +22901,15 @@ var require_response = __commonJS((exports, module) => {
|
|
|
22899
22901
|
status = arguments[0];
|
|
22900
22902
|
address = arguments[1];
|
|
22901
22903
|
}
|
|
22904
|
+
if (!address) {
|
|
22905
|
+
deprecate("Provide a url argument");
|
|
22906
|
+
}
|
|
22907
|
+
if (typeof address !== "string") {
|
|
22908
|
+
deprecate("Url must be a string");
|
|
22909
|
+
}
|
|
22910
|
+
if (typeof status !== "number") {
|
|
22911
|
+
deprecate("Status must be a number");
|
|
22912
|
+
}
|
|
22902
22913
|
address = this.location(address).get("Location");
|
|
22903
22914
|
this.format({
|
|
22904
22915
|
text: function() {
|
|
@@ -22913,7 +22924,7 @@ var require_response = __commonJS((exports, module) => {
|
|
|
22913
22924
|
}
|
|
22914
22925
|
});
|
|
22915
22926
|
this.status(status);
|
|
22916
|
-
this.set("Content-Length",
|
|
22927
|
+
this.set("Content-Length", Buffer2.byteLength(body));
|
|
22917
22928
|
if (this.req.method === "HEAD") {
|
|
22918
22929
|
this.end();
|
|
22919
22930
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "devbcn-mcp-server",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-202512020553",
|
|
4
4
|
"homepage": "https://github.com/marcnuri-demo/blog-tutorials",
|
|
5
5
|
"licenese": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@modelcontextprotocol/sdk": "1.23.0",
|
|
18
|
-
"express": "5.
|
|
18
|
+
"express": "5.2.0"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|