mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Update @types/lodash
everywhere (#47020)
* Update @types/lodash everywhere * Update @grafana/e2e as well
This commit is contained in:
parent
0e93fe7e07
commit
3d23722b30
@ -305,7 +305,7 @@ exports[`no enzyme tests`] = {
|
||||
"public/app/plugins/datasource/cloudwatch/components/ConfigEditor.test.tsx:2974837543": [
|
||||
[1, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"public/app/plugins/datasource/cloudwatch/components/LogsQueryField.test.tsx:4272466995": [
|
||||
"public/app/plugins/datasource/cloudwatch/components/LogsQueryField.test.tsx:132770839": [
|
||||
[1, 19, 13, "RegExp match", "2409514259"]
|
||||
],
|
||||
"public/app/plugins/datasource/elasticsearch/configuration/ConfigEditor.test.tsx:1089831034": [
|
||||
|
@ -130,7 +130,7 @@
|
||||
"@types/jquery": "3.5.14",
|
||||
"@types/jsurl": "^1.2.28",
|
||||
"@types/lingui__macro": "^3",
|
||||
"@types/lodash": "4.14.149",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/logfmt": "^1.2.1",
|
||||
"@types/mousetrap": "1.6.9",
|
||||
"@types/node": "16.11.26",
|
||||
|
@ -55,7 +55,7 @@
|
||||
"@types/history": "4.7.11",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/jquery": "3.5.14",
|
||||
"@types/lodash": "4.14.149",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/marked": "4.0.3",
|
||||
"@types/node": "16.11.26",
|
||||
"@types/papaparse": "5.3.2",
|
||||
|
@ -34,7 +34,7 @@
|
||||
"@rollup/plugin-commonjs": "21.0.2",
|
||||
"@rollup/plugin-node-resolve": "13.1.3",
|
||||
"@types/chrome-remote-interface": "0.31.4",
|
||||
"@types/lodash": "4.14.180",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/node": "16.11.26",
|
||||
"@types/uuid": "8.3.4",
|
||||
"rollup": "2.70.1",
|
||||
|
@ -44,7 +44,7 @@
|
||||
"@types/angular": "1.8.4",
|
||||
"@types/history": "4.7.11",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/lodash": "4.14.149",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/react": "17.0.42",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"@types/systemjs": "^0.20.6",
|
||||
|
@ -130,7 +130,7 @@
|
||||
"@types/is-hotkey": "0.1.7",
|
||||
"@types/jest": "27.4.1",
|
||||
"@types/jquery": "3.5.14",
|
||||
"@types/lodash": "4.14.149",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/mock-raf": "1.0.3",
|
||||
"@types/node": "16.11.26",
|
||||
"@types/prismjs": "1.26.0",
|
||||
|
@ -14,7 +14,7 @@
|
||||
"@types/deep-freeze": "^0.1.1",
|
||||
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5",
|
||||
"@types/hoist-non-react-statics": "^3.3.1",
|
||||
"@types/lodash": "4.14.149",
|
||||
"@types/lodash": "4.14.181",
|
||||
"@types/prop-types": "^15",
|
||||
"@types/react": "17.0.42",
|
||||
"@types/react-icons": "2.2.7",
|
||||
|
@ -5,11 +5,11 @@ import { ExploreId } from '../../../../types';
|
||||
import { DescribeLogGroupsRequest } from '../types';
|
||||
import { SelectableValue } from '@grafana/data';
|
||||
// eslint-disable-next-line lodash/import-scope
|
||||
import _, { Cancelable } from 'lodash';
|
||||
import _, { DebouncedFunc } from 'lodash';
|
||||
|
||||
jest
|
||||
.spyOn(_, 'debounce')
|
||||
.mockImplementation((func: (...args: any) => any, wait?: number) => func as typeof func & Cancelable);
|
||||
.mockImplementation((func: (...args: any) => any, wait?: number) => func as DebouncedFunc<typeof func>);
|
||||
|
||||
describe('CloudWatchLogsQueryField', () => {
|
||||
it('updates upstream query log groups on region change', async () => {
|
||||
|
20
yarn.lock
20
yarn.lock
@ -4002,7 +4002,7 @@ __metadata:
|
||||
"@types/history": 4.7.11
|
||||
"@types/jest": 27.4.1
|
||||
"@types/jquery": 3.5.14
|
||||
"@types/lodash": 4.14.149
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/marked": 4.0.3
|
||||
"@types/node": 16.11.26
|
||||
"@types/papaparse": 5.3.2
|
||||
@ -4070,7 +4070,7 @@ __metadata:
|
||||
"@rollup/plugin-commonjs": 21.0.2
|
||||
"@rollup/plugin-node-resolve": 13.1.3
|
||||
"@types/chrome-remote-interface": 0.31.4
|
||||
"@types/lodash": 4.14.180
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/node": 16.11.26
|
||||
"@types/uuid": 8.3.4
|
||||
babel-loader: 8.2.4
|
||||
@ -4184,7 +4184,7 @@ __metadata:
|
||||
"@types/angular": 1.8.4
|
||||
"@types/history": 4.7.11
|
||||
"@types/jest": 27.4.1
|
||||
"@types/lodash": 4.14.149
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/react": 17.0.42
|
||||
"@types/react-dom": 17.0.14
|
||||
"@types/systemjs": ^0.20.6
|
||||
@ -4399,7 +4399,7 @@ __metadata:
|
||||
"@types/is-hotkey": 0.1.7
|
||||
"@types/jest": 27.4.1
|
||||
"@types/jquery": 3.5.14
|
||||
"@types/lodash": 4.14.149
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/mock-raf": 1.0.3
|
||||
"@types/node": 16.11.26
|
||||
"@types/prismjs": 1.26.0
|
||||
@ -4596,7 +4596,7 @@ __metadata:
|
||||
"@types/deep-freeze": ^0.1.1
|
||||
"@types/grafana__slate-react": "npm:@types/slate-react@0.22.5"
|
||||
"@types/hoist-non-react-statics": ^3.3.1
|
||||
"@types/lodash": 4.14.149
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/prop-types": ^15
|
||||
"@types/react": 17.0.42
|
||||
"@types/react-icons": 2.2.7
|
||||
@ -10151,10 +10151,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/lodash@npm:4.14.180":
|
||||
version: 4.14.180
|
||||
resolution: "@types/lodash@npm:4.14.180"
|
||||
checksum: fc42ae3473695cac6e91553f832fef8eb51a31c1c0381cafa81b00dc3efe18e279786bdda77caf0b90a8340ba2ba7aa46ae6541d69870565f775d04c89128bc1
|
||||
"@types/lodash@npm:4.14.181":
|
||||
version: 4.14.181
|
||||
resolution: "@types/lodash@npm:4.14.181"
|
||||
checksum: 0d1863d8383fd2f8bb42e9e3fc1d6255bb88ff034d6df848941063698944313dae944fc1270315613e3d303fae7c7a9a86085ad3235ed6204c56c4b0b3699aa9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -20498,7 +20498,7 @@ __metadata:
|
||||
"@types/jquery": 3.5.14
|
||||
"@types/jsurl": ^1.2.28
|
||||
"@types/lingui__macro": ^3
|
||||
"@types/lodash": 4.14.149
|
||||
"@types/lodash": 4.14.181
|
||||
"@types/logfmt": ^1.2.1
|
||||
"@types/mousetrap": 1.6.9
|
||||
"@types/node": 16.11.26
|
||||
|
Loading…
Reference in New Issue
Block a user