Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphql-tools/webpack-loader-runtime

Package Overview
Dependencies
Maintainers
3
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/webpack-loader-runtime - npm Package Compare versions

Comparing version 6.4.0 to 6.4.1-alpha-25f2d2c4.0

typings/index.d.cts

10

package.json
{
"name": "@graphql-tools/webpack-loader-runtime",
"version": "6.4.0",
"version": "6.4.1-alpha-25f2d2c4.0",
"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-25f2d2c4.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';
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[];
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc