Skip to content

Commit 4d8c704

Browse files
committed
fix: prevent packup from bundling the 'qs' package by listing it as a dependency
1 parent 4904ac1 commit 4d8c704

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.changeset/itchy-spiders-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"strapi-plugin-webtools": patch
3+
---
4+
5+
fix: prevent packup from bundling the 'qs' package by listing it as a dependency

packages/core/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"@strapi/utils": "^5.0.0",
6161
"@types/koa": "^2.15.0",
6262
"@types/lodash": "^4",
63+
"@types/qs": "^6",
6364
"@types/react-copy-to-clipboard": "^5.0.7",
6465
"react": "^18.0.0",
6566
"react-dom": "^18.0.0",
@@ -69,6 +70,7 @@
6970
"dependencies": {
7071
"formik": "^2.4.0",
7172
"lodash": "^4.17.21",
73+
"qs": "^6.14.0",
7274
"react-copy-to-clipboard": "^5.1.0",
7375
"react-intl": "^6.4.1",
7476
"react-query": "^3.39.3",

yarn.lock

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9362,7 +9362,7 @@ __metadata:
93629362
languageName: node
93639363
linkType: hard
93649364

9365-
"@types/qs@npm:*":
9365+
"@types/qs@npm:*, @types/qs@npm:^6":
93669366
version: 6.9.18
93679367
resolution: "@types/qs@npm:6.9.18"
93689368
checksum: 790b9091348e06dde2c8e4118b5771ab386a8c22a952139a2eb0675360a2070d0b155663bf6f75b23f258fd0a1f7ffc0ba0f059d99a719332c03c40d9e9cd63b
@@ -25175,7 +25175,7 @@ __metadata:
2517525175
languageName: node
2517625176
linkType: hard
2517725177

25178-
"qs@npm:^6.11.0, qs@npm:^6.12.3, qs@npm:^6.5.2":
25178+
"qs@npm:^6.11.0, qs@npm:^6.12.3, qs@npm:^6.14.0, qs@npm:^6.5.2":
2517925179
version: 6.14.0
2518025180
resolution: "qs@npm:6.14.0"
2518125181
dependencies:
@@ -27962,9 +27962,11 @@ __metadata:
2796227962
"@strapi/utils": "npm:^5.0.0"
2796327963
"@types/koa": "npm:^2.15.0"
2796427964
"@types/lodash": "npm:^4"
27965+
"@types/qs": "npm:^6"
2796527966
"@types/react-copy-to-clipboard": "npm:^5.0.7"
2796627967
formik: "npm:^2.4.0"
2796727968
lodash: "npm:^4.17.21"
27969+
qs: "npm:^6.14.0"
2796827970
react: "npm:^18.0.0"
2796927971
react-copy-to-clipboard: "npm:^5.1.0"
2797027972
react-dom: "npm:^18.0.0"

0 commit comments

Comments
 (0)