@ivotoby/openapi-mcp-server 1.8.3 → 1.8.4
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/dist/bundle.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -14381,7 +14381,7 @@ function parseToolId(toolId) {
|
|
|
14381
14381
|
return { method, path: "/" + path };
|
|
14382
14382
|
}
|
|
14383
14383
|
function sanitizeForToolId(input) {
|
|
14384
|
-
let result = input.replace(/[^A-Za-z0-9_
|
|
14384
|
+
let result = input.replace(/[^A-Za-z0-9_.-]/g, "").replace(/_{3,}/g, "__");
|
|
14385
14385
|
result = collapseExcessiveHyphens(result);
|
|
14386
14386
|
return result.replace(/^[_-]+|[_-]+$/g, "");
|
|
14387
14387
|
}
|
package/dist/cli.js
CHANGED
|
@@ -14381,7 +14381,7 @@ function parseToolId(toolId) {
|
|
|
14381
14381
|
return { method, path: "/" + path };
|
|
14382
14382
|
}
|
|
14383
14383
|
function sanitizeForToolId(input) {
|
|
14384
|
-
let result = input.replace(/[^A-Za-z0-9_
|
|
14384
|
+
let result = input.replace(/[^A-Za-z0-9_.-]/g, "").replace(/_{3,}/g, "__");
|
|
14385
14385
|
result = collapseExcessiveHyphens(result);
|
|
14386
14386
|
return result.replace(/^[_-]+|[_-]+$/g, "");
|
|
14387
14387
|
}
|