Skip to content

Commit 8235fa1

Browse files
committed
Bump ESM packages (#10415)
* Bump ESM packages * Add changeset
1 parent 788781d commit 8235fa1

File tree

10 files changed

+56
-11
lines changed

10 files changed

+56
-11
lines changed

.changeset/itchy-bottles-repeat.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@graphql-codegen/typed-document-node': major
3+
'@graphql-codegen/gql-tag-operations': major
4+
'@graphql-codegen/visitor-plugin-common': major
5+
'@graphql-codegen/typescript-document-nodes': major
6+
'@graphql-codegen/typescript-operations': major
7+
'@graphql-codegen/typescript': major
8+
'@graphql-codegen/typescript-resolvers': major
9+
'@graphql-codegen/cli': major
10+
---
11+
12+
Use pure ESM packages: `chalk@5`, `detect-indent@7`, `log-symbols@7`, `auto-bind@5`

packages/graphql-codegen-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@
5757
"@graphql-tools/utils": "^10.0.0",
5858
"@inquirer/prompts": "^7.8.2",
5959
"@whatwg-node/fetch": "^0.10.0",
60-
"chalk": "^4.1.0",
60+
"chalk": "^5.6.0",
6161
"cosmiconfig": "^9.0.0",
6262
"debounce": "^2.0.0",
63-
"detect-indent": "^6.0.0",
63+
"detect-indent": "^7.0.0",
6464
"graphql-config": "^5.1.1",
6565
"is-glob": "^4.0.1",
6666
"jiti": "^2.3.0",
6767
"json-to-pretty-yaml": "^1.2.2",
6868
"listr2": "^9.0.0",
69-
"log-symbols": "^4.0.0",
69+
"log-symbols": "^7.0.0",
7070
"micromatch": "^4.0.5",
7171
"shell-quote": "^1.7.3",
7272
"string-env-interpolation": "^1.0.1",

packages/plugins/other/visitor-plugin-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@graphql-codegen/plugin-helpers": "^5.1.0",
1717
"@graphql-tools/relay-operation-optimizer": "^7.0.0",
1818
"@graphql-tools/utils": "^10.0.0",
19-
"auto-bind": "~4.0.0",
19+
"auto-bind": "^5.0.0",
2020
"dependency-graph": "^1.0.0",
2121
"graphql-tag": "^2.11.0",
2222
"parse-filepath": "^1.0.2",

packages/plugins/typescript/document-nodes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@graphql-codegen/plugin-helpers": "^5.1.0",
1717
"@graphql-codegen/visitor-plugin-common": "5.8.0",
18-
"auto-bind": "~4.0.0",
18+
"auto-bind": "^5.0.0",
1919
"tslib": "~2.6.0"
2020
},
2121
"peerDependencies": {

packages/plugins/typescript/gql-tag-operations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@graphql-tools/utils": "^10.0.0",
2020
"@graphql-codegen/plugin-helpers": "^5.1.0",
2121
"@graphql-codegen/visitor-plugin-common": "5.8.0",
22-
"auto-bind": "~4.0.0",
22+
"auto-bind": "^5.0.0",
2323
"tslib": "~2.6.0"
2424
},
2525
"main": "dist/cjs/index.js",

packages/plugins/typescript/operations/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@graphql-codegen/plugin-helpers": "^5.1.0",
1717
"@graphql-codegen/typescript": "^4.1.6",
1818
"@graphql-codegen/visitor-plugin-common": "5.8.0",
19-
"auto-bind": "~4.0.0",
19+
"auto-bind": "^5.0.0",
2020
"tslib": "~2.6.0"
2121
},
2222
"peerDependencies": {

packages/plugins/typescript/resolvers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@graphql-codegen/typescript": "^4.1.6",
1818
"@graphql-codegen/visitor-plugin-common": "5.8.0",
1919
"@graphql-tools/utils": "^10.0.0",
20-
"auto-bind": "~4.0.0",
20+
"auto-bind": "^5.0.0",
2121
"tslib": "~2.6.0"
2222
},
2323
"peerDependencies": {

packages/plugins/typescript/typed-document-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"change-case-all": "1.0.15",
2020
"@graphql-codegen/plugin-helpers": "^5.1.0",
2121
"@graphql-codegen/visitor-plugin-common": "5.8.0",
22-
"auto-bind": "~4.0.0",
22+
"auto-bind": "^5.0.0",
2323
"tslib": "~2.6.0"
2424
},
2525
"main": "dist/cjs/index.js",

