it-tools-mcp 4.1.1 → 4.1.2
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.
|
@@ -14,7 +14,9 @@ export function registerFormatXml(server) {
|
|
|
14
14
|
}
|
|
15
15
|
}, async ({ xml, indent = 2 }) => {
|
|
16
16
|
try {
|
|
17
|
-
const
|
|
17
|
+
const xmlFormatterModule = await import("xml-formatter");
|
|
18
|
+
// Use double type assertion to work around NodeNext module resolution issues
|
|
19
|
+
const formatXML = xmlFormatterModule.default;
|
|
18
20
|
const formatted = formatXML(xml, {
|
|
19
21
|
indentation: ' '.repeat(indent),
|
|
20
22
|
collapseContent: true,
|
package/package.json
CHANGED