@neobiotechlabs/neobiotech-dev-agent 0.1.41 → 0.1.42
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/dist/doctor.js +17 -6
- package/dist/doctor.js.map +1 -1
- package/dist/index.js +18 -7
- package/dist/index.js.map +1 -1
- package/dist/setup-antigravity.js +66 -1
- package/dist/setup-antigravity.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"source": "npm",
|
|
11
11
|
"package": "@neobiotechlabs/neobiotech-dev-agent",
|
|
12
12
|
"registry": "https://registry.npmjs.org",
|
|
13
|
-
"version": "0.1.
|
|
13
|
+
"version": "0.1.42"
|
|
14
14
|
},
|
|
15
15
|
"description": "의료기기 SW 규제 개발 자동화 (Jira·Confluence·Risk·CVSS·Xray·IEC 62304/62366·MDR·문서 렌더)",
|
|
16
16
|
"category": "medical-device",
|
package/dist/doctor.js
CHANGED
|
@@ -3117,6 +3117,7 @@ var require_utils = __commonJS({
|
|
|
3117
3117
|
"use strict";
|
|
3118
3118
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3119
3119
|
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);
|
|
3120
|
+
var isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
3120
3121
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
3121
3122
|
var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
3122
3123
|
var isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
|
|
@@ -3582,8 +3583,12 @@ var require_utils = __commonJS({
|
|
|
3582
3583
|
uriTokens.push(host);
|
|
3583
3584
|
}
|
|
3584
3585
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
3586
|
+
const port = String(component.port);
|
|
3587
|
+
if (!isPort(port)) {
|
|
3588
|
+
throw new TypeError("URI port is malformed.");
|
|
3589
|
+
}
|
|
3585
3590
|
uriTokens.push(":");
|
|
3586
|
-
uriTokens.push(
|
|
3591
|
+
uriTokens.push(port);
|
|
3587
3592
|
}
|
|
3588
3593
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
3589
3594
|
}
|
|
@@ -4026,12 +4031,15 @@ var require_fast_uri = __commonJS({
|
|
|
4026
4031
|
}
|
|
4027
4032
|
return false;
|
|
4028
4033
|
}
|
|
4034
|
+
function isIPLiteral(host) {
|
|
4035
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
4036
|
+
}
|
|
4029
4037
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
4030
4038
|
const host = matches[4];
|
|
4031
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !(host
|
|
4039
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
4032
4040
|
}
|
|
4033
4041
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
4034
|
-
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && parsed.host
|
|
4042
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
4035
4043
|
try {
|
|
4036
4044
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
4037
4045
|
} catch (e) {
|
|
@@ -4118,10 +4126,11 @@ var require_fast_uri = __commonJS({
|
|
|
4118
4126
|
if (parsed.host) {
|
|
4119
4127
|
const ipv4result = isIPv4(parsed.host);
|
|
4120
4128
|
if (ipv4result === false) {
|
|
4121
|
-
const bracketedIPLiteral = parsed.host
|
|
4129
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
4130
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
4122
4131
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
4123
4132
|
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
4124
|
-
malformedIPLiteral =
|
|
4133
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
4125
4134
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
4126
4135
|
if (malformedIPLiteral) {
|
|
4127
4136
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -4144,7 +4153,9 @@ var require_fast_uri = __commonJS({
|
|
|
4144
4153
|
parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
4145
4154
|
}
|
|
4146
4155
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
4147
|
-
|
|
4156
|
+
if (!malformedIPLiteral) {
|
|
4157
|
+
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
4158
|
+
}
|
|
4148
4159
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
4149
4160
|
if (uri.indexOf("%") !== -1) {
|
|
4150
4161
|
if (parsed.host !== void 0 && !malformedIPLiteral) {
|