Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-timezone

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-timezone - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc