You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@homebound/graphql-id-linter

Package Overview
Dependencies
Maintainers
48
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@homebound/graphql-id-linter - npm Package Compare versions

Comparing version

to
2.11.0

8

build/IdOnObjectSelectionSetRule.js

@@ -11,9 +11,9 @@ "use strict";

// Unwrap NonNull types
if (graphql_1.isNonNullType(type)) {
if ((0, graphql_1.isNonNullType)(type)) {
type = type.ofType;
}
// Unwrap Lists
if (graphql_1.isListType(type)) {
if ((0, graphql_1.isListType)(type)) {
type = type.ofType;
if (graphql_1.isNonNullType(type)) {
if ((0, graphql_1.isNonNullType)(type)) {
type = type.ofType;

@@ -23,3 +23,3 @@ }

// Ensure this is an object type (meaning it has fields)
if (!graphql_1.isObjectType(type)) {
if (!(0, graphql_1.isObjectType)(type)) {
return undefined;

@@ -26,0 +26,0 @@ }

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

if (document) {
errors.push(...graphql_1.validate(schema, document, [IdOnObjectSelectionSetRule_1.IdOnObjectSelectionSetRule(d.location)]));
errors.push(...(0, graphql_1.validate)(schema, document, [(0, IdOnObjectSelectionSetRule_1.IdOnObjectSelectionSetRule)(d.location)]));
}

@@ -14,0 +14,0 @@ });

{
"name": "@homebound/graphql-id-linter",
"version": "2.10.0",
"version": "2.11.0",
"main": "./build/index.js",

@@ -14,15 +14,18 @@ "types": "./build/",

},
"peerDependencies": {
"graphql": "^15.0.0 || ^16.0.0"
},
"dependencies": {
"@graphql-codegen/plugin-helpers": "^2.0.0",
"graphql": "^15.5.1"
"@graphql-codegen/plugin-helpers": "^2.0.0"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@graphql-codegen/cli": "^2.0.1",
"@graphql-codegen/typescript-operations": "^2.0.1",
"@graphql-codegen/cli": "^2.13.7",
"@graphql-codegen/typescript-operations": "^2.5.5",
"graphql": "^16.6.0",
"husky": "^3.0.9",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"prettier": "^2.7.1",
"ts-jest": "^27.0.4",
"typescript": "^4.3.5"
"typescript": "^4.8.4"
},

@@ -29,0 +32,0 @@ "husky": {

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