@yawlabs/mcp-compliance 0.16.1 → 0.16.3
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.
|
@@ -57,6 +57,8 @@ import { existsSync, readFileSync } from "fs";
|
|
|
57
57
|
import { dirname, join } from "path";
|
|
58
58
|
import { fileURLToPath } from "url";
|
|
59
59
|
function readPackageVersion(metaUrl) {
|
|
60
|
+
if (typeof __VERSION__ === "string" && __VERSION__) return __VERSION__;
|
|
61
|
+
if (!metaUrl) return "0.0.0";
|
|
60
62
|
let dir = dirname(fileURLToPath(metaUrl));
|
|
61
63
|
for (; ; ) {
|
|
62
64
|
const pkgPath = join(dir, "package.json");
|
package/dist/index.js
CHANGED
|
@@ -726,6 +726,8 @@ import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
|
726
726
|
import { dirname, join as join2 } from "path";
|
|
727
727
|
import { fileURLToPath } from "url";
|
|
728
728
|
function readPackageVersion(metaUrl) {
|
|
729
|
+
if (typeof __VERSION__ === "string" && __VERSION__) return __VERSION__;
|
|
730
|
+
if (!metaUrl) return "0.0.0";
|
|
729
731
|
let dir = dirname(fileURLToPath(metaUrl));
|
|
730
732
|
for (; ; ) {
|
|
731
733
|
const pkgPath = join2(dir, "package.json");
|
|
@@ -5103,8 +5105,7 @@ function splitStdioTarget(s) {
|
|
|
5103
5105
|
}
|
|
5104
5106
|
|
|
5105
5107
|
// src/index.ts
|
|
5106
|
-
var
|
|
5107
|
-
var { version: version2 } = require2("../package.json");
|
|
5108
|
+
var version2 = typeof __VERSION__ === "string" && __VERSION__ ? __VERSION__ : createRequire(import.meta.url)("../package.json").version;
|
|
5108
5109
|
function parseHeaderArg(value, prev) {
|
|
5109
5110
|
const idx = value.indexOf(":");
|
|
5110
5111
|
if (idx === -1) {
|
package/dist/mcp/server.js
CHANGED
package/dist/runner.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yawlabs/mcp-compliance",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"mcpName": "io.github.YawLabs/mcp-compliance",
|
|
5
5
|
"description": "CLI tool and MCP server that tests MCP servers for spec compliance",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,11 +40,14 @@
|
|
|
40
40
|
"prepublishOnly": "npm run build",
|
|
41
41
|
"start": "node dist/index.js"
|
|
42
42
|
},
|
|
43
|
+
"overrides": {
|
|
44
|
+
"esbuild": "^0.28.1"
|
|
45
|
+
},
|
|
43
46
|
"dependencies": {
|
|
44
47
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
45
48
|
"chalk": "^5.4.1",
|
|
46
49
|
"commander": "^14.0.3",
|
|
47
|
-
"undici": "^7.
|
|
50
|
+
"undici": "^7.28.0",
|
|
48
51
|
"zod": "^4.4.3"
|
|
49
52
|
},
|
|
50
53
|
"devDependencies": {
|
|
@@ -52,8 +55,10 @@
|
|
|
52
55
|
"@types/node": "^25.5.2",
|
|
53
56
|
"ajv": "^8.18.0",
|
|
54
57
|
"ajv-formats": "^3.0.1",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
58
|
+
"esbuild": "^0.28.1",
|
|
59
|
+
"postject": "^1.0.0-alpha.6",
|
|
60
|
+
"tsup": "^8.5.1",
|
|
61
|
+
"tsx": "^4.22.4",
|
|
57
62
|
"typescript": "^6.0.3",
|
|
58
63
|
"vitest": "^4.1.8"
|
|
59
64
|
},
|