@ui5/mcp-server 0.2.8 → 0.2.9
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/CHANGELOG.md +12 -0
- package/lib/tools/run_manifest_validation/createValidationFunction.d.ts +2 -0
- package/lib/tools/run_manifest_validation/createValidationFunction.js +160 -0
- package/lib/tools/run_manifest_validation/createValidationFunction.js.map +1 -0
- package/lib/tools/run_manifest_validation/runValidation.js +2 -69
- package/lib/tools/run_manifest_validation/runValidation.js.map +1 -1
- package/lib/utils/ui5Manifest.js +1 -2
- package/lib/utils/ui5Manifest.js.map +1 -1
- package/npm-shrinkwrap.json +135 -183
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.2.9](https://github.com/UI5/mcp-server/compare/v0.2.8...v0.2.9) (2026-03-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **run_manifest_validation:** Declare earlier manifest schema versions as now supported ([#250](https://github.com/UI5/mcp-server/issues/250)) ([dfe5c91](https://github.com/UI5/mcp-server/commit/dfe5c915e9c3fc1dce53817865fcdd5aca5651a6))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* **lockfile:** In-range update of npm dependencies ([06b445e](https://github.com/UI5/mcp-server/commit/06b445e7a8ebc47799b690fdd050ff3903d61603))
|
|
14
|
+
|
|
3
15
|
## [0.2.8](https://github.com/UI5/mcp-server/compare/v0.2.7...v0.2.8) (2026-03-06)
|
|
4
16
|
|
|
5
17
|
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { fetchCdn } from "../../utils/cdnHelper.js";
|
|
2
|
+
import Ajv2020 from "ajv/dist/2020.js";
|
|
3
|
+
import Ajv from "ajv";
|
|
4
|
+
import addFormats from "ajv-formats";
|
|
5
|
+
import { readFile } from "fs/promises";
|
|
6
|
+
import { getLogger } from "@ui5/logger";
|
|
7
|
+
import { Mutex } from "async-mutex";
|
|
8
|
+
import { fileURLToPath } from "url";
|
|
9
|
+
const log = getLogger("tools:run_manifest_validation:createValidationFunction");
|
|
10
|
+
const schemaCache = new Map();
|
|
11
|
+
const fetchSchemaMutex = new Mutex();
|
|
12
|
+
const AJV_SCHEMA_PATHS = {
|
|
13
|
+
draft06: fileURLToPath(import.meta.resolve("ajv/dist/refs/json-schema-draft-06.json")),
|
|
14
|
+
draft07: fileURLToPath(import.meta.resolve("ajv/dist/refs/json-schema-draft-07.json")),
|
|
15
|
+
};
|
|
16
|
+
async function createUI5ManifestValidateFunction2020(ui5Schema) {
|
|
17
|
+
try {
|
|
18
|
+
const ajv = new Ajv2020.default({
|
|
19
|
+
// Collect all errors, not just the first one
|
|
20
|
+
allErrors: true,
|
|
21
|
+
// Allow additional properties that are not in schema such as "i18n",
|
|
22
|
+
// otherwise compilation fails
|
|
23
|
+
strict: false,
|
|
24
|
+
// Don't use Unicode-aware regular expressions,
|
|
25
|
+
// otherwise compilation fails with "Invalid escape" errors
|
|
26
|
+
unicodeRegExp: false,
|
|
27
|
+
loadSchema: async (uri) => {
|
|
28
|
+
const release = await fetchSchemaMutex.acquire();
|
|
29
|
+
try {
|
|
30
|
+
if (schemaCache.has(uri)) {
|
|
31
|
+
log.info(`Loading cached schema: ${uri}`);
|
|
32
|
+
return schemaCache.get(uri);
|
|
33
|
+
}
|
|
34
|
+
log.info(`Loading external schema: ${uri}`);
|
|
35
|
+
const schema = await fetchCdn(uri);
|
|
36
|
+
// Special handling for Adaptive Card schema to fix unsupported "id" property
|
|
37
|
+
// According to the JSON Schema spec Draft 06 (used by Adaptive Card schema),
|
|
38
|
+
// "$id" should be used instead of "id"
|
|
39
|
+
// See https://github.com/microsoft/AdaptiveCards/issues/9274
|
|
40
|
+
if (uri.includes("adaptive-card.json") && typeof schema.id === "string") {
|
|
41
|
+
schema.$id = schema.id;
|
|
42
|
+
delete schema.id;
|
|
43
|
+
}
|
|
44
|
+
schemaCache.set(uri, schema);
|
|
45
|
+
return schema;
|
|
46
|
+
}
|
|
47
|
+
catch (error) {
|
|
48
|
+
log.warn(`Failed to load external schema ${uri}:` +
|
|
49
|
+
`${error instanceof Error ? error.message : String(error)}`);
|
|
50
|
+
throw error;
|
|
51
|
+
}
|
|
52
|
+
finally {
|
|
53
|
+
release();
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
addFormats.default(ajv);
|
|
58
|
+
const draft06MetaSchema = JSON.parse(await readFile(AJV_SCHEMA_PATHS.draft06, "utf-8"));
|
|
59
|
+
const draft07MetaSchema = JSON.parse(await readFile(AJV_SCHEMA_PATHS.draft07, "utf-8"));
|
|
60
|
+
// Add meta-schemas for draft-06 and draft-07.
|
|
61
|
+
// These are required to support schemas that reference these drafts,
|
|
62
|
+
// for example the Adaptive Card schema and some sap.bpa.task properties.
|
|
63
|
+
ajv.addMetaSchema(draft06MetaSchema, "http://json-schema.org/draft-06/schema#");
|
|
64
|
+
ajv.addMetaSchema(draft07MetaSchema, "http://json-schema.org/draft-07/schema#");
|
|
65
|
+
const schemaToCompile = ui5Schema;
|
|
66
|
+
if (schemaToCompile?.$defs) {
|
|
67
|
+
for (const defKey in schemaToCompile.$defs) {
|
|
68
|
+
const def = schemaToCompile.$defs[defKey];
|
|
69
|
+
if (def?.oneOf) {
|
|
70
|
+
for (const option of def.oneOf) {
|
|
71
|
+
if (Array.isArray(option?.items)) {
|
|
72
|
+
option.prefixItems = option.items;
|
|
73
|
+
delete option.items;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
const validate = await ajv.compileAsync(schemaToCompile);
|
|
80
|
+
return validate;
|
|
81
|
+
}
|
|
82
|
+
catch (error) {
|
|
83
|
+
throw new Error(`Failed to create UI5 manifest validate function: ` +
|
|
84
|
+
`${error instanceof Error ? error.message : String(error)}`);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
async function createUI5ManifestValidateFunctionDraft07(ui5Schema) {
|
|
88
|
+
try {
|
|
89
|
+
const ajv = new Ajv.default({
|
|
90
|
+
// Collect all errors, not just the first one
|
|
91
|
+
allErrors: true,
|
|
92
|
+
// Allow additional properties that are not in schema such as "i18n",
|
|
93
|
+
// otherwise compilation fails
|
|
94
|
+
strict: false,
|
|
95
|
+
// Don't use Unicode-aware regular expressions,
|
|
96
|
+
// otherwise compilation fails with "Invalid escape" errors
|
|
97
|
+
unicodeRegExp: false,
|
|
98
|
+
loadSchema: async (uri) => {
|
|
99
|
+
const release = await fetchSchemaMutex.acquire();
|
|
100
|
+
try {
|
|
101
|
+
if (schemaCache.has(uri)) {
|
|
102
|
+
log.info(`Loading cached schema: ${uri}`);
|
|
103
|
+
return schemaCache.get(uri);
|
|
104
|
+
}
|
|
105
|
+
log.info(`Loading external schema: ${uri}`);
|
|
106
|
+
const schema = await fetchCdn(uri);
|
|
107
|
+
// Special handling for Adaptive Card schema to fix unsupported "id" property
|
|
108
|
+
// According to the JSON Schema spec Draft 06 (used by Adaptive Card schema),
|
|
109
|
+
// "$id" should be used instead of "id"
|
|
110
|
+
// See https://github.com/microsoft/AdaptiveCards/issues/9274
|
|
111
|
+
if (uri.includes("adaptive-card.json") && typeof schema.id === "string") {
|
|
112
|
+
schema.$id = schema.id;
|
|
113
|
+
delete schema.id;
|
|
114
|
+
}
|
|
115
|
+
schemaCache.set(uri, schema);
|
|
116
|
+
return schema;
|
|
117
|
+
}
|
|
118
|
+
catch (error) {
|
|
119
|
+
log.warn(`Failed to load external schema ${uri}:` +
|
|
120
|
+
`${error instanceof Error ? error.message : String(error)}`);
|
|
121
|
+
throw error;
|
|
122
|
+
}
|
|
123
|
+
finally {
|
|
124
|
+
release();
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
addFormats.default(ajv);
|
|
129
|
+
const draft06MetaSchema = JSON.parse(await readFile(AJV_SCHEMA_PATHS.draft06, "utf-8"));
|
|
130
|
+
// Add meta-schema for draft-06.
|
|
131
|
+
// This is required to support schemas that reference this draft,
|
|
132
|
+
// for example the Adaptive Card schema.
|
|
133
|
+
ajv.addMetaSchema(draft06MetaSchema, "http://json-schema.org/draft-06/schema#");
|
|
134
|
+
const validate = await ajv.compileAsync(ui5Schema);
|
|
135
|
+
return validate;
|
|
136
|
+
}
|
|
137
|
+
catch (error) {
|
|
138
|
+
throw new Error(`Failed to create UI5 manifest validate function: ` +
|
|
139
|
+
`${error instanceof Error ? error.message : String(error)}`);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export async function createValidateFunction(ui5ManifestSchema) {
|
|
143
|
+
// Determine which validator to use based on the $schema attribute
|
|
144
|
+
const schema = ui5ManifestSchema;
|
|
145
|
+
const metaSchema = schema?.$schema;
|
|
146
|
+
if (metaSchema === "https://json-schema.org/draft/2020-12/schema") {
|
|
147
|
+
log.info(`Using JSON Schema 2020-12 validation (detected from $schema: ${metaSchema})`);
|
|
148
|
+
return createUI5ManifestValidateFunction2020(ui5ManifestSchema);
|
|
149
|
+
}
|
|
150
|
+
else if (metaSchema === "http://json-schema.org/draft-07/schema#") {
|
|
151
|
+
log.info(`Using Draft-07 validation (detected from $schema: ${metaSchema})`);
|
|
152
|
+
return createUI5ManifestValidateFunctionDraft07(ui5ManifestSchema);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
throw new Error(`Failed to create UI5 manifest validate function:` +
|
|
156
|
+
` ${metaSchema ?? "undefined"} is not a supported meta-schema. ` +
|
|
157
|
+
`Supported meta-schemas: "https://json-schema.org/draft/2020-12/schema", "http://json-schema.org/draft-07/schema#"`);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=createValidationFunction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createValidationFunction.js","sourceRoot":"","sources":["../../../src/t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AC;IACH,CAAC;AACF,CAAC"}
|
|
@@ -1,77 +1,10 @@
|
|
|
1
|
-
import { fetchCdn } from "../../utils/cdnHelper.js";
|
|
2
|
-
import Ajv2020 from "ajv/dist/2020.js";
|
|
3
|
-
import addFormats from "ajv-formats";
|
|
4
1
|
import { readFile } from "fs/promises";
|
|
5
2
|
import { getLogger } from "@ui5/logger";
|
|
6
3
|
import { InvalidInputError } from "../../utils.js";
|
|
7
4
|
import { getManifestSchema, getManifestVersion } from "../../utils/ui5Manifest.js";
|
|
8
|
-
import { Mutex } from "async-mutex";
|
|
9
|
-
import { fileURLToPath } from "url";
|
|
10
5
|
import { isAbsolute } from "path";
|
|
6
|
+
import { createValidateFunction } from "./createValidationFunction.js";
|
|
11
7
|
const log = getLogger("tools:run_manifest_validation:runValidation");
|
|
12
|
-
const schemaCache = new Map();
|
|
13
|
-
const fetchSchemaMutex = new Mutex();
|
|
14
|
-
const AJV_SCHEMA_PATHS = {
|
|
15
|
-
draft06: fileURLToPath(import.meta.resolve("ajv/dist/refs/json-schema-draft-06.json")),
|
|
16
|
-
draft07: fileURLToPath(import.meta.resolve("ajv/dist/refs/json-schema-draft-07.json")),
|
|
17
|
-
};
|
|
18
|
-
async function createUI5ManifestValidateFunction(ui5Schema) {
|
|
19
|
-
try {
|
|
20
|
-
const ajv = new Ajv2020.default({
|
|
21
|
-
// Collect all errors, not just the first one
|
|
22
|
-
allErrors: true,
|
|
23
|
-
// Allow additional properties that are not in schema such as "i18n",
|
|
24
|
-
// otherwise compilation fails
|
|
25
|
-
strict: false,
|
|
26
|
-
// Don't use Unicode-aware regular expressions,
|
|
27
|
-
// otherwise compilation fails with "Invalid escape" errors
|
|
28
|
-
unicodeRegExp: false,
|
|
29
|
-
loadSchema: async (uri) => {
|
|
30
|
-
const release = await fetchSchemaMutex.acquire();
|
|
31
|
-
try {
|
|
32
|
-
if (schemaCache.has(uri)) {
|
|
33
|
-
log.info(`Loading cached schema: ${uri}`);
|
|
34
|
-
return schemaCache.get(uri);
|
|
35
|
-
}
|
|
36
|
-
log.info(`Loading external schema: ${uri}`);
|
|
37
|
-
const schema = await fetchCdn(uri);
|
|
38
|
-
// Special handling for Adaptive Card schema to fix unsupported "id" property
|
|
39
|
-
// According to the JSON Schema spec Draft 06 (used by Adaptive Card schema),
|
|
40
|
-
// "$id" should be used instead of "id"
|
|
41
|
-
// See https://github.com/microsoft/AdaptiveCards/issues/9274
|
|
42
|
-
if (uri.includes("adaptive-card.json") && typeof schema.id === "string") {
|
|
43
|
-
schema.$id = schema.id;
|
|
44
|
-
delete schema.id;
|
|
45
|
-
}
|
|
46
|
-
schemaCache.set(uri, schema);
|
|
47
|
-
return schema;
|
|
48
|
-
}
|
|
49
|
-
catch (error) {
|
|
50
|
-
log.warn(`Failed to load external schema ${uri}:` +
|
|
51
|
-
`${error instanceof Error ? error.message : String(error)}`);
|
|
52
|
-
throw error;
|
|
53
|
-
}
|
|
54
|
-
finally {
|
|
55
|
-
release();
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
addFormats.default(ajv);
|
|
60
|
-
const draft06MetaSchema = JSON.parse(await readFile(AJV_SCHEMA_PATHS.draft06, "utf-8"));
|
|
61
|
-
const draft07MetaSchema = JSON.parse(await readFile(AJV_SCHEMA_PATHS.draft07, "utf-8"));
|
|
62
|
-
// Add meta-schemas for draft-06 and draft-07.
|
|
63
|
-
// These are required to support schemas that reference these drafts,
|
|
64
|
-
// for example the Adaptive Card schema and some sap.bpa.task properties.
|
|
65
|
-
ajv.addMetaSchema(draft06MetaSchema, "http://json-schema.org/draft-06/schema#");
|
|
66
|
-
ajv.addMetaSchema(draft07MetaSchema, "http://json-schema.org/draft-07/schema#");
|
|
67
|
-
const validate = await ajv.compileAsync(ui5Schema);
|
|
68
|
-
return validate;
|
|
69
|
-
}
|
|
70
|
-
catch (error) {
|
|
71
|
-
throw new Error(`Failed to create UI5 manifest validate function: ` +
|
|
72
|
-
`${error instanceof Error ? error.message : String(error)}`);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
8
|
async function readManifest(path) {
|
|
76
9
|
let content;
|
|
77
10
|
let json;
|
|
@@ -100,7 +33,7 @@ export default async function runValidation(manifestPath) {
|
|
|
100
33
|
const manifestVersion = await getManifestVersion(manifest);
|
|
101
34
|
log.info(`Using manifest version: ${manifestVersion}`);
|
|
102
35
|
const ui5ManifestSchema = await getManifestSchema(manifestVersion);
|
|
103
|
-
const validate = await
|
|
36
|
+
const validate = await createValidateFunction(ui5ManifestSchema);
|
|
104
37
|
const isValid = validate(manifest);
|
|
105
38
|
if (isValid) {
|
|
106
39
|
log.info("Manifest validation successful");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runValidation.js","sourceRoot":"","sources":["../../../src/tools/run_manifest_validation/runValidation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runValidation.js","sourceRoot":"","sources":["../../../src/tools/run_manifest_validation/runValidation.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,aAAa,CAAC;AACrC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;AAChC,OAAO,EAAC,sBAAsB,EAAC,MAAM,+BAA+B,CAAC;AAErE,MAAM,GAAG,GAAG,SAAS,CAAC,6CAA6C,CAAC,CAAC;AAErE,KAAK,UAAU,YAAY,CAAC,IAAY;IACvC,IAAI,OAAe,CAAC;IACpB,IAAI,IAAY,CAAC;IAEjB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QACvB,MAAM,IAAI,iBAAiB,CAAC,wCAAwC,IAAI,GAAG,CAAC,CAAC;IAC9E,CAAC;IAED,IAAI,CAAC;QACJ,OAAO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;YACN,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,EAAE;SACV,CAAC;IACH,CAAC;IAED,sCAAsC;IACtC,MAAM,gBAAgB,GAAG,QAAQ,CAAC,MAAM,IAAI,EAAE,CAAC;IAC/C,MAAM,MAAM,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC,KAAK,EAA+C,EAAE;QAC1F,OAAO;YACN,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,EAAE;YAC5B,YAAY,EAAE,KAAK,CAAC,YAAY,IAAI,EAAE;YACtC,UAAU,EAAE,KAAK,CAAC,UAAU,IAAI,EAAE;YAClC,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,EAAE;YAC1B,YAAY,EAAE,KAAK,CAAC,YAAY;YAChC,OAAO,EAAE,KAAK,CAAC,OAAO;SACtB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,GAAG,CAAC,IAAI,CAAC,mCAAmC,MAAM,CAAC,MAAM,WAAW,CAAC,CAAC;IAEtE,OAAO;QACN,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,MAAM;KACd,CAAC;AACH,CAAC"}
|
package/lib/utils/ui5Manifest.js
CHANGED
|
@@ -8,8 +8,7 @@ const fetchSchemaMutex = new Mutex();
|
|
|
8
8
|
let UI5ToManifestVersionMapping = null;
|
|
9
9
|
const MAPPING_URL = "https://raw.githubusercontent.com/UI5/manifest/main/mapping.json";
|
|
10
10
|
const ui5ToManifestVersionMappingMutex = new Mutex();
|
|
11
|
-
|
|
12
|
-
const LOWEST_SUPPORTED_MANIFEST_VERSION = "1.69.0";
|
|
11
|
+
const LOWEST_SUPPORTED_MANIFEST_VERSION = "1.48.1";
|
|
13
12
|
function getSchemaURL(manifestVersion) {
|
|
14
13
|
return `https://raw.githubusercontent.com/UI5/manifest/v${manifestVersion}/schema.json`;
|
|
15
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui5Manifest.js","sourceRoot":"","sources":["../../src/utils/ui5Manif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AAO,6BAA6B,CAAC,kDAAkD,CAAC,CAAC;IAC1F,CAAC;IAED,IAAI,OAAO,QAAQ,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC3C,OAAO,6BAA6B,CAAC,+CAA+C,CAAC,CAAC;IACvF,CAAC;IAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QACtC,OAAO,6BAA6B,CAAC,+DAA+D,CAAC,CAAC;IACvG,CAAC;IAED,OAAO,QAAQ,CAAC,QAAQ,CAAC;AAC1B,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,wBAAwB;IAC7C,MAAM,UAAU,GAAG,MAAM,8BAA8B,EAAE,CAAC;IAE1D,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACjE,CAAC;IAED,OAAO,UAAU,CAAC,MAAM,CAAC;AAC1B,CAAC"}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@ui5/mcp-server",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.9",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
@@ -234,9 +234,9 @@
|
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
"node_modules/@npmcli/agent/node_modules/lru-cache": {
|
|
237
|
-
"version": "11.2.
|
|
238
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.
|
|
239
|
-
"integrity": "sha512-
|
|
237
|
+
"version": "11.2.7",
|
|
238
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.7.tgz",
|
|
239
|
+
"integrity": "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==",
|
|
240
240
|
"license": "BlueOak-1.0.0",
|
|
241
241
|
"engines": {
|
|
242
242
|
"node": "20 || >=22"
|
|
@@ -690,9 +690,9 @@
|
|
|
690
690
|
}
|
|
691
691
|
},
|
|
692
692
|
"node_modules/@ui5/linter": {
|
|
693
|
-
"version": "1.20.
|
|
694
|
-
"resolved": "https://registry.npmjs.org/@ui5/linter/-/linter-1.20.
|
|
695
|
-
"integrity": "sha512-
|
|
693
|
+
"version": "1.20.14",
|
|
694
|
+
"resolved": "https://registry.npmjs.org/@ui5/linter/-/linter-1.20.14.tgz",
|
|
695
|
+
"integrity": "sha512-0mEW/UxPsJRASfYMZ7xETBSHR/UhnfMONmftG1elpkEVOUIqS8GxGvzst4FXjib5i8CBwh7Ma3gP9h/YNGfWgw==",
|
|
696
696
|
"hasShrinkwrap": true,
|
|
697
697
|
"license": "Apache-2.0",
|
|
698
698
|
"dependencies": {
|
|
@@ -701,10 +701,10 @@
|
|
|
701
701
|
"@sapui5/types": "1.136.14",
|
|
702
702
|
"@ui5/fs": "^4.0.5",
|
|
703
703
|
"@ui5/logger": "^4.0.2",
|
|
704
|
-
"@ui5/project": "^4.0.
|
|
704
|
+
"@ui5/project": "^4.0.13",
|
|
705
705
|
"chalk": "^5.6.2",
|
|
706
706
|
"data-with-position": "^0.5.0",
|
|
707
|
-
"fast-xml-parser": "^5.
|
|
707
|
+
"fast-xml-parser": "^5.5.5",
|
|
708
708
|
"figures": "^6.1.0",
|
|
709
709
|
"globals": "^17.4.0",
|
|
710
710
|
"he": "^1.2.0",
|
|
@@ -1264,16 +1264,16 @@
|
|
|
1264
1264
|
}
|
|
1265
1265
|
},
|
|
1266
1266
|
"node_modules/@ui5/linter/node_modules/@ui5/project": {
|
|
1267
|
-
"version": "4.0.
|
|
1268
|
-
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-4.0.
|
|
1269
|
-
"integrity": "sha512-
|
|
1267
|
+
"version": "4.0.13",
|
|
1268
|
+
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-4.0.13.tgz",
|
|
1269
|
+
"integrity": "sha512-rOE+6AZU3anXACTeLf/fzEyJ6wnGuoPnOxBoXuJNVwSadw2Gr20uS42oabNB584plViNm77PvSmA/FH/FU9yPA==",
|
|
1270
1270
|
"license": "Apache-2.0",
|
|
1271
1271
|
"dependencies": {
|
|
1272
1272
|
"@npmcli/config": "^9.0.0",
|
|
1273
1273
|
"@ui5/fs": "^4.0.5",
|
|
1274
1274
|
"@ui5/logger": "^4.0.2",
|
|
1275
|
-
"ajv": "^
|
|
1276
|
-
"ajv-errors": "^
|
|
1275
|
+
"ajv": "^8.18.0",
|
|
1276
|
+
"ajv-errors": "^3.0.0",
|
|
1277
1277
|
"chalk": "^5.6.2",
|
|
1278
1278
|
"escape-string-regexp": "^5.0.0",
|
|
1279
1279
|
"globby": "^14.1.0",
|
|
@@ -1282,7 +1282,7 @@
|
|
|
1282
1282
|
"lockfile": "^1.0.4",
|
|
1283
1283
|
"make-fetch-happen": "^14.0.3",
|
|
1284
1284
|
"node-stream-zip": "^1.15.0",
|
|
1285
|
-
"pacote": "^19.0.
|
|
1285
|
+
"pacote": "^19.0.2",
|
|
1286
1286
|
"pretty-hrtime": "^1.0.3",
|
|
1287
1287
|
"read-package-up": "^11.0.0",
|
|
1288
1288
|
"read-pkg": "^9.0.1",
|
|
@@ -1316,22 +1316,6 @@
|
|
|
1316
1316
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
1317
1317
|
}
|
|
1318
1318
|
},
|
|
1319
|
-
"node_modules/@ui5/linter/node_modules/@ui5/project/node_modules/ajv": {
|
|
1320
|
-
"version": "6.14.0",
|
|
1321
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
|
|
1322
|
-
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
|
|
1323
|
-
"license": "MIT",
|
|
1324
|
-
"dependencies": {
|
|
1325
|
-
"fast-deep-equal": "^3.1.1",
|
|
1326
|
-
"fast-json-stable-stringify": "^2.0.0",
|
|
1327
|
-
"json-schema-traverse": "^0.4.1",
|
|
1328
|
-
"uri-js": "^4.2.2"
|
|
1329
|
-
},
|
|
1330
|
-
"funding": {
|
|
1331
|
-
"type": "github",
|
|
1332
|
-
"url": "https://github.com/sponsors/epoberezkin"
|
|
1333
|
-
}
|
|
1334
|
-
},
|
|
1335
1319
|
"node_modules/@ui5/linter/node_modules/@ui5/project/node_modules/argparse": {
|
|
1336
1320
|
"version": "2.0.1",
|
|
1337
1321
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
|
@@ -1379,12 +1363,6 @@
|
|
|
1379
1363
|
"js-yaml": "bin/js-yaml.js"
|
|
1380
1364
|
}
|
|
1381
1365
|
},
|
|
1382
|
-
"node_modules/@ui5/linter/node_modules/@ui5/project/node_modules/json-schema-traverse": {
|
|
1383
|
-
"version": "0.4.1",
|
|
1384
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
|
1385
|
-
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
|
1386
|
-
"license": "MIT"
|
|
1387
|
-
},
|
|
1388
1366
|
"node_modules/@ui5/linter/node_modules/@ui5/project/node_modules/unicorn-magic": {
|
|
1389
1367
|
"version": "0.3.0",
|
|
1390
1368
|
"resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz",
|
|
@@ -1420,7 +1398,6 @@
|
|
|
1420
1398
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
|
|
1421
1399
|
"integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
|
|
1422
1400
|
"license": "MIT",
|
|
1423
|
-
"peer": true,
|
|
1424
1401
|
"dependencies": {
|
|
1425
1402
|
"fast-deep-equal": "^3.1.3",
|
|
1426
1403
|
"fast-uri": "^3.0.1",
|
|
@@ -1433,12 +1410,12 @@
|
|
|
1433
1410
|
}
|
|
1434
1411
|
},
|
|
1435
1412
|
"node_modules/@ui5/linter/node_modules/ajv-errors": {
|
|
1436
|
-
"version": "
|
|
1437
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-
|
|
1438
|
-
"integrity": "sha512-
|
|
1413
|
+
"version": "3.0.0",
|
|
1414
|
+
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
1415
|
+
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
1439
1416
|
"license": "MIT",
|
|
1440
1417
|
"peerDependencies": {
|
|
1441
|
-
"ajv": "
|
|
1418
|
+
"ajv": "^8.0.1"
|
|
1442
1419
|
}
|
|
1443
1420
|
},
|
|
1444
1421
|
"node_modules/@ui5/linter/node_modules/ansi-align": {
|
|
@@ -2041,12 +2018,6 @@
|
|
|
2041
2018
|
"node": ">= 6"
|
|
2042
2019
|
}
|
|
2043
2020
|
},
|
|
2044
|
-
"node_modules/@ui5/linter/node_modules/fast-json-stable-stringify": {
|
|
2045
|
-
"version": "2.1.0",
|
|
2046
|
-
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
|
|
2047
|
-
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
|
|
2048
|
-
"license": "MIT"
|
|
2049
|
-
},
|
|
2050
2021
|
"node_modules/@ui5/linter/node_modules/fast-uri": {
|
|
2051
2022
|
"version": "3.1.0",
|
|
2052
2023
|
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz",
|
|
@@ -2061,25 +2032,27 @@
|
|
|
2061
2032
|
"url": "https://opencollective.com/fastify"
|
|
2062
2033
|
}
|
|
2063
2034
|
],
|
|
2064
|
-
"license": "BSD-3-Clause"
|
|
2065
|
-
"peer": true
|
|
2035
|
+
"license": "BSD-3-Clause"
|
|
2066
2036
|
},
|
|
2067
2037
|
"node_modules/@ui5/linter/node_modules/fast-xml-builder": {
|
|
2068
|
-
"version": "1.
|
|
2069
|
-
"resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.
|
|
2070
|
-
"integrity": "sha512-
|
|
2038
|
+
"version": "1.1.3",
|
|
2039
|
+
"resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.3.tgz",
|
|
2040
|
+
"integrity": "sha512-1o60KoFw2+LWKQu3IdcfcFlGTW4dpqEWmjhYec6H82AYZU2TVBXep6tMl8Z1Y+wM+ZrzCwe3BZ9Vyd9N2rIvmg==",
|
|
2071
2041
|
"funding": [
|
|
2072
2042
|
{
|
|
2073
2043
|
"type": "github",
|
|
2074
2044
|
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
2075
2045
|
}
|
|
2076
2046
|
],
|
|
2077
|
-
"license": "MIT"
|
|
2047
|
+
"license": "MIT",
|
|
2048
|
+
"dependencies": {
|
|
2049
|
+
"path-expression-matcher": "^1.1.3"
|
|
2050
|
+
}
|
|
2078
2051
|
},
|
|
2079
2052
|
"node_modules/@ui5/linter/node_modules/fast-xml-parser": {
|
|
2080
|
-
"version": "5.
|
|
2081
|
-
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.
|
|
2082
|
-
"integrity": "sha512-
|
|
2053
|
+
"version": "5.5.5",
|
|
2054
|
+
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.5.tgz",
|
|
2055
|
+
"integrity": "sha512-NLY+V5NNbdmiEszx9n14mZBseJTC50bRq1VHsaxOmR72JDuZt+5J1Co+dC/4JPnyq+WrIHNM69r0sqf7BMb3Mg==",
|
|
2083
2056
|
"funding": [
|
|
2084
2057
|
{
|
|
2085
2058
|
"type": "github",
|
|
@@ -2088,7 +2061,8 @@
|
|
|
2088
2061
|
],
|
|
2089
2062
|
"license": "MIT",
|
|
2090
2063
|
"dependencies": {
|
|
2091
|
-
"fast-xml-builder": "^1.
|
|
2064
|
+
"fast-xml-builder": "^1.1.3",
|
|
2065
|
+
"path-expression-matcher": "^1.1.3",
|
|
2092
2066
|
"strnum": "^2.1.2"
|
|
2093
2067
|
},
|
|
2094
2068
|
"bin": {
|
|
@@ -2660,8 +2634,7 @@
|
|
|
2660
2634
|
"version": "1.0.0",
|
|
2661
2635
|
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
2662
2636
|
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
|
|
2663
|
-
"license": "MIT"
|
|
2664
|
-
"peer": true
|
|
2637
|
+
"license": "MIT"
|
|
2665
2638
|
},
|
|
2666
2639
|
"node_modules/@ui5/linter/node_modules/json-source-map": {
|
|
2667
2640
|
"version": "0.6.1",
|
|
@@ -3210,9 +3183,9 @@
|
|
|
3210
3183
|
"license": "BlueOak-1.0.0"
|
|
3211
3184
|
},
|
|
3212
3185
|
"node_modules/@ui5/linter/node_modules/pacote": {
|
|
3213
|
-
"version": "20.0.
|
|
3214
|
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.
|
|
3215
|
-
"integrity": "sha512-
|
|
3186
|
+
"version": "20.0.1",
|
|
3187
|
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.1.tgz",
|
|
3188
|
+
"integrity": "sha512-jTMLD/QK7JMUKg3g7K3M/DEqIbGm7sxclj12eQYIkL3viutSiefTs26IrqIqgGlFsviF/9dlDUZxnpGvkRXtjw==",
|
|
3216
3189
|
"license": "ISC",
|
|
3217
3190
|
"dependencies": {
|
|
3218
3191
|
"@npmcli/git": "^6.0.0",
|
|
@@ -3231,7 +3204,7 @@
|
|
|
3231
3204
|
"promise-retry": "^2.0.1",
|
|
3232
3205
|
"sigstore": "^3.0.0",
|
|
3233
3206
|
"ssri": "^12.0.0",
|
|
3234
|
-
"tar": "^
|
|
3207
|
+
"tar": "^7.5.10"
|
|
3235
3208
|
},
|
|
3236
3209
|
"bin": {
|
|
3237
3210
|
"pacote": "bin/index.js"
|
|
@@ -3456,6 +3429,21 @@
|
|
|
3456
3429
|
"node": "^18.17.0 || >=20.5.0"
|
|
3457
3430
|
}
|
|
3458
3431
|
},
|
|
3432
|
+
"node_modules/@ui5/linter/node_modules/path-expression-matcher": {
|
|
3433
|
+
"version": "1.1.3",
|
|
3434
|
+
"resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz",
|
|
3435
|
+
"integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==",
|
|
3436
|
+
"funding": [
|
|
3437
|
+
{
|
|
3438
|
+
"type": "github",
|
|
3439
|
+
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
3440
|
+
}
|
|
3441
|
+
],
|
|
3442
|
+
"license": "MIT",
|
|
3443
|
+
"engines": {
|
|
3444
|
+
"node": ">=14.0.0"
|
|
3445
|
+
}
|
|
3446
|
+
},
|
|
3459
3447
|
"node_modules/@ui5/linter/node_modules/path-key": {
|
|
3460
3448
|
"version": "3.1.1",
|
|
3461
3449
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
|
@@ -3560,15 +3548,6 @@
|
|
|
3560
3548
|
"integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==",
|
|
3561
3549
|
"license": "ISC"
|
|
3562
3550
|
},
|
|
3563
|
-
"node_modules/@ui5/linter/node_modules/punycode": {
|
|
3564
|
-
"version": "2.3.1",
|
|
3565
|
-
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
|
|
3566
|
-
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
|
|
3567
|
-
"license": "MIT",
|
|
3568
|
-
"engines": {
|
|
3569
|
-
"node": ">=6"
|
|
3570
|
-
}
|
|
3571
|
-
},
|
|
3572
3551
|
"node_modules/@ui5/linter/node_modules/pupa": {
|
|
3573
3552
|
"version": "3.3.0",
|
|
3574
3553
|
"resolved": "https://registry.npmjs.org/pupa/-/pupa-3.3.0.tgz",
|
|
@@ -3776,7 +3755,6 @@
|
|
|
3776
3755
|
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
|
|
3777
3756
|
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
|
|
3778
3757
|
"license": "MIT",
|
|
3779
|
-
"peer": true,
|
|
3780
3758
|
"engines": {
|
|
3781
3759
|
"node": ">=0.10.0"
|
|
3782
3760
|
}
|
|
@@ -4157,9 +4135,9 @@
|
|
|
4157
4135
|
}
|
|
4158
4136
|
},
|
|
4159
4137
|
"node_modules/@ui5/linter/node_modules/tar": {
|
|
4160
|
-
"version": "7.5.
|
|
4161
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
4162
|
-
"integrity": "sha512-
|
|
4138
|
+
"version": "7.5.11",
|
|
4139
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.11.tgz",
|
|
4140
|
+
"integrity": "sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==",
|
|
4163
4141
|
"license": "BlueOak-1.0.0",
|
|
4164
4142
|
"dependencies": {
|
|
4165
4143
|
"@isaacs/fs-minipass": "^4.0.0",
|
|
@@ -4373,15 +4351,6 @@
|
|
|
4373
4351
|
"url": "https://github.com/chalk/wrap-ansi?sponsor=1"
|
|
4374
4352
|
}
|
|
4375
4353
|
},
|
|
4376
|
-
"node_modules/@ui5/linter/node_modules/uri-js": {
|
|
4377
|
-
"version": "4.4.1",
|
|
4378
|
-
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
|
|
4379
|
-
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
|
|
4380
|
-
"license": "BSD-2-Clause",
|
|
4381
|
-
"dependencies": {
|
|
4382
|
-
"punycode": "^2.1.0"
|
|
4383
|
-
}
|
|
4384
|
-
},
|
|
4385
4354
|
"node_modules/@ui5/linter/node_modules/validate-npm-package-license": {
|
|
4386
4355
|
"version": "3.0.4",
|
|
4387
4356
|
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
|
@@ -4677,16 +4646,16 @@
|
|
|
4677
4646
|
}
|
|
4678
4647
|
},
|
|
4679
4648
|
"node_modules/@ui5/project": {
|
|
4680
|
-
"version": "4.0.
|
|
4681
|
-
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-4.0.
|
|
4682
|
-
"integrity": "sha512-
|
|
4649
|
+
"version": "4.0.14",
|
|
4650
|
+
"resolved": "https://registry.npmjs.org/@ui5/project/-/project-4.0.14.tgz",
|
|
4651
|
+
"integrity": "sha512-M0T5KfhaDkb9QuTZVCmf0MJpmp0X0Ty2FTive5HU+aLGun9V4VKsHGb2LN09gjWcbXZvQh4scwIurfURzR0M5A==",
|
|
4683
4652
|
"license": "Apache-2.0",
|
|
4684
4653
|
"dependencies": {
|
|
4685
4654
|
"@npmcli/config": "^9.0.0",
|
|
4686
4655
|
"@ui5/fs": "^4.0.5",
|
|
4687
4656
|
"@ui5/logger": "^4.0.2",
|
|
4688
|
-
"ajv": "^
|
|
4689
|
-
"ajv-errors": "^
|
|
4657
|
+
"ajv": "^8.18.0",
|
|
4658
|
+
"ajv-errors": "^3.0.0",
|
|
4690
4659
|
"chalk": "^5.6.2",
|
|
4691
4660
|
"escape-string-regexp": "^5.0.0",
|
|
4692
4661
|
"globby": "^14.1.0",
|
|
@@ -4695,7 +4664,7 @@
|
|
|
4695
4664
|
"lockfile": "^1.0.4",
|
|
4696
4665
|
"make-fetch-happen": "^14.0.3",
|
|
4697
4666
|
"node-stream-zip": "^1.15.0",
|
|
4698
|
-
"pacote": "^19.0.
|
|
4667
|
+
"pacote": "^19.0.2",
|
|
4699
4668
|
"pretty-hrtime": "^1.0.3",
|
|
4700
4669
|
"read-package-up": "^11.0.0",
|
|
4701
4670
|
"read-pkg": "^9.0.1",
|
|
@@ -4757,22 +4726,6 @@
|
|
|
4757
4726
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
4758
4727
|
}
|
|
4759
4728
|
},
|
|
4760
|
-
"node_modules/@ui5/project/node_modules/ajv": {
|
|
4761
|
-
"version": "6.14.0",
|
|
4762
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
|
|
4763
|
-
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
|
|
4764
|
-
"license": "MIT",
|
|
4765
|
-
"dependencies": {
|
|
4766
|
-
"fast-deep-equal": "^3.1.1",
|
|
4767
|
-
"fast-json-stable-stringify": "^2.0.0",
|
|
4768
|
-
"json-schema-traverse": "^0.4.1",
|
|
4769
|
-
"uri-js": "^4.2.2"
|
|
4770
|
-
},
|
|
4771
|
-
"funding": {
|
|
4772
|
-
"type": "github",
|
|
4773
|
-
"url": "https://github.com/sponsors/epoberezkin"
|
|
4774
|
-
}
|
|
4775
|
-
},
|
|
4776
4729
|
"node_modules/@ui5/project/node_modules/argparse": {
|
|
4777
4730
|
"version": "2.0.1",
|
|
4778
4731
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
|
@@ -4843,12 +4796,6 @@
|
|
|
4843
4796
|
"js-yaml": "bin/js-yaml.js"
|
|
4844
4797
|
}
|
|
4845
4798
|
},
|
|
4846
|
-
"node_modules/@ui5/project/node_modules/json-schema-traverse": {
|
|
4847
|
-
"version": "0.4.1",
|
|
4848
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
|
|
4849
|
-
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
|
|
4850
|
-
"license": "MIT"
|
|
4851
|
-
},
|
|
4852
4799
|
"node_modules/@ui5/project/node_modules/lru-cache": {
|
|
4853
4800
|
"version": "10.4.3",
|
|
4854
4801
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz",
|
|
@@ -5020,12 +4967,12 @@
|
|
|
5020
4967
|
}
|
|
5021
4968
|
},
|
|
5022
4969
|
"node_modules/ajv-errors": {
|
|
5023
|
-
"version": "
|
|
5024
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-
|
|
5025
|
-
"integrity": "sha512-
|
|
4970
|
+
"version": "3.0.0",
|
|
4971
|
+
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
4972
|
+
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
5026
4973
|
"license": "MIT",
|
|
5027
4974
|
"peerDependencies": {
|
|
5028
|
-
"ajv": "
|
|
4975
|
+
"ajv": "^8.0.1"
|
|
5029
4976
|
}
|
|
5030
4977
|
},
|
|
5031
4978
|
"node_modules/ajv-formats": {
|
|
@@ -5614,12 +5561,12 @@
|
|
|
5614
5561
|
}
|
|
5615
5562
|
},
|
|
5616
5563
|
"node_modules/express-rate-limit": {
|
|
5617
|
-
"version": "8.
|
|
5618
|
-
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.
|
|
5619
|
-
"integrity": "sha512-
|
|
5564
|
+
"version": "8.3.1",
|
|
5565
|
+
"resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-8.3.1.tgz",
|
|
5566
|
+
"integrity": "sha512-D1dKN+cmyPWuvB+G2SREQDzPY1agpBIcTa9sJxOPMCNeH3gwzhqJRDWCXW3gg0y//+LQ/8j52JbMROWyrKdMdw==",
|
|
5620
5567
|
"license": "MIT",
|
|
5621
5568
|
"dependencies": {
|
|
5622
|
-
"ip-address": "10.0
|
|
5569
|
+
"ip-address": "10.1.0"
|
|
5623
5570
|
},
|
|
5624
5571
|
"engines": {
|
|
5625
5572
|
"node": ">= 16"
|
|
@@ -5665,12 +5612,6 @@
|
|
|
5665
5612
|
"node": ">= 6"
|
|
5666
5613
|
}
|
|
5667
5614
|
},
|
|
5668
|
-
"node_modules/fast-json-stable-stringify": {
|
|
5669
|
-
"version": "2.1.0",
|
|
5670
|
-
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
|
|
5671
|
-
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
|
|
5672
|
-
"license": "MIT"
|
|
5673
|
-
},
|
|
5674
5615
|
"node_modules/fast-uri": {
|
|
5675
5616
|
"version": "3.1.0",
|
|
5676
5617
|
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.0.tgz",
|
|
@@ -5688,21 +5629,24 @@
|
|
|
5688
5629
|
"license": "BSD-3-Clause"
|
|
5689
5630
|
},
|
|
5690
5631
|
"node_modules/fast-xml-builder": {
|
|
5691
|
-
"version": "1.
|
|
5692
|
-
"resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.
|
|
5693
|
-
"integrity": "sha512-
|
|
5632
|
+
"version": "1.1.4",
|
|
5633
|
+
"resolved": "https://registry.npmjs.org/fast-xml-builder/-/fast-xml-builder-1.1.4.tgz",
|
|
5634
|
+
"integrity": "sha512-f2jhpN4Eccy0/Uz9csxh3Nu6q4ErKxf0XIsasomfOihuSUa3/xw6w8dnOtCDgEItQFJG8KyXPzQXzcODDrrbOg==",
|
|
5694
5635
|
"funding": [
|
|
5695
5636
|
{
|
|
5696
5637
|
"type": "github",
|
|
5697
5638
|
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
5698
5639
|
}
|
|
5699
5640
|
],
|
|
5700
|
-
"license": "MIT"
|
|
5641
|
+
"license": "MIT",
|
|
5642
|
+
"dependencies": {
|
|
5643
|
+
"path-expression-matcher": "^1.1.3"
|
|
5644
|
+
}
|
|
5701
5645
|
},
|
|
5702
5646
|
"node_modules/fast-xml-parser": {
|
|
5703
|
-
"version": "5.
|
|
5704
|
-
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.
|
|
5705
|
-
"integrity": "sha512-
|
|
5647
|
+
"version": "5.5.6",
|
|
5648
|
+
"resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-5.5.6.tgz",
|
|
5649
|
+
"integrity": "sha512-3+fdZyBRVg29n4rXP0joHthhcHdPUHaIC16cuyyd1iLsuaO6Vea36MPrxgAzbZna8lhvZeRL8Bc9GP56/J9xEw==",
|
|
5706
5650
|
"funding": [
|
|
5707
5651
|
{
|
|
5708
5652
|
"type": "github",
|
|
@@ -5711,7 +5655,8 @@
|
|
|
5711
5655
|
],
|
|
5712
5656
|
"license": "MIT",
|
|
5713
5657
|
"dependencies": {
|
|
5714
|
-
"fast-xml-builder": "^1.
|
|
5658
|
+
"fast-xml-builder": "^1.1.4",
|
|
5659
|
+
"path-expression-matcher": "^1.1.3",
|
|
5715
5660
|
"strnum": "^2.1.2"
|
|
5716
5661
|
},
|
|
5717
5662
|
"bin": {
|
|
@@ -6026,9 +5971,9 @@
|
|
|
6026
5971
|
}
|
|
6027
5972
|
},
|
|
6028
5973
|
"node_modules/hono": {
|
|
6029
|
-
"version": "4.12.
|
|
6030
|
-
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.
|
|
6031
|
-
"integrity": "sha512-
|
|
5974
|
+
"version": "4.12.8",
|
|
5975
|
+
"resolved": "https://registry.npmjs.org/hono/-/hono-4.12.8.tgz",
|
|
5976
|
+
"integrity": "sha512-VJCEvtrezO1IAR+kqEYnxUOoStaQPGrCmX3j4wDTNOcD1uRPFpGlwQUIW8niPuvHXaTUxeOUl5MMDGrl+tmO9A==",
|
|
6032
5977
|
"license": "MIT",
|
|
6033
5978
|
"engines": {
|
|
6034
5979
|
"node": ">=16.9.0"
|
|
@@ -6178,9 +6123,9 @@
|
|
|
6178
6123
|
}
|
|
6179
6124
|
},
|
|
6180
6125
|
"node_modules/ip-address": {
|
|
6181
|
-
"version": "10.0
|
|
6182
|
-
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.0.
|
|
6183
|
-
"integrity": "sha512-
|
|
6126
|
+
"version": "10.1.0",
|
|
6127
|
+
"resolved": "https://registry.npmjs.org/ip-address/-/ip-address-10.1.0.tgz",
|
|
6128
|
+
"integrity": "sha512-XXADHxXmvT9+CRxhXg56LJovE+bmWnEWB78LB83VZTprKTmaC5QfruXocxzTZ2Kl0DNwKuBdlIhjL8LeY8Sf8Q==",
|
|
6184
6129
|
"license": "MIT",
|
|
6185
6130
|
"engines": {
|
|
6186
6131
|
"node": ">= 12"
|
|
@@ -6336,9 +6281,9 @@
|
|
|
6336
6281
|
}
|
|
6337
6282
|
},
|
|
6338
6283
|
"node_modules/jose": {
|
|
6339
|
-
"version": "6.1
|
|
6340
|
-
"resolved": "https://registry.npmjs.org/jose/-/jose-6.1.
|
|
6341
|
-
"integrity": "sha512-
|
|
6284
|
+
"version": "6.2.1",
|
|
6285
|
+
"resolved": "https://registry.npmjs.org/jose/-/jose-6.2.1.tgz",
|
|
6286
|
+
"integrity": "sha512-jUaKr1yrbfaImV7R2TN/b3IcZzsw38/chqMpo2XJ7i2F8AfM/lA4G1goC3JVEwg0H7UldTmSt3P68nt31W7/mw==",
|
|
6342
6287
|
"license": "MIT",
|
|
6343
6288
|
"funding": {
|
|
6344
6289
|
"url": "https://github.com/sponsors/panva"
|
|
@@ -6396,13 +6341,14 @@
|
|
|
6396
6341
|
"license": "ISC"
|
|
6397
6342
|
},
|
|
6398
6343
|
"node_modules/make-fetch-happen": {
|
|
6399
|
-
"version": "15.0.
|
|
6400
|
-
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-15.0.
|
|
6401
|
-
"integrity": "sha512-
|
|
6344
|
+
"version": "15.0.5",
|
|
6345
|
+
"resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-15.0.5.tgz",
|
|
6346
|
+
"integrity": "sha512-uCbIa8jWWmQZt4dSnEStkVC6gdakiinAm4PiGsywIkguF0eWMdcjDz0ECYhUolFU3pFLOev9VNPCEygydXnddg==",
|
|
6402
6347
|
"license": "ISC",
|
|
6403
6348
|
"dependencies": {
|
|
6404
6349
|
"@gar/promise-retry": "^1.0.0",
|
|
6405
6350
|
"@npmcli/agent": "^4.0.0",
|
|
6351
|
+
"@npmcli/redact": "^4.0.0",
|
|
6406
6352
|
"cacache": "^20.0.1",
|
|
6407
6353
|
"http-cache-semantics": "^4.1.1",
|
|
6408
6354
|
"minipass": "^7.0.2",
|
|
@@ -6429,6 +6375,15 @@
|
|
|
6429
6375
|
"node": "^20.17.0 || >=22.9.0"
|
|
6430
6376
|
}
|
|
6431
6377
|
},
|
|
6378
|
+
"node_modules/make-fetch-happen/node_modules/@npmcli/redact": {
|
|
6379
|
+
"version": "4.0.0",
|
|
6380
|
+
"resolved": "https://registry.npmjs.org/@npmcli/redact/-/redact-4.0.0.tgz",
|
|
6381
|
+
"integrity": "sha512-gOBg5YHMfZy+TfHArfVogwgfBeQnKbbGo3pSUyK/gSI0AVu+pEiDVcKlQb0D8Mg1LNRZILZ6XG8I5dJ4KuAd9Q==",
|
|
6382
|
+
"license": "ISC",
|
|
6383
|
+
"engines": {
|
|
6384
|
+
"node": "^20.17.0 || >=22.9.0"
|
|
6385
|
+
}
|
|
6386
|
+
},
|
|
6432
6387
|
"node_modules/make-fetch-happen/node_modules/balanced-match": {
|
|
6433
6388
|
"version": "4.0.4",
|
|
6434
6389
|
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
|
|
@@ -6490,9 +6445,9 @@
|
|
|
6490
6445
|
}
|
|
6491
6446
|
},
|
|
6492
6447
|
"node_modules/make-fetch-happen/node_modules/lru-cache": {
|
|
6493
|
-
"version": "11.2.
|
|
6494
|
-
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.
|
|
6495
|
-
"integrity": "sha512-
|
|
6448
|
+
"version": "11.2.7",
|
|
6449
|
+
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.7.tgz",
|
|
6450
|
+
"integrity": "sha512-aY/R+aEsRelme17KGQa/1ZSIpLpNYYrhcrepKTZgE+W3WM16YMCaPwOHLHsmopZHELU0Ojin1lPVxKR0MihncA==",
|
|
6496
6451
|
"license": "BlueOak-1.0.0",
|
|
6497
6452
|
"engines": {
|
|
6498
6453
|
"node": "20 || >=22"
|
|
@@ -7048,9 +7003,9 @@
|
|
|
7048
7003
|
"license": "BlueOak-1.0.0"
|
|
7049
7004
|
},
|
|
7050
7005
|
"node_modules/pacote": {
|
|
7051
|
-
"version": "20.0.
|
|
7052
|
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.
|
|
7053
|
-
"integrity": "sha512-
|
|
7006
|
+
"version": "20.0.1",
|
|
7007
|
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-20.0.1.tgz",
|
|
7008
|
+
"integrity": "sha512-jTMLD/QK7JMUKg3g7K3M/DEqIbGm7sxclj12eQYIkL3viutSiefTs26IrqIqgGlFsviF/9dlDUZxnpGvkRXtjw==",
|
|
7054
7009
|
"license": "ISC",
|
|
7055
7010
|
"dependencies": {
|
|
7056
7011
|
"@npmcli/git": "^6.0.0",
|
|
@@ -7069,7 +7024,7 @@
|
|
|
7069
7024
|
"promise-retry": "^2.0.1",
|
|
7070
7025
|
"sigstore": "^3.0.0",
|
|
7071
7026
|
"ssri": "^12.0.0",
|
|
7072
|
-
"tar": "^
|
|
7027
|
+
"tar": "^7.5.10"
|
|
7073
7028
|
},
|
|
7074
7029
|
"bin": {
|
|
7075
7030
|
"pacote": "bin/index.js"
|
|
@@ -7400,6 +7355,21 @@
|
|
|
7400
7355
|
"node": ">= 0.8"
|
|
7401
7356
|
}
|
|
7402
7357
|
},
|
|
7358
|
+
"node_modules/path-expression-matcher": {
|
|
7359
|
+
"version": "1.1.3",
|
|
7360
|
+
"resolved": "https://registry.npmjs.org/path-expression-matcher/-/path-expression-matcher-1.1.3.tgz",
|
|
7361
|
+
"integrity": "sha512-qdVgY8KXmVdJZRSS1JdEPOKPdTiEK/pi0RkcT2sw1RhXxohdujUlJFPuS1TSkevZ9vzd3ZlL7ULl1MHGTApKzQ==",
|
|
7362
|
+
"funding": [
|
|
7363
|
+
{
|
|
7364
|
+
"type": "github",
|
|
7365
|
+
"url": "https://github.com/sponsors/NaturalIntelligence"
|
|
7366
|
+
}
|
|
7367
|
+
],
|
|
7368
|
+
"license": "MIT",
|
|
7369
|
+
"engines": {
|
|
7370
|
+
"node": ">=14.0.0"
|
|
7371
|
+
}
|
|
7372
|
+
},
|
|
7403
7373
|
"node_modules/path-key": {
|
|
7404
7374
|
"version": "3.1.1",
|
|
7405
7375
|
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
|
|
@@ -7545,15 +7515,6 @@
|
|
|
7545
7515
|
"node": ">= 0.10"
|
|
7546
7516
|
}
|
|
7547
7517
|
},
|
|
7548
|
-
"node_modules/punycode": {
|
|
7549
|
-
"version": "2.3.1",
|
|
7550
|
-
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
|
|
7551
|
-
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
|
|
7552
|
-
"license": "MIT",
|
|
7553
|
-
"engines": {
|
|
7554
|
-
"node": ">=6"
|
|
7555
|
-
}
|
|
7556
|
-
},
|
|
7557
7518
|
"node_modules/qs": {
|
|
7558
7519
|
"version": "6.15.0",
|
|
7559
7520
|
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
|
|
@@ -7808,9 +7769,9 @@
|
|
|
7808
7769
|
"license": "MIT"
|
|
7809
7770
|
},
|
|
7810
7771
|
"node_modules/sax": {
|
|
7811
|
-
"version": "1.
|
|
7812
|
-
"resolved": "https://registry.npmjs.org/sax/-/sax-1.
|
|
7813
|
-
"integrity": "sha512-
|
|
7772
|
+
"version": "1.6.0",
|
|
7773
|
+
"resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz",
|
|
7774
|
+
"integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==",
|
|
7814
7775
|
"license": "BlueOak-1.0.0",
|
|
7815
7776
|
"engines": {
|
|
7816
7777
|
"node": ">=11.0.0"
|
|
@@ -8231,9 +8192,9 @@
|
|
|
8231
8192
|
}
|
|
8232
8193
|
},
|
|
8233
8194
|
"node_modules/strnum": {
|
|
8234
|
-
"version": "2.
|
|
8235
|
-
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.
|
|
8236
|
-
"integrity": "sha512-
|
|
8195
|
+
"version": "2.2.0",
|
|
8196
|
+
"resolved": "https://registry.npmjs.org/strnum/-/strnum-2.2.0.tgz",
|
|
8197
|
+
"integrity": "sha512-Y7Bj8XyJxnPAORMZj/xltsfo55uOiyHcU2tnAVzHUnSJR/KsEX+9RoDeXEnsXtl/CX4fAcrt64gZ13aGaWPeBg==",
|
|
8237
8198
|
"funding": [
|
|
8238
8199
|
{
|
|
8239
8200
|
"type": "github",
|
|
@@ -8255,9 +8216,9 @@
|
|
|
8255
8216
|
}
|
|
8256
8217
|
},
|
|
8257
8218
|
"node_modules/tar": {
|
|
8258
|
-
"version": "7.5.
|
|
8259
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
8260
|
-
"integrity": "sha512-
|
|
8219
|
+
"version": "7.5.11",
|
|
8220
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.11.tgz",
|
|
8221
|
+
"integrity": "sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==",
|
|
8261
8222
|
"license": "BlueOak-1.0.0",
|
|
8262
8223
|
"dependencies": {
|
|
8263
8224
|
"@isaacs/fs-minipass": "^4.0.0",
|
|
@@ -8533,15 +8494,6 @@
|
|
|
8533
8494
|
"node": ">= 0.8"
|
|
8534
8495
|
}
|
|
8535
8496
|
},
|
|
8536
|
-
"node_modules/uri-js": {
|
|
8537
|
-
"version": "4.4.1",
|
|
8538
|
-
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
|
|
8539
|
-
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
|
|
8540
|
-
"license": "BSD-2-Clause",
|
|
8541
|
-
"dependencies": {
|
|
8542
|
-
"punycode": "^2.1.0"
|
|
8543
|
-
}
|
|
8544
|
-
},
|
|
8545
8497
|
"node_modules/validate-npm-package-license": {
|
|
8546
8498
|
"version": "3.0.4",
|
|
8547
8499
|
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/mcp-server",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "MCP server for SAPUI5/OpenUI5 development",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "SAP SE",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@istanbuljs/esm-loader-hook": "^0.3.0",
|
|
100
100
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
101
101
|
"@modelcontextprotocol/inspector": "^0.21.1",
|
|
102
|
-
"@stylistic/eslint-plugin": "^5.
|
|
102
|
+
"@stylistic/eslint-plugin": "^5.10.0",
|
|
103
103
|
"@types/ejs": "^3.1.5",
|
|
104
104
|
"@types/make-fetch-happen": "^10.0.4",
|
|
105
105
|
"@types/node": "20.16.15",
|