diff --git a/.npm-upgrade.json b/.npm-upgrade.json index 3da7f68ec632..3a65b86a6a70 100644 --- a/.npm-upgrade.json +++ b/.npm-upgrade.json @@ -46,27 +46,27 @@ }, "react": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "@types/react": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "react-dom": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "@types/react-dom": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "react-is": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "@types/react-is": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from regular dependencies." + "reason": "MM-34187 - React updates are handled separately from regular dependencies." }, "react-overlays": { "versions": "", @@ -82,7 +82,7 @@ }, "@hot-loader/react-dom": { "versions": "", - "reason": "MM-45255 - React updates are handled separately from other dependencies." + "reason": "MM-34187 - 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 b233a2cf044d..af48fe658ed9 100644 --- a/components/__snapshots__/searchable_channel_list.test.jsx.snap +++ b/components/__snapshots__/searchable_channel_list.test.jsx.snap @@ -16,6 +16,7 @@ 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 b9c837631cca..e420e30a3ba8 100644 --- a/components/__snapshots__/textbox.test.tsx.snap +++ b/components/__snapshots__/textbox.test.tsx.snap @@ -13,6 +13,7 @@ exports[`components/TextBox should match snapshot with additional, optional prop inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), + "displayName": "AutosizeTextarea", "render": [Function], } } @@ -121,6 +122,7 @@ exports[`components/TextBox should match snapshot with required props 1`] = ` inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), + "displayName": "AutosizeTextarea", "render": [Function], } } @@ -212,6 +214,7 @@ exports[`components/TextBox should throw error when new property is too long 1`] inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), + "displayName": "AutosizeTextarea", "render": [Function], } } @@ -303,6 +306,7 @@ 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 b5ebbc466399..7aff2c860a96 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,6 +81,7 @@ 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 { @@ -228,6 +229,7 @@ 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 a2155004188c..30c1bc5b35f0 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,6 +118,7 @@ exports[`admin_console/system_role_users should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddUsersToRoleModal)", "type": [Function], } } @@ -520,6 +521,7 @@ 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 63a73a8956b2..821124708af6 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,6 +22,7 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -44,6 +45,7 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserListRowWithError)", "type": [Function], } } @@ -106,6 +108,7 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -226,6 +229,7 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserListRowWithError)", "type": [Function], } } @@ -309,6 +313,7 @@ exports[`components/admin_console/system_users/list should match default snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(SystemUsersDropdown)", "type": [Function], }, ] @@ -454,6 +459,7 @@ 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 869d1512e730..661c855a6a6f 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,6 +31,7 @@ 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 94a5b55b25e1..6d7e4f13706a 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,6 +37,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -357,6 +358,7 @@ 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 93173d48b1be..4f79f1c02c1c 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,6 +114,7 @@ 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 { @@ -316,6 +317,7 @@ 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 { @@ -923,6 +925,7 @@ 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 8c1bc5e32b1a..99f0f1bc046e 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,6 +51,7 @@ 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 72ec14d9d7b1..3baf79a6f1d8 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,6 +36,7 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddUsersToTeamModal)", "type": [Function], } } @@ -334,6 +335,7 @@ 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 804703de207c..58c9d58e6510 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,6 +55,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ChannelNotificationsModal)", "type": [Function], } } @@ -101,6 +102,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -120,6 +122,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(MoreDirectChannels)", "type": [Function], } } @@ -153,6 +156,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToChannelModal)", "type": [Function], } } @@ -172,6 +176,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(ChannelGroupsManageModal))", "type": [Function], } } @@ -227,6 +232,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -256,6 +262,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -277,6 +284,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(EditChannelPurposeModal))", "type": [Function], } } @@ -298,6 +306,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(RenameChannelModal))", "type": [Function], } } @@ -327,6 +336,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ConvertChannelModal)", "type": [Function], } } @@ -359,6 +369,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(DeleteChannelModal)", "type": [Function], } } @@ -421,6 +432,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with no plugin i "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UnarchiveChannelModal)", "type": [Function], } } @@ -489,6 +501,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ChannelNotificationsModal)", "type": [Function], } } @@ -535,6 +548,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ChannelInviteModal)", "type": [Function], } } @@ -554,6 +568,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(MoreDirectChannels)", "type": [Function], } } @@ -587,6 +602,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToChannelModal)", "type": [Function], } } @@ -606,6 +622,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(ChannelGroupsManageModal))", "type": [Function], } } @@ -661,6 +678,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -690,6 +708,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -711,6 +730,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(EditChannelPurposeModal))", "type": [Function], } } @@ -732,6 +752,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(RenameChannelModal))", "type": [Function], } } @@ -761,6 +782,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ConvertChannelModal)", "type": [Function], } } @@ -793,6 +815,7 @@ exports[`components/ChannelHeaderDropdown should match snapshot with plugins 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(DeleteChannelModal)", "type": [Function], } } @@ -870,6 +893,7 @@ 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 c1db4516cc3a..b1c536c256a7 100644 --- a/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap +++ b/components/channel_layout/__snapshots__/channel_controller.test.tsx.snap @@ -21,6 +21,7 @@ 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 4a196dc81bc2..7784e88a0a96 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,6 +121,7 @@ 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], } } @@ -151,6 +152,7 @@ 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], } } @@ -184,6 +186,7 @@ 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], } } @@ -323,6 +326,7 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -353,6 +357,7 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(MarketplaceModal)", "type": [Function], } } @@ -386,6 +391,7 @@ exports[`components/global/product_switcher_menu should match snapshot with most "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -416,6 +422,7 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -446,6 +453,7 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -487,6 +495,7 @@ exports[`components/global/product_switcher_menu should match userGroups snapsho "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -641,6 +650,7 @@ exports[`components/global/product_switcher_menu should show integrations should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(UserGroupsModal)", "type": [Function], } } @@ -671,6 +681,7 @@ exports[`components/global/product_switcher_menu should show integrations should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(MarketplaceModal)", "type": [Function], } } @@ -704,6 +715,7 @@ 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 06bc7f48fe0a..957426292dac 100644 --- a/components/main_menu/__snapshots__/main_menu.test.tsx.snap +++ b/components/main_menu/__snapshots__/main_menu.test.tsx.snap @@ -65,6 +65,7 @@ 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], } } @@ -97,6 +98,7 @@ 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], } } @@ -125,6 +127,7 @@ 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], } } @@ -149,6 +152,7 @@ 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], } } @@ -174,6 +178,7 @@ 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], } } @@ -196,6 +201,7 @@ 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], } } @@ -248,6 +254,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -272,6 +279,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -297,6 +305,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -325,6 +334,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -349,6 +359,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -374,6 +385,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -396,6 +408,7 @@ exports[`components/Menu should match snapshot with id 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -447,6 +460,7 @@ 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], } } @@ -471,6 +485,7 @@ 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], } } @@ -496,6 +511,7 @@ 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], } } @@ -524,6 +540,7 @@ 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], } } @@ -548,6 +565,7 @@ 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], } } @@ -573,6 +591,7 @@ 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], } } @@ -595,6 +614,7 @@ 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], } } @@ -695,6 +715,7 @@ 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], } } @@ -724,6 +745,7 @@ 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], } } @@ -753,6 +775,7 @@ 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], } } @@ -784,6 +807,7 @@ 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], } } @@ -817,6 +841,7 @@ 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], } } @@ -846,6 +871,7 @@ 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], } } @@ -876,6 +902,7 @@ 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], } } @@ -928,6 +955,7 @@ 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], } } @@ -985,6 +1013,7 @@ 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], } } @@ -1034,6 +1063,7 @@ 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], } } @@ -1058,6 +1088,7 @@ 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], } } @@ -1083,6 +1114,7 @@ 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], } } @@ -1111,6 +1143,7 @@ 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], } } @@ -1135,6 +1168,7 @@ 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], } } @@ -1160,6 +1194,7 @@ 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], } } @@ -1182,6 +1217,7 @@ 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], } } @@ -1282,6 +1318,7 @@ 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], } } @@ -1311,6 +1348,7 @@ 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], } } @@ -1340,6 +1378,7 @@ 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], } } @@ -1371,6 +1410,7 @@ 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], } } @@ -1404,6 +1444,7 @@ 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], } } @@ -1433,6 +1474,7 @@ 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], } } @@ -1463,6 +1505,7 @@ 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], } } @@ -1515,6 +1558,7 @@ 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], } } @@ -1574,6 +1618,7 @@ 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], } } @@ -1623,6 +1668,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1647,6 +1693,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -1672,6 +1719,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -1700,6 +1748,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -1724,6 +1773,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1749,6 +1799,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -1771,6 +1822,7 @@ exports[`components/Menu should match snapshot with plugins 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -1886,6 +1938,7 @@ 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], } } @@ -1915,6 +1968,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -1944,6 +1998,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -1975,6 +2030,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -2008,6 +2064,7 @@ 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], } } @@ -2037,6 +2094,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -2067,6 +2125,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -2119,6 +2178,7 @@ exports[`components/Menu should match snapshot with plugins in mobile 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -2189,6 +2249,7 @@ 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 e36c834c78be..ebe91c375715 100644 --- a/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap +++ b/components/plugin_marketplace/__snapshots__/marketplace_modal.test.tsx.snap @@ -224,6 +224,7 @@ exports[`components/marketplace/ MarketplaceModal should render with error banne inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), + "displayName": "LocalizedInput", "render": [Function], } } @@ -303,6 +304,7 @@ exports[`components/marketplace/ MarketplaceModal should render with no plugins inputComponent={ Object { "$$typeof": Symbol(react.forward_ref), + "displayName": "LocalizedInput", "render": [Function], } } @@ -382,6 +384,7 @@ 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 41482f3272b0..aafc667ed7a7 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,6 +66,7 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -193,6 +194,7 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -281,6 +283,7 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -347,6 +350,7 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -475,6 +479,7 @@ exports[`components/post_view/ChannelIntroMessages test DEFAULT Channel should m "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -573,6 +578,7 @@ exports[`components/post_view/ChannelIntroMessages test DIRECT Channel should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -654,6 +660,7 @@ exports[`components/post_view/ChannelIntroMessages test DIRECT Channel should ma "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -780,6 +787,7 @@ exports[`components/post_view/ChannelIntroMessages test Group Channel should mat "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -864,6 +872,7 @@ exports[`components/post_view/ChannelIntroMessages test Group Channel should mat "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -974,6 +983,7 @@ exports[`components/post_view/ChannelIntroMessages test OFFTOPIC Channel should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1077,6 +1087,7 @@ exports[`components/post_view/ChannelIntroMessages test OFFTOPIC Channel should "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1216,6 +1227,7 @@ exports[`components/post_view/ChannelIntroMessages test Open Channel should matc "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(EditChannelHeaderModal)", "type": [Function], } } @@ -1344,6 +1356,7 @@ 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 7294ceb22780..9cd7c9c0bb38 100644 --- a/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap +++ b/components/profile_popover/__snapshots__/profile_popover.test.tsx.snap @@ -346,6 +346,7 @@ exports[`components/ProfilePopover should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -638,6 +639,7 @@ exports[`components/ProfilePopover should match snapshot for shared user 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -940,6 +942,7 @@ exports[`components/ProfilePopover should match snapshot with custom status 1`] "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddUserToChannelModal)", "type": [Function], } } @@ -1199,6 +1202,7 @@ 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 b936bde2ccd6..8bb43b994e90 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,16 +177,13 @@ 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 1778a141a654..83980c1d1045 100644 --- a/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap +++ b/components/sidebar/__snapshots__/invite_members_button.test.tsx.snap @@ -46,6 +46,7 @@ exports[`components/sidebar/invite_members_button should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -66,6 +67,7 @@ exports[`components/sidebar/invite_members_button should match snapshot 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -87,6 +89,7 @@ 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 e62b08fa7f5b..d364bbd2831a 100644 --- a/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap +++ b/components/status_dropdown/__snapshots__/status_dropdown.test.tsx.snap @@ -196,6 +196,7 @@ exports[`components/StatusDropdown should match snapshot in default state 1`] = "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -506,6 +507,7 @@ exports[`components/StatusDropdown should match snapshot with custom status and "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -768,6 +770,7 @@ exports[`components/StatusDropdown should match snapshot with custom status enab "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1030,6 +1033,7 @@ exports[`components/StatusDropdown should match snapshot with custom status expi "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1293,6 +1297,7 @@ exports[`components/StatusDropdown should match snapshot with custom status puls "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1530,6 +1535,7 @@ exports[`components/StatusDropdown should match snapshot with profile picture UR "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -1759,6 +1765,7 @@ exports[`components/StatusDropdown should match snapshot with status dropdown op "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(UserSettingsModal))", "type": [Function], } } @@ -2021,6 +2028,7 @@ 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], } } @@ -2331,6 +2339,7 @@ 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 08e4b6064e33..8e6f3073be6e 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,6 +113,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -140,6 +141,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -277,6 +279,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -304,6 +307,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -441,6 +445,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -468,6 +473,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(ActivityLogModal)", "type": [Function], } } @@ -605,6 +611,7 @@ exports[`components/user_settings/display/UserSettingsDisplay should match snaps "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AccessHistoryModal)", "type": [Function], } } @@ -632,6 +639,7 @@ 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 ab788fb87eb6..9e0b17a2a13b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,6 +18,7 @@ "@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", @@ -56,17 +57,17 @@ "popper.js": "1.16.1", "process": "0.11.10", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "16.13.1", "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": "17.0.2", + "react-dom": "16.13.1", "react-hot-loader": "4.13.0", "react-intl": "5.20.10", - "react-is": "17.0.2", + "react-is": "16.13.1", "react-overlays": "1.2.0", "react-popper": "2.2.5", "react-redux": "7.2.4", @@ -104,12 +105,11 @@ "@babel/preset-react": "7.16.0", "@babel/preset-typescript": "7.16.0", "@deanwhillier/jest-matchmedia-mock": "1.2.0", - "@hot-loader/react-dom": "17.0.2", + "@hot-loader/react-dom": "16.13.0", "@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": "17.0.2", + "@types/react": "16.9.49", "@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": "17.0.2", - "@types/react-is": "17.0.2", + "@types/react-dom": "16.9.8", + "@types/react-is": "16.7.1", "@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-17-updated": "1.0.2", + "enzyme-adapter-react-16": "1.15.6", "enzyme-to-json": "3.6.2", "eslint": "7.29.0", "eslint-import-resolver-webpack": "0.13.1", @@ -2334,17 +2334,15 @@ } }, "node_modules/@hot-loader/react-dom": { - "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==", + "version": "16.13.0", + "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.13.0.tgz", + "integrity": "sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ==", "dev": true, "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "scheduler": "^0.20.2" - }, - "peerDependencies": { - "react": "17.0.2" + "prop-types": "^15.6.2", + "scheduler": "^0.19.0" } }, "node_modules/@hypnosphi/create-react-context": { @@ -4443,6 +4441,12 @@ "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", @@ -4671,8 +4675,7 @@ "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==", - "dev": true + "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==" }, "node_modules/@types/country-list": { "version": "2.1.0", @@ -4914,9 +4917,9 @@ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" }, "node_modules/@types/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz", - "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==", + "version": "16.9.49", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz", + "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -4960,18 +4963,18 @@ } }, "node_modules/@types/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==", + "version": "16.9.8", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.8.tgz", + "integrity": "sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA==", "dev": true, "dependencies": { "@types/react": "*" } }, "node_modules/@types/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-2+L0ilcAEG8udkDnvx8B0upwXFBbNnVwOsSCTxW3SDOkmar9NyEeLG0ZLa3uOEw9zyYf/fQapcnfXAVmDKlyHw==", + "version": "16.7.1", + "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-16.7.1.tgz", + "integrity": "sha512-dMLFD2cCsxtDgMkTydQCM0PxDq8vwc6uN5M/jRktDfYvH3nQj6pjC9OrCXS2lKlYoYTNJorI/dI8x9dpLshexQ==", "dev": true, "dependencies": { "@types/react": "*" @@ -5584,12 +5587,6 @@ "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", @@ -10153,10 +10150,10 @@ "string.prototype.trim": "^1.2.1" } }, - "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==", + "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==", "dev": true, "dependencies": { "enzyme-adapter-utils": "^1.14.0", @@ -10165,29 +10162,18 @@ "object.assign": "^4.1.2", "object.values": "^1.1.2", "prop-types": "^15.7.2", - "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" + "react-is": "^16.13.1", + "react-test-renderer": "^16.0.0-0", + "semver": "^5.7.0" } }, - "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==", + "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==", "dev": true, - "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" + "bin": { + "semver": "bin/semver" } }, "node_modules/enzyme-adapter-utils": { @@ -10238,12 +10224,6 @@ "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", @@ -13349,11 +13329,6 @@ "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", @@ -15670,6 +15645,12 @@ "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", @@ -16022,6 +16003,12 @@ "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", @@ -16269,6 +16256,12 @@ "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", @@ -16847,6 +16840,12 @@ "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", @@ -17051,6 +17050,12 @@ "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", @@ -17224,6 +17229,12 @@ "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", @@ -17427,6 +17438,12 @@ "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", @@ -18298,6 +18315,12 @@ "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", @@ -18567,6 +18590,12 @@ "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", @@ -22757,6 +22786,12 @@ "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", @@ -22822,11 +22857,6 @@ "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", @@ -22835,11 +22865,6 @@ "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", @@ -23097,12 +23122,13 @@ } }, "node_modules/react": { - "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==", + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", + "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", "dependencies": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" }, "engines": { "node": ">=0.10.0" @@ -23210,16 +23236,14 @@ } }, "node_modules/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "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==", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "scheduler": "^0.20.2" - }, - "peerDependencies": { - "react": "17.0.2" + "prop-types": "^15.6.2", + "scheduler": "^0.19.1" } }, "node_modules/react-fast-compare": { @@ -23299,9 +23323,9 @@ } }, "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==" + "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-lifecycles-compat": { "version": "3.0.4", @@ -23410,11 +23434,6 @@ } } }, - "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", @@ -23456,11 +23475,6 @@ "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", @@ -23486,17 +23500,16 @@ "react-lifecycles-compat": "^3.0.4" } }, - "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==", + "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==", "dev": true, "dependencies": { "object-assign": "^4.1.1", - "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" - }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0" + "prop-types": "^15.6.2", + "react-is": "^16.8.6", + "scheduler": "^0.19.1" } }, "node_modules/react-transition-group": { @@ -24322,9 +24335,9 @@ "dev": true }, "node_modules/scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", "dependencies": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" @@ -30669,14 +30682,15 @@ } }, "@hot-loader/react-dom": { - "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==", + "version": "16.13.0", + "resolved": "https://registry.npmjs.org/@hot-loader/react-dom/-/react-dom-16.13.0.tgz", + "integrity": "sha512-lJZrmkucz2MrQJTQtJobx5MICXcfQvKihszqv655p557HPi0hMOWxrNpiHv3DWD8ugNWjtWcVWqRnFvwsHq1mQ==", "dev": true, "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "prop-types": "^15.6.2", + "scheduler": "^0.19.0" } }, "@hypnosphi/create-react-context": { @@ -32376,6 +32390,12 @@ } } }, + "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", @@ -32565,8 +32585,7 @@ "@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==", - "dev": true + "integrity": "sha512-QJCVXSVRse+mMvzWQ8vH6AcKxtqCgHPHf5abAdGn86DEeQdUpSJnKAeCa1+hZuohaUF3l4RhigC9akRx82Bwig==" }, "@types/country-list": { "version": "2.1.0", @@ -32808,9 +32827,9 @@ "integrity": "sha512-KfRL3PuHmqQLOG+2tGpRO26Ctg+Cq1E01D2DMriKEATHgWLfeNDmq9e29Q9WIky0dQ3NPkd1mzYH8Lm936Z9qw==" }, "@types/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.2.tgz", - "integrity": "sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==", + "version": "16.9.49", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz", + "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==", "requires": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -32854,18 +32873,18 @@ } }, "@types/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-Icd9KEgdnFfJs39KyRyr0jQ7EKhq8U6CcHRMGAS45fp5qgUvxL3ujUCfWFttUK2UErqZNj97t9gsVPNAqcwoCg==", + "version": "16.9.8", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.9.8.tgz", + "integrity": "sha512-ykkPQ+5nFknnlU6lDd947WbQ6TE3NNzbQAkInC2EKY1qeYdTKp7onFusmYZb+ityzx2YviqT6BXSu+LyWWJwcA==", "dev": true, "requires": { "@types/react": "*" } }, "@types/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-2+L0ilcAEG8udkDnvx8B0upwXFBbNnVwOsSCTxW3SDOkmar9NyEeLG0ZLa3uOEw9zyYf/fQapcnfXAVmDKlyHw==", + "version": "16.7.1", + "resolved": "https://registry.npmjs.org/@types/react-is/-/react-is-16.7.1.tgz", + "integrity": "sha512-dMLFD2cCsxtDgMkTydQCM0PxDq8vwc6uN5M/jRktDfYvH3nQj6pjC9OrCXS2lKlYoYTNJorI/dI8x9dpLshexQ==", "dev": true, "requires": { "@types/react": "*" @@ -33350,14 +33369,6 @@ "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": { @@ -37119,10 +37130,10 @@ "string.prototype.trim": "^1.2.1" } }, - "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==", + "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==", "dev": true, "requires": { "enzyme-adapter-utils": "^1.14.0", @@ -37131,22 +37142,16 @@ "object.assign": "^4.1.2", "object.values": "^1.1.2", "prop-types": "^15.7.2", - "react-is": "^17.0.1", - "react-test-renderer": "^17.0.1", - "semver": "^7.3.4" + "react-is": "^16.13.1", + "react-test-renderer": "^16.0.0-0", + "semver": "^5.7.0" }, "dependencies": { - "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" - } + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true } } }, @@ -37192,14 +37197,6 @@ "@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": { @@ -39691,13 +39688,6 @@ "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": { @@ -41485,6 +41475,12 @@ } } }, + "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", @@ -41740,6 +41736,12 @@ } } }, + "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", @@ -41927,6 +41929,12 @@ } } }, + "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", @@ -42368,6 +42376,12 @@ } } }, + "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", @@ -42518,6 +42532,12 @@ "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", @@ -42647,6 +42667,12 @@ } } }, + "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", @@ -42800,6 +42826,12 @@ } } }, + "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", @@ -43464,6 +43496,12 @@ } } }, + "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", @@ -43664,6 +43702,12 @@ } } }, + "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", @@ -46983,6 +47027,12 @@ "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 } } }, @@ -47020,13 +47070,6 @@ "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": { @@ -47049,11 +47092,6 @@ "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", @@ -47292,12 +47330,13 @@ } }, "react": { - "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==", + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz", + "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==", "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" } }, "react-beautiful-dnd": { @@ -47405,13 +47444,14 @@ } }, "react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "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==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "prop-types": "^15.6.2", + "scheduler": "^0.19.1" } }, "react-fast-compare": { @@ -47481,9 +47521,9 @@ } }, "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==" + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" }, "react-lifecycles-compat": { "version": "3.0.4", @@ -47576,13 +47616,6 @@ "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": { @@ -47600,13 +47633,6 @@ "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": { @@ -47660,14 +47686,16 @@ } } }, - "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==", + "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==", "dev": true, "requires": { "object-assign": "^4.1.1", - "react-is": "^16.12.0 || ^17.0.0 || ^18.0.0" + "prop-types": "^15.6.2", + "react-is": "^16.8.6", + "scheduler": "^0.19.1" } }, "react-transition-group": { @@ -48336,9 +48364,9 @@ "dev": true }, "scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", + "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", "requires": { "loose-envify": "^1.1.0", "object-assign": "^4.1.1" diff --git a/package.json b/package.json index ec8de7a450f1..97bdee425292 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "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", @@ -54,17 +55,17 @@ "popper.js": "1.16.1", "process": "0.11.10", "prop-types": "15.8.1", - "react": "17.0.2", + "react": "16.13.1", "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": "17.0.2", + "react-dom": "16.13.1", "react-hot-loader": "4.13.0", "react-intl": "5.20.10", - "react-is": "17.0.2", + "react-is": "16.13.1", "react-overlays": "1.2.0", "react-popper": "2.2.5", "react-redux": "7.2.4", @@ -102,12 +103,11 @@ "@babel/preset-react": "7.16.0", "@babel/preset-typescript": "7.16.0", "@deanwhillier/jest-matchmedia-mock": "1.2.0", - "@hot-loader/react-dom": "17.0.2", + "@hot-loader/react-dom": "16.13.0", "@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": "17.0.2", + "@types/react": "16.9.49", "@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": "17.0.2", - "@types/react-is": "17.0.2", + "@types/react-dom": "16.9.8", + "@types/react-is": "16.7.1", "@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-17-updated": "1.0.2", + "enzyme-adapter-react-16": "1.15.6", "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 3ad869b153b4..83be9dd7f0d0 100644 --- a/plugins/test/__snapshots__/main_menu_action.test.jsx.snap +++ b/plugins/test/__snapshots__/main_menu_action.test.jsx.snap @@ -75,6 +75,7 @@ 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], } } @@ -104,6 +105,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -133,6 +135,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -164,6 +167,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -197,6 +201,7 @@ 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], } } @@ -226,6 +231,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -256,6 +262,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -308,6 +315,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(LeaveTeamModal)", "type": [Function], } } @@ -373,6 +381,7 @@ exports[`plugins/MainMenuActions should match snapshot in mobile view with some "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AboutBuildModal)", "type": [Function], } } @@ -430,6 +439,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(AddGroupsToTeamModal)", "type": [Function], } } @@ -454,6 +464,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(InvitationModal)", "type": [Function], } } @@ -479,6 +490,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamSettingsModal)", "type": [Function], } } @@ -507,6 +519,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(injectIntl(TeamGroupsManageModal))", "type": [Function], } } @@ -531,6 +544,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -556,6 +570,7 @@ exports[`plugins/MainMenuActions should match snapshot in web view 1`] = ` "$$typeof": Symbol(react.memo), "WrappedComponent": [Function], "compare": null, + "displayName": "Connect(TeamMembersModal)", "type": [Function], } } @@ -578,6 +593,7 @@ 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 c38e47d0a0b3..90125c4e41b5 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-17-updated'; +import Adapter from 'enzyme-adapter-react-16'; import {configure} from 'enzyme'; import '@testing-library/jest-dom';