@takeshape/schema 8.87.1 → 8.87.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.
- package/es/schema-util.js +1 -1
- package/lib/schema-util.js +1 -1
- package/package.json +4 -4
package/es/schema-util.js
CHANGED
|
@@ -645,7 +645,7 @@ export function getShapeDependencies(projectSchema, shape, predicate) {
|
|
|
645
645
|
|
|
646
646
|
if (refShape && !shapeNames.has(refShape.name)) {
|
|
647
647
|
shapeNames.add(refShape.name);
|
|
648
|
-
findDependencies(dereferenceSchema(projectSchema, refShape.schema));
|
|
648
|
+
findDependencies(dereferenceSchema(projectSchema, refShape.schema, ['shapes', refShape.name]));
|
|
649
649
|
}
|
|
650
650
|
} else if (isObjectSchema(schema) || isAllOfSchema(schema) || isOneOfSchema(schema)) {
|
|
651
651
|
visitSchemaProperties(schema, [], findDependencies);
|
package/lib/schema-util.js
CHANGED
|
@@ -771,7 +771,7 @@ function getShapeDependencies(projectSchema, shape, predicate) {
|
|
|
771
771
|
|
|
772
772
|
if (refShape && !shapeNames.has(refShape.name)) {
|
|
773
773
|
shapeNames.add(refShape.name);
|
|
774
|
-
findDependencies((0, _refs.dereferenceSchema)(projectSchema, refShape.schema));
|
|
774
|
+
findDependencies((0, _refs.dereferenceSchema)(projectSchema, refShape.schema, ['shapes', refShape.name]));
|
|
775
775
|
}
|
|
776
776
|
} else if ((0, _utils.isObjectSchema)(schema) || (0, _utils.isAllOfSchema)(schema) || (0, _utils.isOneOfSchema)(schema)) {
|
|
777
777
|
visitSchemaProperties(schema, [], findDependencies);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "8.87.
|
|
3
|
+
"version": "8.87.2",
|
|
4
4
|
"description": "TakeShape Schema",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"examples"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@takeshape/errors": "8.87.
|
|
25
|
-
"@takeshape/json-schema": "8.87.
|
|
26
|
-
"@takeshape/util": "8.87.
|
|
24
|
+
"@takeshape/errors": "8.87.2",
|
|
25
|
+
"@takeshape/json-schema": "8.87.2",
|
|
26
|
+
"@takeshape/util": "8.87.2",
|
|
27
27
|
"ajv": "^8.10.0",
|
|
28
28
|
"ajv-formats": "^2.1.1",
|
|
29
29
|
"blueimp-md5": "^2.10.0",
|