Skip to content

Commit 041c5ba

Browse files
authoredJun 7, 2022
Use caret ranges for tslib (#4478)
* Use caret ranges for tslib * Add changeset
1 parent 0191091 commit 041c5ba

File tree

33 files changed

+68
-33
lines changed

33 files changed

+68
-33
lines changed
 

‎.changeset/fifty-bobcats-report.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
'@graphql-tools/batch-delegate': patch
3+
'@graphql-tools/batch-execute': patch
4+
'@graphql-tools/delegate': patch
5+
'@graphql-tools/graphql-tag-pluck': patch
6+
'graphql-tools': patch
7+
'@graphql-tools/import': patch
8+
'@graphql-tools/jest-transform': patch
9+
'@graphql-tools/links': patch
10+
'@graphql-tools/load': patch
11+
'@graphql-tools/load-files': patch
12+
'@graphql-tools/apollo-engine-loader': patch
13+
'@graphql-tools/code-file-loader': patch
14+
'@graphql-tools/git-loader': patch
15+
'@graphql-tools/github-loader': patch
16+
'@graphql-tools/graphql-file-loader': patch
17+
'@graphql-tools/json-file-loader': patch
18+
'@graphql-tools/module-loader': patch
19+
'@graphql-tools/prisma-loader': patch
20+
'@graphql-tools/url-loader': patch
21+
'@graphql-tools/merge': patch
22+
'@graphql-tools/mock': patch
23+
'@graphql-tools/node-require': patch
24+
'@graphql-tools/optimize': patch
25+
'@graphql-tools/relay-operation-optimizer': patch
26+
'@graphql-tools/resolvers-composition': patch
27+
'@graphql-tools/schema': patch
28+
'@graphql-tools/stitch': patch
29+
'@graphql-tools/stitching-directives': patch
30+
'@graphql-tools/utils': patch
31+
'@graphql-tools/webpack-loader': patch
32+
'@graphql-tools/wrap': patch
33+
---
34+
35+
Use caret range for the tslib dependency

‎packages/batch-delegate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@graphql-tools/delegate": "8.7.10",
3636
"@graphql-tools/utils": "8.6.12",
3737
"dataloader": "2.1.0",
38-
"tslib": "~2.4.0"
38+
"tslib": "^2.4.0"
3939
},
4040
"devDependencies": {
4141
"@graphql-tools/schema": "8.3.13",

‎packages/batch-execute/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"@graphql-tools/utils": "8.6.12",
3636
"dataloader": "2.1.0",
37-
"tslib": "~2.4.0",
37+
"tslib": "^2.4.0",
3838
"value-or-promise": "1.0.11"
3939
},
4040
"publishConfig": {

‎packages/delegate/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@graphql-tools/utils": "8.6.12",
3838
"dataloader": "2.1.0",
3939
"graphql-executor": "0.0.23",
40-
"tslib": "~2.4.0",
40+
"tslib": "^2.4.0",
4141
"value-or-promise": "1.0.11"
4242
},
4343
"publishConfig": {

‎packages/graphql-tag-pluck/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@babel/traverse": "^7.16.8",
3434
"@babel/types": "^7.16.8",
3535
"@graphql-tools/utils": "8.6.12",
36-
"tslib": "~2.4.0"
36+
"tslib": "^2.4.0"
3737
},
3838
"devDependencies": {
3939
"@babel/parser": "7.18.4",

‎packages/graphql-tools/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
},
3838
"dependencies": {
3939
"@graphql-tools/schema": "8.3.13",
40-
"tslib": "~2.4.0"
40+
"tslib": "^2.4.0"
4141
}
4242
}

‎packages/import/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"dependencies": {
3737
"@graphql-tools/utils": "8.6.12",
3838
"resolve-from": "5.0.0",
39-
"tslib": "~2.4.0"
39+
"tslib": "^2.4.0"
4040
}
4141
}