packages/plugins/typescript/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@graphql-codegen/plugin-helpers": "^5.1.0",
1717
"@graphql-codegen/schema-ast": "^4.0.2",
1818
"@graphql-codegen/visitor-plugin-common": "5.8.0",
19-
"auto-bind": "~4.0.0",
19+
"auto-bind": "^5.0.0",
2020
"tslib": "~2.6.0"
2121
},
2222
"peerDependencies": {

yarn.lock

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5709,6 +5709,11 @@ at-least-node@^1.0.0:
57095709
resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
57105710
integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
57115711

5712+
auto-bind@^5.0.0:
5713+
version "5.0.1"
5714+
resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-5.0.1.tgz#50d8e63ea5a1dddcb5e5e36451c1a8266ffbb2ae"
5715+
integrity sha512-ooviqdwwgfIfNmDwo94wlshcdzfO64XV0Cg6oDsDYBJfITDz1EngD2z7DkbvCWn+XIMsIqW27sEVF6qcpJrRcg==
5716+
57125717
auto-bind@~4.0.0:
57135718
version "4.0.0"
57145719
resolved "https://registry.yarnpkg.com/auto-bind/-/auto-bind-4.0.0.tgz#e3589fc6c2da8f7ca43ba9f84fa52a744fc997fb"
@@ -6110,7 +6115,12 @@ chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2:
61106115
ansi-styles "^4.1.0"
61116116
supports-color "^7.1.0"
61126117

6113-
chalk@^5.0.0, chalk@^5.0.1, chalk@~5.3.0:
6118+
chalk@^5.0.0, chalk@^5.0.1, chalk@^5.6.0:
6119+
version "5.6.0"
6120+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.6.0.tgz#a1a8d294ea3526dbb77660f12649a08490e33ab8"
6121+
integrity sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==
6122+
6123+
chalk@~5.3.0:
61146124
version "5.3.0"
61156125
resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385"
61166126
integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==
@@ -7188,6 +7198,11 @@ detect-indent@^6.0.0:
71887198
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6"
71897199
integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==
71907200

7201+
detect-indent@^7.0.0:
7202+
version "7.0.1"
7203+
resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-7.0.1.tgz#cbb060a12842b9c4d333f1cac4aa4da1bb66bc25"
7204+
integrity sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==
7205+
71917206
detect-libc@^1.0.3:
71927207
version "1.0.3"
71937208
resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
@@ -9704,6 +9719,11 @@ is-unicode-supported@^0.1.0:
97049719
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7"
97059720
integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==
97069721

9722+
is-unicode-supported@^2.0.0:
9723+
version "2.1.0"
9724+
resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz#09f0ab0de6d3744d48d265ebb98f65d11f2a9b3a"
9725+
integrity sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==
9726+
97079727
is-upper-case@^2.0.2:
97089728
version "2.0.2"
97099729
resolved "https://registry.yarnpkg.com/is-upper-case/-/is-upper-case-2.0.2.tgz#f1105ced1fe4de906a5f39553e7d3803fd804649"
@@ -10363,6 +10383,14 @@ log-symbols@^4.0.0:
1036310383
chalk "^4.1.0"
1036410384
is-unicode-supported "^0.1.0"
1036510385

10386+
log-symbols@^7.0.0:
10387+
version "7.0.1"
10388+
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-7.0.1.tgz#f52e68037d96f589fc572ff2193dc424d48c195b"
10389+
integrity sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==
10390+
dependencies:
10391+
is-unicode-supported "^2.0.0"
10392+
yoctocolors "^2.1.1"
10393+
1036610394
log-update@^4.0.0:
1036710395
version "4.0.0"
1036810396
resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1"
@@ -15483,6 +15511,11 @@ yoctocolors-cjs@^2.1.2:
1548315511
resolved "https://registry.yarnpkg.com/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz#f4b905a840a37506813a7acaa28febe97767a242"
1548415512
integrity sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==
1548515513

15514+
yoctocolors@^2.1.1:
15515+
version "2.1.2"
15516+
resolved "https://registry.yarnpkg.com/yoctocolors/-/yoctocolors-2.1.2.tgz#d795f54d173494e7d8db93150cec0ed7f678c83a"
15517+
integrity sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==
15518+
1548615519
1548715520
version "3.2.3"
1548815521
resolved "https://registry.yarnpkg.com/youch/-/youch-3.2.3.tgz#63c94ea504950a1a5bf1d5969439addba6c726e2"

0 commit comments

Comments
 (0)