graphql-language-service-interface
Advanced tools
Comparing version 0.0.16 to 0.0.17
@@ -54,3 +54,3 @@ 'use strict'; | ||
if (!(defNodes === [])) { | ||
if (!(defNodes.length === 0)) { | ||
_context.next = 5; | ||
@@ -57,0 +57,0 @@ break; |
@@ -82,7 +82,9 @@ 'use strict'; | ||
if (customRulesModulePath) { | ||
rulesPath = require.resolve(customRulesModulePath); | ||
/* eslint-disable no-implicit-coercion */ | ||
rulesPath = require.resolve('' + customRulesModulePath); | ||
if (rulesPath) { | ||
customRules = require(rulesPath)(this._graphQLConfig); | ||
customRules = require('' + rulesPath)(this._graphQLConfig); | ||
} | ||
/* eslint-enable no-implicit-coercion */ | ||
} | ||
@@ -89,0 +91,0 @@ |
{ | ||
"name": "graphql-language-service-interface", | ||
"repository": "https://github.com/graphql/graphql-language-service", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"description": "Interface to the GraphQL Language Service", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
90125
1211