chore(deps) remove remaining lodash dependencies

We are fully using lodash-es now.
pull/15030/head jitsi-meet_9686
Saúl Ibarra Corretgé 10 months ago committed by Saúl Ibarra Corretgé
parent 896fc29af7
commit 80e08a112a
  1. 2
      react/features/base/lastn/middleware.ts
  2. 4
      react/features/base/react/components/web/MultiSelectAutocomplete.tsx
  3. 2
      react/features/chat/components/web/MessageContainer.tsx
  4. 2
      react/features/filmstrip/components/web/Thumbnail.tsx
  5. 2
      react/features/mobile/external-api/functions.ts
  6. 2
      react/features/mobile/external-api/middleware.ts
  7. 2
      react/features/notifications/actions.ts
  8. 2
      react/features/shared-video/components/native/AbstractVideoManager.ts
  9. 2
      react/features/shared-video/components/web/AbstractVideoManager.ts
  10. 2
      react/features/video-quality/subscriber.ts

@ -1,4 +1,4 @@
import debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import { IStore } from '../../app/types';
import { SET_FILMSTRIP_ENABLED } from '../../filmstrip/actionTypes';

@ -1,4 +1,4 @@
import _debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import React, { Component } from 'react';
import { MultiSelectItem } from '../../../ui/components/types';
@ -145,7 +145,7 @@ class MultiSelectAutocomplete extends Component<IProps, IState> {
this._onFilterChange = this._onFilterChange.bind(this);
this._onRetry = this._onRetry.bind(this);
this._onSelectionChange = this._onSelectionChange.bind(this);
this._sendQuery = _debounce(this._sendQuery.bind(this), 200);
this._sendQuery = debounce(this._sendQuery.bind(this), 200);
}
/**

@ -1,4 +1,4 @@
import throttle from 'lodash/throttle';
import { throttle } from 'lodash-es';
import React, { RefObject } from 'react';
import { scrollIntoView } from 'seamless-scroll-polyfill';

@ -1,6 +1,6 @@
import { Theme } from '@mui/material';
import clsx from 'clsx';
import debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import React, { Component, KeyboardEvent, RefObject, createRef } from 'react';
import { WithTranslation } from 'react-i18next';
import { connect } from 'react-redux';

@ -1,4 +1,4 @@
import debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import { NativeModules } from 'react-native';
import { IParticipant } from '../../base/participants/types';

@ -1,6 +1,6 @@
/* eslint-disable lines-around-comment */
import debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import { NativeEventEmitter, NativeModules } from 'react-native';
import { AnyAction } from 'redux';

@ -1,4 +1,4 @@
import throttle from 'lodash/throttle';
import { throttle } from 'lodash-es';
import { IStore } from '../app/types';
import { NOTIFICATIONS_ENABLED } from '../base/flags/constants';

@ -1,4 +1,4 @@
import throttle from 'lodash/throttle';
import { throttle } from 'lodash-es';
import { PureComponent } from 'react';
import { IReduxState, IStore } from '../../../app/types';

@ -1,6 +1,6 @@
// @ts-expect-error
import Logger from '@jitsi/logger';
import throttle from 'lodash/throttle';
import { throttle } from 'lodash-es';
import { PureComponent } from 'react';
import { createSharedVideoEvent as createEvent } from '../../../analytics/AnalyticsEvents';

@ -1,4 +1,4 @@
import debounce from 'lodash/debounce';
import { debounce } from 'lodash-es';
import { IReduxState, IStore } from '../app/types';
import { _handleParticipantError } from '../base/conference/functions';

Loading…
Cancel
Save