chore: update koa libs

This commit is contained in:
Alexandre Bodin 2024-04-03 19:01:08 +02:00
parent cb63439231
commit ae6067744d
14 changed files with 160 additions and 49 deletions

View File

@ -106,11 +106,11 @@
"invariant": "^2.2.4",
"js-cookie": "2.2.1",
"jsonwebtoken": "9.0.0",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-compose": "4.1.0",
"koa-passport": "5.0.0",
"koa-passport": "6.0.0",
"koa-static": "5.0.0",
"koa2-ratelimit": "^1.1.2",
"koa2-ratelimit": "^1.1.3",
"lodash": "4.17.21",
"msw": "1.3.0",
"node-schedule": "2.1.0",

View File

@ -70,7 +70,7 @@
"fractional-indexing": "3.2.0",
"highlight.js": "^10.4.1",
"immer": "9.0.21",
"koa": "2.13.4",
"koa": "2.15.2",
"lodash": "4.17.21",
"markdown-it": "^12.3.2",
"markdown-it-abbr": "^1.0.4",

View File

@ -78,7 +78,7 @@
"@testing-library/user-event": "14.4.3",
"@types/koa": "2.13.4",
"@types/styled-components": "5.1.34",
"koa": "2.13.4",
"koa": "2.15.2",
"msw": "1.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View File

@ -79,7 +79,7 @@
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/pluralize": "0.0.30",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",

View File

@ -52,8 +52,8 @@
"watch": "pack-up watch"
},
"dependencies": {
"@koa/cors": "3.4.3",
"@koa/router": "10.1.1",
"@koa/cors": "5.0.0",
"@koa/router": "12.0.1",
"@paralleldrive/cuid2": "2.2.2",
"@strapi/admin": "5.0.0-beta.2",
"@strapi/database": "5.0.0-beta.2",
@ -82,13 +82,13 @@
"http-errors": "1.8.1",
"inquirer": "8.2.5",
"is-docker": "2.2.1",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"koa-compose": "4.1.0",
"koa-compress": "5.1.0",
"koa-compress": "5.1.1",
"koa-favicon": "2.1.0",
"koa-helmet": "7.0.2",
"koa-ip": "^2.1.2",
"koa-ip": "^2.1.3",
"koa-session": "6.4.0",
"koa-static": "5.0.0",
"lodash": "4.17.21",

View File

@ -73,7 +73,7 @@
"@types/tar-stream": "2.2.2",
"@types/ws": "^8.5.4",
"knex": "3.0.1",
"koa": "2.13.4",
"koa": "2.15.2",
"rimraf": "5.0.5",
"typescript": "5.3.2"
},

View File

@ -68,7 +68,7 @@
"@testing-library/react": "14.0.0",
"@types/koa": "2.13.4",
"@types/lodash": "^4.14.191",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"msw": "1.3.0",
"react": "^18.2.0",

View File

@ -45,13 +45,13 @@
"dependencies": {
"@casl/ability": "6.5.0",
"@koa/cors": "5.0.0",
"@koa/router": "10.1.1",
"@koa/router": "12.0.1",
"@strapi/database": "5.0.0-beta.2",
"@strapi/logger": "5.0.0-beta.2",
"@strapi/permissions": "5.0.0-beta.2",
"@strapi/utils": "5.0.0-beta.2",
"commander": "8.3.0",
"koa": "2.13.4",
"koa": "2.15.2",
"node-schedule": "2.1.0",
"typedoc": "0.25.10"
},

View File

@ -84,7 +84,7 @@
"@types/koa-range": "0.3.5",
"@types/koa-static": "4.0.2",
"formidable": "3.5.1",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"msw": "1.3.0",
"react": "^18.2.0",

View File

@ -60,7 +60,7 @@
"@types/koa": "2.13.4",
"@types/node": "18.19.24",
"eslint-config-custom": "5.0.0-beta.2",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"tsconfig": "5.0.0-beta.2"
},

View File

@ -82,7 +82,7 @@
"@types/koa": "2.13.4",
"@types/koa-session": "6.4.1",
"@types/swagger-ui-dist": "3.30.4",
"koa": "2.13.4",
"koa": "2.15.2",
"koa-body": "4.2.0",
"koa-session": "6.4.0",
"msw": "1.3.0",

