@graphql-tools/batch-execute
Advanced tools
Comparing version 9.0.11 to 9.0.12-alpha-02f0343158235250a2b3d47f7097b35db23b4526
# @graphql-tools/batch-execute | ||
## 9.0.12-alpha-02f0343158235250a2b3d47f7097b35db23b4526 | ||
### Patch Changes | ||
- [#620](https://github.com/graphql-hive/gateway/pull/620) [`d72209a`](https://github.com/graphql-hive/gateway/commit/d72209ad82ec53689f93ce5d81bfa52493919ad9) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: | ||
- Updated dependency [`@graphql-tools/utils@^10.8.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.8.1) (from `^10.7.0`, in `dependencies`) | ||
## 9.0.11 | ||
@@ -4,0 +12,0 @@ |
@@ -6,6 +6,6 @@ import { getOperationASTFromRequest, relocatedError, fakePromise, mapMaybePromise, isAsyncIterable, memoize2of4 } from '@graphql-tools/utils'; | ||
function createPrefix(index) { | ||
return `_${index}_`; | ||
return `_v${index}_`; | ||
} | ||
function matchKey(prefixedKey) { | ||
const match = /^_(\d+)_(.*)$/.exec(prefixedKey); | ||
const match = /^_v(\d+)_(.*)$/.exec(prefixedKey); | ||
if (match && match.length === 3 && !isNaN(Number(match[1])) && match[2]) { | ||
@@ -12,0 +12,0 @@ return { index: Number(match[1]), originalKey: match[2] }; |
{ | ||
"name": "@graphql-tools/batch-execute", | ||
"version": "9.0.11", | ||
"version": "9.0.12-alpha-02f0343158235250a2b3d47f7097b35db23b4526", | ||
"type": "module", | ||
@@ -41,3 +41,3 @@ "description": "A set of utils for faster development of GraphQL tools", | ||
"dependencies": { | ||
"@graphql-tools/utils": "^10.7.0", | ||
"@graphql-tools/utils": "^10.8.1", | ||
"dataloader": "^2.2.3", | ||
@@ -48,5 +48,5 @@ "tslib": "^2.8.1" | ||
"graphql": "^16.9.0", | ||
"pkgroll": "2.6.0" | ||
"pkgroll": "2.8.2" | ||
}, | ||
"sideEffects": false | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
52554
2
Updated@graphql-tools/utils@^10.8.1