graphql-timezone
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -6,4 +6,4 @@ import { GraphQLEnumType } from 'graphql'; | ||
}; | ||
declare const _default: ({ name, description }: Props) => GraphQLEnumType; | ||
declare const _default: ({ name, description }?: Props) => GraphQLEnumType; | ||
export default _default; | ||
export { timezones, timezoneOptions } from "./timezones"; |
@@ -7,3 +7,3 @@ "use strict"; | ||
exports.default = (function (_a) { | ||
var name = _a.name, description = _a.description; | ||
var _b = _a === void 0 ? {} : _a, name = _b.name, description = _b.description; | ||
return new graphql_1.GraphQLEnumType({ | ||
@@ -10,0 +10,0 @@ name: name || "Timezone", |
@@ -9,3 +9,3 @@ import { GraphQLEnumType } from 'graphql'; | ||
export default ({ name, description }: Props) => | ||
export default ({ name, description }: Props = {}) => | ||
new GraphQLEnumType({ | ||
@@ -12,0 +12,0 @@ name: name || "Timezone", |
{ | ||
"name": "graphql-timezone", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Timezone enum type for GraphQL", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
318313
0