diff --git a/app/soapbox/actions/compose.js b/app/soapbox/actions/compose.js index fe54c843e5..c42176fa24 100644 Binary files a/app/soapbox/actions/compose.js and b/app/soapbox/actions/compose.js differ diff --git a/app/soapbox/actions/instance.ts b/app/soapbox/actions/instance.ts index cabccdd337..60a6b2e89e 100644 --- a/app/soapbox/actions/instance.ts +++ b/app/soapbox/actions/instance.ts @@ -1,5 +1,5 @@ import { createAsyncThunk } from '@reduxjs/toolkit'; -import { get } from 'lodash'; +import get from 'lodash/get'; import KVStore from 'soapbox/storage/kv_store'; import { RootState } from 'soapbox/store'; diff --git a/app/soapbox/actions/preload.js b/app/soapbox/actions/preload.js index d14c6f9fe5..abde36da66 100644 Binary files a/app/soapbox/actions/preload.js and b/app/soapbox/actions/preload.js differ diff --git a/app/soapbox/build_config.js b/app/soapbox/build_config.js index 6ddb309cb9..04b48bf781 100644 Binary files a/app/soapbox/build_config.js and b/app/soapbox/build_config.js differ diff --git a/app/soapbox/components/autosuggest_account_input.tsx b/app/soapbox/components/autosuggest_account_input.tsx index e103d7722e..79d247fd94 100644 --- a/app/soapbox/components/autosuggest_account_input.tsx +++ b/app/soapbox/components/autosuggest_account_input.tsx @@ -1,5 +1,5 @@ import { OrderedSet as ImmutableOrderedSet } from 'immutable'; -import { throttle } from 'lodash'; +import throttle from 'lodash/throttle'; import React, { useState, useRef, useCallback, useEffect } from 'react'; import { accountSearch } from 'soapbox/actions/accounts'; diff --git a/app/soapbox/components/filter_bar.js b/app/soapbox/components/filter_bar.js index 46a7dc748a..7b0651d014 100644 Binary files a/app/soapbox/components/filter_bar.js and b/app/soapbox/components/filter_bar.js differ diff --git a/app/soapbox/components/hover_ref_wrapper.tsx b/app/soapbox/components/hover_ref_wrapper.tsx index 2ef2d8372b..bf4e253f21 100644 --- a/app/soapbox/components/hover_ref_wrapper.tsx +++ b/app/soapbox/components/hover_ref_wrapper.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames'; -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useRef } from 'react'; import { useDispatch } from 'react-redux'; diff --git a/app/soapbox/components/scroll-top-button.tsx b/app/soapbox/components/scroll-top-button.tsx index 5de90abb6d..f68a22d3f7 100644 --- a/app/soapbox/components/scroll-top-button.tsx +++ b/app/soapbox/components/scroll-top-button.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames'; -import { throttle } from 'lodash'; +import throttle from 'lodash/throttle'; import React, { useState, useEffect, useCallback } from 'react'; import { useIntl, MessageDescriptor } from 'react-intl'; diff --git a/app/soapbox/components/scrollable_list.tsx b/app/soapbox/components/scrollable_list.tsx index 8b803be661..31b892e6db 100644 --- a/app/soapbox/components/scrollable_list.tsx +++ b/app/soapbox/components/scrollable_list.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useEffect, useRef, useMemo, useCallback } from 'react'; import { useHistory } from 'react-router-dom'; import { Virtuoso, Components, VirtuosoProps, VirtuosoHandle, ListRange, IndexLocationWithAlign } from 'react-virtuoso'; diff --git a/app/soapbox/components/status_list.tsx b/app/soapbox/components/status_list.tsx index 37e37f59df..6eac9c7b2e 100644 --- a/app/soapbox/components/status_list.tsx +++ b/app/soapbox/components/status_list.tsx @@ -1,5 +1,5 @@ import classNames from 'classnames'; -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useRef, useCallback } from 'react'; import { FormattedMessage } from 'react-intl'; diff --git a/app/soapbox/components/sub_navigation.js b/app/soapbox/components/sub_navigation.js index 0d24dfffbb..f75ca802fd 100644 Binary files a/app/soapbox/components/sub_navigation.js and b/app/soapbox/components/sub_navigation.js differ diff --git a/app/soapbox/features/account/components/header.js b/app/soapbox/features/account/components/header.js index a29e8270ff..c7da47cf18 100644 Binary files a/app/soapbox/features/account/components/header.js and b/app/soapbox/features/account/components/header.js differ diff --git a/app/soapbox/features/admin/user_index.js b/app/soapbox/features/admin/user_index.js index 7c06609a3e..213041f986 100644 Binary files a/app/soapbox/features/admin/user_index.js and b/app/soapbox/features/admin/user_index.js differ diff --git a/app/soapbox/features/audio/index.js b/app/soapbox/features/audio/index.js index 6fa5418bc7..067856abfa 100644 Binary files a/app/soapbox/features/audio/index.js and b/app/soapbox/features/audio/index.js differ diff --git a/app/soapbox/features/auth_login/components/registration_form.tsx b/app/soapbox/features/auth_login/components/registration_form.tsx index 0c3e048cee..eba70437aa 100644 --- a/app/soapbox/features/auth_login/components/registration_form.tsx +++ b/app/soapbox/features/auth_login/components/registration_form.tsx @@ -1,6 +1,6 @@ import axios from 'axios'; import { Map as ImmutableMap } from 'immutable'; -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useState, useRef, useCallback } from 'react'; import { useIntl, FormattedMessage, defineMessages } from 'react-intl'; import { Link, useHistory } from 'react-router-dom'; diff --git a/app/soapbox/features/blocks/index.tsx b/app/soapbox/features/blocks/index.tsx index 8b56fc262b..c3ea6585f7 100644 --- a/app/soapbox/features/blocks/index.tsx +++ b/app/soapbox/features/blocks/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; import { useDispatch } from 'react-redux'; diff --git a/app/soapbox/features/bookmarks/index.tsx b/app/soapbox/features/bookmarks/index.tsx index 343d7ffc62..c9e3e5de30 100644 --- a/app/soapbox/features/bookmarks/index.tsx +++ b/app/soapbox/features/bookmarks/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; diff --git a/app/soapbox/features/chats/components/chat_message_list.js b/app/soapbox/features/chats/components/chat_message_list.js index 7090d7074c..7f02219b44 100644 Binary files a/app/soapbox/features/chats/components/chat_message_list.js and b/app/soapbox/features/chats/components/chat_message_list.js differ diff --git a/app/soapbox/features/compose/components/compose_form.js b/app/soapbox/features/compose/components/compose_form.js index 15b14fadb6..bfce5173b7 100644 Binary files a/app/soapbox/features/compose/components/compose_form.js and b/app/soapbox/features/compose/components/compose_form.js differ diff --git a/app/soapbox/features/conversations/components/conversations_list.tsx b/app/soapbox/features/conversations/components/conversations_list.tsx index 32fbb3e552..9773b246e9 100644 --- a/app/soapbox/features/conversations/components/conversations_list.tsx +++ b/app/soapbox/features/conversations/components/conversations_list.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useRef } from 'react'; import { FormattedMessage } from 'react-intl'; diff --git a/app/soapbox/features/domain_blocks/index.tsx b/app/soapbox/features/domain_blocks/index.tsx index 88ddc1a129..cad165b3b9 100644 --- a/app/soapbox/features/domain_blocks/index.tsx +++ b/app/soapbox/features/domain_blocks/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import { useDispatch } from 'react-redux'; diff --git a/app/soapbox/features/emoji/__tests__/emoji_index.test.ts b/app/soapbox/features/emoji/__tests__/emoji_index.test.ts index 90ae0993d0..99f46e3b3e 100644 --- a/app/soapbox/features/emoji/__tests__/emoji_index.test.ts +++ b/app/soapbox/features/emoji/__tests__/emoji_index.test.ts @@ -1,5 +1,5 @@ import { emojiIndex } from 'emoji-mart'; -import { pick } from 'lodash'; +import pick from 'lodash/pick'; import { search } from '../emoji_mart_search_light'; diff --git a/app/soapbox/features/favourited_statuses/index.js b/app/soapbox/features/favourited_statuses/index.js index 0de3d520d7..b4ffb6a8a2 100644 Binary files a/app/soapbox/features/favourited_statuses/index.js and b/app/soapbox/features/favourited_statuses/index.js differ diff --git a/app/soapbox/features/follow_requests/index.tsx b/app/soapbox/features/follow_requests/index.tsx index ef82d1aef1..3c1d647eda 100644 --- a/app/soapbox/features/follow_requests/index.tsx +++ b/app/soapbox/features/follow_requests/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import { useDispatch } from 'react-redux'; diff --git a/app/soapbox/features/followers/index.js b/app/soapbox/features/followers/index.js index a146f4f6ff..e728ebddfa 100644 Binary files a/app/soapbox/features/followers/index.js and b/app/soapbox/features/followers/index.js differ diff --git a/app/soapbox/features/following/index.js b/app/soapbox/features/following/index.js index 447a0ae028..532a7d2c54 100644 Binary files a/app/soapbox/features/following/index.js and b/app/soapbox/features/following/index.js differ diff --git a/app/soapbox/features/groups/members/index.js b/app/soapbox/features/groups/members/index.js index 2b7ef8ecd1..a7b56aeb17 100644 Binary files a/app/soapbox/features/groups/members/index.js and b/app/soapbox/features/groups/members/index.js differ diff --git a/app/soapbox/features/groups/removed_accounts/index.js b/app/soapbox/features/groups/removed_accounts/index.js index 5227e0af08..cc7e1111de 100644 Binary files a/app/soapbox/features/groups/removed_accounts/index.js and b/app/soapbox/features/groups/removed_accounts/index.js differ diff --git a/app/soapbox/features/hashtag_timeline/index.js b/app/soapbox/features/hashtag_timeline/index.js index bf050766c1..8e40a9b850 100644 Binary files a/app/soapbox/features/hashtag_timeline/index.js and b/app/soapbox/features/hashtag_timeline/index.js differ diff --git a/app/soapbox/features/mutes/index.tsx b/app/soapbox/features/mutes/index.tsx index adaa390e9f..d564c68e7d 100644 --- a/app/soapbox/features/mutes/index.tsx +++ b/app/soapbox/features/mutes/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; import { useDispatch } from 'react-redux'; diff --git a/app/soapbox/features/notifications/index.js b/app/soapbox/features/notifications/index.js index d3b5cb3187..5ac0877d1c 100644 Binary files a/app/soapbox/features/notifications/index.js and b/app/soapbox/features/notifications/index.js differ diff --git a/app/soapbox/features/scheduled_statuses/index.tsx b/app/soapbox/features/scheduled_statuses/index.tsx index 148c9c0a49..1bf9b5aeeb 100644 --- a/app/soapbox/features/scheduled_statuses/index.tsx +++ b/app/soapbox/features/scheduled_statuses/index.tsx @@ -1,4 +1,4 @@ -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useEffect } from 'react'; import { defineMessages, FormattedMessage, useIntl } from 'react-intl'; @@ -47,4 +47,4 @@ const ScheduledStatuses = () => { ); }; -export default ScheduledStatuses; \ No newline at end of file +export default ScheduledStatuses; diff --git a/app/soapbox/features/ui/components/timeline.tsx b/app/soapbox/features/ui/components/timeline.tsx index 109fa7dcb0..c58d9db799 100644 --- a/app/soapbox/features/ui/components/timeline.tsx +++ b/app/soapbox/features/ui/components/timeline.tsx @@ -1,5 +1,5 @@ import { OrderedSet as ImmutableOrderedSet } from 'immutable'; -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useCallback } from 'react'; import { defineMessages } from 'react-intl'; diff --git a/app/soapbox/features/ui/index.tsx b/app/soapbox/features/ui/index.tsx index 22037b5abf..9f5bfe5039 100644 --- a/app/soapbox/features/ui/index.tsx +++ b/app/soapbox/features/ui/index.tsx @@ -1,6 +1,6 @@ 'use strict'; -import { debounce } from 'lodash'; +import debounce from 'lodash/debounce'; import React, { useState, useEffect, useRef, useCallback } from 'react'; import { HotKeys } from 'react-hotkeys'; import { defineMessages, useIntl } from 'react-intl'; diff --git a/app/soapbox/features/video/index.js b/app/soapbox/features/video/index.js index 423468f652..0bcb094d72 100644 Binary files a/app/soapbox/features/video/index.js and b/app/soapbox/features/video/index.js differ diff --git a/app/soapbox/normalizers/soapbox/soapbox_config.ts b/app/soapbox/normalizers/soapbox/soapbox_config.ts index de7324e00e..d9860909de 100644 --- a/app/soapbox/normalizers/soapbox/soapbox_config.ts +++ b/app/soapbox/normalizers/soapbox/soapbox_config.ts @@ -4,7 +4,7 @@ import { Record as ImmutableRecord, fromJS, } from 'immutable'; -import { trimStart } from 'lodash'; +import trimStart from 'lodash/trimStart'; import { toTailwind } from 'soapbox/utils/tailwind'; import { generateAccent } from 'soapbox/utils/theme'; diff --git a/app/soapbox/reducers/__tests__/notifications-test.js b/app/soapbox/reducers/__tests__/notifications-test.js index 7061c60bb9..1ea296c60a 100644 Binary files a/app/soapbox/reducers/__tests__/notifications-test.js and b/app/soapbox/reducers/__tests__/notifications-test.js differ diff --git a/app/soapbox/reducers/auth.js b/app/soapbox/reducers/auth.js index fb63381204..2f0c773cd5 100644 Binary files a/app/soapbox/reducers/auth.js and b/app/soapbox/reducers/auth.js differ diff --git a/app/soapbox/reducers/relationships.ts b/app/soapbox/reducers/relationships.ts index aab8a6e7ec..9aafa55420 100644 --- a/app/soapbox/reducers/relationships.ts +++ b/app/soapbox/reducers/relationships.ts @@ -1,5 +1,5 @@ import { List as ImmutableList, Map as ImmutableMap } from 'immutable'; -import { get } from 'lodash'; +import get from 'lodash/get'; import { STREAMING_FOLLOW_RELATIONSHIPS_UPDATE } from 'soapbox/actions/streaming'; import { normalizeRelationship } from 'soapbox/normalizers/relationship'; diff --git a/app/soapbox/service_worker/web_push_notifications.ts b/app/soapbox/service_worker/web_push_notifications.ts index 9939f88a29..eefeb2b1bf 100644 --- a/app/soapbox/service_worker/web_push_notifications.ts +++ b/app/soapbox/service_worker/web_push_notifications.ts @@ -1,6 +1,6 @@ import IntlMessageFormat from 'intl-messageformat'; import 'intl-pluralrules'; -import { unescape } from 'lodash'; +import unescape from 'lodash/unescape'; import locales from './web_push_locales'; diff --git a/app/soapbox/utils/config_db.ts b/app/soapbox/utils/config_db.ts index 48f3118b5e..8eedca5157 100644 --- a/app/soapbox/utils/config_db.ts +++ b/app/soapbox/utils/config_db.ts @@ -4,7 +4,7 @@ import { Set as ImmutableSet, fromJS, } from 'immutable'; -import { trimStart } from 'lodash'; +import trimStart from 'lodash/trimStart'; export type Config = ImmutableMap; export type Policy = ImmutableMap;