mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
(cherry picked from commit 699c17afec
)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
This commit is contained in:
parent
902b0480a2
commit
ab67204d05
4 changed files with 5 additions and 8 deletions
|
@ -304,7 +304,7 @@
|
|||
"mime-types": "^2.1.27",
|
||||
"mini-css-extract-plugin": "1.1.0",
|
||||
"minimatch": "^3.1.2",
|
||||
"moment": "^2.24.0",
|
||||
"moment": "^2.29.2",
|
||||
"moment-duration-format": "^2.3.2",
|
||||
"moment-timezone": "^0.5.27",
|
||||
"monaco-editor": "^0.22.3",
|
||||
|
|
|
@ -35,8 +35,6 @@ import {
|
|||
import { getThreatMock } from '../../../../../common/detection_engine/schemas/types/threat.mock';
|
||||
|
||||
describe('rule helpers', () => {
|
||||
// @ts-expect-error 4.3.5 upgrade - likely requires moment upgrade
|
||||
// https://github.com/elastic/kibana/issues/120236
|
||||
moment.suppressDeprecationWarnings = true;
|
||||
describe('getStepsData', () => {
|
||||
test('returns object with about, define, schedule and actions step properties formatted', () => {
|
||||
|
|
|
@ -18,7 +18,6 @@ import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas
|
|||
import { getListArrayMock } from '../../../../common/detection_engine/schemas/types/lists.mock';
|
||||
import { getExceptionListItemSchemaMock } from '../../../../../lists/common/schemas/response/exception_list_item_schema.mock';
|
||||
|
||||
// @ts-expect-error 4.3.5 upgrade - likely requires moment upgrade
|
||||
moment.suppressDeprecationWarnings = true;
|
||||
|
||||
import {
|
||||
|
|
|
@ -20415,10 +20415,10 @@ moment-timezone@^0.5.27:
|
|||
dependencies:
|
||||
moment ">= 2.9.0"
|
||||
|
||||
"moment@>= 2.9.0", moment@>=1.6.0, moment@>=2.14.0, moment@^2.10.6, moment@^2.24.0:
|
||||
version "2.28.0"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.28.0.tgz#cdfe73ce01327cee6537b0fafac2e0f21a237d75"
|
||||
integrity sha512-Z5KOjYmnHyd/ukynmFd/WwyXHd7L4J9vTI/nn5Ap9AVUgaAE15VvQ9MOGmJJygEUklupqIrFnor/tjTwRU+tQw==
|
||||
"moment@>= 2.9.0", moment@>=1.6.0, moment@>=2.14.0, moment@^2.10.6, moment@^2.29.2:
|
||||
version "2.29.2"
|
||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.2.tgz#00910c60b20843bcba52d37d58c628b47b1f20e4"
|
||||
integrity sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==
|
||||
|
||||
monaco-editor@*, monaco-editor@^0.22.3:
|
||||
version "0.22.3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue