@speclynx/apidom-reference 4.16.0 → 5.0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speclynx/apidom-reference",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Advanced algorithms for semantic ApiDOM manipulations like dereferencing or resolution.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apidom",
|
|
@@ -299,33 +299,33 @@
|
|
|
299
299
|
"license": "Apache-2.0",
|
|
300
300
|
"dependencies": {
|
|
301
301
|
"@babel/runtime-corejs3": "^8.0.0",
|
|
302
|
-
"@speclynx/apidom-core": "
|
|
303
|
-
"@speclynx/apidom-datamodel": "
|
|
304
|
-
"@speclynx/apidom-error": "
|
|
305
|
-
"@speclynx/apidom-json-pointer": "
|
|
306
|
-
"@speclynx/apidom-ns-arazzo-1": "
|
|
307
|
-
"@speclynx/apidom-ns-asyncapi-2": "
|
|
308
|
-
"@speclynx/apidom-ns-json-schema-2020-12": "
|
|
309
|
-
"@speclynx/apidom-ns-openapi-2": "
|
|
310
|
-
"@speclynx/apidom-ns-openapi-3-0": "
|
|
311
|
-
"@speclynx/apidom-ns-openapi-3-1": "
|
|
312
|
-
"@speclynx/apidom-ns-overlay-1": "
|
|
313
|
-
"@speclynx/apidom-parser-adapter-arazzo-json-1": "
|
|
314
|
-
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "
|
|
315
|
-
"@speclynx/apidom-parser-adapter-asyncapi-json-2": "
|
|
316
|
-
"@speclynx/apidom-parser-adapter-asyncapi-yaml-2": "
|
|
317
|
-
"@speclynx/apidom-parser-adapter-json": "
|
|
318
|
-
"@speclynx/apidom-parser-adapter-openapi-json-2": "
|
|
319
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "
|
|
320
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "
|
|
321
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "
|
|
322
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "
|
|
323
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "
|
|
324
|
-
"@speclynx/apidom-parser-adapter-overlay-json-1": "
|
|
325
|
-
"@speclynx/apidom-parser-adapter-overlay-yaml-1": "
|
|
326
|
-
"@speclynx/apidom-parser-adapter-yaml-1-2": "
|
|
327
|
-
"@speclynx/apidom-traverse": "
|
|
328
|
-
"@swaggerexpert/arazzo-runtime-expression": "^
|
|
302
|
+
"@speclynx/apidom-core": "5.0.0",
|
|
303
|
+
"@speclynx/apidom-datamodel": "5.0.0",
|
|
304
|
+
"@speclynx/apidom-error": "5.0.0",
|
|
305
|
+
"@speclynx/apidom-json-pointer": "5.0.0",
|
|
306
|
+
"@speclynx/apidom-ns-arazzo-1": "5.0.0",
|
|
307
|
+
"@speclynx/apidom-ns-asyncapi-2": "5.0.0",
|
|
308
|
+
"@speclynx/apidom-ns-json-schema-2020-12": "5.0.0",
|
|
309
|
+
"@speclynx/apidom-ns-openapi-2": "5.0.0",
|
|
310
|
+
"@speclynx/apidom-ns-openapi-3-0": "5.0.0",
|
|
311
|
+
"@speclynx/apidom-ns-openapi-3-1": "5.0.0",
|
|
312
|
+
"@speclynx/apidom-ns-overlay-1": "5.0.0",
|
|
313
|
+
"@speclynx/apidom-parser-adapter-arazzo-json-1": "5.0.0",
|
|
314
|
+
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "5.0.0",
|
|
315
|
+
"@speclynx/apidom-parser-adapter-asyncapi-json-2": "5.0.0",
|
|
316
|
+
"@speclynx/apidom-parser-adapter-asyncapi-yaml-2": "5.0.0",
|
|
317
|
+
"@speclynx/apidom-parser-adapter-json": "5.0.0",
|
|
318
|
+
"@speclynx/apidom-parser-adapter-openapi-json-2": "5.0.0",
|
|
319
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "5.0.0",
|
|
320
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "5.0.0",
|
|
321
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "5.0.0",
|
|
322
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "5.0.0",
|
|
323
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "5.0.0",
|
|
324
|
+
"@speclynx/apidom-parser-adapter-overlay-json-1": "5.0.0",
|
|
325
|
+
"@speclynx/apidom-parser-adapter-overlay-yaml-1": "5.0.0",
|
|
326
|
+
"@speclynx/apidom-parser-adapter-yaml-1-2": "5.0.0",
|
|
327
|
+
"@speclynx/apidom-traverse": "5.0.0",
|
|
328
|
+
"@swaggerexpert/arazzo-runtime-expression": "^3.0.0",
|
|
329
329
|
"axios": "^1.18.0",
|
|
330
330
|
"picomatch": "^4.0.4",
|
|
331
331
|
"process": "^0.11.10",
|
|
@@ -346,5 +346,5 @@
|
|
|
346
346
|
"README.md",
|
|
347
347
|
"CHANGELOG.md"
|
|
348
348
|
],
|
|
349
|
-
"gitHead": "
|
|
349
|
+
"gitHead": "5f67f647ddc85ef299fdabe503dc739b658e0415"
|
|
350
350
|
}
|
|
@@ -238,7 +238,7 @@ class Arazzo1DereferenceVisitor {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
// evaluate runtime expression as JSON Pointer to get the referenced element
|
|
241
|
-
const jsonPointer = (0, _apidomJsonPointer.compile)(['components', tree.
|
|
241
|
+
const jsonPointer = (0, _apidomJsonPointer.compile)(['components', tree.componentType, tree.componentName]);
|
|
242
242
|
let referencedElement;
|
|
243
243
|
try {
|
|
244
244
|
referencedElement = (0, _apidomJsonPointer.evaluate)(this.reference.value.result, jsonPointer);
|
|
@@ -229,7 +229,7 @@ class Arazzo1DereferenceVisitor {
|
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
// evaluate runtime expression as JSON Pointer to get the referenced element
|
|
232
|
-
const jsonPointer = jsonPointerCompile(['components', tree.
|
|
232
|
+
const jsonPointer = jsonPointerCompile(['components', tree.componentType, tree.componentName]);
|
|
233
233
|
let referencedElement;
|
|
234
234
|
try {
|
|
235
235
|
referencedElement = jsonPointerEvaluate(this.reference.value.result, jsonPointer);
|