@graphql-inspector/audit-command
Advanced tools
Comparing version 3.4.0 to 3.4.1-alpha-20230111095532-bd016dc8
@@ -10,5 +10,5 @@ 'use strict'; | ||
const core = require('@graphql-inspector/core'); | ||
const graphql = require('graphql'); | ||
const logger = require('@graphql-inspector/logger'); | ||
const Table = _interopDefault(require('cli-table3')); | ||
const graphql = require('graphql'); | ||
@@ -80,6 +80,4 @@ const index = commands.createCommand(api => { | ||
} | ||
else if (definition.kind === 'OperationDefinition') { | ||
if (definition.name) { | ||
operations.set(definition.name.value, definition); | ||
} | ||
else if (definition.kind === 'OperationDefinition' && definition.name) { | ||
operations.set(definition.name.value, definition); | ||
} | ||
@@ -86,0 +84,0 @@ } |
{ | ||
"name": "@graphql-inspector/audit-command", | ||
"version": "3.4.0", | ||
"version": "3.4.1-alpha-20230111095532-bd016dc8", | ||
"description": "Audit Documents in GraphQL Inspector", | ||
@@ -10,5 +10,5 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@graphql-inspector/commands": "3.4.0", | ||
"@graphql-inspector/core": "3.4.0", | ||
"@graphql-inspector/logger": "3.4.0", | ||
"@graphql-inspector/commands": "3.4.1-alpha-20230111095532-bd016dc8", | ||
"@graphql-inspector/core": "3.4.1-alpha-20230111095532-bd016dc8", | ||
"@graphql-inspector/logger": "3.4.1-alpha-20230111095532-bd016dc8", | ||
"cli-table3": "0.6.2", | ||
@@ -15,0 +15,0 @@ "tslib": "^2.0.0" |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
12330
0
247
2
+ Added@graphql-inspector/commands@3.4.1-alpha-20230111095532-bd016dc8(transitive)
+ Added@graphql-inspector/config@3.4.1-alpha-20230111095532-bd016dc8(transitive)
+ Added@graphql-inspector/core@3.4.1-alpha-20230111095532-bd016dc8(transitive)
+ Added@graphql-inspector/loaders@3.4.1-alpha-20230111095532-bd016dc8(transitive)
+ Added@graphql-inspector/logger@3.4.1-alpha-20230111095532-bd016dc8(transitive)
- Removed@graphql-inspector/commands@3.4.0(transitive)
- Removed@graphql-inspector/config@3.4.0(transitive)
- Removed@graphql-inspector/core@3.4.0(transitive)
- Removed@graphql-inspector/loaders@3.4.0(transitive)
- Removed@graphql-inspector/logger@3.4.0(transitive)
Updated@graphql-inspector/commands@3.4.1-alpha-20230111095532-bd016dc8
Updated@graphql-inspector/core@3.4.1-alpha-20230111095532-bd016dc8
Updated@graphql-inspector/logger@3.4.1-alpha-20230111095532-bd016dc8