@graphql-tools/webpack-loader-runtime
Advanced tools
Comparing version 6.4.2-alpha-20220815193214-83898018 to 7.0.0-alpha-20230517123108-df347e95
{ | ||
"name": "@graphql-tools/webpack-loader-runtime", | ||
"version": "6.4.2-alpha-20220815193214-83898018", | ||
"version": "7.0.0-alpha-20230517123108-df347e95", | ||
"description": "A set of utils for GraphQL Webpack Loader", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/graphql": "0.1.0-alpha-20220815193214-83898018" | ||
"peerDependencies": { | ||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" | ||
}, | ||
@@ -15,2 +15,5 @@ "repository": { | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
}, | ||
"main": "cjs/index.js", | ||
@@ -17,0 +20,0 @@ "module": "esm/index.js", |
@@ -1,3 +0,3 @@ | ||
import { DefinitionNode } from '@graphql-tools/graphql'; | ||
import { DefinitionNode } from 'graphql'; | ||
export declare const uniqueCode = "\n var names = {};\n function unique(defs) {\n return defs.filter(function (def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value;\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n });\n };\n"; | ||
export declare function useUnique(): (defs: DefinitionNode[]) => DefinitionNode[]; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4075
+ Addedgraphql@16.9.0(transitive)
- Removed@graphql-tools/graphql@0.1.0-alpha-20220815193214-83898018
- Removed@graphql-tools/graphql@0.1.0-alpha-20220815193214-83898018(transitive)