@arabold/docs-mcp-server 3.5.0 → 3.6.0

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/index.html CHANGED
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Docs MCP Server — Admin Console</title>
7
7
  <link rel="icon" href="favicon.ico" />
8
- <script type="module" crossorigin src="./assets/index-DR-3PGgZ.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-DCTpWPWQ.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-BG8UJbPA.css">
10
10
  </head>
11
11
  <body>
package/dist/index.js CHANGED
@@ -1,11 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as sanitizeEnvironment } from "./env-DAfCMXx2.js";
3
3
  import { r as logger } from "./logger-DtB7mX3u.js";
4
+ import module from "node:module";
4
5
  import "dotenv/config";
5
6
  // src/index.ts
6
- process.setSourceMapsEnabled(true);
7
+ if (typeof module.setSourceMapsSupport === "function") module.setSourceMapsSupport(true);
8
+ else process.setSourceMapsEnabled(true);
7
9
  sanitizeEnvironment();
8
- var { runCli } = await import("./main-D3_JhsO7.js");
10
+ var { runCli } = await import("./main-CBgiSgoD.js");
9
11
  runCli().catch((error) => {
10
12
  logger.error(`🔥 Fatal error in main execution: ${error}`);
11
13
  process.exit(1);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["// Enable source maps (Node.js 20+)\nprocess.setSourceMapsEnabled(true);\n\nimport \"dotenv/config\";\nimport { sanitizeEnvironment } from \"./utils/env\";\nimport { logger } from \"./utils/logger\";\n\nsanitizeEnvironment();\n\n// Commands that can launch a browser make sure one is installed themselves.\nconst { runCli } = await import(\"./cli/main\");\n\n// Run the CLI\nrunCli().catch((error) => {\n logger.error(`🔥 Fatal error in main execution: ${error}`);\n process.exit(1);\n});\n"],"mappings":";;;;AACA,QAAQ,qBAAqB,IAAI;AAMjC,oBAAoB;AAGpB,IAAM,EAAE,WAAW,MAAM,OAAO;AAGhC,OAAO,CAAC,CAAC,OAAO,UAAU;CACxB,OAAO,MAAM,qCAAqC,OAAO;CACzD,QAAQ,KAAK,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import module from \"node:module\";\n\n// Source maps for this package's own code. process.setSourceMapsEnabled(true) implies\n// { nodeModules: true }, which parses the source map of every dependency as it loads;\n// module.setSourceMapsSupport, added in Node 22.14, leaves node_modules out by default.\nif (typeof module.setSourceMapsSupport === \"function\") {\n module.setSourceMapsSupport(true);\n} else {\n process.setSourceMapsEnabled(true);\n}\n\nimport \"dotenv/config\";\nimport { sanitizeEnvironment } from \"./utils/env\";\nimport { logger } from \"./utils/logger\";\n\nsanitizeEnvironment();\n\n// Commands that can launch a browser make sure one is installed themselves.\nconst { runCli } = await import(\"./cli/main\");\n\n// Run the CLI\nrunCli().catch((error) => {\n logger.error(`🔥 Fatal error in main execution: ${error}`);\n process.exit(1);\n});\n"],"mappings":";;;;;AAKA,IAAI,OAAO,OAAO,yBAAyB,YACzC,OAAO,qBAAqB,IAAI;KAEhC,QAAQ,qBAAqB,IAAI;AAOnC,oBAAoB;AAGpB,IAAM,EAAE,WAAW,MAAM,OAAO;AAGhC,OAAO,CAAC,CAAC,OAAO,UAAU;CACxB,OAAO,MAAM,qCAAqC,OAAO;CACzD,QAAQ,KAAK,CAAC;AAChB,CAAC"}