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

nexus

Package Overview
Dependencies
Maintainers
3
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nexus - npm Package Compare versions

Comparing version 0.12.0-rc.9 to 0.12.0-rc.10

dist/plugins/queryComplexityPlugin.d.ts

3

dist/builder.js

@@ -263,3 +263,3 @@ "use strict";

builder: this.builderLens,
fieldConfig: Object.assign(Object.assign({}, fieldConfig), { type: finalType }),
fieldConfig: Object.assign(Object.assign({}, fieldConfig), { type: finalType, name: key }),
schemaConfig: this.config,

@@ -627,2 +627,3 @@ parentTypeConfig: rest,

const builderFieldConfig = {
name: fieldConfig.name,
type: this.decorateType(this.getOutputType(fieldConfig.type), fieldConfig.list, this.outputNonNull(typeConfig, fieldConfig)),

@@ -629,0 +630,0 @@ args: this.buildArgs(fieldConfig.args || {}, typeConfig),

@@ -102,3 +102,5 @@ import { GraphQLLeafType, GraphQLCompositeType, GraphQLInputObjectType, GraphQLScalarType, GraphQLObjectType, GraphQLInterfaceType, GraphQLUnionType, GraphQLEnumType, GraphQLFieldConfig, GraphQLObjectTypeConfig, GraphQLInterfaceTypeConfig, GraphQLSchema, GraphQLInputObjectTypeConfig } from "graphql";

};
export declare type NexusGraphQLFieldConfig = WithExt<GraphQLFieldConfig<any, any>, NexusFieldExtension>;
export declare type NexusGraphQLFieldConfig = WithExt<GraphQLFieldConfig<any, any>, NexusFieldExtension> & {
name: string;
};
export declare type NexusGraphQLObjectTypeConfig = WithExt<GraphQLObjectTypeConfig<any, any>, NexusObjectTypeExtension>;

@@ -105,0 +107,0 @@ export declare type NexusGraphQLInputObjectTypeConfig = WithExt<GraphQLInputObjectTypeConfig, NexusInputObjectTypeExtension>;

@@ -52,3 +52,3 @@ "use strict";

if (typeof authorize !== "function") {
console.error(new Error(`The authorize property provided to ${config.fieldConfig.type} should be a function, saw ${typeof authorize}`));
console.error(new Error(`The authorize property provided to ${config.fieldConfig.name} with type ${config.fieldConfig.type} should be a function, saw ${typeof authorize}`));
return;

@@ -55,0 +55,0 @@ }

export * from "./nullabilityGuardPlugin";
export * from "./fieldAuthorizePlugin";
export * from "./queryComplexityPlugin";
import * as connectionPluginCore from "./connectionPlugin";
export { connectionPluginCore };
export { connectionPlugin } from "./connectionPlugin";

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

tslib_1.__exportStar(require("./fieldAuthorizePlugin"), exports);
tslib_1.__exportStar(require("./queryComplexityPlugin"), exports);
const connectionPluginCore = tslib_1.__importStar(require("./connectionPlugin"));

@@ -8,0 +9,0 @@ exports.connectionPluginCore = connectionPluginCore;

{
"name": "nexus",
"version": "0.12.0-rc.9",
"version": "0.12.0-rc.10",
"description": "Scalable, strongly typed GraphQL schema development",

@@ -81,2 +81,3 @@ "keywords": [

"graphql-iso-date": "^3.6.1",
"graphql-query-complexity": "^0.4.1",
"graphql-relay": "^0.6.0",

@@ -83,0 +84,0 @@ "husky": "^1.1.2",

@@ -662,2 +662,3 @@ import {

type: finalType,
name: key,
},

@@ -1094,2 +1095,3 @@ schemaConfig: this.config,

> = {
name: fieldConfig.name,
type: this.decorateType(

@@ -1096,0 +1098,0 @@ this.getOutputType(fieldConfig.type),

@@ -150,3 +150,3 @@ import {

NexusFieldExtension
>;
> & { name: string };

@@ -153,0 +153,0 @@ export type NexusGraphQLObjectTypeConfig = WithExt<

@@ -97,2 +97,4 @@ import { plugin } from "../plugin";

`The authorize property provided to ${
config.fieldConfig.name
} with type ${
config.fieldConfig.type

@@ -99,0 +101,0 @@ } should be a function, saw ${typeof authorize}`

export * from "./nullabilityGuardPlugin";
export * from "./fieldAuthorizePlugin";
export * from "./queryComplexityPlugin";
import * as connectionPluginCore from "./connectionPlugin";
export { connectionPluginCore };
export { connectionPlugin } from "./connectionPlugin";

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

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