devbcn-mcp-server 0.0.0-202601080601 → 0.0.0-202601090615
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 +1 -1
- package/dist/index.js +39 -40
- package/package.json +1 -1
package/bun.lock
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
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
|
|
|
98
|
-
"iconv-lite": ["iconv-lite@0.7.
|
|
98
|
+
"iconv-lite": ["iconv-lite@0.7.2", "", { "dependencies": { "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "sha512-im9DjEDQ55s9fL4EYzOAv0yMqmMBSZp6G0VvFyTMPKWxiSBHUj9NW/qqLmXUwXrrM7AvqSlTCfvqRb0cM8yYqw=="],
|
|
99
99
|
|
|
100
100
|
"inherits": ["inherits@2.0.4", "", {}, "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="],
|
|
101
101
|
|
package/dist/index.js
CHANGED
|
@@ -4974,55 +4974,54 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
4974
4974
|
var Buffer2 = require_safer().Buffer;
|
|
4975
4975
|
var bomHandling = require_bom_handling();
|
|
4976
4976
|
var mergeModules = require_merge_exports();
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
iconv.encode = function encode(str, encoding, options) {
|
|
4977
|
+
exports.encodings = null;
|
|
4978
|
+
exports.defaultCharUnicode = "�";
|
|
4979
|
+
exports.defaultCharSingleByte = "?";
|
|
4980
|
+
exports.encode = function encode(str, encoding, options) {
|
|
4982
4981
|
str = "" + (str || "");
|
|
4983
|
-
var encoder =
|
|
4982
|
+
var encoder = exports.getEncoder(encoding, options);
|
|
4984
4983
|
var res = encoder.write(str);
|
|
4985
4984
|
var trail = encoder.end();
|
|
4986
4985
|
return trail && trail.length > 0 ? Buffer2.concat([res, trail]) : res;
|
|
4987
4986
|
};
|
|
4988
|
-
|
|
4987
|
+
exports.decode = function decode(buf, encoding, options) {
|
|
4989
4988
|
if (typeof buf === "string") {
|
|
4990
|
-
if (!
|
|
4989
|
+
if (!exports.skipDecodeWarning) {
|
|
4991
4990
|
console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");
|
|
4992
|
-
|
|
4991
|
+
exports.skipDecodeWarning = true;
|
|
4993
4992
|
}
|
|
4994
4993
|
buf = Buffer2.from("" + (buf || ""), "binary");
|
|
4995
4994
|
}
|
|
4996
|
-
var decoder =
|
|
4995
|
+
var decoder = exports.getDecoder(encoding, options);
|
|
4997
4996
|
var res = decoder.write(buf);
|
|
4998
4997
|
var trail = decoder.end();
|
|
4999
4998
|
return trail ? res + trail : res;
|
|
5000
4999
|
};
|
|
5001
|
-
|
|
5000
|
+
exports.encodingExists = function encodingExists(enc) {
|
|
5002
5001
|
try {
|
|
5003
|
-
|
|
5002
|
+
exports.getCodec(enc);
|
|
5004
5003
|
return true;
|
|
5005
5004
|
} catch (e) {
|
|
5006
5005
|
return false;
|
|
5007
5006
|
}
|
|
5008
5007
|
};
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
if (!
|
|
5008
|
+
exports.toEncoding = exports.encode;
|
|
5009
|
+
exports.fromEncoding = exports.decode;
|
|
5010
|
+
exports._codecDataCache = { __proto__: null };
|
|
5011
|
+
exports.getCodec = function getCodec(encoding) {
|
|
5012
|
+
if (!exports.encodings) {
|
|
5014
5013
|
var raw = require_encodings();
|
|
5015
|
-
|
|
5016
|
-
mergeModules(
|
|
5014
|
+
exports.encodings = { __proto__: null };
|
|
5015
|
+
mergeModules(exports.encodings, raw);
|
|
5017
5016
|
}
|
|
5018
|
-
var enc =
|
|
5017
|
+
var enc = exports._canonicalizeEncoding(encoding);
|
|
5019
5018
|
var codecOptions = {};
|
|
5020
5019
|
while (true) {
|
|
5021
|
-
var codec =
|
|
5020
|
+
var codec = exports._codecDataCache[enc];
|
|
5022
5021
|
if (codec) {
|
|
5023
5022
|
return codec;
|
|
5024
5023
|
}
|
|
5025
|
-
var codecDef =
|
|
5024
|
+
var codecDef = exports.encodings[enc];
|
|
5026
5025
|
switch (typeof codecDef) {
|
|
5027
5026
|
case "string":
|
|
5028
5027
|
enc = codecDef;
|
|
@@ -5040,56 +5039,56 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
5040
5039
|
if (!codecOptions.encodingName) {
|
|
5041
5040
|
codecOptions.encodingName = enc;
|
|
5042
5041
|
}
|
|
5043
|
-
codec = new codecDef(codecOptions,
|
|
5044
|
-
|
|
5042
|
+
codec = new codecDef(codecOptions, exports);
|
|
5043
|
+
exports._codecDataCache[codecOptions.encodingName] = codec;
|
|
5045
5044
|
return codec;
|
|
5046
5045
|
default:
|
|
5047
5046
|
throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '" + enc + "')");
|
|
5048
5047
|
}
|
|
5049
5048
|
}
|
|
5050
5049
|
};
|
|
5051
|
-
|
|
5050
|
+
exports._canonicalizeEncoding = function(encoding) {
|
|
5052
5051
|
return ("" + encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
|
|
5053
5052
|
};
|
|
5054
|
-
|
|
5055
|
-
var codec =
|
|
5053
|
+
exports.getEncoder = function getEncoder(encoding, options) {
|
|
5054
|
+
var codec = exports.getCodec(encoding);
|
|
5056
5055
|
var encoder = new codec.encoder(options, codec);
|
|
5057
5056
|
if (codec.bomAware && options && options.addBOM) {
|
|
5058
5057
|
encoder = new bomHandling.PrependBOM(encoder, options);
|
|
5059
5058
|
}
|
|
5060
5059
|
return encoder;
|
|
5061
5060
|
};
|
|
5062
|
-
|
|
5063
|
-
var codec =
|
|
5061
|
+
exports.getDecoder = function getDecoder(encoding, options) {
|
|
5062
|
+
var codec = exports.getCodec(encoding);
|
|
5064
5063
|
var decoder = new codec.decoder(options, codec);
|
|
5065
5064
|
if (codec.bomAware && !(options && options.stripBOM === false)) {
|
|
5066
5065
|
decoder = new bomHandling.StripBOM(decoder, options);
|
|
5067
5066
|
}
|
|
5068
5067
|
return decoder;
|
|
5069
5068
|
};
|
|
5070
|
-
|
|
5071
|
-
if (
|
|
5069
|
+
exports.enableStreamingAPI = function enableStreamingAPI(streamModule2) {
|
|
5070
|
+
if (exports.supportsStreams) {
|
|
5072
5071
|
return;
|
|
5073
5072
|
}
|
|
5074
5073
|
var streams = require_streams()(streamModule2);
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
return new
|
|
5074
|
+
exports.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
|
|
5075
|
+
exports.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
|
|
5076
|
+
exports.encodeStream = function encodeStream(encoding, options) {
|
|
5077
|
+
return new exports.IconvLiteEncoderStream(exports.getEncoder(encoding, options), options);
|
|
5079
5078
|
};
|
|
5080
|
-
|
|
5081
|
-
return new
|
|
5079
|
+
exports.decodeStream = function decodeStream(encoding, options) {
|
|
5080
|
+
return new exports.IconvLiteDecoderStream(exports.getDecoder(encoding, options), options);
|
|
5082
5081
|
};
|
|
5083
|
-
|
|
5082
|
+
exports.supportsStreams = true;
|
|
5084
5083
|
};
|
|
5085
5084
|
var streamModule;
|
|
5086
5085
|
try {
|
|
5087
5086
|
streamModule = __require("stream");
|
|
5088
5087
|
} catch (e) {}
|
|
5089
5088
|
if (streamModule && streamModule.Transform) {
|
|
5090
|
-
|
|
5089
|
+
exports.enableStreamingAPI(streamModule);
|
|
5091
5090
|
} else {
|
|
5092
|
-
|
|
5091
|
+
exports.encodeStream = exports.decodeStream = function() {
|
|
5093
5092
|
throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
|
|
5094
5093
|
};
|
|
5095
5094
|
}
|