@graphql-inspector/similar-command 3.4.9 → 3.4.10-alpha-20230418154415-aa03cdf5
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/cjs/index.js +2 -2
- package/esm/index.js +2 -2
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -23,9 +23,9 @@ function handler({ schema, writePath, type, threshold, }) {
|
|
|
23
23
|
logger_1.Logger.log('');
|
|
24
24
|
logger_1.Logger.log(`${prefix} ${sourceType}`);
|
|
25
25
|
logger_1.Logger.log(printResult(name, matches.bestMatch.rating));
|
|
26
|
-
matches.ratings
|
|
26
|
+
for (const match of matches.ratings) {
|
|
27
27
|
logger_1.Logger.log(printResult(match.target.typeId, match.rating));
|
|
28
|
-
}
|
|
28
|
+
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
if (shouldWrite) {
|
package/esm/index.js
CHANGED
|
@@ -20,9 +20,9 @@ export function handler({ schema, writePath, type, threshold, }) {
|
|
|
20
20
|
Logger.log('');
|
|
21
21
|
Logger.log(`${prefix} ${sourceType}`);
|
|
22
22
|
Logger.log(printResult(name, matches.bestMatch.rating));
|
|
23
|
-
matches.ratings
|
|
23
|
+
for (const match of matches.ratings) {
|
|
24
24
|
Logger.log(printResult(match.target.typeId, match.rating));
|
|
25
|
-
}
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
if (shouldWrite) {
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-inspector/similar-command",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.10-alpha-20230418154415-aa03cdf5",
|
|
4
4
|
"description": "Find similar types in GraphQL Schema",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"tslib": "
|
|
11
|
-
"@graphql-inspector/commands": "3.4.
|
|
12
|
-
"@graphql-inspector/core": "4.1.
|
|
13
|
-
"@graphql-inspector/logger": "3.4.
|
|
10
|
+
"tslib": "2.5.0",
|
|
11
|
+
"@graphql-inspector/commands": "3.4.6-alpha-20230418154415-aa03cdf5",
|
|
12
|
+
"@graphql-inspector/core": "4.1.1-alpha-20230418154415-aa03cdf5",
|
|
13
|
+
"@graphql-inspector/logger": "3.4.5-alpha-20230418154415-aa03cdf5"
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|