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

@graphql-tools/batch-execute

Package Overview
Dependencies
Maintainers
3
Versions
678
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/batch-execute - npm Package Compare versions

Comparing version 9.0.2 to 9.0.3-rc-20240220122605-d8655e3ff72841f5ab2c62aea581a0a43c5df45f

2

cjs/mergeRequests.js

@@ -48,3 +48,3 @@ "use strict";

let mergedExtensions = Object.create(null);
for (const index in requests) {
for (let index = 0; index < requests.length; index++) {
const request = requests[index];

@@ -51,0 +51,0 @@ const prefixedRequests = prefixRequest((0, prefix_js_1.createPrefix)(index), request);

@@ -45,3 +45,3 @@ // adapted from https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-graphql/src/batching/merge-queries.js

let mergedExtensions = Object.create(null);
for (const index in requests) {
for (let index = 0; index < requests.length; index++) {
const request = requests[index];

@@ -48,0 +48,0 @@ const prefixedRequests = prefixRequest(createPrefix(index), request);

{
"name": "@graphql-tools/batch-execute",
"version": "9.0.2",
"version": "9.0.3-rc-20240220122605-d8655e3ff72841f5ab2c62aea581a0a43c5df45f",
"description": "A set of utils for faster development of GraphQL tools",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -1,2 +0,2 @@

export declare function createPrefix(index: string): string;
export declare function createPrefix(index: number): string;
export type KeyMatch = {

@@ -3,0 +3,0 @@ index: number;

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