Skip to content

Commit

Permalink
[7.17] moment 2.28.0 -> 2.29.2 (elastic#129814) (elastic#129832)
Browse files Browse the repository at this point in the history
* moment 2.28.0 -> 2.29.2 (elastic#129814)

(cherry picked from commit 699c17a)

# Conflicts:
#	x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.test.tsx
#	x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.test.ts
#	yarn.lock

* Fix lockfile
  • Loading branch information
jportner authored Apr 8, 2022
1 parent eaf3426 commit 95dadca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import {
import { getThreatMock } from '../../../../../common/detection_engine/schemas/types/threat.mock';

describe('rule helpers', () => {
// @ts-expect-error
moment.suppressDeprecationWarnings = true;
describe('getStepsData', () => {
test('returns object with about, define, schedule and actions step properties formatted', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { ExceptionListClient } from '../../../../../lists/server';
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
moment.suppressDeprecationWarnings = true;

import {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20037,10 +20037,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.19.3, 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.19.3, 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"
Expand Down

0 comments on commit 95dadca

Please sign in to comment.