@graphql-tools/webpack-loader-runtime
Advanced tools
Comparing version 6.4.1 to 6.4.2-alpha-20220809192840-c5b336bd
{ | ||
"name": "@graphql-tools/webpack-loader-runtime", | ||
"version": "6.4.1", | ||
"version": "6.4.2-alpha-20220809192840-c5b336bd", | ||
"description": "A set of utils for GraphQL Webpack Loader", | ||
"sideEffects": false, | ||
"peerDependencies": { | ||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" | ||
"dependencies": { | ||
"@graphql-tools/graphql": "0.1.0-alpha-20220809192840-c5b336bd" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -1,3 +0,3 @@ | ||
import { DefinitionNode } from 'graphql'; | ||
import { DefinitionNode } from '@graphql-tools/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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4068
2
+ Added@graphql-tools/graphql@0.1.0-alpha-20220809192840-c5b336bd
+ Added@graphql-tools/graphql@0.1.0-alpha-20220809192840-c5b336bd(transitive)
- Removedgraphql@16.10.0(transitive)