mulink 1.2.0 → 1.2.1
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/.tsbuildinfo +1 -1
- package/dist/lib/{chunk-BMHPB646.js → chunk-4H6HG3HY.js} +6 -4
- package/dist/lib/chunk-4H6HG3HY.js.map +1 -0
- package/dist/lib/{chunk-IAS3P4RF.cjs → chunk-SOVBAUFP.cjs} +6 -4
- package/dist/lib/chunk-SOVBAUFP.cjs.map +1 -0
- package/dist/lib/cli.cjs +16 -16
- package/dist/lib/cli.js +1 -1
- package/dist/lib/client.cjs +18 -18
- package/dist/lib/client.js +2 -2
- package/dist/lib/index.cjs +32 -32
- package/dist/lib/index.js +2 -2
- package/package.json +1 -1
- package/dist/lib/chunk-BMHPB646.js.map +0 -1
- package/dist/lib/chunk-IAS3P4RF.cjs.map +0 -1
|
@@ -2708,14 +2708,16 @@ var SchemaGenerator = class {
|
|
|
2708
2708
|
}
|
|
2709
2709
|
return dependencies;
|
|
2710
2710
|
}
|
|
2711
|
-
extractDependenciesFromDefinition(definition) {
|
|
2711
|
+
extractDependenciesFromDefinition(definition, exportName) {
|
|
2712
2712
|
const dependencies = [];
|
|
2713
2713
|
const schemaRefRegex = /([A-Z][a-zA-Z0-9]*Schema)\b/g;
|
|
2714
2714
|
const matches = definition.matchAll(schemaRefRegex);
|
|
2715
|
+
const selfBaseName = exportName.replace(/Schema$/, "");
|
|
2715
2716
|
for (const match of matches) {
|
|
2716
2717
|
const schemaName = match[1];
|
|
2717
2718
|
if (!schemaName) continue;
|
|
2718
2719
|
const baseName = schemaName.replace(/Schema$/, "");
|
|
2720
|
+
if (baseName === selfBaseName) continue;
|
|
2719
2721
|
if (!dependencies.includes(baseName)) {
|
|
2720
2722
|
dependencies.push(baseName);
|
|
2721
2723
|
}
|
|
@@ -2835,7 +2837,7 @@ var SchemaGenerator = class {
|
|
|
2835
2837
|
const definition = endpointSchemas.definitions[i];
|
|
2836
2838
|
const exportName = endpointSchemas.exports[i];
|
|
2837
2839
|
if (!definition || !exportName) continue;
|
|
2838
|
-
const dependencies = this.extractDependenciesFromDefinition(definition);
|
|
2840
|
+
const dependencies = this.extractDependenciesFromDefinition(definition, exportName);
|
|
2839
2841
|
allSchemaDefinitions.push({ definition, exportName, dependencies });
|
|
2840
2842
|
schemaExports.push(exportName);
|
|
2841
2843
|
}
|
|
@@ -10069,5 +10071,5 @@ exports.VersionChecker = VersionChecker;
|
|
|
10069
10071
|
exports.__name = __name;
|
|
10070
10072
|
exports.checkAndNotifyUpdates = checkAndNotifyUpdates;
|
|
10071
10073
|
exports.createBridgeVersionChecker = createBridgeVersionChecker;
|
|
10072
|
-
//# sourceMappingURL=chunk-
|
|
10073
|
-
//# sourceMappingURL=chunk-
|
|
10074
|
+
//# sourceMappingURL=chunk-SOVBAUFP.cjs.map
|
|
10075
|
+
//# sourceMappingURL=chunk-SOVBAUFP.cjs.map
|