Skip to content

Commit

Permalink
Use caret ranges for tslib (#4478)
Browse files Browse the repository at this point in the history
* Use caret ranges for tslib

* Add changeset
  • Loading branch information
biro456 authored Jun 7, 2022
1 parent 0191091 commit 041c5ba
Show file tree
Hide file tree
Showing 33 changed files with 68 additions and 33 deletions.
35 changes: 35 additions & 0 deletions .changeset/fifty-bobcats-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
'@graphql-tools/batch-delegate': patch
'@graphql-tools/batch-execute': patch
'@graphql-tools/delegate': patch
'@graphql-tools/graphql-tag-pluck': patch
'graphql-tools': patch
'@graphql-tools/import': patch
'@graphql-tools/jest-transform': patch
'@graphql-tools/links': patch
'@graphql-tools/load': patch
'@graphql-tools/load-files': patch
'@graphql-tools/apollo-engine-loader': patch
'@graphql-tools/code-file-loader': patch
'@graphql-tools/git-loader': patch
'@graphql-tools/github-loader': patch
'@graphql-tools/graphql-file-loader': patch
'@graphql-tools/json-file-loader': patch
'@graphql-tools/module-loader': patch
'@graphql-tools/prisma-loader': patch
'@graphql-tools/url-loader': patch
'@graphql-tools/merge': patch
'@graphql-tools/mock': patch
'@graphql-tools/node-require': patch
'@graphql-tools/optimize': patch
'@graphql-tools/relay-operation-optimizer': patch
'@graphql-tools/resolvers-composition': patch
'@graphql-tools/schema': patch
'@graphql-tools/stitch': patch
'@graphql-tools/stitching-directives': patch
'@graphql-tools/utils': patch
'@graphql-tools/webpack-loader': patch
'@graphql-tools/wrap': patch
---

Use caret range for the tslib dependency
2 changes: 1 addition & 1 deletion packages/batch-delegate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@graphql-tools/delegate": "8.7.10",
"@graphql-tools/utils": "8.6.12",
"dataloader": "2.1.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@graphql-tools/schema": "8.3.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/batch-execute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"dataloader": "2.1.0",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"value-or-promise": "1.0.11"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/delegate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@graphql-tools/utils": "8.6.12",
"dataloader": "2.1.0",
"graphql-executor": "0.0.23",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"value-or-promise": "1.0.11"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-tag-pluck/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@babel/traverse": "^7.16.8",
"@babel/types": "^7.16.8",
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@babel/parser": "7.18.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
},
"dependencies": {
"@graphql-tools/schema": "8.3.13",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"resolve-from": "5.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
}
}
2 changes: 1 addition & 1 deletion packages/jest-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@graphql-tools/webpack-loader": "6.6.2",
"@jest/transform": "^28.0.0",
"@jest/types": "^28.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"apollo-upload-client": "17.0.0",
"node-fetch": "^2.6.5",
"form-data": "^4.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/load-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dependencies": {
"globby": "11.1.0",
"unixify": "1.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/load/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@graphql-tools/utils": "8.6.12",
"@graphql-tools/schema": "8.3.13",
"p-limit": "3.1.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
4 changes: 2 additions & 2 deletions packages/loaders/apollo-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"cross-undici-fetch": "^0.4.0",
"tslib": "~2.4.0",
"sync-fetch": "0.4.1"
"sync-fetch": "0.4.1",
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/code-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@graphql-tools/utils": "8.6.12",
"@graphql-tools/graphql-tag-pluck": "7.2.9",
"globby": "^11.0.3",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"unixify": "^1.0.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@graphql-tools/utils": "8.6.12",
"is-glob": "4.0.3",
"micromatch": "^4.0.4",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"unixify": "^1.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@graphql-tools/graphql-tag-pluck": "7.2.9",
"cross-undici-fetch": "^0.4.0",
"sync-fetch": "0.4.1",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/graphql-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@graphql-tools/utils": "8.6.12",
"globby": "^11.0.3",
"unixify": "^1.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/json-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@graphql-tools/utils": "8.6.12",
"globby": "^11.0.3",
"unixify": "^1.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"lodash": "^4.17.20",
"replaceall": "^0.1.6",
"scuid": "^1.1.0",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"yaml-ast-parser": "^0.0.43"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/loaders/url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"isomorphic-ws": "^4.0.1",
"meros": "^1.1.4",
"sync-fetch": "^0.4.0",
"tslib": "^2.3.0",
"tslib": "^2.4.0",
"value-or-promise": "^1.0.11",
"ws": "^8.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/merge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@graphql-tools/schema": "8.3.13",
"@graphql-tools/utils": "8.6.12",
"fast-json-stable-stringify": "^2.1.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"casual": "1.6.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/node-require/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@graphql-tools/load": "7.5.13",
"@graphql-tools/graphql-file-loader": "7.3.14",
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/optimize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"input": "./src/index.ts"
},
"dependencies": {
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/relay-operation-optimizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"dependencies": {
"@graphql-tools/utils": "8.6.12",
"relay-compiler": "12.0.0",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/relay-compiler": "8.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/resolvers-composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@graphql-tools/utils": "8.6.12",
"lodash": "4.17.21",
"micromatch": "^4.0.4",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@graphql-tools/merge": "8.2.13",
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"value-or-promise": "1.0.11"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/stitch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@graphql-tools/schema": "8.3.13",
"@graphql-tools/utils": "8.6.12",
"@graphql-tools/wrap": "8.4.19",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"value-or-promise": "^1.0.11"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/stitching-directives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/delegate": "8.7.10",
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@graphql-tools/schema": "8.3.13"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"graphql-scalars": "1.17.0"
},
"dependencies": {
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 1 addition & 1 deletion packages/webpack-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@graphql-tools/optimize": "1.2.0",
"@graphql-tools/webpack-loader-runtime": "6.3.1",
"tslib": "~2.4.0"
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/webpack": "5.28.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/wrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@graphql-tools/delegate": "8.7.10",
"@graphql-tools/schema": "8.3.13",
"@graphql-tools/utils": "8.6.12",
"tslib": "~2.4.0",
"tslib": "^2.4.0",
"value-or-promise": "1.0.11"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13276,7 +13276,7 @@ [email protected], tslib@^1.0.0, tslib@^1.11.1, tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==

tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@~2.4.0:
tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1, tslib@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
Expand Down

0 comments on commit 041c5ba

Please sign in to comment.