Skip to content

Commit bf575ab

Browse files
committed
chore: Fix tests and update devdeps
Signed-off-by: Richie Bendall <[email protected]>
1 parent cfc40f4 commit bf575ab

File tree

2 files changed

+36
-36
lines changed

2 files changed

+36
-36
lines changed

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ test("should support uncommon content-type order, end with qs", (t) => {
3636

3737
test("should support chunked encoding, html4 detect", (t) => {
3838
const text = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\" /><div>日本語</div>"
39-
const padding = _.repeat("a", 10)
39+
const padding = "a".repeat(10)
4040
t.is(convertBody(encode(padding + text, "Shift_JIS"), new Headers({ "Content-Type": "text/html", "Transfer-Encoding": "chunked" })), padding + text)
4141
})
4242

yarn.lock

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -386,49 +386,49 @@
386386
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
387387

388388
"@types/node@*":
389-
version "13.1.1"
390-
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.1.tgz#6d11a8c2d58405b3db9388ab740106cbfa64c3c9"
391-
integrity sha512-hx6zWtudh3Arsbl3cXay+JnkvVgCKzCWKv42C9J01N2T2np4h8w5X8u6Tpz5mj38kE3M9FM0Pazx8vKFFMnjLQ==
389+
version "13.1.4"
390+
resolved "https://registry.yarnpkg.com/@types/node/-/node-13.1.4.tgz#4cfd90175a200ee9b02bd6b1cd19bc349741607e"
391+
integrity sha512-Lue/mlp2egZJoHXZr4LndxDAd7i/7SQYhV0EjWfb/a4/OZ6tuVwMCVPiwkU5nsEipxEf7hmkSU7Em5VQ8P5NGA==
392392

393393
"@types/normalize-package-data@^2.4.0":
394394
version "2.4.0"
395395
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
396396
integrity sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==
397397

398398
"@typescript-eslint/eslint-plugin@^2.6.0":
399-
version "2.13.0"
400-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.13.0.tgz#57e933fe16a2fc66dbac059af0d6d85d921d748e"
401-
integrity sha512-QoiANo0MMGNa8ej/yX3BrW5dZj5d8HYcKiM2fyYUlezECqn8Xc7T/e4EUdiGinn8jhBrn+9X47E9TWaaup3u1g==
399+
version "2.14.0"
400+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.14.0.tgz#c74447400537d4eb7aae1e31879ab43e6c662a8a"
401+
integrity sha512-sneOJ3Hu0m5whJiVIxGBZZZMxMJ7c0LhAJzeMJgHo+n5wFs+/6rSR/gl7crkdR2kNwfOOSdzdc0gMvatG4dX2Q==
402402
dependencies:
403-
"@typescript-eslint/experimental-utils" "2.13.0"
403+
"@typescript-eslint/experimental-utils" "2.14.0"
404404
eslint-utils "^1.4.3"
405405
functional-red-black-tree "^1.0.1"
406406
regexpp "^3.0.0"
407407
tsutils "^3.17.1"
408408

409-
"@typescript-eslint/experimental-utils@2.13.0":
410-
version "2.13.0"
411-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.13.0.tgz#958614faa6f77599ee2b241740e0ea402482533d"
412-
integrity sha512-+Hss3clwa6aNiC8ZjA45wEm4FutDV5HsVXPl/rDug1THq6gEtOYRGLqS3JlTk7mSnL5TbJz0LpEbzbPnKvY6sw==
409+
"@typescript-eslint/experimental-utils@2.14.0":
410+
version "2.14.0"
411+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.14.0.tgz#e9179fa3c44e00b3106b85d7b69342901fb43e3b"
412+
integrity sha512-KcyKS7G6IWnIgl3ZpyxyBCxhkBPV+0a5Jjy2g5HxlrbG2ZLQNFeneIBVXdaBCYOVjvGmGGFKom1kgiAY75SDeQ==
413413
dependencies:
414414
"@types/json-schema" "^7.0.3"
415-
"@typescript-eslint/typescript-estree" "2.13.0"
415+
"@typescript-eslint/typescript-estree" "2.14.0"
416416
eslint-scope "^5.0.0"
417417

418418
"@typescript-eslint/parser@^2.6.0":
419-
version "2.13.0"
420-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.13.0.tgz#ea1ab394cf9ca17467e3da7f96eca9309f57c326"
421-
integrity sha512-vbDeLr5QRJ1K7x5iRK8J9wuGwR9OVyd1zDAY9XFAQvAosHVjSVbDgkm328ayE6hx2QWVGhwvGaEhedcqAbfQcA==
419+
version "2.14.0"
420+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.14.0.tgz#30fa0523d86d74172a5e32274558404ba4262cd6"
421+
integrity sha512-haS+8D35fUydIs+zdSf4BxpOartb/DjrZ2IxQ5sR8zyGfd77uT9ZJZYF8+I0WPhzqHmfafUBx8MYpcp8pfaoSA==
422422
dependencies:
423423
"@types/eslint-visitor-keys" "^1.0.0"
424-
"@typescript-eslint/experimental-utils" "2.13.0"
425-
"@typescript-eslint/typescript-estree" "2.13.0"
424+
"@typescript-eslint/experimental-utils" "2.14.0"
425+
"@typescript-eslint/typescript-estree" "2.14.0"
426426
eslint-visitor-keys "^1.1.0"
427427

428-
"@typescript-eslint/typescript-estree@2.13.0":
429-
version "2.13.0"
430-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.13.0.tgz#a2e746867da772c857c13853219fced10d2566bc"
431-
integrity sha512-t21Mg5cc8T3ADEUGwDisHLIubgXKjuNRbkpzDMLb7/JMmgCe/gHM9FaaujokLey+gwTuLF5ndSQ7/EfQqrQx4g==
428+
"@typescript-eslint/typescript-estree@2.14.0":
429+
version "2.14.0"
430+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.14.0.tgz#c67698acdc14547f095eeefe908958d93e1a648d"
431+
integrity sha512-pnLpUcMNG7GfFFfNQbEX6f1aPa5fMnH2G9By+A1yovYI4VIOK2DzkaRuUlIkbagpAcrxQHLqovI1YWqEcXyRnA==
432432
dependencies:
433433
debug "^4.1.1"
434434
eslint-visitor-keys "^1.1.0"
@@ -500,9 +500,9 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
500500
color-convert "^1.9.0"
501501

502502
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
503-
version "4.2.0"
504-
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.0.tgz#5681f0dcf7ae5880a7841d8831c4724ed9cc0172"
505-
integrity sha512-7kFQgnEaMdRtwf6uSfUnVr9gSGC7faurn+J/Mv90/W+iTtN0405/nLdopfMWwchyxhbGYl6TC4Sccn9TUkGAgg==
503+
version "4.2.1"
504+
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359"
505+
integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==
506506
dependencies:
507507
"@types/color-name" "^1.1.1"
508508
color-convert "^2.0.1"
@@ -621,7 +621,7 @@ astral-regex@^2.0.0:
621621
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
622622
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
623623

624-
atob@^2.1.1:
624+
atob@^2.1.2:
625625
version "2.1.2"
626626
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
627627
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
@@ -1728,9 +1728,9 @@ eslint-plugin-unicorn@^12.0.0, eslint-plugin-unicorn@^12.1.0:
17281728
semver "^6.3.0"
17291729

17301730
eslint-rule-docs@^1.1.5:
1731-
version "1.1.171"
1732-
resolved "https://registry.yarnpkg.com/eslint-rule-docs/-/eslint-rule-docs-1.1.171.tgz#a4c7547273eec60cef2006ea18a11e47b94c7f92"
1733-
integrity sha512-iuwEtjwgzbBs6gdxA2r1lrSHsFrXrXS93dv0jXvJCuV+RIeEGHvz1iLt6pZLcmPZORww3Aq2YJXrmFbAj7bhYA==
1731+
version "1.1.172"
1732+
resolved "https://registry.yarnpkg.com/eslint-rule-docs/-/eslint-rule-docs-1.1.172.tgz#aca0ec2177293bfb5884d2176b6322411d10f1ba"
1733+
integrity sha512-WgrhDcKxp8MdC9RRviS3BxXN4h20jHfSlXoOpTWJWxsWBHZ2nsTXhBXmRwMZJBj5elnZPPPMFN+z4yJMBsVwYA==
17341734

17351735
eslint-scope@^5.0.0:
17361736
version "5.0.0"
@@ -3609,9 +3609,9 @@ p-limit@^1.1.0:
36093609
p-try "^1.0.0"
36103610

36113611
p-limit@^2.0.0, p-limit@^2.2.0:
3612-
version "2.2.1"
3613-
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
3614-
integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==
3612+
version "2.2.2"
3613+
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e"
3614+
integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==
36153615
dependencies:
36163616
p-try "^2.0.0"
36173617

@@ -4353,11 +4353,11 @@ sort-keys@^2.0.0:
43534353
is-plain-obj "^1.0.0"
43544354

43554355
source-map-resolve@^0.5.0:
4356-
version "0.5.2"
4357-
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
4358-
integrity sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==
4356+
version "0.5.3"
4357+
resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a"
4358+
integrity sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==
43594359
dependencies:
4360-
atob "^2.1.1"
4360+
atob "^2.1.2"
43614361
decode-uri-component "^0.2.0"
43624362
resolve-url "^0.2.1"
43634363
source-map-url "^0.4.0"

0 commit comments

Comments
 (0)