@graphql-tools/webpack-loader-runtime
Advanced tools
Comparing version 6.4.1-alpha-fbf97581.0 to 6.4.1
{ | ||
"name": "@graphql-tools/webpack-loader-runtime", | ||
"version": "6.4.1-alpha-fbf97581.0", | ||
"version": "6.4.1", | ||
"description": "A set of utils for GraphQL Webpack Loader", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@graphql-tools/graphql": "0.1.0-alpha-fbf97581.0" | ||
"peerDependencies": { | ||
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" | ||
}, | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"require": { | ||
"types": "./typings/index.d.ts", | ||
"types": "./typings/index.d.cts", | ||
"default": "./cjs/index.js" | ||
@@ -40,3 +40,3 @@ }, | ||
"require": { | ||
"types": "./typings/*.d.ts", | ||
"types": "./typings/*.d.cts", | ||
"default": "./cjs/*.js" | ||
@@ -43,0 +43,0 @@ }, |
@@ -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[]; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4002
7
1
+ Addedgraphql@16.9.0(transitive)
- Removed@graphql-tools/graphql@0.1.0-alpha-fbf97581.0(transitive)