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.2-alpha-20220815193214-83898018 to 7.0.0-alpha-20230517123108-df347e95

9

package.json
{
"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

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