@takeshape/schema 11.30.0 → 11.31.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/dist/refs.js +1 -1
- package/es/refs.js +1 -1
- package/package.json +5 -5
package/dist/refs.js
CHANGED
|
@@ -717,7 +717,7 @@ function getQuery(projectSchema, queryRef) {
|
|
|
717
717
|
function ensureQuery(projectSchema, queryRef) {
|
|
718
718
|
const query = getQuery(projectSchema, queryRef);
|
|
719
719
|
if (!query) {
|
|
720
|
-
throw new _errors.NotFoundError(`Query "${
|
|
720
|
+
throw new _errors.NotFoundError(`Query "${queryRef}" not found`);
|
|
721
721
|
}
|
|
722
722
|
return query;
|
|
723
723
|
}
|
package/es/refs.js
CHANGED
|
@@ -653,7 +653,7 @@ export function getQuery(projectSchema, queryRef) {
|
|
|
653
653
|
export function ensureQuery(projectSchema, queryRef) {
|
|
654
654
|
const query = getQuery(projectSchema, queryRef);
|
|
655
655
|
if (!query) {
|
|
656
|
-
throw new NotFoundError(`Query "${
|
|
656
|
+
throw new NotFoundError(`Query "${queryRef}" not found`);
|
|
657
657
|
}
|
|
658
658
|
return query;
|
|
659
659
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.31.0",
|
|
4
4
|
"description": "TakeShape Schema",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"p-reduce": "^2.1.0",
|
|
29
29
|
"semver": "^7.3.2",
|
|
30
30
|
"tiny-invariant": "^1.2.0",
|
|
31
|
-
"@takeshape/errors": "11.
|
|
32
|
-
"@takeshape/
|
|
33
|
-
"@takeshape/
|
|
31
|
+
"@takeshape/errors": "11.31.0",
|
|
32
|
+
"@takeshape/json-schema": "11.31.0",
|
|
33
|
+
"@takeshape/util": "11.31.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@takeshape/json-schema-to-typescript": "^11.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"meow": "^9.0.0",
|
|
47
47
|
"p-map": "^5.0.0",
|
|
48
48
|
"shortid": "^2.2.15",
|
|
49
|
-
"@takeshape/infra": "11.
|
|
49
|
+
"@takeshape/infra": "11.31.0"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=20"
|