‎packages/jest-transform/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@graphql-tools/webpack-loader": "6.6.2",
3636
"@jest/transform": "^28.0.0",
3737
"@jest/types": "^28.0.0",
38-
"tslib": "~2.4.0"
38+
"tslib": "^2.4.0"
3939
},
4040
"publishConfig": {
4141
"access": "public",

‎packages/links/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"apollo-upload-client": "17.0.0",
5151
"node-fetch": "^2.6.5",
5252
"form-data": "^4.0.0",
53-
"tslib": "~2.4.0"
53+
"tslib": "^2.4.0"
5454
},
5555
"publishConfig": {
5656
"access": "public",

‎packages/load-files/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"dependencies": {
3333
"globby": "11.1.0",
3434
"unixify": "1.0.0",
35-
"tslib": "~2.4.0"
35+
"tslib": "^2.4.0"
3636
},
3737
"publishConfig": {
3838
"access": "public",

‎packages/load/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@graphql-tools/utils": "8.6.12",
3838
"@graphql-tools/schema": "8.3.13",
3939
"p-limit": "3.1.0",
40-
"tslib": "~2.4.0"
40+
"tslib": "^2.4.0"
4141
},
4242
"publishConfig": {
4343
"access": "public",

‎packages/loaders/apollo-engine/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"dependencies": {
3333
"@graphql-tools/utils": "8.6.12",
3434
"cross-undici-fetch": "^0.4.0",
35-
"tslib": "~2.4.0",
36-
"sync-fetch": "0.4.1"
35+
"sync-fetch": "0.4.1",
36+
"tslib": "^2.4.0"
3737
},
3838
"publishConfig": {
3939
"access": "public",

‎packages/loaders/code-file/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@graphql-tools/utils": "8.6.12",
3434
"@graphql-tools/graphql-tag-pluck": "7.2.9",
3535
"globby": "^11.0.3",
36-
"tslib": "~2.4.0",
36+
"tslib": "^2.4.0",
3737
"unixify": "^1.0.0"
3838
},
3939
"publishConfig": {

‎packages/loaders/git/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@graphql-tools/utils": "8.6.12",
3535
"is-glob": "4.0.3",
3636
"micromatch": "^4.0.4",
37-
"tslib": "~2.4.0",
37+
"tslib": "^2.4.0",
3838
"unixify": "^1.0.0"
3939
},
4040
"devDependencies": {

‎packages/loaders/github/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@graphql-tools/graphql-tag-pluck": "7.2.9",
3535
"cross-undici-fetch": "^0.4.0",
3636
"sync-fetch": "0.4.1",
37-
"tslib": "~2.4.0"
37+
"tslib": "^2.4.0"
3838
},
3939
"publishConfig": {
4040
"access": "public",

‎packages/loaders/graphql-file/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@graphql-tools/utils": "8.6.12",
3838
"globby": "^11.0.3",
3939
"unixify": "^1.0.0",
40-
"tslib": "~2.4.0"
40+
"tslib": "^2.4.0"
4141
},
4242
"publishConfig": {
4343
"access": "public",

‎packages/loaders/json-file/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@graphql-tools/utils": "8.6.12",
3434
"globby": "^11.0.3",
3535
"unixify": "^1.0.0",
36-
"tslib": "~2.4.0"
36+
"tslib": "^2.4.0"
3737
},
3838
"publishConfig": {
3939
"access": "public",

‎packages/loaders/module/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"dependencies": {
3333
"@graphql-tools/utils": "8.6.12",
34-
"tslib": "~2.4.0"
34+
"tslib": "^2.4.0"
3535
},
3636
"publishConfig": {
3737
"access": "public",

‎packages/loaders/prisma/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"lodash": "^4.17.20",
4949
"replaceall": "^0.1.6",
5050
"scuid": "^1.1.0",
51-
"tslib": "~2.4.0",
51+
"tslib": "^2.4.0",
5252
"yaml-ast-parser": "^0.0.43"
5353
},
5454
"publishConfig": {

‎packages/loaders/url/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"isomorphic-ws": "^4.0.1",
6161
"meros": "^1.1.4",
6262
"sync-fetch": "^0.4.0",
63-
"tslib": "^2.3.0",
63+
"tslib": "^2.4.0",
6464
"value-or-promise": "^1.0.11",
6565
"ws": "^8.3.0"
6666
},

‎packages/merge/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"dependencies": {
3636
"@graphql-tools/utils": "8.6.12",
37-
"tslib": "~2.4.0"
37+
"tslib": "^2.4.0"
3838
},
3939
"publishConfig": {
4040
"access": "public",

‎packages/mock/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@graphql-tools/schema": "8.3.13",
3636
"@graphql-tools/utils": "8.6.12",
3737
"fast-json-stable-stringify": "^2.1.0",
38-
"tslib": "~2.4.0"
38+
"tslib": "^2.4.0"
3939
},
4040
"devDependencies": {
4141
"casual": "1.6.2"

‎packages/node-require/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@graphql-tools/load": "7.5.13",
3636
"@graphql-tools/graphql-file-loader": "7.3.14",
3737
"@graphql-tools/utils": "8.6.12",
38-
"tslib": "~2.4.0"
38+
"tslib": "^2.4.0"
3939
},
4040
"publishConfig": {
4141
"access": "public",

‎packages/optimize/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"input": "./src/index.ts"
3333
},
3434
"dependencies": {
35-
"tslib": "~2.4.0"
35+
"tslib": "^2.4.0"
3636
},
3737
"publishConfig": {
3838
"access": "public",

‎packages/relay-operation-optimizer/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"dependencies": {
4444
"@graphql-tools/utils": "8.6.12",
4545
"relay-compiler": "12.0.0",
46-
"tslib": "~2.4.0"
46+
"tslib": "^2.4.0"
4747
},
4848
"devDependencies": {
4949
"@types/relay-compiler": "8.0.2"

‎packages/resolvers-composition/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@graphql-tools/utils": "8.6.12",
3838
"lodash": "4.17.21",
3939
"micromatch": "^4.0.4",
40-
"tslib": "~2.4.0"
40+
"tslib": "^2.4.0"
4141
},
4242
"publishConfig": {
4343
"access": "public",

‎packages/schema/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"dependencies": {
3838
"@graphql-tools/merge": "8.2.13",
3939
"@graphql-tools/utils": "8.6.12",
40-
"tslib": "~2.4.0",
40+
"tslib": "^2.4.0",
4141
"value-or-promise": "1.0.11"
4242
},
4343
"publishConfig": {

‎packages/stitch/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@graphql-tools/schema": "8.3.13",
4343
"@graphql-tools/utils": "8.6.12",
4444
"@graphql-tools/wrap": "8.4.19",
45-
"tslib": "~2.4.0",
45+
"tslib": "^2.4.0",
4646
"value-or-promise": "^1.0.11"
4747
},
4848
"publishConfig": {

‎packages/stitching-directives/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"@graphql-tools/delegate": "8.7.10",
3636
"@graphql-tools/utils": "8.6.12",
37-
"tslib": "~2.4.0"
37+
"tslib": "^2.4.0"
3838
},
3939
"devDependencies": {
4040
"@graphql-tools/schema": "8.3.13"

‎packages/utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"graphql-scalars": "1.17.0"
3636
},
3737
"dependencies": {
38-
"tslib": "~2.4.0"
38+
"tslib": "^2.4.0"
3939
},
4040
"publishConfig": {
4141
"access": "public",

‎packages/webpack-loader/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"@graphql-tools/optimize": "1.2.0",
3636
"@graphql-tools/webpack-loader-runtime": "6.3.1",
37-
"tslib": "~2.4.0"
37+
"tslib": "^2.4.0"
3838
},
3939
"devDependencies": {
4040
"@types/webpack": "5.28.0"

‎packages/wrap/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@graphql-tools/delegate": "8.7.10",
3636
"@graphql-tools/schema": "8.3.13",
3737
"@graphql-tools/utils": "8.6.12",
38-
"tslib": "~2.4.0",
38+
"tslib": "^2.4.0",
3939
"value-or-promise": "1.0.11"
4040
},
4141
"publishConfig": {

‎yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -13276,7 +13276,7 @@ tslib@1.11.1, tslib@^1.0.0, tslib@^1.11.1, tslib@^1.8.1, tslib@^1.9.0:
1327613276
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
1327713277
integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==
1327813278

13279-
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:
13279+
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:
1328013280
version "2.4.0"
1328113281
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
1328213282
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==

0 commit comments

Comments
 (0)
Please sign in to comment.