diff --git a/package.json b/package.json index c9d8a75da2cc0..50b6e32d7e506 100644 --- a/package.json +++ b/package.json @@ -282,7 +282,7 @@ "json-stable-stringify": "^1.0.1", "json-stringify-pretty-compact": "1.2.0", "json-stringify-safe": "5.0.1", - "jsonwebtoken": "^8.3.0", + "jsonwebtoken": "^9.0.0", "jsts": "^1.6.2", "kea": "^2.4.2", "load-json-file": "^6.2.0", diff --git a/yarn.lock b/yarn.lock index 1bd5c8ceb2dd0..4ae06d1b90c9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2319,7 +2319,6 @@ "@elastic/apm-synthtrace@link:bazel-bin/packages/elastic-apm-synthtrace": version "0.0.0" - uid "" "@elastic/app-search-javascript@^7.13.1": version "7.13.1" @@ -2355,7 +2354,6 @@ "@elastic/datemath@link:bazel-bin/packages/elastic-datemath": version "0.0.0" - uid "" "@elastic/ecs-helpers@^1.1.0": version "1.1.0" @@ -2395,7 +2393,6 @@ "@elastic/eslint-config-kibana@link:bazel-bin/packages/elastic-eslint-config-kibana": version "0.0.0" - uid "" "@elastic/eslint-plugin-eui@0.0.2": version "0.0.2" @@ -2520,7 +2517,6 @@ "@elastic/safer-lodash-set@link:bazel-bin/packages/elastic-safer-lodash-set": version "0.0.0" - uid "" "@elastic/search-ui-app-search-connector@^1.6.0": version "1.6.0" @@ -3794,275 +3790,207 @@ "@kbn/ace@link:bazel-bin/packages/kbn-ace": version "0.0.0" - uid "" "@kbn/alerts@link:bazel-bin/packages/kbn-alerts": version "0.0.0" - uid "" "@kbn/analytics@link:bazel-bin/packages/kbn-analytics": version "0.0.0" - uid "" "@kbn/apm-config-loader@link:bazel-bin/packages/kbn-apm-config-loader": version "0.0.0" - uid "" "@kbn/apm-utils@link:bazel-bin/packages/kbn-apm-utils": version "0.0.0" - uid "" "@kbn/babel-code-parser@link:bazel-bin/packages/kbn-babel-code-parser": version "0.0.0" - uid "" "@kbn/babel-preset@link:bazel-bin/packages/kbn-babel-preset": version "0.0.0" - uid "" "@kbn/cli-dev-mode@link:bazel-bin/packages/kbn-cli-dev-mode": version "0.0.0" - uid "" "@kbn/config-schema@link:bazel-bin/packages/kbn-config-schema": version "0.0.0" - uid "" "@kbn/config@link:bazel-bin/packages/kbn-config": version "0.0.0" - uid "" "@kbn/crypto@link:bazel-bin/packages/kbn-crypto": version "0.0.0" - uid "" "@kbn/dev-utils@link:bazel-bin/packages/kbn-dev-utils": version "0.0.0" - uid "" "@kbn/doc-links@link:bazel-bin/packages/kbn-doc-links": version "0.0.0" - uid "" "@kbn/docs-utils@link:bazel-bin/packages/kbn-docs-utils": version "0.0.0" - uid "" "@kbn/es-archiver@link:bazel-bin/packages/kbn-es-archiver": version "0.0.0" - uid "" "@kbn/es-query@link:bazel-bin/packages/kbn-es-query": version "0.0.0" - uid "" "@kbn/es@link:bazel-bin/packages/kbn-es": version "0.0.0" - uid "" "@kbn/eslint-import-resolver-kibana@link:bazel-bin/packages/kbn-eslint-import-resolver-kibana": version "0.0.0" - uid "" "@kbn/eslint-plugin-eslint@link:bazel-bin/packages/kbn-eslint-plugin-eslint": version "0.0.0" - uid "" "@kbn/expect@link:bazel-bin/packages/kbn-expect": version "0.0.0" - uid "" "@kbn/field-types@link:bazel-bin/packages/kbn-field-types": version "0.0.0" - uid "" "@kbn/flot-charts@link:bazel-bin/packages/kbn-flot-charts": version "0.0.0" - uid "" "@kbn/i18n-react@link:bazel-bin/packages/kbn-i18n-react": version "0.0.0" - uid "" "@kbn/i18n@link:bazel-bin/packages/kbn-i18n": version "0.0.0" - uid "" "@kbn/interpreter@link:bazel-bin/packages/kbn-interpreter": version "0.0.0" - uid "" "@kbn/io-ts-utils@link:bazel-bin/packages/kbn-io-ts-utils": version "0.0.0" - uid "" "@kbn/logging-mocks@link:bazel-bin/packages/kbn-logging-mocks": version "0.0.0" - uid "" "@kbn/logging@link:bazel-bin/packages/kbn-logging": version "0.0.0" - uid "" "@kbn/mapbox-gl@link:bazel-bin/packages/kbn-mapbox-gl": version "0.0.0" - uid "" "@kbn/monaco@link:bazel-bin/packages/kbn-monaco": version "0.0.0" - uid "" "@kbn/optimizer@link:bazel-bin/packages/kbn-optimizer": version "0.0.0" - uid "" "@kbn/plugin-generator@link:bazel-bin/packages/kbn-plugin-generator": version "0.0.0" - uid "" "@kbn/plugin-helpers@link:bazel-bin/packages/kbn-plugin-helpers": version "0.0.0" - uid "" "@kbn/pm@link:packages/kbn-pm": - version "0.0.0" - uid "" + version "1.0.0" "@kbn/react-field@link:bazel-bin/packages/kbn-react-field": version "0.0.0" - uid "" "@kbn/rule-data-utils@link:bazel-bin/packages/kbn-rule-data-utils": version "0.0.0" - uid "" "@kbn/securitysolution-autocomplete@link:bazel-bin/packages/kbn-securitysolution-autocomplete": version "0.0.0" - uid "" "@kbn/securitysolution-es-utils@link:bazel-bin/packages/kbn-securitysolution-es-utils": version "0.0.0" - uid "" "@kbn/securitysolution-hook-utils@link:bazel-bin/packages/kbn-securitysolution-hook-utils": version "0.0.0" - uid "" "@kbn/securitysolution-io-ts-alerting-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-alerting-types": version "0.0.0" - uid "" "@kbn/securitysolution-io-ts-list-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-list-types": version "0.0.0" - uid "" "@kbn/securitysolution-io-ts-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-types": version "0.0.0" - uid "" "@kbn/securitysolution-io-ts-utils@link:bazel-bin/packages/kbn-securitysolution-io-ts-utils": version "0.0.0" - uid "" "@kbn/securitysolution-list-api@link:bazel-bin/packages/kbn-securitysolution-list-api": version "0.0.0" - uid "" "@kbn/securitysolution-list-constants@link:bazel-bin/packages/kbn-securitysolution-list-constants": version "0.0.0" - uid "" "@kbn/securitysolution-list-hooks@link:bazel-bin/packages/kbn-securitysolution-list-hooks": version "0.0.0" - uid "" "@kbn/securitysolution-list-utils@link:bazel-bin/packages/kbn-securitysolution-list-utils": version "0.0.0" - uid "" "@kbn/securitysolution-rules@link:bazel-bin/packages/kbn-securitysolution-rules": version "0.0.0" - uid "" "@kbn/securitysolution-t-grid@link:bazel-bin/packages/kbn-securitysolution-t-grid": version "0.0.0" - uid "" "@kbn/securitysolution-utils@link:bazel-bin/packages/kbn-securitysolution-utils": version "0.0.0" - uid "" "@kbn/server-http-tools@link:bazel-bin/packages/kbn-server-http-tools": version "0.0.0" - uid "" "@kbn/server-route-repository@link:bazel-bin/packages/kbn-server-route-repository": version "0.0.0" - uid "" "@kbn/spec-to-console@link:bazel-bin/packages/kbn-spec-to-console": version "0.0.0" - uid "" "@kbn/std@link:bazel-bin/packages/kbn-std": version "0.0.0" - uid "" "@kbn/storybook@link:bazel-bin/packages/kbn-storybook": version "0.0.0" - uid "" "@kbn/telemetry-tools@link:bazel-bin/packages/kbn-telemetry-tools": version "0.0.0" - uid "" "@kbn/test-jest-helpers@link:bazel-bin/packages/kbn-test-jest-helpers": version "0.0.0" - uid "" "@kbn/test-subj-selector@link:bazel-bin/packages/kbn-test-subj-selector": version "0.0.0" - uid "" "@kbn/test@link:bazel-bin/packages/kbn-test": version "0.0.0" - uid "" "@kbn/timelion-grammar@link:bazel-bin/packages/kbn-timelion-grammar": version "0.0.0" - uid "" "@kbn/tinymath@link:bazel-bin/packages/kbn-tinymath": version "0.0.0" - uid "" "@kbn/typed-react-router-config@link:bazel-bin/packages/kbn-typed-react-router-config": version "0.0.0" - uid "" "@kbn/ui-framework@link:bazel-bin/packages/kbn-ui-framework": version "0.0.0" - uid "" "@kbn/ui-shared-deps-npm@link:bazel-bin/packages/kbn-ui-shared-deps-npm": version "0.0.0" - uid "" "@kbn/ui-shared-deps-src@link:bazel-bin/packages/kbn-ui-shared-deps-src": version "0.0.0" - uid "" "@kbn/ui-theme@link:bazel-bin/packages/kbn-ui-theme": version "0.0.0" - uid "" "@kbn/utility-types@link:bazel-bin/packages/kbn-utility-types": version "0.0.0" - uid "" "@kbn/utils@link:bazel-bin/packages/kbn-utils": version "0.0.0" - uid "" "@loaders.gl/core@2.3.1", "@loaders.gl/core@^2.3.1": version "2.3.1" @@ -6370,11 +6298,9 @@ "@types/elastic__apm-synthtrace@link:bazel-bin/packages/elastic-apm-synthtrace/npm_module_types": version "0.0.0" - uid "" "@types/elastic__datemath@link:bazel-bin/packages/elastic-datemath/npm_module_types": version "0.0.0" - uid "" "@types/enzyme@^3.10.8": version "3.10.8" @@ -6775,223 +6701,168 @@ "@types/kbn__ace@link:bazel-bin/packages/kbn-ace/npm_module_types": version "0.0.0" - uid "" "@types/kbn__alerts@link:bazel-bin/packages/kbn-alerts/npm_module_types": version "0.0.0" - uid "" "@types/kbn__analytics@link:bazel-bin/packages/kbn-analytics/npm_module_types": version "0.0.0" - uid "" "@types/kbn__apm-config-loader@link:bazel-bin/packages/kbn-apm-config-loader/npm_module_types": version "0.0.0" - uid "" "@types/kbn__apm-utils@link:bazel-bin/packages/kbn-apm-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__cli-dev-mode@link:bazel-bin/packages/kbn-cli-dev-mode/npm_module_types": version "0.0.0" - uid "" "@types/kbn__config-schema@link:bazel-bin/packages/kbn-config-schema/npm_module_types": version "0.0.0" - uid "" "@types/kbn__config@link:bazel-bin/packages/kbn-config/npm_module_types": version "0.0.0" - uid "" "@types/kbn__crypto@link:bazel-bin/packages/kbn-crypto/npm_module_types": version "0.0.0" - uid "" "@types/kbn__dev-utils@link:bazel-bin/packages/kbn-dev-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__doc-links@link:bazel-bin/packages/kbn-doc-links/npm_module_types": version "0.0.0" - uid "" "@types/kbn__docs-utils@link:bazel-bin/packages/kbn-docs-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__es-archiver@link:bazel-bin/packages/kbn-es-archiver/npm_module_types": version "0.0.0" - uid "" "@types/kbn__es-query@link:bazel-bin/packages/kbn-es-query/npm_module_types": version "0.0.0" - uid "" "@types/kbn__field-types@link:bazel-bin/packages/kbn-field-types/npm_module_types": version "0.0.0" - uid "" "@types/kbn__i18n-react@link:bazel-bin/packages/kbn-i18n-react/npm_module_types": version "0.0.0" - uid "" "@types/kbn__i18n@link:bazel-bin/packages/kbn-i18n/npm_module_types": version "0.0.0" - uid "" "@types/kbn__interpreter@link:bazel-bin/packages/kbn-interpreter/npm_module_types": version "0.0.0" - uid "" "@types/kbn__io-ts-utils@link:bazel-bin/packages/kbn-io-ts-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__logging-mocks@link:bazel-bin/packages/kbn-logging-mocks/npm_module_types": version "0.0.0" - uid "" "@types/kbn__logging@link:bazel-bin/packages/kbn-logging/npm_module_types": version "0.0.0" - uid "" "@types/kbn__mapbox-gl@link:bazel-bin/packages/kbn-mapbox-gl/npm_module_types": version "0.0.0" - uid "" "@types/kbn__monaco@link:bazel-bin/packages/kbn-monaco/npm_module_types": version "0.0.0" - uid "" "@types/kbn__optimizer@link:bazel-bin/packages/kbn-optimizer/npm_module_types": version "0.0.0" - uid "" "@types/kbn__plugin-generator@link:bazel-bin/packages/kbn-plugin-generator/npm_module_types": version "0.0.0" - uid "" "@types/kbn__plugin-helpers@link:bazel-bin/packages/kbn-plugin-helpers/npm_module_types": version "0.0.0" - uid "" "@types/kbn__react-field@link:bazel-bin/packages/kbn-react-field/npm_module_types": version "0.0.0" - uid "" "@types/kbn__rule-data-utils@link:bazel-bin/packages/kbn-rule-data-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-autocomplete@link:bazel-bin/packages/kbn-securitysolution-autocomplete/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-es-utils@link:bazel-bin/packages/kbn-securitysolution-es-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-hook-utils@link:bazel-bin/packages/kbn-securitysolution-hook-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-io-ts-alerting-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-alerting-types/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-io-ts-list-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-list-types/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-io-ts-types@link:bazel-bin/packages/kbn-securitysolution-io-ts-types/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-io-ts-utils@link:bazel-bin/packages/kbn-securitysolution-io-ts-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-list-api@link:bazel-bin/packages/kbn-securitysolution-list-api/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-list-constants@link:bazel-bin/packages/kbn-securitysolution-list-constants/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-list-hooks@link:bazel-bin/packages/kbn-securitysolution-list-hooks/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-list-utils@link:bazel-bin/packages/kbn-securitysolution-list-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-rules@link:bazel-bin/packages/kbn-securitysolution-rules/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-t-grid@link:bazel-bin/packages/kbn-securitysolution-t-grid/npm_module_types": version "0.0.0" - uid "" "@types/kbn__securitysolution-utils@link:bazel-bin/packages/kbn-securitysolution-utils/npm_module_types": version "0.0.0" - uid "" "@types/kbn__server-http-tools@link:bazel-bin/packages/kbn-server-http-tools/npm_module_types": version "0.0.0" - uid "" "@types/kbn__server-route-repository@link:bazel-bin/packages/kbn-server-route-repository/npm_module_types": version "0.0.0" - uid "" "@types/kbn__std@link:bazel-bin/packages/kbn-std/npm_module_types": version "0.0.0" - uid "" "@types/kbn__storybook@link:bazel-bin/packages/kbn-storybook/npm_module_types": version "0.0.0" - uid "" "@types/kbn__telemetry-tools@link:bazel-bin/packages/kbn-telemetry-tools/npm_module_types": version "0.0.0" - uid "" "@types/kbn__test-jest-helpers@link:bazel-bin/packages/kbn-test-jest-helpers/npm_module_types": version "0.0.0" - uid "" "@types/kbn__test@link:bazel-bin/packages/kbn-test/npm_module_types": version "0.0.0" - uid "" "@types/kbn__typed-react-router-config@link:bazel-bin/packages/kbn-typed-react-router-config/npm_module_types": version "0.0.0" - uid "" "@types/kbn__ui-shared-deps-npm@link:bazel-bin/packages/kbn-ui-shared-deps-npm/npm_module_types": version "0.0.0" - uid "" "@types/kbn__ui-shared-deps-src@link:bazel-bin/packages/kbn-ui-shared-deps-src/npm_module_types": version "0.0.0" - uid "" "@types/kbn__ui-theme@link:bazel-bin/packages/kbn-ui-theme/npm_module_types": version "0.0.0" - uid "" "@types/kbn__utility-types@link:bazel-bin/packages/kbn-utility-types/npm_module_types": version "0.0.0" - uid "" "@types/kbn__utils@link:bazel-bin/packages/kbn-utils/npm_module_types": version "0.0.0" - uid "" "@types/keyv@*": version "3.1.1" @@ -19320,6 +19191,16 @@ jsonwebtoken@^8.3.0: ms "^2.1.1" semver "^5.6.0" +jsonwebtoken@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz#d0faf9ba1cc3a56255fe49c0961a67e520c1926d" + integrity sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw== + dependencies: + jws "^3.2.2" + lodash "^4.17.21" + ms "^2.1.1" + semver "^7.3.8" + jsprim@^1.2.2: version "1.4.1" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" @@ -21171,7 +21052,7 @@ ms@2.0.0: resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= -ms@2.1.1, ms@^2.0.0, ms@^2.1.1: +ms@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" integrity sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg== @@ -21181,7 +21062,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@2.1.3, ms@^2.1.3: +ms@2.1.3, ms@^2.0.0, ms@^2.1.1, ms@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -26366,10 +26247,10 @@ semver@^6.0.0, semver@^6.1.0, semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semve resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@~7.3.0, semver@~7.3.2: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== +semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.8, semver@~7.3.0, semver@~7.3.2: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0"