Skip to content

Commit

Permalink
Update supertest related packages (#53081)
Browse files Browse the repository at this point in the history
* Update supertest related packages

* supertest is now strict about numbers as strings
  • Loading branch information
renovate[bot] authored and Spencer committed Dec 16, 2019
1 parent 4d50442 commit 5eed8b4
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 30 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@
"@types/sinon": "^7.0.13",
"@types/strip-ansi": "^3.0.0",
"@types/styled-components": "^4.4.1",
"@types/supertest": "^2.0.5",
"@types/supertest": "^2.0.8",
"@types/supertest-as-promised": "^2.0.38",
"@types/testing-library__react": "^9.1.2",
"@types/testing-library__react-hooks": "^3.1.0",
Expand Down Expand Up @@ -456,7 +456,7 @@
"simple-git": "1.129.0",
"sinon": "^7.4.2",
"strip-ansi": "^3.0.1",
"supertest": "^3.1.0",
"supertest": "^4.0.2",
"supertest-as-promised": "^4.0.2",
"tree-kill": "^1.2.1",
"typescript": "3.7.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function({ getService, getPageObjects }: PluginFunctionalProvider
await supertest
.get('/api/ui-settings-plugin')
.expect(200)
.expect({ uiSettingsValue: 2 });
.expect({ uiSettingsValue: '2' });
});
});
}
4 changes: 2 additions & 2 deletions x-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@types/redux-actions": "^2.2.1",
"@types/sinon": "^7.0.13",
"@types/styled-components": "^4.4.1",
"@types/supertest": "^2.0.5",
"@types/supertest": "^2.0.8",
"@types/tar-fs": "^1.16.1",
"@types/tinycolor2": "^1.4.1",
"@types/uuid": "^3.4.4",
Expand Down Expand Up @@ -160,7 +160,7 @@
"simple-git": "1.129.0",
"sinon": "^7.4.2",
"string-replace-loader": "^2.2.0",
"supertest": "^3.1.0",
"supertest": "^4.0.2",
"supertest-as-promised": "^4.0.2",
"tmp": "0.1.0",
"tree-kill": "^1.2.1",
Expand Down
43 changes: 18 additions & 25 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4814,20 +4814,13 @@
"@types/superagent" "*"
"@types/supertest" "*"

"@types/supertest@*":
"@types/supertest@*", "@types/supertest@^2.0.8":
version "2.0.8"
resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.8.tgz#23801236e2b85204ed771a8e7c40febba7da2bda"
integrity sha512-wcax7/ip4XSSJRLbNzEIUVy2xjcBIZZAuSd2vtltQfRK7kxhx5WMHbLHkYdxN3wuQCrwpYrg86/9byDjPXoGMA==
dependencies:
"@types/superagent" "*"

"@types/supertest@^2.0.5":
version "2.0.5"
resolved "https://registry.yarnpkg.com/@types/supertest/-/supertest-2.0.5.tgz#18d082a667eaed22759be98f4923e0061ae70c62"
integrity sha512-orl732spRnz4+Bqwk1OnXkJUX2YhiGvMUyfn8VTGXqMZSk6jrMhBq7IuoSXMyBrpsCV5eSddPiC3S0iIafYxsQ==
dependencies:
"@types/superagent" "*"

"@types/tar-fs@^1.16.1":
version "1.16.1"
resolved "https://registry.yarnpkg.com/@types/tar-fs/-/tar-fs-1.16.1.tgz#6e3fba276c173e365ae91e55f7b797a0e64298e5"
Expand Down Expand Up @@ -13716,10 +13709,10 @@ form-data@~2.1.1:
combined-stream "^1.0.5"
mime-types "^2.1.12"

formidable@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.1.1.tgz#96b8886f7c3c3508b932d6bd70c4d3a88f35f1a9"
integrity sha1-lriIb3w8NQi5Mta9cMTTqI818ak=
formidable@^1.2.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.1.tgz#70fb7ca0290ee6ff961090415f4b3df3d2082659"
integrity sha512-Fs9VRguL0gqGHkXS5GQiMCr1VhZBxz0JnJs4JmMp/2jL18Fmbzvv7vOFRU+U8TBkHEE/CX1qDXzJplVULgsLeg==

formsy-react@^1.1.5:
version "1.1.5"
Expand Down Expand Up @@ -19973,7 +19966,7 @@ merge@^1.2.0:
resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145"
integrity sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==

methods@^1.1.1, methods@~1.1.2:
methods@^1.1.1, methods@^1.1.2, methods@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
Expand Down Expand Up @@ -27628,21 +27621,21 @@ suffix@^0.1.0:
resolved "https://registry.yarnpkg.com/suffix/-/suffix-0.1.0.tgz#3e46966de56af17600385e58db8ec659dd797907"
integrity sha1-PkaWbeVq8XYAOF5Y247GWd15eQc=

[email protected].2:
version "3.8.2"
resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.8.2.tgz#e4a11b9d047f7d3efeb3bbe536d9ec0021d16403"
integrity sha512-gVH4QfYHcY3P0f/BZzavLreHW3T1v7hG9B+hpMQotGQqurOvhv87GcMCd6LWySmBuf+BDR44TQd0aISjVHLeNQ==
superagent@^3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.8.3.tgz#460ea0dbdb7d5b11bc4f78deba565f86a178e128"
integrity sha512-GLQtLMCoEIK4eDv6OGtkOoSMt3D+oq0y3dsxMuYuDvaNUvuT8eFBuLmfR0iYYzHC1e8hpzC6ZsxbuP6DIalMFA==
dependencies:
component-emitter "^1.2.0"
cookiejar "^2.1.0"
debug "^3.1.0"
extend "^3.0.0"
form-data "^2.3.1"
formidable "^1.1.1"
formidable "^1.2.0"
methods "^1.1.1"
mime "^1.4.1"
qs "^6.5.1"
readable-stream "^2.0.5"
readable-stream "^2.3.5"

supercluster@^6.0.1:
version "6.0.1"
Expand All @@ -27659,13 +27652,13 @@ supertest-as-promised@^4.0.2:
bluebird "^3.3.1"
methods "^1.1.1"

supertest@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/supertest/-/supertest-3.1.0.tgz#f9ebaf488e60f2176021ec580bdd23ad269e7bc6"
integrity sha512-O44AMnmJqx294uJQjfUmEyYOg7d9mylNFsMw/Wkz4evKd1njyPrtCN+U6ZIC7sKtfEVQhfTqFFijlXx8KP/Czw==
supertest@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/supertest/-/supertest-4.0.2.tgz#c2234dbdd6dc79b6f15b99c8d6577b90e4ce3f36"
integrity sha512-1BAbvrOZsGA3YTCWqbmh14L0YEq0EGICX/nBnfkfVJn7SrxQV1I3pMYjSzG9y/7ZU2V9dWqyqk2POwxlb09duQ==
dependencies:
methods "~1.1.2"
superagent "3.8.2"
methods "^1.1.2"
superagent "^3.8.3"

[email protected], supports-color@^5.0.0, supports-color@^5.4.0, supports-color@^5.5.0:
version "5.5.0"
Expand Down

0 comments on commit 5eed8b4

Please sign in to comment.