diff --git a/.npm-upgrade.json b/.npm-upgrade.json index 3a65b86a6a70..3da7f68ec632 100644 --- a/.npm-upgrade.json +++ b/.npm-upgrade.json @@ -46,27 +46,27 @@ }, "react": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "@types/react": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "react-dom": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "@types/react-dom": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "react-is": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "@types/react-is": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from regular dependencies." + "reason": "MM-45255 - React updates are handled separately from regular dependencies." }, "react-overlays": { "versions": "", @@ -82,7 +82,7 @@ }, "@hot-loader/react-dom": { "versions": "", - "reason": "MM-34187 - React updates are handled separately from other dependencies." + "reason": "MM-45255 - React updates are handled separately from other dependencies." }, "@types/marked": { "versions": "", diff --git a/components/__snapshots__/searchable_channel_list.test.jsx.snap b/components/__snapshots__/searchable_channel_list.test.jsx.snap index af48fe658ed9..b233a2cf044d 100644 --- a/components/__snapshots__/searchable_channel_list.test.jsx.snap +++ b/components/__snapshots__/searchable_channel_list.test.jsx.snap @@ -16,7 +16,6 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = ` inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "LocalizedInput", "render": [Function], } } diff --git a/components/__snapshots__/textbox.test.tsx.snap b/components/__snapshots__/textbox.test.tsx.snap index e420e30a3ba8..b9c837631cca 100644 --- a/components/__snapshots__/textbox.test.tsx.snap +++ b/components/__snapshots__/textbox.test.tsx.snap @@ -13,7 +13,6 @@ exports[`components/TextBox should match snapshot with additional, optional prop inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "AutosizeTextarea", "render": [Function], } } @@ -122,7 +121,6 @@ exports[`components/TextBox should match snapshot with required props 1`] = ` inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "AutosizeTextarea", "render": [Function], } } @@ -214,7 +212,6 @@ exports[`components/TextBox should throw error when new property is too long 1`] inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "AutosizeTextarea", "render": [Function], } } @@ -306,7 +303,6 @@ exports[`components/TextBox should throw error when value is too long 1`] = ` inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "AutosizeTextarea", "render": [Function], } } diff --git a/components/admin_console/data_retention_settings/channel_list/__snapshots__/channel_list.test.tsx.snap b/components/admin_console/data_retention_settings/channel_list/__snapshots__/channel_list.test.tsx.snap index 7aff2c860a96..b5ebbc466399 100644 --- a/components/admin_console/data_retention_settings/channel_list/__snapshots__/channel_list.test.tsx.snap +++ b/components/admin_console/data_retention_settings/channel_list/__snapshots__/channel_list.test.tsx.snap @@ -81,7 +81,6 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamFilterDropdown)", "type": [Function], }, "values": Object { @@ -229,7 +228,6 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamFilterDropdown)", "type": [Function], }, "values": Object { diff --git a/components/admin_console/system_roles/system_role/system_role_users/__snapshots__/system_role_users.test.tsx.snap b/components/admin_console/system_roles/system_role/system_role_users/__snapshots__/system_role_users.test.tsx.snap index 30c1bc5b35f0..a2155004188c 100644 --- a/components/admin_console/system_roles/system_role/system_role_users/__snapshots__/system_role_users.test.tsx.snap +++ b/components/admin_console/system_roles/system_role/system_role_users/__snapshots__/system_role_users.test.tsx.snap @@ -118,7 +118,6 @@ exports[`admin_console/system_role_users should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUsersToRoleModal)", "type": [Function], } } @@ -521,7 +520,6 @@ exports[`admin_console/system_role_users should match snapshot with readOnly tru "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUsersToRoleModal)", "type": [Function], } } diff --git a/components/admin_console/system_users/list/__snapshots__/system_users_list.test.tsx.snap b/components/admin_console/system_users/list/__snapshots__/system_users_list.test.tsx.snap index 821124708af6..63a73a8956b2 100644 --- a/components/admin_console/system_users/list/__snapshots__/system_users_list.test.tsx.snap +++ b/components/admin_console/system_users/list/__snapshots__/system_users_list.test.tsx.snap @@ -22,7 +22,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -45,7 +44,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserListRowWithError)", "type": [Function], } } @@ -108,7 +106,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -229,7 +226,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserListRowWithError)", "type": [Function], } } @@ -313,7 +309,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -459,7 +454,6 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserListRowWithError)", "type": [Function], } } diff --git a/components/admin_console/team_channel_settings/channel/details/__snapshots__/channel_groups.test.tsx.snap b/components/admin_console/team_channel_settings/channel/details/__snapshots__/channel_groups.test.tsx.snap index 661c855a6a6f..869d1512e730 100644 --- a/components/admin_console/team_channel_settings/channel/details/__snapshots__/channel_groups.test.tsx.snap +++ b/components/admin_console/team_channel_settings/channel/details/__snapshots__/channel_groups.test.tsx.snap @@ -31,7 +31,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelGroups should match "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToChannelModal)", "type": [Function], } } diff --git a/components/admin_console/team_channel_settings/channel/details/channel_members/__snapshots__/channel_members.test.tsx.snap b/components/admin_console/team_channel_settings/channel/details/channel_members/__snapshots__/channel_members.test.tsx.snap index 6d7e4f13706a..94a5b55b25e1 100644 --- a/components/admin_console/team_channel_settings/channel/details/channel_members/__snapshots__/channel_members.test.tsx.snap +++ b/components/admin_console/team_channel_settings/channel/details/channel_members/__snapshots__/channel_members.test.tsx.snap @@ -37,7 +37,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -358,7 +357,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } diff --git a/components/admin_console/team_channel_settings/channel/list/__snapshots__/channel_list.test.tsx.snap b/components/admin_console/team_channel_settings/channel/list/__snapshots__/channel_list.test.tsx.snap index 4f79f1c02c1c..93173d48b1be 100644 --- a/components/admin_console/team_channel_settings/channel/list/__snapshots__/channel_list.test.tsx.snap +++ b/components/admin_console/team_channel_settings/channel/list/__snapshots__/channel_list.test.tsx.snap @@ -114,7 +114,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamFilterDropdown)", "type": [Function], }, "values": Object { @@ -317,7 +316,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamFilterDropdown)", "type": [Function], }, "values": Object { @@ -925,7 +923,6 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamFilterDropdown)", "type": [Function], }, "values": Object { diff --git a/components/admin_console/team_channel_settings/team/details/__snapshots__/team_groups.test.tsx.snap b/components/admin_console/team_channel_settings/team/details/__snapshots__/team_groups.test.tsx.snap index 99f0f1bc046e..8c1bc5e32b1a 100644 --- a/components/admin_console/team_channel_settings/team/details/__snapshots__/team_groups.test.tsx.snap +++ b/components/admin_console/team_channel_settings/team/details/__snapshots__/team_groups.test.tsx.snap @@ -51,7 +51,6 @@ exports[`admin_console/team_channel_settings/team/TeamGroups should match snapsh "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } diff --git a/components/admin_console/team_channel_settings/team/details/team_members/__snapshots__/team_members.test.tsx.snap b/components/admin_console/team_channel_settings/team/details/team_members/__snapshots__/team_members.test.tsx.snap index 3baf79a6f1d8..72ec14d9d7b1 100644 --- a/components/admin_console/team_channel_settings/team/details/team_members/__snapshots__/team_members.test.tsx.snap +++ b/components/admin_console/team_channel_settings/team/details/team_members/__snapshots__/team_members.test.tsx.snap @@ -36,7 +36,6 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUsersToTeamModal)", "type": [Function], } } @@ -335,7 +334,6 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUsersToTeamModal)", "type": [Function], } } diff --git a/components/channel_header_dropdown/__snapshots__/channel_header_dropdown.test.jsx.snap b/components/channel_header_dropdown/__snapshots__/channel_header_dropdown.test.jsx.snap index 58c9d58e6510..804703de207c 100644 --- a/components/channel_header_dropdown/__snapshots__/channel_header_dropdown.test.jsx.snap +++ b/components/channel_header_dropdown/__snapshots__/channel_header_dropdown.test.jsx.snap @@ -55,7 +55,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelNotificationsModal)", "type": [Function], } } @@ -102,7 +101,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -122,7 +120,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(MoreDirectChannels)", "type": [Function], } } @@ -156,7 +153,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToChannelModal)", "type": [Function], } } @@ -176,7 +172,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(ChannelGroupsManageModal))", "type": [Function], } } @@ -232,7 +227,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -262,7 +256,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -284,7 +277,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(EditChannelPurposeModal))", "type": [Function], } } @@ -306,7 +298,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(RenameChannelModal))", "type": [Function], } } @@ -336,7 +327,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ConvertChannelModal)", "type": [Function], } } @@ -369,7 +359,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(DeleteChannelModal)", "type": [Function], } } @@ -432,7 +421,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UnarchiveChannelModal)", "type": [Function], } } @@ -501,7 +489,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelNotificationsModal)", "type": [Function], } } @@ -548,7 +535,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -568,7 +554,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(MoreDirectChannels)", "type": [Function], } } @@ -602,7 +587,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToChannelModal)", "type": [Function], } } @@ -622,7 +606,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(ChannelGroupsManageModal))", "type": [Function], } } @@ -678,7 +661,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -708,7 +690,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -730,7 +711,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(EditChannelPurposeModal))", "type": [Function], } } @@ -752,7 +732,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(RenameChannelModal))", "type": [Function], } } @@ -782,7 +761,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ConvertChannelModal)", "type": [Function], } } @@ -815,7 +793,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(DeleteChannelModal)", "type": [Function], } } @@ -893,7 +870,6 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UnarchiveChannelModal)", "type": [Function], } } diff --git a/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap b/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap index b1c536c256a7..c1db4516cc3a 100644 --- a/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap +++ b/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap @@ -21,7 +21,6 @@ exports[`components/channel_layout/ChannelController Should match snapshot 1`] = "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(CenterChannel)", "type": [Function], } } diff --git a/components/global_header/left_controls/product_menu/product_menu_list/__snapshots__/product_menu_list.test.tsx.snap b/components/global_header/left_controls/product_menu/product_menu_list/__snapshots__/product_menu_list.test.tsx.snap index 7784e88a0a96..4a196dc81bc2 100644 --- a/components/global_header/left_controls/product_menu/product_menu_list/__snapshots__/product_menu_list.test.tsx.snap +++ b/components/global_header/left_controls/product_menu/product_menu_list/__snapshots__/product_menu_list.test.tsx.snap @@ -121,7 +121,6 @@ exports[`components/global/product_switcher_menu should match snapshot with id 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -152,7 +151,6 @@ exports[`components/global/product_switcher_menu should match snapshot with id 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(MarketplaceModal)", "type": [Function], } } @@ -186,7 +184,6 @@ exports[`components/global/product_switcher_menu should match snapshot with id 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -326,7 +323,6 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -357,7 +353,6 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(MarketplaceModal)", "type": [Function], } } @@ -391,7 +386,6 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -422,7 +416,6 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -453,7 +446,6 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -495,7 +487,6 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -650,7 +641,6 @@ exports[`components/global/product_switcher_menu should show integrations should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -681,7 +671,6 @@ exports[`components/global/product_switcher_menu should show integrations should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(MarketplaceModal)", "type": [Function], } } @@ -715,7 +704,6 @@ exports[`components/global/product_switcher_menu should show integrations should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } diff --git a/components/main_menu/__snapshots__/main_menu.test.tsx.snap b/components/main_menu/__snapshots__/main_menu.test.tsx.snap index 957426292dac..06bc7f48fe0a 100644 --- a/components/main_menu/__snapshots__/main_menu.test.tsx.snap +++ b/components/main_menu/__snapshots__/main_menu.test.tsx.snap @@ -65,7 +65,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -98,7 +97,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -127,7 +125,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -152,7 +149,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -178,7 +174,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -201,7 +196,6 @@ exports[`components/Menu should match snapshot with guest access disabled and no "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -254,7 +248,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -279,7 +272,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -305,7 +297,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -334,7 +325,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -359,7 +349,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -385,7 +374,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -408,7 +396,6 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -460,7 +447,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -485,7 +471,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -511,7 +496,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -540,7 +524,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -565,7 +548,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -591,7 +573,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -614,7 +595,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled 1 "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -715,7 +695,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -745,7 +724,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -775,7 +753,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -807,7 +784,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -841,7 +817,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -871,7 +846,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -902,7 +876,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -955,7 +928,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -1013,7 +985,6 @@ exports[`components/Menu should match snapshot with most of the thing disabled i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -1063,7 +1034,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1088,7 +1058,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -1114,7 +1083,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -1143,7 +1111,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -1168,7 +1135,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1194,7 +1160,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1217,7 +1182,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled 1` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -1318,7 +1282,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1348,7 +1311,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1378,7 +1340,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -1410,7 +1371,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -1444,7 +1404,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -1474,7 +1433,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1505,7 +1463,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1558,7 +1515,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -1618,7 +1574,6 @@ exports[`components/Menu should match snapshot with most of the thing enabled in "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -1668,7 +1623,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1693,7 +1647,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -1719,7 +1672,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -1748,7 +1700,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -1773,7 +1724,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1799,7 +1749,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1822,7 +1771,6 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -1938,7 +1886,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1968,7 +1915,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1998,7 +1944,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -2030,7 +1975,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -2064,7 +2008,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -2094,7 +2037,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -2125,7 +2067,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -2178,7 +2119,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -2249,7 +2189,6 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } diff --git a/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap b/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap index ebe91c375715..e36c834c78be 100644 --- a/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap +++ b/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap @@ -224,7 +224,6 @@ exports[`components/marketplace/ MarketplaceModal should render with error banne inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "LocalizedInput", "render": [Function], } } @@ -304,7 +303,6 @@ exports[`components/marketplace/ MarketplaceModal should render with no plugins inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "LocalizedInput", "render": [Function], } } @@ -384,7 +382,6 @@ exports[`components/marketplace/ MarketplaceModal should render with plugins ins inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), - "displayName": "LocalizedInput", "render": [Function], } } diff --git a/components/post_view/channel_intro_message/__snapshots__/channel_intro_message.test.tsx.snap b/components/post_view/channel_intro_message/__snapshots__/channel_intro_message.test.tsx.snap index aafc667ed7a7..41482f3272b0 100644 --- a/components/post_view/channel_intro_message/__snapshots__/channel_intro_message.test.tsx.snap +++ b/components/post_view/channel_intro_message/__snapshots__/channel_intro_message.test.tsx.snap @@ -66,7 +66,6 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -194,7 +193,6 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -283,7 +281,6 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -350,7 +347,6 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -479,7 +475,6 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -578,7 +573,6 @@ exports[`components/post_view/ChannelIntroMessages test DIRECT Channel should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -660,7 +654,6 @@ exports[`components/post_view/ChannelIntroMessages test DIRECT Channel should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -787,7 +780,6 @@ exports[`components/post_view/ChannelIntroMessages test Group Channel should mat "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -872,7 +864,6 @@ exports[`components/post_view/ChannelIntroMessages test Group Channel should mat "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -983,7 +974,6 @@ exports[`components/post_view/ChannelIntroMessages test OFFTOPIC Channel should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1087,7 +1077,6 @@ exports[`components/post_view/ChannelIntroMessages test OFFTOPIC Channel should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1227,7 +1216,6 @@ exports[`components/post_view/ChannelIntroMessages test Open Channel should matc "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1356,7 +1344,6 @@ exports[`components/post_view/ChannelIntroMessages test Open Channel should matc "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } diff --git a/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap b/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap index 9cd7c9c0bb38..7294ceb22780 100644 --- a/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap +++ b/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap @@ -346,7 +346,6 @@ exports[`components/ProfilePopover should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -639,7 +638,6 @@ exports[`components/ProfilePopover should match snapshot for shared user 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -942,7 +940,6 @@ exports[`components/ProfilePopover should match snapshot with custom status 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -1202,7 +1199,6 @@ exports[`components/ProfilePopover should match snapshot with custom status expi "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } diff --git a/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap b/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap index 8bb43b994e90..b936bde2ccd6 100644 --- a/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap +++ b/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap @@ -177,13 +177,16 @@ exports[`components/select_team/components/SelectTeamItem should match snapshot, "useDebugValue": [Function], "useDeferredValue": [Function], "useEffect": [Function], + "useId": [Function], "useImperativeHandle": [Function], + "useInsertionEffect": [Function], "useLayoutEffect": [Function], "useMemo": [Function], "useReducer": [Function], "useRef": [Function], "useResponder": [Function], "useState": [Function], + "useSyncExternalStore": [Function], "useTransition": [Function], }, "_element": , "_firstWorkInProgressHook": null, "_forcedUpdate": false, + "_idCounter": 0, "_instance": [Circular], "_isReRender": false, "_newState": null, diff --git a/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap b/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap index 83980c1d1045..1778a141a654 100644 --- a/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap +++ b/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap @@ -46,7 +46,6 @@ exports[`components/sidebar/invite_members_button should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -67,7 +66,6 @@ exports[`components/sidebar/invite_members_button should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -89,7 +87,6 @@ exports[`components/sidebar/invite_members_button should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } diff --git a/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap b/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap index c4f6c2702cf9..19ee74321b76 100644 --- a/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap +++ b/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap @@ -192,7 +192,6 @@ exports[`components/StatusDropdown should match snapshot in default state 1`] = "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -499,7 +498,6 @@ exports[`components/StatusDropdown should match snapshot with custom status and "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -758,7 +756,6 @@ exports[`components/StatusDropdown should match snapshot with custom status enab "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1017,7 +1014,6 @@ exports[`components/StatusDropdown should match snapshot with custom status expi "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1277,7 +1273,6 @@ exports[`components/StatusDropdown should match snapshot with custom status puls "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1511,7 +1506,6 @@ exports[`components/StatusDropdown should match snapshot with profile picture UR "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1737,7 +1731,6 @@ exports[`components/StatusDropdown should match snapshot with status dropdown op "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1996,7 +1989,6 @@ exports[`components/StatusDropdown should not show clear status button when cust "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -2303,7 +2295,6 @@ exports[`components/StatusDropdown should show clear status button when custom s "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } diff --git a/components/user_settings/security/__snapshots__/user_settings_security.test.tsx.snap b/components/user_settings/security/__snapshots__/user_settings_security.test.tsx.snap index 8e6f3073be6e..08e4b6064e33 100644 --- a/components/user_settings/security/__snapshots__/user_settings_security.test.tsx.snap +++ b/components/user_settings/security/__snapshots__/user_settings_security.test.tsx.snap @@ -113,7 +113,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -141,7 +140,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -279,7 +277,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -307,7 +304,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -445,7 +441,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -473,7 +468,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -611,7 +605,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -639,7 +632,6 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(ActivityLogModal)", "type": [Function], } } diff --git a/package-lock.json b/package-lock.json index 9e0b17a2a13b..ab788fb87eb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,6 @@ "@stripe/react-stripe-js": "1.6.0", "@stripe/stripe-js": "1.20.3", "@tippyjs/react": "4.2.6", - "@types/color-hash": "1.0.2", "bootstrap": "3.4.1", "buffer": "6.0.3", "chart.js": "2.9.4", @@ -57,17 +56,17 @@ "popper.js": "1.16.1", "process": "0.11.10", "prop-types": "15.8.1", - "react": "16.13.1", + "react": "17.0.2", "react-beautiful-dnd": "13.1.0", "react-bootstrap": "github:mattermost/react-bootstrap#c6957962364e0818a51bbfd13e89919903b422d6", "react-color": "2.19.3", "react-contextmenu": "2.14.0", "react-custom-scrollbars": "4.2.1", "react-day-picker": "7.4.10", - "react-dom": "16.13.1", + "react-dom": "17.0.2", "react-hot-loader": "4.13.0", "react-intl": "5.20.10", - "react-is": "16.13.1", + "react-is": "17.0.2", "react-overlays": "1.2.0", "react-popper": "2.2.5", "react-redux": "7.2.4", @@ -105,11 +104,12 @@ "@babel/preset-react": "7.16.0", "@babel/preset-typescript": "7.16.0", "@deanwhillier/jest-matchmedia-mock": "1.2.0", - "@hot-loader/react-dom": "16.13.0", + "@hot-loader/react-dom": "17.0.2", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "12.1.4", "@types/bootstrap": "4.5.0", "@types/chart.js": "2.9.34", + "@types/color-hash": "1.0.2", "@types/country-list": "2.1.0", "@types/enzyme": "3.10.11", "@types/highlight.js": "10.1.0", @@ -121,13 +121,13 @@ "@types/marked": "0.7.4", "@types/moment-timezone": "0.5.30", "@types/node": "16.3.1", - "@types/react": "16.9.49", + "@types/react": "17.0.2", "@types/react-beautiful-dnd": "13.1.2", "@types/react-bootstrap": "0.32.22", "@types/react-color": "3.0.6", "@types/react-custom-scrollbars": "4.0.10", - "@types/react-dom": "16.9.8", - "@types/react-is": "16.7.1", + "@types/react-dom": "17.0.2", + "@types/react-is": "17.0.2", "@types/react-overlays": "1.1.3", "@types/react-redux": "7.1.16", "@types/react-router-dom": "5.1.7", @@ -155,7 +155,7 @@ "css-loader": "5.2.6", "dotenv-webpack": "7.0.3", "enzyme": "3.11.0", - "enzyme-adapter-react-16": "1.15.6", + "enzyme-adapter-react-17-updated": "1.0.2", "enzyme-to-json": "3.6.2", "eslint": "7.29.0", "eslint-import-resolver-webpack": "0.13.1", @@ -2334,15 +2334,17 @@ } }, "node_modules/@hot-loader/react-dom": { - "version": "16.13.0", - "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.13.0.tgz", - "integrity": "sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-G2RZrFhsQClS+bdDh/Ojpk3SgocLPUGnvnJDTQYnmKSSwXtU+Yh+8QMs+Ia3zaAvBiOSpIIDSUxuN69cvKqrWg==", "dev": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.0" + "scheduler": "^0.20.2" + }, + "peerDependencies": { + "react": "17.0.2" } }, "node_modules/@hypnosphi/create-react-context": { @@ -4441,12 +4443,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/@testing-library/dom/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/@testing-library/dom/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -4675,7 +4671,8 @@ "node_modules/@types/color-hash": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@types/color-hash/-/color-hash-1.0.2.tgz", - "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==" + "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==", + "dev": true }, "node_modules/@types/country-list": { "version": "2.1.0", @@ -4917,9 +4914,9 @@ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" }, "node_modules/@types/react": { - "version": "16.9.49", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz", - "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz", + "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -4963,18 +4960,18 @@ } }, "node_modules/@types/react-dom": { - "version": "16.9.8", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.8.tgz", - "integrity": "sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==", "dev": true, "dependencies": { "@types/react": "*" } }, "node_modules/@types/react-is": { - "version": "16.7.1", - "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-16.7.1.tgz", - "integrity": "sha512-dMLFD2cCsxtDgMkTydQCM0PxDq8vwc6uN5M/jRktDfYvH3nQj6pjC9OrCXS2lKlYoYTNJorI/dI8x9dpLshexQ==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-2+L0ilcAEG8udkDnvx8B0upwXFBbNnVwOsSCTxW3SDOkmar9NyEeLG0ZLa3uOEw9zyYf/fQapcnfXAVmDKlyHw==", "dev": true, "dependencies": { "@types/react": "*" @@ -5587,6 +5584,12 @@ "react-is": "^16.13.1" } }, + "node_modules/airbnb-prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", @@ -10150,10 +10153,10 @@ "string.prototype.trim": "^1.2.1" } }, - "node_modules/enzyme-adapter-react-16": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.6.tgz", - "integrity": "sha512-yFlVJCXh8T+mcQo8M6my9sPgeGzj85HSHi6Apgf1Cvq/7EL/J9+1JoJmJsRxZgyTvPMAqOEpRSu/Ii/ZpyOk0g==", + "node_modules/enzyme-adapter-react-17-updated": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-17-updated/-/enzyme-adapter-react-17-updated-1.0.2.tgz", + "integrity": "sha512-UMZvJP4lIzCafNkJA2mDjieNv+lVlHFNFZg5n0zzMIXGDdGSaEpk6rdedl62cemzcgAmOOkyZ+GK+yOypFnykw==", "dev": true, "dependencies": { "enzyme-adapter-utils": "^1.14.0", @@ -10162,18 +10165,29 @@ "object.assign": "^4.1.2", "object.values": "^1.1.2", "prop-types": "^15.7.2", - "react-is": "^16.13.1", - "react-test-renderer": "^16.0.0-0", - "semver": "^5.7.0" + "react-is": "^17.0.1", + "react-test-renderer": "^17.0.1", + "semver": "^7.3.4" + }, + "peerDependencies": { + "enzyme": "^3.11.0", + "react": "^17.0.1", + "react-dom": "^17.0.1" } }, - "node_modules/enzyme-adapter-react-16/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "node_modules/enzyme-adapter-react-17-updated/node_modules/react-test-renderer": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-17.0.2.tgz", + "integrity": "sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==", "dev": true, - "bin": { - "semver": "bin/semver" + "dependencies": { + "object-assign": "^4.1.1", + "react-is": "^17.0.2", + "react-shallow-renderer": "^16.13.1", + "scheduler": "^0.20.2" + }, + "peerDependencies": { + "react": "17.0.2" } }, "node_modules/enzyme-adapter-utils": { @@ -10224,6 +10238,12 @@ "node": ">=6.0.0" } }, + "node_modules/enzyme-to-json/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/err-code": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/err-code/-/err-code-1.1.2.tgz", @@ -13329,6 +13349,11 @@ "react-is": "^16.7.0" } }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -15645,12 +15670,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-circus/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-circus/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -16003,12 +16022,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-config/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-config/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -16256,12 +16269,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-each/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-each/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -16840,12 +16847,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-jasmine2/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-jasmine2/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -17050,12 +17051,6 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-leak-detector/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-leak-detector/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -17229,12 +17224,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-matcher-utils/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-matcher-utils/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -17438,12 +17427,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-message-util/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-message-util/node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -18315,12 +18298,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-snapshot/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-snapshot/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -18590,12 +18567,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/jest-validate/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/jest-validate/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -22786,12 +22757,6 @@ "node": ">=7.0.0" } }, - "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "node_modules/process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -22857,6 +22822,11 @@ "warning": "^4.0.0" } }, + "node_modules/prop-types-extra/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/prop-types-extra/node_modules/warning": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", @@ -22865,6 +22835,11 @@ "loose-envify": "^1.0.0" } }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/propagate": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", @@ -23122,13 +23097,12 @@ } }, "node_modules/react": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", - "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", "dependencies": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" + "object-assign": "^4.1.1" }, "engines": { "node": ">=0.10.0" @@ -23236,14 +23210,16 @@ } }, "node_modules/react-dom": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz", - "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" + "scheduler": "^0.20.2" + }, + "peerDependencies": { + "react": "17.0.2" } }, "node_modules/react-fast-compare": { @@ -23323,9 +23299,9 @@ } }, "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" }, "node_modules/react-lifecycles-compat": { "version": "3.0.4", @@ -23434,6 +23410,11 @@ } } }, + "node_modules/react-redux/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/react-router": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", @@ -23475,6 +23456,11 @@ "prop-types": "^15.6.0" } }, + "node_modules/react-router/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "node_modules/react-select": { "version": "2.4.4", "resolved": "https://registry.npmjs.org/react-select/-/react-select-2.4.4.tgz", @@ -23500,16 +23486,17 @@ "react-lifecycles-compat": "^3.0.4" } }, - "node_modules/react-test-renderer": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.14.0.tgz", - "integrity": "sha512-L8yPjqPE5CZO6rKsKXRO/rVPiaCOy0tQQJbC+UjPNlobl5mad59lvPjwFsQHTvL03caVDIVr9x9/OSgDe6I5Eg==", + "node_modules/react-shallow-renderer": { + "version": "16.15.0", + "resolved": "https://registry.npmjs.org/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz", + "integrity": "sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==", "dev": true, "dependencies": { "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "react-is": "^16.8.6", - "scheduler": "^0.19.1" + "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, "node_modules/react-transition-group": { @@ -24335,9 +24322,9 @@ "dev": true }, "node_modules/scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -30682,15 +30669,14 @@ } }, "@hot-loader/react-dom": { - "version": "16.13.0", - "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.13.0.tgz", - "integrity": "sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-G2RZrFhsQClS+bdDh/Ojpk3SgocLPUGnvnJDTQYnmKSSwXtU+Yh+8QMs+Ia3zaAvBiOSpIIDSUxuN69cvKqrWg==", "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.0" + "scheduler": "^0.20.2" } }, "@hypnosphi/create-react-context": { @@ -32390,12 +32376,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -32585,7 +32565,8 @@ "@types/color-hash": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/@types/color-hash/-/color-hash-1.0.2.tgz", - "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==" + "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==", + "dev": true }, "@types/country-list": { "version": "2.1.0", @@ -32827,9 +32808,9 @@ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" }, "@types/react": { - "version": "16.9.49", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz", - "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz", + "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==", "requires": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -32873,18 +32854,18 @@ } }, "@types/react-dom": { - "version": "16.9.8", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.8.tgz", - "integrity": "sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==", "dev": true, "requires": { "@types/react": "*" } }, "@types/react-is": { - "version": "16.7.1", - "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-16.7.1.tgz", - "integrity": "sha512-dMLFD2cCsxtDgMkTydQCM0PxDq8vwc6uN5M/jRktDfYvH3nQj6pjC9OrCXS2lKlYoYTNJorI/dI8x9dpLshexQ==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-2+L0ilcAEG8udkDnvx8B0upwXFBbNnVwOsSCTxW3SDOkmar9NyEeLG0ZLa3uOEw9zyYf/fQapcnfXAVmDKlyHw==", "dev": true, "requires": { "@types/react": "*" @@ -33369,6 +33350,14 @@ "prop-types": "^15.7.2", "prop-types-exact": "^1.2.0", "react-is": "^16.13.1" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } } }, "ajv": { @@ -37130,10 +37119,10 @@ "string.prototype.trim": "^1.2.1" } }, - "enzyme-adapter-react-16": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.15.6.tgz", - "integrity": "sha512-yFlVJCXh8T+mcQo8M6my9sPgeGzj85HSHi6Apgf1Cvq/7EL/J9+1JoJmJsRxZgyTvPMAqOEpRSu/Ii/ZpyOk0g==", + "enzyme-adapter-react-17-updated": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/enzyme-adapter-react-17-updated/-/enzyme-adapter-react-17-updated-1.0.2.tgz", + "integrity": "sha512-UMZvJP4lIzCafNkJA2mDjieNv+lVlHFNFZg5n0zzMIXGDdGSaEpk6rdedl62cemzcgAmOOkyZ+GK+yOypFnykw==", "dev": true, "requires": { "enzyme-adapter-utils": "^1.14.0", @@ -37142,16 +37131,22 @@ "object.assign": "^4.1.2", "object.values": "^1.1.2", "prop-types": "^15.7.2", - "react-is": "^16.13.1", - "react-test-renderer": "^16.0.0-0", - "semver": "^5.7.0" + "react-is": "^17.0.1", + "react-test-renderer": "^17.0.1", + "semver": "^7.3.4" }, "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true + "react-test-renderer": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-17.0.2.tgz", + "integrity": "sha512-yaQ9cB89c17PUb0x6UfWRs7kQCorVdHlutU1boVPEsB8IDZH6n9tHxMacc3y0JoXOJUsZb/t/Mb8FUWMKaM7iQ==", + "dev": true, + "requires": { + "object-assign": "^4.1.1", + "react-is": "^17.0.2", + "react-shallow-renderer": "^16.13.1", + "scheduler": "^0.20.2" + } } } }, @@ -37197,6 +37192,14 @@ "@types/cheerio": "^0.22.22", "lodash": "^4.17.21", "react-is": "^16.12.0" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } } }, "err-code": { @@ -39688,6 +39691,13 @@ "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", "requires": { "react-is": "^16.7.0" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + } } }, "homedir-polyfill": { @@ -41475,12 +41485,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -41736,12 +41740,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -41929,12 +41927,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -42376,12 +42368,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -42532,12 +42518,6 @@ "react-is": "^17.0.1" } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -42667,12 +42647,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -42826,12 +42800,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -43496,12 +43464,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -43702,12 +43664,6 @@ } } }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -47027,12 +46983,6 @@ "requires": { "color-name": "~1.1.4" } - }, - "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", - "dev": true } } }, @@ -47070,6 +47020,13 @@ "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + } } }, "prop-types-exact": { @@ -47092,6 +47049,11 @@ "warning": "^4.0.0" }, "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + }, "warning": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", @@ -47330,13 +47292,12 @@ } }, "react": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", - "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" + "object-assign": "^4.1.1" } }, "react-beautiful-dnd": { @@ -47444,14 +47405,13 @@ } }, "react-dom": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz", - "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==", + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" + "scheduler": "^0.20.2" } }, "react-fast-compare": { @@ -47521,9 +47481,9 @@ } }, "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==" }, "react-lifecycles-compat": { "version": "3.0.4", @@ -47616,6 +47576,13 @@ "loose-envify": "^1.4.0", "prop-types": "^15.7.2", "react-is": "^16.13.1" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + } } }, "react-router": { @@ -47633,6 +47600,13 @@ "react-is": "^16.6.0", "tiny-invariant": "^1.0.2", "tiny-warning": "^1.0.0" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" + } } }, "react-router-dom": { @@ -47686,16 +47660,14 @@ } } }, - "react-test-renderer": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react-test-renderer/-/react-test-renderer-16.14.0.tgz", - "integrity": "sha512-L8yPjqPE5CZO6rKsKXRO/rVPiaCOy0tQQJbC+UjPNlobl5mad59lvPjwFsQHTvL03caVDIVr9x9/OSgDe6I5Eg==", + "react-shallow-renderer": { + "version": "16.15.0", + "resolved": "https://registry.npmjs.org/react-shallow-renderer/-/react-shallow-renderer-16.15.0.tgz", + "integrity": "sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==", "dev": true, "requires": { "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "react-is": "^16.8.6", - "scheduler": "^0.19.1" + "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" } }, "react-transition-group": { @@ -48364,9 +48336,9 @@ "dev": true }, "scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" diff --git a/package.json b/package.json index 97bdee425292..ec8de7a450f1 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "chart.js": "2.9.4", "classnames": "2.3.1", "core-js": "3.23.3", - "@types/color-hash": "1.0.2", "color-contrast-checker": "2.1.0", "color-hash": "2.0.1", "country-list": "2.2.0", @@ -55,17 +54,17 @@ "popper.js": "1.16.1", "process": "0.11.10", "prop-types": "15.8.1", - "react": "16.13.1", + "react": "17.0.2", "react-beautiful-dnd": "13.1.0", "react-bootstrap": "github:mattermost/react-bootstrap#c6957962364e0818a51bbfd13e89919903b422d6", "react-color": "2.19.3", "react-contextmenu": "2.14.0", "react-custom-scrollbars": "4.2.1", "react-day-picker": "7.4.10", - "react-dom": "16.13.1", + "react-dom": "17.0.2", "react-hot-loader": "4.13.0", "react-intl": "5.20.10", - "react-is": "16.13.1", + "react-is": "17.0.2", "react-overlays": "1.2.0", "react-popper": "2.2.5", "react-redux": "7.2.4", @@ -103,11 +102,12 @@ "@babel/preset-react": "7.16.0", "@babel/preset-typescript": "7.16.0", "@deanwhillier/jest-matchmedia-mock": "1.2.0", - "@hot-loader/react-dom": "16.13.0", + "@hot-loader/react-dom": "17.0.2", "@testing-library/jest-dom": "5.16.4", "@testing-library/react": "12.1.4", "@types/bootstrap": "4.5.0", "@types/chart.js": "2.9.34", + "@types/color-hash": "1.0.2", "@types/country-list": "2.1.0", "@types/enzyme": "3.10.11", "@types/highlight.js": "10.1.0", @@ -119,13 +119,13 @@ "@types/marked": "0.7.4", "@types/moment-timezone": "0.5.30", "@types/node": "16.3.1", - "@types/react": "16.9.49", + "@types/react": "17.0.2", "@types/react-beautiful-dnd": "13.1.2", "@types/react-bootstrap": "0.32.22", "@types/react-color": "3.0.6", "@types/react-custom-scrollbars": "4.0.10", - "@types/react-dom": "16.9.8", - "@types/react-is": "16.7.1", + "@types/react-dom": "17.0.2", + "@types/react-is": "17.0.2", "@types/react-overlays": "1.1.3", "@types/react-redux": "7.1.16", "@types/react-router-dom": "5.1.7", @@ -153,7 +153,7 @@ "css-loader": "5.2.6", "dotenv-webpack": "7.0.3", "enzyme": "3.11.0", - "enzyme-adapter-react-16": "1.15.6", + "enzyme-adapter-react-17-updated": "1.0.2", "enzyme-to-json": "3.6.2", "eslint": "7.29.0", "eslint-import-resolver-webpack": "0.13.1", diff --git a/plugins/test/__snapshots__/main_menu_action.test.jsx.snap b/plugins/test/__snapshots__/main_menu_action.test.jsx.snap index 83be9dd7f0d0..3ad869b153b4 100644 --- a/plugins/test/__snapshots__/main_menu_action.test.jsx.snap +++ b/plugins/test/__snapshots__/main_menu_action.test.jsx.snap @@ -75,7 +75,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -105,7 +104,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -135,7 +133,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -167,7 +164,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -201,7 +197,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -231,7 +226,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -262,7 +256,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -315,7 +308,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -381,7 +373,6 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -439,7 +430,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -464,7 +454,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -490,7 +479,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -519,7 +507,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -544,7 +531,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -570,7 +556,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -593,7 +578,6 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, - "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } diff --git a/tests/setup.js b/tests/setup.js index 90125c4e41b5..c38e47d0a0b3 100644 --- a/tests/setup.js +++ b/tests/setup.js @@ -1,7 +1,7 @@ // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. -import Adapter from 'enzyme-adapter-react-16'; +import Adapter from 'enzyme-adapter-react-17-updated'; import {configure} from 'enzyme'; import '@testing-library/jest-dom';