Skip to content

Commit 544b286

Browse files
committed
Update dependency koa-compress to v5
1 parent 293ffac commit 544b286

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"express": "^4.17.1",
4040
"koa": "^2.8.1",
4141
"koa-bodyparser": "^4.2.1",
42-
"koa-compress": "^3.0.0",
42+
"koa-compress": "^5.0.1",
4343
"koa-json": "^2.0.2",
4444
"server-destroy": "^1.0.1",
4545
"type-is": "^1.6.18"

yarn.lock

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2846,6 +2846,17 @@ [email protected], http-errors@^1.6.3, http-errors@~1.7.2:
28462846
statuses ">= 1.5.0 < 2"
28472847
toidentifier "1.0.0"
28482848

2849+
http-errors@^1.7.3:
2850+
version "1.8.0"
2851+
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.8.0.tgz#75d1bbe497e1044f51e4ee9e704a62f28d336507"
2852+
integrity sha512-4I8r0C5JDhT5VkvI47QktDW75rNlGVsUf/8hzjCC/wkWI/jdTRmBb9aI7erSG82r1bjKY3F6k28WnsVxB1C73A==
2853+
dependencies:
2854+
depd "~1.1.2"
2855+
inherits "2.0.4"
2856+
setprototypeof "1.2.0"
2857+
statuses ">= 1.5.0 < 2"
2858+
toidentifier "1.0.0"
2859+
28492860
https-browserify@^1.0.0:
28502861
version "1.0.0"
28512862
resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
@@ -3383,15 +3394,16 @@ koa-compose@^4.1.0:
33833394
resolved "https://registry.yarnpkg.com/koa-compose/-/koa-compose-4.1.0.tgz#507306b9371901db41121c812e923d0d67d3e877"
33843395
integrity sha512-8ODW8TrDuMYvXRwra/Kh7/rJo9BtOfPc6qO8eAfC80CnCvSjSl0bkRM24X6/XBBEyj0v1nRUQ1LyOy3dbqOWXw==
33853396

3386-
koa-compress@^3.0.0:
3387-
version "3.0.0"
3388-
resolved "https://registry.yarnpkg.com/koa-compress/-/koa-compress-3.0.0.tgz#3194059c215cbc24e59bbc84c2c7453a4c88564f"
3389-
integrity sha512-xol+LkNB1mozKJkB5Kj6nYXbJXhkLkZlXl9BsGBPjujVfZ8MsIXwU4GHRTT7TlSfUcl2DU3JtC+j6wOWcovfuQ==
3397+
koa-compress@^5.0.1:
3398+
version "5.0.1"
3399+
resolved "https://registry.yarnpkg.com/koa-compress/-/koa-compress-5.0.1.tgz#9e89e2847998f8f9f73a5674e5739a2f4b6531fc"
3400+
integrity sha512-uTo7Hcyyt6e9o2X3htRS/SNEKy9vDOUc/r1qs/F0YI2Frv9IEbkjz/9dC6IdJWBQAG34lRuU7jBXeq3DRur9Ng==
33903401
dependencies:
33913402
bytes "^3.0.0"
33923403
compressible "^2.0.0"
3404+
http-errors "^1.7.3"
33933405
koa-is-json "^1.0.0"
3394-
statuses "^1.0.0"
3406+
statuses "^2.0.0"
33953407

33963408
koa-convert@^1.2.0:
33973409
version "1.2.0"
@@ -4996,6 +5008,11 @@ [email protected]:
49965008
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
49975009
integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==
49985010

5011+
5012+
version "1.2.0"
5013+
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
5014+
integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==
5015+
49995016
sha.js@^2.4.0, sha.js@^2.4.8:
50005017
version "2.4.11"
50015018
resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7"
@@ -5183,11 +5200,16 @@ static-extend@^0.1.1:
51835200
define-property "^0.2.5"
51845201
object-copy "^0.1.0"
51855202

5186-
"statuses@>= 1.5.0 < 2", statuses@^1.0.0, statuses@^1.5.0, statuses@~1.5.0:
5203+
"statuses@>= 1.5.0 < 2", statuses@^1.5.0, statuses@~1.5.0:
51875204
version "1.5.0"
51885205
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
51895206
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
51905207

5208+
statuses@^2.0.0:
5209+
version "2.0.0"
5210+
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.0.tgz#aa7b107e018eb33e08e8aee2e7337e762dda1028"
5211+
integrity sha512-w9jNUUQdpuVoYqXxnyOakhckBbOxRaoYqJscyIBYCS5ixyCnO7nQn7zBZvP9zf5QOPZcz2DLUpE3KsNPbJBOFA==
5212+
51915213
stream-browserify@^2.0.1:
51925214
version "2.0.2"
51935215
resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"

0 commit comments

Comments
 (0)