Upgrade from statehood v6.0.9 to @hapi/statehood v6.1.2 (#100319)

This commit is contained in:
Thomas Watson 2021-05-19 16:52:13 +02:00 committed by GitHub
parent 84fa5add86
commit a726f59550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 3 deletions

View file

@ -122,6 +122,7 @@
"@elastic/numeral": "2.3.2",
"@hapi/boom": "^7.4.11",
"@hapi/oppsy": "^2.1.2",
"@hapi/statehood": "^6.1.2",
"@kbn/babel-preset": "1.0.0",
"@kbn/es-query": "1.0.0",
"@kbn/i18n": "1.0.0",
@ -254,7 +255,6 @@
"rxjs": "^6.2.1",
"semver": "5.1.0",
"squel": "^5.12.2",
"statehood": "^6.0.9",
"style-it": "2.1.2",
"styled-components": "3.3.3",
"tar-fs": "2.1.0",

View file

@ -6,7 +6,7 @@
import hapiAuthCookie from 'hapi-auth-cookie';
// eslint-disable-next-line import/no-extraneous-dependencies
import Statehood from 'statehood';
import Statehood from '@hapi/statehood';
const HAPI_STRATEGY_NAME = 'security-cookie';
// Forbid applying of Hapi authentication strategies to routes automatically.

View file

@ -839,6 +839,13 @@
dependencies:
"@hapi/hoek" "8.x.x"
"@hapi/b64@4.x.x":
version "4.2.1"
resolved "https://registry.yarnpkg.com/@hapi/b64/-/b64-4.2.1.tgz#bf8418d7907c5e73463f2e3b5c6fca7e9f2a1357"
integrity sha512-zqHpQuH5CBMw6hADzKfU/IGNrxq1Q+/wTYV+OiZRQN9F3tMyk+9BUMeBvFRMamduuqL8iSp62QAnJ+7ATiYLWA==
dependencies:
"@hapi/hoek" "8.x.x"
"@hapi/boom@7.x.x", "@hapi/boom@^7.4.11":
version "7.4.11"
resolved "https://registry.yarnpkg.com/@hapi/boom/-/boom-7.4.11.tgz#37af8417eb9416aef3367aa60fa04a1a9f1fc262"
@ -854,6 +861,18 @@
"@hapi/boom" "7.x.x"
"@hapi/hoek" "^8.3.1"
"@hapi/bourne@1.x.x":
version "1.3.2"
resolved "https://registry.yarnpkg.com/@hapi/bourne/-/bourne-1.3.2.tgz#0a7095adea067243ce3283e1b56b8a8f453b242a"
integrity sha512-1dVNHT76Uu5N3eJNTYcvxee+jzX4Z9lfciqRRHCU27ihbUcYi+iSc2iml5Ke1LXe1SyJCLA0+14Jh4tXJgOppA==
"@hapi/cryptiles@4.x.x":
version "4.2.1"
resolved "https://registry.yarnpkg.com/@hapi/cryptiles/-/cryptiles-4.2.1.tgz#ff0f18d79074659838caedbb911851313ad1ffbc"
integrity sha512-XoqgKsHK0l/VpqPs+tr6j6vE+VQ3+2bkF2stvttmc7xAOf1oSAwHcJ0tlp/6MxMysktt1IEY0Csy3khKaP9/uQ==
dependencies:
"@hapi/boom" "7.x.x"
"@hapi/formula@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@hapi/formula/-/formula-1.2.0.tgz#994649c7fea1a90b91a0a1e6d983523f680e10cd"
@ -894,6 +913,17 @@
"@hapi/joi" "16.x.x"
lru-cache "4.1.x"
"@hapi/iron@5.x.x":
version "5.1.4"
resolved "https://registry.yarnpkg.com/@hapi/iron/-/iron-5.1.4.tgz#7406f36847f798f52b92d1d97f855e27973832b7"
integrity sha512-+ElC+OCiwWLjlJBmm8ZEWjlfzTMQTdgPnU/TsoU5QsktspIWmWi9IU4kU83nH+X/SSya8TP8h8P11Wr5L7dkQQ==
dependencies:
"@hapi/b64" "4.x.x"
"@hapi/boom" "7.x.x"
"@hapi/bourne" "1.x.x"
"@hapi/cryptiles" "4.x.x"
"@hapi/hoek" "8.x.x"
"@hapi/joi@16.x.x":
version "16.1.8"
resolved "https://registry.yarnpkg.com/@hapi/joi/-/joi-16.1.8.tgz#84c1f126269489871ad4e2decc786e0adef06839"
@ -925,6 +955,19 @@
"@hapi/hoek" "8.x.x"
"@hapi/joi" "16.x.x"
"@hapi/statehood@^6.1.2":
version "6.1.2"
resolved "https://registry.yarnpkg.com/@hapi/statehood/-/statehood-6.1.2.tgz#6dda508b5da99a28a3ed295c3cac795cf6c12a02"
integrity sha512-pYXw1x6npz/UfmtcpUhuMvdK5kuOGTKcJNfLqdNptzietK2UZH5RzNJSlv5bDHeSmordFM3kGItcuQWX2lj2nQ==
dependencies:
"@hapi/boom" "7.x.x"
"@hapi/bounce" "1.x.x"
"@hapi/bourne" "1.x.x"
"@hapi/cryptiles" "4.x.x"
"@hapi/hoek" "8.x.x"
"@hapi/iron" "5.x.x"
"@hapi/joi" "16.x.x"
"@hapi/topo@^3.1.3":
version "3.1.6"
resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-3.1.6.tgz#68d935fa3eae7fdd5ab0d7f953f3205d8b2bfc29"
@ -19660,7 +19703,7 @@ state-toggle@^1.0.0:
resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.0.tgz#d20f9a616bb4f0c3b98b91922d25b640aa2bc425"
integrity sha1-0g+aYWu08MO5i5GSLSW2QKorxCU=
statehood@6.x.x, statehood@^6.0.9:
statehood@6.x.x:
version "6.0.9"
resolved "https://registry.yarnpkg.com/statehood/-/statehood-6.0.9.tgz#b347ae19818aec7fc26645fe1ec6a61928a57a3c"
integrity sha512-jbFg1+MYEqfC7ABAoWZoeF4cQUtp3LUvMDUGExL76cMmleBHG7I6xlZFsE8hRi7nEySIvutHmVlLmBe9+2R5LQ==