graphql-codegen-visitor-plugin-common
Advanced tools
Comparing version 0.19.0-alpha.63dff9f8 to 0.19.0-alpha.645c985c
@@ -99,3 +99,3 @@ "use strict"; | ||
.map(enumOption => utils_1.indent(`${this.convertName(enumOption)}${this._declarationBlockConfig.enumNameValueSeparator} ${utils_1.wrapWithSingleQuotes(this.config.enumValues[enumOption.name] || enumOption.name)}`)) | ||
.join(', \n'); | ||
.join(',\n'); | ||
} | ||
@@ -102,0 +102,0 @@ DirectiveDefinition(node) { |
@@ -125,3 +125,3 @@ "use strict"; | ||
} | ||
return result + (this._kind === 'interface' ? '' : ';') + '\n'; | ||
return result + (this._kind === 'interface' || this._kind === 'enum' ? '' : ';') + '\n'; | ||
} | ||
@@ -128,0 +128,0 @@ } |
@@ -97,3 +97,3 @@ import { BaseVisitor } from './base-visitor'; | ||
.map(enumOption => indent(`${this.convertName(enumOption)}${this._declarationBlockConfig.enumNameValueSeparator} ${wrapWithSingleQuotes(this.config.enumValues[enumOption.name] || enumOption.name)}`)) | ||
.join(', \n'); | ||
.join(',\n'); | ||
} | ||
@@ -100,0 +100,0 @@ DirectiveDefinition(node) { |
@@ -117,3 +117,3 @@ import { pascalCase } from 'change-case'; | ||
} | ||
return result + (this._kind === 'interface' ? '' : ';') + '\n'; | ||
return result + (this._kind === 'interface' || this._kind === 'enum' ? '' : ';') + '\n'; | ||
} | ||
@@ -120,0 +120,0 @@ } |
{ | ||
"name": "graphql-codegen-visitor-plugin-common", | ||
"version": "0.19.0-alpha.63dff9f8", | ||
"version": "0.19.0-alpha.645c985c", | ||
"license": "MIT", | ||
@@ -11,3 +11,3 @@ "scripts": { | ||
"dependency-graph": "0.8.0", | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.63dff9f8", | ||
"graphql-codegen-plugin-helpers": "0.19.0-alpha.645c985c", | ||
"graphql-tag": "2.10.1", | ||
@@ -22,5 +22,6 @@ "tslib": "1.9.3" | ||
"graphql": "14.1.1", | ||
"graphql-codegen-testing": "0.19.0-alpha.63dff9f8", | ||
"graphql-codegen-testing": "0.19.0-alpha.645c985c", | ||
"typescript": "3.3.3333" | ||
}, | ||
"sideEffects": false, | ||
"main": "dist/commonjs/index.js", | ||
@@ -31,22 +32,3 @@ "module": "dist/esnext/index.js", | ||
"definition": "dist/esnext/index.d.ts" | ||
}, | ||
"jest": { | ||
"globals": { | ||
"ts-jest": { | ||
"enableTsDiagnostics": false | ||
} | ||
}, | ||
"transform": { | ||
"^.+\\.tsx?$": "ts-jest" | ||
}, | ||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json", | ||
"node" | ||
] | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
197538
+ Addedgraphql-codegen-plugin-helpers@0.19.0-alpha.645c985c(transitive)
- Removedgraphql-codegen-plugin-helpers@0.19.0-alpha.63dff9f8(transitive)