View File

@ -52,7 +52,7 @@
"@as-integrations/koa": "1.1.1",
"@graphql-tools/schema": "8.5.1",
"@graphql-tools/utils": "^8.13.1",
"@koa/cors": "3.4.3",
"@koa/cors": "5.0.0",
"@strapi/design-system": "1.16.0",
"@strapi/icons": "1.16.0",
"@strapi/utils": "5.0.0-beta.2",
@ -74,7 +74,7 @@
"@types/koa__cors": "5.0.0",
"cross-env": "^7.0.3",
"eslint-config-custom": "5.0.0-beta.2",
"koa": "2.13.4",
"koa": "2.15.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "6.22.3",

View File

@ -55,8 +55,8 @@
"immer": "9.0.21",
"jsonwebtoken": "9.0.0",
"jwk-to-pem": "2.0.5",
"koa": "2.13.4",
"koa2-ratelimit": "^1.1.2",
"koa": "2.15.2",
"koa2-ratelimit": "^1.1.3",
"lodash": "4.17.21",
"prop-types": "^15.8.1",
"purest": "4.0.2",

165
yarn.lock
View File

@ -4270,6 +4270,19 @@ __metadata:
languageName: node
linkType: hard
"@koa/router@npm:12.0.1":
version: 12.0.1
resolution: "@koa/router@npm:12.0.1"
dependencies:
debug: "npm:^4.3.4"
http-errors: "npm:^2.0.0"
koa-compose: "npm:^4.1.0"
methods: "npm:^1.1.2"
path-to-regexp: "npm:^6.2.1"
checksum: f9427c8eb21a2d7c880dae192b7298ecb243af32a8270b5e3e32c4420da157111bc326ab0bc75ff0f17320b9d9ab9df235295fc2d53d8681b5a14103c27ad22d
languageName: node
linkType: hard
"@kwsites/file-exists@npm:^1.1.1":
version: 1.1.1
resolution: "@kwsites/file-exists@npm:1.1.1"
@ -6872,12 +6885,12 @@ __metadata:
invariant: "npm:^2.2.4"
js-cookie: "npm:2.2.1"
jsonwebtoken: "npm:9.0.0"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
koa-compose: "npm:4.1.0"
koa-passport: "npm:5.0.0"
koa-passport: "npm:6.0.0"
koa-static: "npm:5.0.0"
koa2-ratelimit: "npm:^1.1.2"
koa2-ratelimit: "npm:^1.1.3"
lodash: "npm:4.17.21"
msw: "npm:1.3.0"
node-schedule: "npm:2.1.0"
@ -6939,7 +6952,7 @@ __metadata:
date-fns: "npm:2.30.0"
date-fns-tz: "npm:2.0.1"
formik: "npm:2.4.5"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
lodash: "npm:4.17.21"
msw: "npm:1.3.0"
node-schedule: "npm:2.1.0"
@ -6966,8 +6979,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "@strapi/core@workspace:packages/core/core"
dependencies:
"@koa/cors": "npm:3.4.3"
"@koa/router": "npm:10.1.1"
"@koa/cors": "npm:5.0.0"
"@koa/router": "npm:12.0.1"
"@paralleldrive/cuid2": "npm:2.2.2"
"@strapi/admin": "npm:5.0.0-beta.2"
"@strapi/database": "npm:5.0.0-beta.2"
@ -7012,13 +7025,13 @@ __metadata:
http-errors: "npm:1.8.1"
inquirer: "npm:8.2.5"
is-docker: "npm:2.2.1"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
koa-compose: "npm:4.1.0"
koa-compress: "npm:5.1.0"
koa-compress: "npm:5.1.1"
koa-favicon: "npm:2.1.0"
koa-helmet: "npm:7.0.2"
koa-ip: "npm:^2.1.2"
koa-ip: "npm:^2.1.3"
koa-session: "npm:6.4.0"
koa-static: "npm:5.0.0"
lodash: "npm:4.17.21"
@ -7065,7 +7078,7 @@ __metadata:
fs-extra: "npm:10.1.0"
inquirer: "npm:8.2.5"
knex: "npm:3.0.1"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
lodash: "npm:4.17.21"
ora: "npm:5.4.1"
resolve-cwd: "npm:3.0.0"
@ -7344,7 +7357,7 @@ __metadata:
fractional-indexing: "npm:3.2.0"
highlight.js: "npm:^10.4.1"
immer: "npm:9.0.21"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
lodash: "npm:4.17.21"
markdown-it: "npm:^12.3.2"
@ -7404,7 +7417,7 @@ __metadata:
date-fns: "npm:2.30.0"
fs-extra: "npm:10.1.0"
immer: "npm:9.0.21"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
lodash: "npm:4.17.21"
pluralize: "npm:8.0.0"
@ -7451,7 +7464,7 @@ __metadata:
formik: "npm:2.4.5"
fs-extra: "npm:10.1.0"
immer: "npm:9.0.21"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
koa-session: "npm:6.4.0"
koa-static: "npm:^5.0.0"
@ -7490,7 +7503,7 @@ __metadata:
"@testing-library/react": "npm:14.0.0"
"@types/koa": "npm:2.13.4"
"@types/lodash": "npm:^4.14.191"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
lodash: "npm:4.17.21"
msw: "npm:1.3.0"
@ -7519,7 +7532,7 @@ __metadata:
"@as-integrations/koa": "npm:1.1.1"
"@graphql-tools/schema": "npm:8.5.1"
"@graphql-tools/utils": "npm:^8.13.1"
"@koa/cors": "npm:3.4.3"
"@koa/cors": "npm:5.0.0"
"@strapi/design-system": "npm:1.16.0"
"@strapi/icons": "npm:1.16.0"
"@strapi/strapi": "npm:5.0.0-beta.2"
@ -7534,7 +7547,7 @@ __metadata:
graphql-depth-limit: "npm:^1.1.0"
graphql-playground-middleware-koa: "npm:^1.6.21"
graphql-scalars: "npm:1.22.2"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-bodyparser: "npm:4.4.1"
koa-compose: "npm:^4.1.0"
lodash: "npm:4.17.21"
@ -7639,7 +7652,7 @@ __metadata:
formik: "npm:2.4.5"
fs-extra: "npm:10.1.0"
immer: "npm:9.0.21"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
koa-range: "npm:0.3.0"
koa-static: "npm:5.0.0"
@ -7686,8 +7699,8 @@ __metadata:
immer: "npm:9.0.21"
jsonwebtoken: "npm:9.0.0"
jwk-to-pem: "npm:2.0.5"
koa: "npm:2.13.4"
koa2-ratelimit: "npm:^1.1.2"
koa: "npm:2.15.2"
koa2-ratelimit: "npm:^1.1.3"
lodash: "npm:4.17.21"
msw: "npm:1.3.0"
prop-types: "npm:^15.8.1"
@ -7969,7 +7982,7 @@ __metadata:
dependencies:
"@casl/ability": "npm:6.5.0"
"@koa/cors": "npm:5.0.0"
"@koa/router": "npm:10.1.1"
"@koa/router": "npm:12.0.1"
"@strapi/database": "npm:5.0.0-beta.2"
"@strapi/logger": "npm:5.0.0-beta.2"
"@strapi/pack-up": "npm:5.0.0-beta.2"
@ -7982,7 +7995,7 @@ __metadata:
"@types/node-schedule": "npm:2.1.0"
commander: "npm:8.3.0"
eslint-config-custom: "npm:5.0.0-beta.2"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
lodash: "npm:4.17.21"
node-schedule: "npm:2.1.0"
tsconfig: "npm:5.0.0-beta.2"
@ -8077,7 +8090,7 @@ __metadata:
eslint-config-custom: "npm:5.0.0-beta.2"
execa: "npm:5.1.1"
http-errors: "npm:1.8.1"
koa: "npm:2.13.4"
koa: "npm:2.15.2"
koa-body: "npm:4.2.0"
lodash: "npm:4.17.21"
node-machine-id: "npm:1.1.12"
@ -11746,7 +11759,7 @@ __metadata:
languageName: node
linkType: hard
"bytes@npm:3.1.2, bytes@npm:^3.0.0":
"bytes@npm:3.1.2, bytes@npm:^3.0.0, bytes@npm:^3.1.2":
version: 3.1.2
resolution: "bytes@npm:3.1.2"
checksum: a10abf2ba70c784471d6b4f58778c0beeb2b5d405148e66affa91f23a9f13d07603d0a0354667310ae1d6dc141474ffd44e2a074be0f6e2254edb8fc21445388
@ -12682,7 +12695,7 @@ __metadata:
languageName: node
linkType: hard
"compressible@npm:^2.0.0":
"compressible@npm:^2.0.0, compressible@npm:^2.0.18":
version: 2.0.18
resolution: "compressible@npm:2.0.18"
dependencies:
@ -12992,6 +13005,16 @@ __metadata:
languageName: node
linkType: hard
"cookies@npm:~0.9.0":
version: 0.9.1
resolution: "cookies@npm:0.9.1"
dependencies:
depd: "npm:~2.0.0"
keygrip: "npm:~1.1.0"
checksum: 4816461a38d907b20f3fb7a2bc4741fe580e7a195f3e248ef7025cb3be56a07638a0f4e72553a5f535554ca30172c8a3245c63ac72c9737cec034e9a47773392
languageName: node
linkType: hard
"copy-descriptor@npm:^0.1.0":
version: 0.1.1
resolution: "copy-descriptor@npm:0.1.1"
@ -17635,7 +17658,7 @@ __metadata:
languageName: node
linkType: hard
"http-errors@npm:1.8.1, http-errors@npm:^1.6.3, http-errors@npm:^1.7.3, http-errors@npm:^1.8.0, http-errors@npm:~1.8.0":
"http-errors@npm:1.8.1, http-errors@npm:^1.6.3, http-errors@npm:^1.7.3, http-errors@npm:^1.8.0, http-errors@npm:^1.8.1, http-errors@npm:~1.8.0":
version: 1.8.1
resolution: "http-errors@npm:1.8.1"
dependencies:
@ -17648,7 +17671,7 @@ __metadata:
languageName: node
linkType: hard
"http-errors@npm:2.0.0":
"http-errors@npm:2.0.0, http-errors@npm:^2.0.0":
version: 2.0.0
resolution: "http-errors@npm:2.0.0"
dependencies:
@ -20143,6 +20166,18 @@ __metadata:
languageName: node
linkType: hard
"koa-compress@npm:5.1.1":
version: 5.1.1
resolution: "koa-compress@npm:5.1.1"
dependencies:
bytes: "npm:^3.1.2"
compressible: "npm:^2.0.18"
http-errors: "npm:^1.8.1"
koa-is-json: "npm:^1.0.0"
checksum: e768d336756e2009cd65db28c48472827a0eb503cdf3055bdb0af0e5d74b821bb8b9820dfdcb956e359fdea3c302286d2a17eef28bd4683217a6e8d503749e68
languageName: node
linkType: hard
"koa-convert@npm:^2.0.0":
version: 2.0.0
resolution: "koa-convert@npm:2.0.0"
@ -20182,6 +20217,17 @@ __metadata:
languageName: node
linkType: hard
"koa-ip@npm:^2.1.3":
version: 2.1.3
resolution: "koa-ip@npm:2.1.3"
dependencies:
debug: "npm:4.3.4"
lodash.isplainobject: "npm:4.0.6"
request-ip: "npm:3.3.0"
checksum: 67fe264367cc513ca8cb91472c5719102384fd29daac31ce93ebf9ffc15a69779d99924e7b34e03ec765be59a2bc287493d1534eba3223ab1fcc8a275909a827
languageName: node
linkType: hard
"koa-is-json@npm:^1.0.0":
version: 1.0.0
resolution: "koa-is-json@npm:1.0.0"
@ -20198,6 +20244,15 @@ __metadata:
languageName: node
linkType: hard
"koa-passport@npm:6.0.0":
version: 6.0.0
resolution: "koa-passport@npm:6.0.0"
dependencies:
passport: "npm:^0.6.0"
checksum: 4482e4b3d2d847ebbee07408390edc76859389128e9544d79a616de5fb6c5bfc62ef14a52257e62b6f2d77bd9f602d749e8bf412ac676c3e58f0d74081619b5e
languageName: node
linkType: hard
"koa-range@npm:0.3.0":
version: 0.3.0
resolution: "koa-range@npm:0.3.0"
@ -20258,6 +20313,24 @@ __metadata:
languageName: node
linkType: hard
"koa2-ratelimit@npm:^1.1.3":
version: 1.1.3
resolution: "koa2-ratelimit@npm:1.1.3"
peerDependencies:
mongoose: ">= 5"
redis: ">= 4.0.0"
sequelize: ">=5.8.7"
peerDependenciesMeta:
mongoose:
optional: true
redis:
optional: true
sequelize:
optional: true
checksum: 7dcd8d9b0b356cfe419c93bac72a0e80370a9cd671a910e5b264370cfbdcb176c753be2f0a0df309c2bdf10febd8c58a9cc8fae817f9277c044eaba0132a6a20
languageName: node
linkType: hard
"koa@npm:2.13.4":
version: 2.13.4
resolution: "koa@npm:2.13.4"
@ -20289,6 +20362,37 @@ __metadata:
languageName: node
linkType: hard
"koa@npm:2.15.2":
version: 2.15.2
resolution: "koa@npm:2.15.2"
dependencies:
accepts: "npm:^1.3.5"
cache-content-type: "npm:^1.0.0"
content-disposition: "npm:~0.5.2"
content-type: "npm:^1.0.4"
cookies: "npm:~0.9.0"
debug: "npm:^4.3.2"
delegates: "npm:^1.0.0"
depd: "npm:^2.0.0"
destroy: "npm:^1.0.4"
encodeurl: "npm:^1.0.2"
escape-html: "npm:^1.0.3"
fresh: "npm:~0.5.2"
http-assert: "npm:^1.3.0"
http-errors: "npm:^1.6.3"
is-generator-function: "npm:^1.0.7"
koa-compose: "npm:^4.1.0"
koa-convert: "npm:^2.0.0"
on-finished: "npm:^2.3.0"
only: "npm:~0.0.2"
parseurl: "npm:^1.3.2"
statuses: "npm:^1.5.0"
type-is: "npm:^1.6.16"
vary: "npm:^1.1.2"
checksum: edafa18bbbef420c557c678998252a4f448c211fdd0ff1e70eddd4f689fe1f7363fa5a05849cef5f1bcb2c3adc1ae360e68b0bcc1432cd58c5c75fb840204fe0
languageName: node
linkType: hard
"kolorist@npm:^1.8.0":
version: 1.8.0
resolution: "kolorist@npm:1.8.0"
@ -23619,7 +23723,7 @@ __metadata:
languageName: node
linkType: hard
"path-to-regexp@npm:6.2.1, path-to-regexp@npm:^6.1.0, path-to-regexp@npm:^6.2.0":
"path-to-regexp@npm:6.2.1, path-to-regexp@npm:^6.1.0, path-to-regexp@npm:^6.2.0, path-to-regexp@npm:^6.2.1":
version: 6.2.1
resolution: "path-to-regexp@npm:6.2.1"
checksum: 1e266be712d1a08086ee77beab12a1804842ec635dfed44f9ee1ba960a0e01cec8063fb8c92561115cdc0ce73158cdc7766e353ffa039340b4a85b370084c4d4
@ -25169,6 +25273,13 @@ __metadata:
languageName: node
linkType: hard
"request-ip@npm:3.3.0":
version: 3.3.0
resolution: "request-ip@npm:3.3.0"
checksum: 9ca26f814201da19cb6f1a18da4f036803b770665ec0e7c556ea975ba553321922a5f04909f6dfc2371f695ca8aaa3c66f02c00a5e902c76435029804cdc4964
languageName: node
linkType: hard
"request-multipart@npm:^1.0.0":
version: 1.0.0
resolution: "request-multipart@npm:1.0.0"