@graphql-tools/batch-execute
Advanced tools
Comparing version 9.0.2 to 9.0.3-rc-20240220122605-d8655e3ff72841f5ab2c62aea581a0a43c5df45f
@@ -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
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
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
37472
2