@redocly/cli 0.0.0-snapshot.1781617847 → 0.0.0-snapshot.1782145948
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/THIRD_PARTY_NOTICES +3 -3
- package/lib/chunks/{66OGXJIO.js → AIO2RJZJ.js} +1 -1
- package/lib/chunks/{NYFRZGRF.js → C4SG2WPV.js} +1 -1
- package/lib/chunks/{NRFN72LN.js → G3TCHIWO.js} +4 -4
- package/lib/chunks/{HIGXOJIT.js → GGA7PAQ6.js} +1 -1
- package/lib/chunks/{67EQ2GUI.js → GSHKQMMA.js} +8 -3
- package/lib/chunks/{EZDONZRY.js → LVAHCGWB.js} +1 -1
- package/lib/chunks/{B5R3NVU5.js → PHUZ23OM.js} +2 -2
- package/lib/chunks/{Q36VJZZB.js → TM7KMCR3.js} +195 -195
- package/lib/chunks/{ISBMOVQC.js → UC4JNXDO.js} +3 -3
- package/lib/chunks/{6IACNET6.js → UWTRFKVK.js} +31 -13
- package/lib/index.js +12 -18
- package/package.json +1 -1
package/THIRD_PARTY_NOTICES
CHANGED
|
@@ -4,7 +4,7 @@ Third-party software bundled in @redocly/cli
|
|
|
4
4
|
(MPL-2.0 OR Apache-2.0)
|
|
5
5
|
|
|
6
6
|
Packages:
|
|
7
|
-
dompurify@3.4.
|
|
7
|
+
dompurify@3.4.11 — copyright owner or entity authorized by
|
|
8
8
|
|
|
9
9
|
License text:
|
|
10
10
|
|
|
@@ -650,8 +650,8 @@ Packages:
|
|
|
650
650
|
@redocly/config@0.22.0 — Copyright 2024 Redocly Inc.
|
|
651
651
|
@redocly/config@0.49.0 — Copyright 2024 Redocly Inc.
|
|
652
652
|
@redocly/openapi-core@1.34.15
|
|
653
|
-
@redocly/openapi-core@2.
|
|
654
|
-
@redocly/respect-core@2.
|
|
653
|
+
@redocly/openapi-core@2.34.0
|
|
654
|
+
@redocly/respect-core@2.34.0
|
|
655
655
|
agent-base@7.1.4 — Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
|
|
656
656
|
ajv-formats@3.0.1 — Copyright (c) 2020 Evgeny Poberezkin
|
|
657
657
|
ajv@8.18.0 — Copyright (c) 2015-2021 Evgeny Poberezkin
|
|
@@ -2,11 +2,11 @@ import { createRequire as __createRequire } from 'node:module';
|
|
|
2
2
|
const require = __createRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
RedoclyOAuthClient
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./TM7KMCR3.js";
|
|
6
6
|
import "./Y6DTFCLS.js";
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
7
|
+
import "./C4SG2WPV.js";
|
|
8
|
+
import "./UC4JNXDO.js";
|
|
9
|
+
import "./GSHKQMMA.js";
|
|
10
10
|
import "./5ILQMFXK.js";
|
|
11
11
|
export {
|
|
12
12
|
RedoclyOAuthClient
|
|
@@ -32199,6 +32199,11 @@ var BooleanParameterPrefixes2 = (options2) => {
|
|
|
32199
32199
|
};
|
|
32200
32200
|
};
|
|
32201
32201
|
|
|
32202
|
+
// node_modules/@redocly/openapi-core/lib/utils/is-supported-extension.js
|
|
32203
|
+
function isSupportedExtension(filename) {
|
|
32204
|
+
return filename.endsWith(".yaml") || filename.endsWith(".yml") || filename.endsWith(".json");
|
|
32205
|
+
}
|
|
32206
|
+
|
|
32202
32207
|
// node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js
|
|
32203
32208
|
var TYPE_NAME_SCHEMA = "Schema";
|
|
32204
32209
|
var TYPE_NAME_PARAMETER = "Parameter";
|
|
@@ -32293,7 +32298,7 @@ ${definitions}`,
|
|
|
32293
32298
|
return rule;
|
|
32294
32299
|
function getComponentNameFromAbsoluteLocation(absoluteLocation) {
|
|
32295
32300
|
const componentName = absoluteLocation.split("/").slice(-1)[0];
|
|
32296
|
-
if (
|
|
32301
|
+
if (isSupportedExtension(componentName)) {
|
|
32297
32302
|
return componentName.slice(0, componentName.lastIndexOf("."));
|
|
32298
32303
|
}
|
|
32299
32304
|
return componentName;
|
|
@@ -34998,8 +35003,7 @@ var BaseResolver = class {
|
|
|
34998
35003
|
}
|
|
34999
35004
|
}
|
|
35000
35005
|
parseDocument(source, isRoot = false) {
|
|
35001
|
-
|
|
35002
|
-
if (![".json", ".json", ".yml", ".yaml"].includes(ext) && !source.mimeType?.match(/(json|yaml|openapi)/) && !isRoot) {
|
|
35006
|
+
if (!isSupportedExtension(source.absoluteRef) && !source.mimeType?.match(/(json|yaml|openapi)/) && !isRoot) {
|
|
35003
35007
|
return { source, parsed: source.body };
|
|
35004
35008
|
}
|
|
35005
35009
|
try {
|
|
@@ -37501,6 +37505,7 @@ export {
|
|
|
37501
37505
|
colorette_exports,
|
|
37502
37506
|
logger,
|
|
37503
37507
|
YamlParseError,
|
|
37508
|
+
isSupportedExtension,
|
|
37504
37509
|
ResolveError,
|
|
37505
37510
|
BaseResolver,
|
|
37506
37511
|
resolveDocument,
|