New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@beamf/graphql-schema-typescript

Package Overview
Dependencies
Maintainers
6
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beamf/graphql-schema-typescript - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

5

lib/resolvers-generator.js

@@ -78,3 +78,2 @@ "use strict";

'',
'export type Value<T> = T | Promise<T>',
'/**',

@@ -89,5 +88,5 @@ ' * Technically a property can be a function also. We DO NOT support this use case',

' */',
'export type GQLProperty<T, Args, Ctx> = Value<T | null> // | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>)',
'export type GQLProperty<T, Args, Ctx> = T | Promise<T> // | ((args: Args, context: Ctx, info: GraphQLResolveInfo) => T | Promise<T>)',
'',
'export type GQLResolver<T, P, Args, Ctx> = (parent: P, args: Args, context: Ctx, info: GraphQLResolveInfo) => Value<T>',
'export type GQLResolver<T, P, Args, Ctx> = (parent: P, args: Args, context: Ctx, info: GraphQLResolveInfo) => T | Promise<T>',
'/**',

@@ -94,0 +93,0 @@ ' * When used as properties of the return value of an existing resolver, this really should be',

2

package.json
{
"name": "@beamf/graphql-schema-typescript",
"version": "1.2.3",
"version": "1.2.4",
"description": "Generate TypeScript from GraphQL's schema type definitions",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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