Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(utils): fix AggregateErrorConstructor type issue
  • Loading branch information
ardatan committed Jul 28, 2021
1 parent 654f575 commit b823dba
Show file tree
Hide file tree
Showing 26 changed files with 30 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-cows-swim.md
@@ -0,0 +1,5 @@
---
'@graphql-tools/utils': patch
---

fix(utils): fix AggregateErrorConstructor type issue
2 changes: 1 addition & 1 deletion packages/batch-delegate/package.json
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"dataloader": "2.0.0",
"tslib": "~2.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/batch-execute/package.json
Expand Up @@ -32,7 +32,7 @@
"input": "./src/index.ts"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"dataloader": "2.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
Expand Down
2 changes: 1 addition & 1 deletion packages/delegate/package.json
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/batch-execute": "^8.0.0",
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"dataloader": "2.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-tag-pluck/package.json
Expand Up @@ -32,7 +32,7 @@
"@babel/parser": "7.14.8",
"@babel/traverse": "7.14.8",
"@babel/types": "7.14.8",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/links/package.json
Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"apollo-upload-client": "16.0.0",
"cross-fetch": "3.1.4",
"form-data": "4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/load/package.json
Expand Up @@ -34,7 +34,7 @@
"graphql-type-json": "0.3.2"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@graphql-tools/merge": "^6.2.15",
"import-from": "4.0.0",
"p-limit": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/apollo-engine/package.json
Expand Up @@ -30,7 +30,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"cross-fetch": "3.1.4",
"tslib": "~2.3.0",
"sync-fetch": "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/code-file/package.json
Expand Up @@ -33,7 +33,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@graphql-tools/graphql-tag-pluck": "^7.0.0",
"globby": "^11.0.3",
"is-glob": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/git/package.json
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@graphql-tools/graphql-tag-pluck": "^7.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"is-glob": "4.0.1",
"micromatch": "^4.0.4",
"tslib": "~2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/github/package.json
Expand Up @@ -30,7 +30,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@graphql-tools/graphql-tag-pluck": "^7.0.0",
"cross-fetch": "3.1.4",
"tslib": "~2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/graphql-file/package.json
Expand Up @@ -37,7 +37,7 @@
},
"dependencies": {
"@graphql-tools/import": "^6.2.6",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"globby": "^11.0.3",
"is-glob": "^4.0.1",
"unixify": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/json-file/package.json
Expand Up @@ -30,7 +30,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/module/package.json
Expand Up @@ -30,7 +30,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/prisma/package.json
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@graphql-tools/url-loader": "^7.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@types/js-yaml": "^4.0.0",
"@types/json-stable-stringify": "^1.0.32",
"@types/jsonwebtoken": "^8.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/url/package.json
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@graphql-tools/wrap": "^8.0.2",
"@ardatan/fetch-event-source": "2.0.2",
"@n1ru4l/graphql-live-query": "0.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/merge/package.json
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mock/package.json
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/merge": "6.2.15",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"fast-json-stable-stringify": "^2.1.0",
"tslib": "~2.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/node-require/package.json
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/load": "^7.0.0",
"@graphql-tools/graphql-file-loader": "^7.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/relay-operation-optimizer/package.json
Expand Up @@ -41,7 +41,7 @@
"graphql": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"relay-compiler": "11.0.2",
"tslib": "~2.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/resolvers-composition/package.json
Expand Up @@ -34,7 +34,7 @@
"@types/micromatch": "4.0.2"
},
"dependencies": {
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"lodash": "4.17.21",
"micromatch": "^4.0.4",
"tslib": "~2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@graphql-tools/merge": "6.2.15",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/stitch/package.json
Expand Up @@ -41,7 +41,7 @@
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/merge": "^6.2.15",
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"@graphql-tools/wrap": "^8.0.2",
"tslib": "~2.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/stitching-directives/package.json
Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/utils/src/AggregateError.ts
@@ -1,3 +1,4 @@
/// <reference lib="es2021.promise" />
let AggregateErrorImpl = globalThis.AggregateError;

if (typeof AggregateErrorImpl === 'undefined') {
Expand Down
2 changes: 1 addition & 1 deletion packages/wrap/package.json
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@graphql-tools/delegate": "8.0.2",
"@graphql-tools/schema": "^8.0.0",
"@graphql-tools/utils": "^8.0.0",
"@graphql-tools/utils": "8.0.0",
"tslib": "~2.3.0",
"value-or-promise": "1.0.10"
},
Expand Down

0 comments on commit b823dba

Please sign in to comment.