From 18582f55e72704e61c331467e90de7b023d0b46c Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Fri, 17 Sep 2021 16:29:12 +0200 Subject: [PATCH] [NO-JIRA] use esbuild for sonar-web --- .../sonar-docs/src/components/HeaderList.tsx | 2 +- .../src/components/HeaderListProvider.tsx | 2 +- server/sonar-web/babel.config.js | 21 +- server/sonar-web/babel.config.legacy.js | 50 - .../sonar-web/config/InterpolateHtmlPlugin.js | 54 - server/sonar-web/config/esbuild-config.js | 57 + .../config/esbuild-documentation-plugin.js | 56 + .../analyze.js => config/process-shim.js} | 22 +- server/sonar-web/config/utils.js | 82 +- server/sonar-web/config/webpack.config.js | 189 - server/sonar-web/package.json | 35 +- server/sonar-web/public/index.html | 73 +- server/sonar-web/scripts/build.js | 43 +- server/sonar-web/scripts/start.js | 148 +- server/sonar-web/scripts/utils/getMessages.js | 59 - .../scripts/utils/reportBuildStats.js | 55 - .../main/js/app/components/StartupModal.tsx | 2 +- .../__tests__/ComponentContainer-test.tsx | 4 +- .../__tests__/GlobalContainer-test.tsx | 2 +- .../__tests__/KeyboardShortcutsModal-test.tsx | 2 +- .../__tests__/ProjectAdminContainer-test.tsx | 2 +- .../__tests__/StartupModal-test.tsx | 4 +- .../__tests__/SuggestionsProvider-test.tsx | 12 +- .../components/nav/component/ComponentNav.tsx | 2 +- .../js/app/components/nav/component/Menu.tsx | 2 +- .../component/__tests__/ComponentNav-test.tsx | 2 +- .../branch-like/BranchLikeNavigation.tsx | 2 +- .../nav/component/branch-like/MenuItem.tsx | 2 +- .../projectInformation/InfoDrawer.tsx | 2 +- .../projectInformation/InfoDrawerPage.tsx | 2 +- .../projectInformation/badges/BadgeButton.tsx | 2 +- .../projectInformation/badges/BadgeParams.tsx | 2 +- .../projectInformation/badges/utils.ts | 9 +- .../components/nav/global/GlobalNavMenu.tsx | 2 +- .../components/nav/settings/SettingsNav.tsx | 2 +- .../main/js/app/components/search/Search.tsx | 2 +- .../app/components/search/SearchShowMore.tsx | 2 +- server/sonar-web/src/main/js/app/index.ts | 2 +- .../src/main/js/app/styles/sonar.css | 46 - .../sonar-web/src/main/js/app/styles/sonar.ts | 47 + .../src/main/js/app/utils/startReactApp.tsx | 12 +- .../components/__tests__/AboutApp-test.tsx | 16 +- .../components/__tests__/Account-test.tsx | 4 +- .../account/notifications/ProjectModal.tsx | 2 +- .../__tests__/ApplicationConsoleApp-test.tsx | 2 +- .../ApplicationConsoleRender-test.tsx | 4 +- .../audit-logs/components/DownloadButton.tsx | 2 +- .../background-tasks/components/TaskDate.tsx | 2 +- .../background-tasks/components/TaskDay.tsx | 2 +- .../background-tasks/components/Tasks.tsx | 2 +- .../main/js/apps/code/components/CodeApp.tsx | 2 +- .../js/apps/code/components/Component.tsx | 2 +- .../apps/code/components/ComponentsHeader.tsx | 2 +- .../components/ActivationFormModal.tsx | 2 +- .../js/apps/coding-rules/components/App.tsx | 2 +- .../js/apps/coding-rules/components/Facet.tsx | 2 +- .../coding-rules/components/ProfileFacet.tsx | 2 +- .../coding-rules/components/RuleListItem.tsx | 2 +- .../component-measures/components/App.tsx | 2 +- .../components/Breadcrumbs.tsx | 2 +- .../components/LeakPeriodLegend.tsx | 4 +- .../__tests__/LeakPeriodLegend-test.tsx | 7 +- .../drilldown/ComponentsListRow.tsx | 2 +- .../drilldown/FilesView.tsx | 2 +- .../sidebar/FacetMeasureValue.tsx | 2 +- .../project/AzurePersonalAccessTokenForm.tsx | 2 +- .../create/project/AzureProjectAccordion.tsx | 2 +- .../project/BitbucketProjectAccordion.tsx | 2 +- .../project/CreateProjectModeSelection.tsx | 2 +- .../create/project/ManualProjectCreate.tsx | 2 +- .../project/PersonalAccessTokenForm.tsx | 2 +- .../AzurePersonalAccessTokenForm-test.tsx | 2 +- .../documentation/__tests__/pages-test.ts | 13 +- .../documentation/components/MenuBlock.tsx | 2 +- .../documentation/components/MenuItem.tsx | 2 +- .../components/SearchResultEntry.tsx | 2 +- .../components/__tests__/App-test.tsx | 56 +- .../__tests__/SearchResults-test.tsx | 6 +- .../documentation.directory-loader.js | 2 +- .../src/main/js/apps/documentation/pages.ts | 2 +- .../main/js/apps/issues/components/App.tsx | 2 +- .../issues/components/__tests__/App-test.tsx | 6 +- .../conciseIssuesList/ConciseIssueBox.tsx | 2 +- .../apps/issues/sidebar/CreationDateFacet.tsx | 2 +- .../src/main/js/apps/issues/utils.ts | 2 +- .../js/apps/maintenance/components/App.tsx | 2 +- .../__snapshots__/EditionBox-test.tsx.snap | 4 +- .../overview/branches/QualityGatePanel.tsx | 2 +- .../__tests__/ProjectLeakPeriodInfo-test.tsx | 5 +- .../overview/components/LeakPeriodLegend.tsx | 2 +- .../components/QualityGateCondition.tsx | 2 +- .../__tests__/LeakPeriodLegend-test.tsx | 7 +- .../pullRequests/AfterMergeEstimate.tsx | 2 +- .../pullRequests/LargeQualityGateBadge.tsx | 2 +- .../pullRequests/PullRequestOverview.tsx | 2 +- .../shared/components/PermissionCell.tsx | 2 +- .../shared/components/PermissionHeader.tsx | 2 +- .../components/__tests__/App-test.tsx | 4 +- .../projectActivity/__tests__/utils-test.ts | 18 +- .../ProjectActivityAnalysesList.tsx | 2 +- .../components/ProjectActivityAnalysis.tsx | 2 +- .../components/ProjectActivityPageHeader.tsx | 2 +- .../ProjectActivityAnalysesList-test.tsx | 14 +- .../src/main/js/apps/projectActivity/utils.ts | 2 +- .../apps/projectBaseline/components/App.tsx | 2 +- .../components/BranchAnalysisListRenderer.tsx | 2 +- .../components/ProjectBaselineSelector.tsx | 2 +- .../__tests__/BranchAnalysisList-test.tsx | 14 +- .../BranchAnalysisListRenderer-test.tsx | 14 +- .../__tests__/ProjectQualityGateApp-test.tsx | 8 +- .../ProjectQualityProfilesApp-test.tsx | 8 +- .../apps/projects/components/PageHeader.tsx | 2 +- .../ProjectsSortingSelectOption.tsx | 2 +- .../components/__tests__/AllProjects-test.tsx | 46 +- .../__tests__/DefaultPageSelector-test.tsx | 14 +- .../components/project-card/ProjectCard.tsx | 2 +- .../project-card/ProjectCardMeasure.tsx | 2 +- .../project-card/ProjectCardMeasures.tsx | 8 +- .../__tests__/ProjectCardMeasures-test.tsx | 7 +- .../main/js/apps/projects/filters/Filter.tsx | 2 +- .../projectsManagement/CreateProjectForm.tsx | 6 +- .../js/apps/projectsManagement/Projects.tsx | 2 +- .../quality-gates/__tests__/utils-test.ts | 14 +- .../components/BuiltInQualityGateBadge.tsx | 2 +- .../quality-gates/components/Condition.tsx | 2 +- .../quality-profiles/changelog/Changelog.tsx | 2 +- .../components/BuiltInQualityProfileBadge.tsx | 2 +- .../details/ProfileInheritance.tsx | 2 +- .../details/ProfileInheritanceBox.tsx | 2 +- .../main/js/apps/quality-profiles/utils.ts | 2 +- .../security-hotspots/SecurityHotspotsApp.tsx | 2 +- .../SecurityHotspotsAppRenderer-test.tsx | 2 +- .../components/HotspotCategory.tsx | 2 +- .../components/HotspotList.tsx | 2 +- .../components/HotspotListItem.tsx | 2 +- .../components/HotspotReviewHistory.tsx | 2 +- .../components/HotspotViewerRenderer.tsx | 2 +- .../components/StatusUpdateSuccessModal.tsx | 2 +- .../__tests__/HotspotReviewHistory-test.tsx | 2 +- .../assignee/AssigneeSelectionRenderer.tsx | 2 +- .../assignee/__tests__/Assignee-test.tsx | 4 +- .../components/status/Status.tsx | 2 +- .../sessions/components/OAuthProviders.tsx | 2 +- .../settings/components/AllCategoriesList.tsx | 2 +- .../apps/settings/components/PageHeader.tsx | 2 +- .../components/SettingsSearchRenderer.tsx | 2 +- .../__tests__/SettingsSearch-test.tsx | 6 +- .../__tests__/SettingsSearchRenderer-test.tsx | 2 +- .../components/inputs/SimpleInput.tsx | 2 +- .../__tests__/EncryptionForm-test.tsx | 2 +- .../__tests__/GenerateSecretKeyForm-test.tsx | 2 +- .../components/info-items/HealthCauseItem.tsx | 2 +- .../components/info-items/HealthItem.tsx | 2 +- .../__tests__/TutorialsApp-test.tsx | 4 +- .../__tests__/PasswordForm-test.tsx | 2 +- .../js/apps/web-api/components/Action.tsx | 2 +- .../main/js/apps/web-api/components/Menu.tsx | 2 +- .../SourceViewer/SourceViewerHeader.tsx | 9 +- .../SourceViewer/SourceViewerHeaderSlim.tsx | 2 +- .../__tests__/SourceViewerBase-test.tsx | 4 +- .../SourceViewer/components/Line.tsx | 2 +- .../SourceViewer/components/LineCode.tsx | 2 +- .../components/LineDuplicationBlock.tsx | 2 +- .../components/LineIssuesIndicator.tsx | 2 +- .../SourceViewer/components/SCMPopup.tsx | 2 +- .../__tests__/LineCoverage-test.tsx | 2 +- .../activity-graph/GraphsLegendItem.tsx | 2 +- .../activity-graph/__tests__/utils-test.ts | 18 +- .../js/components/charts/AdvancedTimeline.tsx | 2 +- .../main/js/components/charts/BubbleChart.tsx | 2 +- .../js/components/charts/ColorBoxLegend.tsx | 2 +- .../components/charts/ColorRatingsLegend.tsx | 2 +- .../main/js/components/charts/TreeMapRect.tsx | 2 +- .../js/components/charts/ZoomTimeLine.tsx | 2 +- .../main/js/components/common/CodeSnippet.tsx | 2 +- .../js/components/common/FormattingTips.tsx | 2 +- .../js/components/common/LocationIndex.tsx | 2 +- .../js/components/common/LocationMessage.tsx | 2 +- .../js/components/common/MeasuresLink.tsx | 2 +- .../main/js/components/common/MultiSelect.tsx | 2 +- .../components/common/MultiSelectOption.tsx | 2 +- .../main/js/components/common/PageCounter.tsx | 2 +- .../common/PrivacyBadgeContainer.tsx | 2 +- .../js/components/common/ProjectKeyInput.tsx | 2 +- .../js/components/common/RestartButton.tsx | 2 +- .../main/js/components/common/SelectList.tsx | 17 +- .../js/components/common/StatusIndicator.tsx | 2 +- .../components/common/VisibilitySelector.tsx | 2 +- .../components/controls/ActionsDropdown.tsx | 2 +- .../js/components/controls/BackButton.tsx | 2 +- .../controls/BoxedGroupAccordion.tsx | 2 +- .../main/js/components/controls/Checkbox.tsx | 2 +- .../main/js/components/controls/DateInput.tsx | 7 +- .../js/components/controls/DateRangeInput.tsx | 2 +- .../main/js/components/controls/Dropdown.tsx | 2 +- .../js/components/controls/FavoriteButton.tsx | 2 +- .../js/components/controls/HelpTooltip.tsx | 2 +- .../js/components/controls/HomePageSelect.tsx | 2 +- .../controls/IdentityProviderLink.tsx | 2 +- .../controls/InputValidationField.tsx | 2 +- .../js/components/controls/ListFooter.tsx | 2 +- .../src/main/js/components/controls/Modal.tsx | 4 +- .../controls/ModalValidationField.tsx | 2 +- .../src/main/js/components/controls/Radio.tsx | 2 +- .../main/js/components/controls/RadioCard.tsx | 2 +- .../js/components/controls/RadioToggle.tsx | 2 +- .../js/components/controls/ReloadButton.tsx | 2 +- .../main/js/components/controls/SearchBox.tsx | 2 +- .../controls/SelectListListContainer.tsx | 2 +- .../controls/SelectListListElement.tsx | 2 +- .../src/main/js/components/controls/Tabs.tsx | 2 +- .../main/js/components/controls/Toggle.tsx | 2 +- .../__tests__/ComponentReportActions-test.tsx | 2 +- .../controls/__tests__/DateInput-test.tsx | 6 +- .../main/js/components/controls/buttons.tsx | 2 +- .../main/js/components/controls/clipboard.tsx | 4 +- .../js/components/docs/DocMarkdownBlock.tsx | 2 +- .../src/main/js/components/docs/DocToc.tsx | 2 +- .../docs/__tests__/DocMarkdownBlock-test.tsx | 10 +- .../components/docs/__tests__/DocToc-test.tsx | 4 +- .../src/main/js/components/facet/FacetBox.tsx | 2 +- .../main/js/components/facet/FacetItem.tsx | 2 +- .../js/components/facet/ListStyleFacet.tsx | 2 +- .../hoc/__tests__/whenLoggedIn-test.tsx | 4 +- .../components/hoc/withKeyboardNavigation.tsx | 2 +- .../main/js/components/icons/ClockIcon.tsx | 2 +- .../main/js/components/icons/FavoriteIcon.tsx | 2 +- .../src/main/js/components/icons/HomeIcon.tsx | 2 +- .../src/main/js/components/issue/Issue.tsx | 2 +- .../issue/__tests__/actions-test.ts | 4 +- .../src/main/js/components/tags/TagsList.tsx | 2 +- .../components/tutorials/components/Step.tsx | 2 +- .../src/main/js/components/ui/Alert.tsx | 2 +- .../src/main/js/components/ui/Avatar.tsx | 2 +- .../main/js/components/ui/ContextNavBar.tsx | 2 +- .../main/js/components/ui/DeferredSpinner.tsx | 2 +- .../js/components/ui/DismissableAlert.tsx | 2 +- .../js/components/ui/DuplicationsRating.tsx | 2 +- .../main/js/components/ui/GenericAvatar.tsx | 2 +- .../src/main/js/components/ui/Level.tsx | 2 +- .../js/components/ui/MandatoryFieldMarker.tsx | 2 +- .../ui/MandatoryFieldsExplanation.tsx | 2 +- .../src/main/js/components/ui/NavBar.tsx | 2 +- .../src/main/js/components/ui/NavBarTabs.tsx | 2 +- .../src/main/js/components/ui/NewsBox.tsx | 2 +- .../js/components/ui/PageShortcutsTooltip.tsx | 2 +- .../src/main/js/components/ui/Rating.tsx | 2 +- .../src/main/js/components/ui/SizeRating.tsx | 2 +- .../ui/__tests__/DismissableAlert-test.tsx | 2 +- .../src/main/js/components/ui/popups.tsx | 2 +- .../components/ui/update-center/MetaData.tsx | 2 +- .../update-center/__tests__/MetaData-test.tsx | 2 +- .../js/helpers/__tests__/extensions-test.ts | 4 +- .../js/helpers/__tests__/getHistory-test.ts | 4 +- .../handleRequiredAuthentication-test.ts | 4 +- .../main/js/helpers/__tests__/request-test.ts | 14 +- server/sonar-web/src/main/js/helpers/dates.ts | 2 +- .../sonar-web/src/main/js/helpers/editions.ts | 3 +- server/sonar-web/src/main/js/helpers/urls.ts | 5 +- server/sonar-web/tsconfig.json | 1 + server/sonar-web/yarn.lock | 4400 +++-------------- 261 files changed, 1527 insertions(+), 4782 deletions(-) delete mode 100644 server/sonar-web/babel.config.legacy.js delete mode 100644 server/sonar-web/config/InterpolateHtmlPlugin.js create mode 100644 server/sonar-web/config/esbuild-config.js create mode 100644 server/sonar-web/config/esbuild-documentation-plugin.js rename server/sonar-web/{scripts/analyze.js => config/process-shim.js} (59%) delete mode 100644 server/sonar-web/config/webpack.config.js delete mode 100644 server/sonar-web/scripts/utils/getMessages.js delete mode 100644 server/sonar-web/scripts/utils/reportBuildStats.js delete mode 100644 server/sonar-web/src/main/js/app/styles/sonar.css create mode 100644 server/sonar-web/src/main/js/app/styles/sonar.ts diff --git a/server/sonar-docs/src/components/HeaderList.tsx b/server/sonar-docs/src/components/HeaderList.tsx index 2fadcc4b60d..b394effd985 100644 --- a/server/sonar-docs/src/components/HeaderList.tsx +++ b/server/sonar-docs/src/components/HeaderList.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as PropTypes from 'prop-types'; +import PropTypes from 'prop-types'; import * as React from 'react'; import { MarkdownHeading } from '../@types/graphql-types'; diff --git a/server/sonar-docs/src/components/HeaderListProvider.tsx b/server/sonar-docs/src/components/HeaderListProvider.tsx index 76a301154cf..9ff3001faed 100644 --- a/server/sonar-docs/src/components/HeaderListProvider.tsx +++ b/server/sonar-docs/src/components/HeaderListProvider.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as PropTypes from 'prop-types'; +import PropTypes from 'prop-types'; import * as React from 'react'; import { MarkdownHeading } from '../@types/graphql-types'; diff --git a/server/sonar-web/babel.config.js b/server/sonar-web/babel.config.js index d79c56f56fc..d991803dabd 100644 --- a/server/sonar-web/babel.config.js +++ b/server/sonar-web/babel.config.js @@ -13,31 +13,14 @@ module.exports = { 'last 2 Edge versions' ] }, - corejs: 3, + corejs: '3.6', useBuiltIns: 'entry' } ], '@babel/preset-react' ], - plugins: [ - '@babel/plugin-proposal-class-properties', - ['@babel/plugin-proposal-object-rest-spread', { useBuiltIns: true }], - 'lodash' - ], + plugins: [['@babel/plugin-proposal-object-rest-spread', { useBuiltIns: true }], 'lodash'], env: { - production: { - plugins: [ - '@babel/plugin-syntax-dynamic-import', - '@babel/plugin-transform-react-constant-elements' - ] - }, - development: { - plugins: [ - '@babel/plugin-syntax-dynamic-import', - '@babel/plugin-transform-react-jsx-source', - '@babel/plugin-transform-react-jsx-self' - ] - }, test: { plugins: [ '@babel/plugin-transform-modules-commonjs', diff --git a/server/sonar-web/babel.config.legacy.js b/server/sonar-web/babel.config.legacy.js deleted file mode 100644 index 9f2c94870fb..00000000000 --- a/server/sonar-web/babel.config.legacy.js +++ /dev/null @@ -1,50 +0,0 @@ -module.exports = { - presets: [ - [ - '@babel/preset-env', - { - modules: false, - targets: { - browsers: [ - 'last 3 Chrome versions', - 'last 3 Firefox versions', - 'last 3 Safari versions', - 'last 3 Edge versions', - 'IE 11' - ] - }, - corejs: 3, - useBuiltIns: 'entry' - } - ], - '@babel/preset-react' - ], - plugins: [ - '@babel/plugin-proposal-class-properties', - ['@babel/plugin-proposal-object-rest-spread', { useBuiltIns: true }], - 'lodash' - ], - env: { - production: { - plugins: [ - '@babel/plugin-syntax-dynamic-import', - '@babel/plugin-transform-react-constant-elements' - ] - }, - development: { - plugins: [ - '@babel/plugin-syntax-dynamic-import', - '@babel/plugin-transform-react-jsx-source', - '@babel/plugin-transform-react-jsx-self' - ] - }, - test: { - plugins: [ - '@babel/plugin-transform-modules-commonjs', - 'dynamic-import-node', - '@babel/plugin-transform-react-jsx-source', - '@babel/plugin-transform-react-jsx-self' - ] - } - } -}; diff --git a/server/sonar-web/config/InterpolateHtmlPlugin.js b/server/sonar-web/config/InterpolateHtmlPlugin.js deleted file mode 100644 index f45b9329f98..00000000000 --- a/server/sonar-web/config/InterpolateHtmlPlugin.js +++ /dev/null @@ -1,54 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -// Copied from https://github.com/facebook/create-react-app/blob/master/packages/react-dev-utils/InterpolateHtmlPlugin.js - -// This Webpack plugin lets us interpolate custom variables into `index.html`. -// Usage: `new InterpolateHtmlPlugin({ 'MY_VARIABLE': 42 })` -// Then, you can use %MY_VARIABLE% in your `index.html`. - -// It works in tandem with HtmlWebpackPlugin. -// Learn more about creating plugins like this: -// https://github.com/ampedandwired/html-webpack-plugin#events - -'use strict'; -const escapeStringRegexp = require('escape-string-regexp'); - -class InterpolateHtmlPlugin { - constructor(replacements) { - this.replacements = replacements; - } - - apply(compiler) { - compiler.hooks.compilation.tap('InterpolateHtmlPlugin', compilation => { - compilation.hooks.htmlWebpackPluginBeforeHtmlProcessing.tap('InterpolateHtmlPlugin', data => { - // Run HTML through a series of user-specified string replacements. - Object.keys(this.replacements).forEach(key => { - const value = this.replacements[key]; - data.html = data.html.replace( - new RegExp('%' + escapeStringRegexp(key) + '%', 'g'), - value - ); - }); - }); - }); - } -} - -module.exports = InterpolateHtmlPlugin; diff --git a/server/sonar-web/config/esbuild-config.js b/server/sonar-web/config/esbuild-config.js new file mode 100644 index 00000000000..c1cec016ba5 --- /dev/null +++ b/server/sonar-web/config/esbuild-config.js @@ -0,0 +1,57 @@ +/* + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +const autoprefixer = require('autoprefixer'); +const postCssPlugin = require('esbuild-plugin-postcss2').default; +const postCssCalc = require('postcss-calc'); +const postCssCustomProperties = require('postcss-custom-properties'); +const documentationPlugin = require('./esbuild-documentation-plugin'); +const { getCustomProperties } = require('./utils'); + +module.exports = release => ({ + entryPoints: ['src/main/js/app/index.ts'], + tsconfig: './tsconfig.json', + external: ['/images/*'], + loader: { + '.png': 'dataurl', + '.md': 'text' + }, + define: { + 'process.cwd': 'dummy_process_cwd' + }, + inject: ['config/process-shim.js'], + bundle: true, + minify: release, + sourcemap: true, + target: ['chrome58', 'firefox57', 'safari11', 'edge18'], + outfile: 'build/webapp/js/out.js', + plugins: [ + postCssPlugin({ + plugins: [ + autoprefixer, + postCssCustomProperties({ + importFrom: { customProperties: getCustomProperties() }, + preserve: false + }), + postCssCalc + ] + }), + documentationPlugin() + ] +}); diff --git a/server/sonar-web/config/esbuild-documentation-plugin.js b/server/sonar-web/config/esbuild-documentation-plugin.js new file mode 100644 index 00000000000..57cf43aa919 --- /dev/null +++ b/server/sonar-web/config/esbuild-documentation-plugin.js @@ -0,0 +1,56 @@ +/* + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +const fs = require('fs-extra'); +const path = require('path'); +const glob = require('glob-promise'); + +module.exports = () => ({ + name: 'doc-plugin', + setup({ onLoad }) { + /** + * @param {string} content + * @param {string} root + * @returns {string} + */ + function handleIncludes(content, root) { + return content.replace(/@include (.+)/, (match, p) => { + const filePath = path.join(root, '..', `${p}.md`); + return fs.readFileSync(filePath, 'utf8'); + }); + } + + onLoad({ filter: /\.directory-loader\.js$/ }, async args => { + const root = path.resolve(path.dirname(process.cwd()), './sonar-docs/src/pages'); + + const files = await glob(root + '/**/*.md'); + + const result = files + .map(file => file.substr(root.length + 1)) + .map(file => ({ + path: file.slice(0, -3), + content: handleIncludes(fs.readFileSync(`${root}/${file}`, 'utf8'), root) + })); + + const contents = `module.exports = ${JSON.stringify(result)};`; + + return { contents }; + }); + } +}); diff --git a/server/sonar-web/scripts/analyze.js b/server/sonar-web/config/process-shim.js similarity index 59% rename from server/sonar-web/scripts/analyze.js rename to server/sonar-web/config/process-shim.js index 900d5538d49..4c815e22a6d 100644 --- a/server/sonar-web/scripts/analyze.js +++ b/server/sonar-web/config/process-shim.js @@ -17,22 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -/* eslint-disable no-console */ -process.env.NODE_ENV = 'production'; - -const webpack = require('webpack'); -const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); -const getConfigs = require('../config/webpack.config'); - -const configs = getConfigs({ production: true, release: true }); -const config = configs.find(config => config.name === 'modern'); -const analyzerPort = process.env.PORT || 8888; - -config.plugins.push(new BundleAnalyzerPlugin({ analyzerPort })); - -webpack(config, err => { - if (err) { - console.log(err.message || err); - process.exit(1); - } -}); +export function dummy_process_cwd() { + return ''; +} diff --git a/server/sonar-web/config/utils.js b/server/sonar-web/config/utils.js index 78ab4e12b86..a9fe52eafc0 100644 --- a/server/sonar-web/config/utils.js +++ b/server/sonar-web/config/utils.js @@ -17,66 +17,32 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -const cssLoader = () => ({ - loader: 'css-loader', - options: { - importLoaders: 1, - modules: 'global', - url: false - } -}); - -const customProperties = {}; -const parseCustomProperties = theme => { - Object.keys(theme).forEach(key => { - if (typeof theme[key] === 'object') { - parseCustomProperties(theme[key]); - } else if (typeof theme[key] === 'string') { - if (!customProperties[`--${key}`]) { - customProperties[`--${key}`] = theme[key]; - } else { - console.error( - `Custom CSS property "${key}" already exists with value "${ - customProperties[`--${key}`] - }".` - ); - process.exit(1); +/* eslint-disable no-console */ +function getCustomProperties() { + const customProperties = {}; + const parseCustomProperties = theme => { + Object.keys(theme).forEach(key => { + if (typeof theme[key] === 'object') { + parseCustomProperties(theme[key]); + } else if (typeof theme[key] === 'string') { + if (!customProperties[`--${key}`]) { + customProperties[`--${key}`] = theme[key]; + } else { + console.error( + `Custom CSS property "${key}" already exists with value "${ + customProperties[`--${key}`] + }".` + ); + process.exit(1); + } } - } - }); -}; - -parseCustomProperties(require('../src/main/js/app/theme')); - -const postcssLoader = production => ({ - loader: 'postcss-loader', - options: { - ident: 'postcss', - plugins: () => [ - require('autoprefixer'), - require('postcss-custom-properties')({ importFrom: { customProperties }, preserve: false }), - require('postcss-calc'), - ...(production ? [require('cssnano')({ calc: false, svgo: false })] : []) - ] - } -}); - -const minifyParams = ({ production }) => - production && { - removeComments: true, - collapseWhitespace: true, - removeRedundantAttributes: true, - useShortDoctype: true, - removeEmptyAttributes: true, - removeStyleLinkTypeAttributes: true, - keepClosingSlash: true, - minifyJS: true, - minifyCSS: true, - minifyURLs: true + }); }; + parseCustomProperties(require('../src/main/js/app/theme')); + + return customProperties; +} module.exports = { - cssLoader, - postcssLoader, - minifyParams + getCustomProperties }; diff --git a/server/sonar-web/config/webpack.config.js b/server/sonar-web/config/webpack.config.js deleted file mode 100644 index dbaaac11938..00000000000 --- a/server/sonar-web/config/webpack.config.js +++ /dev/null @@ -1,189 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -/* eslint-disable import/no-extraneous-dependencies, complexity */ -const path = require('path'); -const CleanWebpackPlugin = require('clean-webpack-plugin'); -const CopyWebpackPlugin = require('copy-webpack-plugin'); -const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const LodashPlugin = require('lodash-webpack-plugin'); -const webpack = require('webpack'); -const InterpolateHtmlPlugin = require('./InterpolateHtmlPlugin'); -const paths = require('./paths'); -const utils = require('./utils'); - -module.exports = ({ production = true, release = false }) => { - const timestamp = Date.now(); - - const commonConfig = { - mode: production ? 'production' : 'development', - devtool: production && release ? 'source-map' : 'cheap-module-source-map', - resolve: { - // Add '.ts' and '.tsx' as resolvable extensions. - extensions: ['.ts', '.tsx', '.js', '.json'], - // import from 'Docs/foo.md' is rewritten to import from 'sonar-docs/src/foo.md' - alias: { - Docs: path.resolve(__dirname, '../../sonar-docs/src'), - // d3-selection exports an event object, which requires live-binding. - // In order to support this, we need to tell Webpack to NOT look into - // the dist/ folder of this module, but in the src/ folder instead. - // See https://github.com/d3/d3-selection#event - 'd3-selection': path.resolve(__dirname, '../node_modules/d3-selection/src/index.js') - } - }, - optimization: { - splitChunks: { - chunks: 'all', - automaticNameDelimiter: '-' - }, - minimize: production && release - } - }; - - const commonRules = [ - { - // extract styles from 'app/' into separate file - test: /\.css$/, - include: path.resolve(__dirname, '../src/main/js/app/styles'), - use: [ - production ? MiniCssExtractPlugin.loader : 'style-loader', - utils.cssLoader(), - utils.postcssLoader(production) - ] - }, - { - // inline all other styles - test: /\.css$/, - exclude: path.resolve(__dirname, '../src/main/js/app/styles'), - use: ['style-loader', utils.cssLoader(), utils.postcssLoader(production)] - }, - { - test: /\.md$/, - use: 'raw-loader' - }, - { test: require.resolve('react'), loader: 'expose-loader?React' }, - { test: require.resolve('react-dom'), loader: 'expose-loader?ReactDOM' }, - { - test: /\.directory-loader\.js$/, - loader: path.resolve(__dirname, 'documentation-loader/index.js') - } - ]; - - const commonPlugins = [ - production && - new MiniCssExtractPlugin({ - filename: 'css/[name].[chunkhash:8].css', - chunkFilename: 'css/[name].[chunkhash:8].chunk.css' - }), - - new LodashPlugin({ - // keep these features - // https://github.com/lodash/lodash-webpack-plugin#feature-sets - shorthands: true, - collections: true, - exotics: true, // used to compare "exotic" values, like dates - memoizing: true, - flattening: true - }) - ]; - - return [ - Object.assign({ name: 'modern' }, commonConfig, { - entry: [ - !production && require.resolve('react-dev-utils/webpackHotDevClient'), - !production && require.resolve('react-error-overlay'), - './src/main/js/app/utils/setPublicPath.js', - './src/main/js/app/index.ts' - ].filter(Boolean), - output: { - path: paths.appBuild, - pathinfo: !production, - filename: production ? 'js/[name].m.[chunkhash:8].js' : 'js/[name].js', - chunkFilename: production ? 'js/[name].m.[chunkhash:8].chunk.js' : 'js/[name].chunk.js' - }, - module: { - rules: [ - { - test: /(\.js$|\.ts(x?)$)/, - exclude: /(node_modules|libs)/, - use: [ - { loader: 'babel-loader' }, - { - loader: 'ts-loader', - options: { transpileOnly: true } - } - ] - }, - ...commonRules - ] - }, - plugins: [ - production && new CleanWebpackPlugin(), - - production && - new CopyWebpackPlugin([ - { - from: paths.docImages, - to: paths.appBuild + '/images/embed-doc/images' - } - ]), - - production && - new CopyWebpackPlugin([ - { - from: paths.appPublic, - to: paths.appBuild, - ignore: [paths.appHtml] - } - ]), - - ...commonPlugins, - - new HtmlWebpackPlugin({ - inject: false, - template: paths.appHtml, - minify: utils.minifyParams({ production: production && release }), - timestamp - }), - - // keep `InterpolateHtmlPlugin` after `HtmlWebpackPlugin` - !production && - new InterpolateHtmlPlugin({ - WEB_CONTEXT: process.env.WEB_CONTEXT || '', - SERVER_STATUS: process.env.SERVER_STATUS || 'UP', - INSTANCE: process.env.INSTANCE || 'SonarQube', - OFFICIAL: process.env.OFFICIAL || 'true' - }), - - !production && new webpack.HotModuleReplacementPlugin() - ].filter(Boolean), - performance: - production && release - ? { - // ignore source maps and documentation chunk - assetFilter: assetFilename => - !assetFilename.endsWith('.map') && !assetFilename.startsWith('js/docs'), - maxAssetSize: 400000, - hints: 'error' - } - : undefined - }) - ]; -}; diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 742681fb4de..aa3bc936ce3 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -26,6 +26,7 @@ "lunr": "2.3.8", "mdast-util-toc": "5.0.2", "prop-types": "15.7.2", + "querystring": "0.2.1", "react": "16.13.0", "react-countup": "4.3.3", "react-day-picker": "7.3.0", @@ -33,7 +34,7 @@ "react-draggable": "4.2.0", "react-helmet-async": "1.0.4", "react-intl": "2.8.0", - "react-modal": "3.8.2", + "react-modal": "3.14.3", "react-redux": "5.1.1", "react-router": "3.2.6", "react-select": "1.2.1", @@ -52,9 +53,7 @@ }, "devDependencies": { "@babel/core": "7.8.7", - "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/plugin-proposal-object-rest-spread": "7.8.3", - "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-react-constant-elements": "7.8.3", "@babel/plugin-transform-react-jsx-self": "7.8.3", "@babel/plugin-transform-react-jsx-source": "7.8.3", @@ -78,7 +77,7 @@ "@types/react-dom": "16.8.4", "@types/react-helmet": "5.0.15", "@types/react-intl": "2.3.17", - "@types/react-modal": "3.8.2", + "@types/react-modal": "3.12.1", "@types/react-redux": "6.0.6", "@types/react-router": "3.0.20", "@types/react-select": "1.2.6", @@ -90,17 +89,16 @@ "autoprefixer": "9.7.4", "babel-core": "7.0.0-bridge.0", "babel-jest": "25.1.0", - "babel-loader": "8.0.6", "babel-plugin-dynamic-import-node": "2.3.0", "babel-plugin-lodash": "3.3.4", "chalk": "3.0.0", - "clean-webpack-plugin": "2.0.1", - "copy-webpack-plugin": "5.1.2", - "css-loader": "3.4.2", "cssnano": "4.1.10", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.2", "enzyme-to-json": "3.4.4", + "esbuild": "0.12.28", + "esbuild-plugin-glob": "1.0.1", + "esbuild-plugin-postcss2": "0.1.0", "escape-string-regexp": "2.0.0", "eslint": "7.17.0", "eslint-config-sonarqube": "1.0.0", @@ -110,33 +108,25 @@ "eslint-plugin-promise": "4.2.1", "eslint-plugin-react": "7.22.0", "eslint-plugin-react-hooks": "4.2.0", - "expose-loader": "0.7.5", + "fs-extra": "10.0.0", "glob": "7.1.6", "glob-promise": "3.4.0", - "html-webpack-plugin": "3.2.0", + "http-proxy": "1.18.1", "jest": "25.4.0", "jest-emotion": "10.0.32", "jest-junit": "12.0.0", "lint-staged": "7.3.0", - "lodash-webpack-plugin": "0.11.5", - "mini-css-extract-plugin": "0.9.0", + "path-browserify": "1.0.1", "postcss-calc": "7.0.2", "postcss-custom-properties": "9.1.1", - "postcss-loader": "3.0.0", "prettier": "1.19.1", - "raw-loader": "3.1.0", "react-dev-utils": "5.0.1", "react-error-overlay": "1.0.7", "react-test-renderer": "16.13.0", "remark": "11.0.2", "remark-react": "7", - "style-loader": "1.1.3", - "ts-jest": "25.2.1", - "ts-loader": "6.2.1", - "typescript": "4.1.3", - "webpack": "4.46.0", - "webpack-bundle-analyzer": "4.4.2", - "webpack-dev-server": "3.11.2" + "ts-jest": "25.5.1", + "typescript": "4.1.3" }, "scripts": { "start": "node scripts/start.js", @@ -157,6 +147,9 @@ "engines": { "node": ">=8" }, + "browser": { + "path": "path-browserify" + }, "browserslist": [ "last 3 Chrome versions", "last 3 Firefox versions", diff --git a/server/sonar-web/public/index.html b/server/sonar-web/public/index.html index a9210ca5d67..7c6fb6a4194 100644 --- a/server/sonar-web/public/index.html +++ b/server/sonar-web/public/index.html @@ -2,50 +2,43 @@ - - - - - - - - - - - - - - - - - - - - - - %INSTANCE% - - <% for (let css of htmlWebpackPlugin.files.css) { %> - - <% } %> + + + + + + + + + + + + + + + + + %INSTANCE% + + -
-
- - Loading... +
+
+ + Loading... +
-
- - <% for (let chunk in htmlWebpackPlugin.files.chunks) { %> - - <% } %> + + + + diff --git a/server/sonar-web/scripts/build.js b/server/sonar-web/scripts/build.js index 8d005375e5c..42d461449f9 100644 --- a/server/sonar-web/scripts/build.js +++ b/server/sonar-web/scripts/build.js @@ -20,30 +20,39 @@ /* eslint-disable no-console*/ process.env.NODE_ENV = 'production'; +const fs = require('fs-extra'); +const esbuild = require('esbuild'); const chalk = require('chalk'); -const webpack = require('webpack'); -const reportBuildStats = require('./utils/reportBuildStats'); -const getConfigs = require('../config/webpack.config'); +const { performance } = require('perf_hooks'); +const paths = require('../config/paths'); + +const getConfig = require('../config/esbuild-config'); const release = process.argv.findIndex(val => val === 'release') >= 0; -const configs = getConfigs({ production: true, release }).filter( - config => release || config.name === 'modern' -); -function build() { +function clean() { + fs.emptyDirSync(paths.appBuild); +} + +async function build() { + const start = performance.now(); console.log(chalk.cyan.bold(`Creating ${release ? 'optimized' : 'fast'} production build...`)); console.log(); - webpack(configs, (err, stats) => { - if (err) { - console.log(chalk.red.bold('Failed to create a production build!')); - console.log(chalk.red(err.message || err)); - process.exit(1); - } - reportBuildStats(stats.stats[0], 'modern'); + await esbuild.build(getConfig(release)); + + console.log(chalk.green.bold('Compiled successfully!')); + console.log(chalk.cyan(Math.round(performance.now() - start), 'ms')); + console.log(); +} - console.log(chalk.green.bold('Compiled successfully!')); - }); +function copyAssets() { + fs.copySync(paths.appPublic, paths.appBuild); + fs.copySync(paths.docImages, paths.appBuild + '/images/embed-doc/images'); } -build(); +(async () => { + clean(); + await build(); + copyAssets(); +})(); diff --git a/server/sonar-web/scripts/start.js b/server/sonar-web/scripts/start.js index 2f4a91b1bb7..23f17d6ad9e 100644 --- a/server/sonar-web/scripts/start.js +++ b/server/sonar-web/scripts/start.js @@ -22,113 +22,67 @@ process.env.NODE_ENV = 'development'; const fs = require('fs'); const chalk = require('chalk'); -const webpack = require('webpack'); -const WebpackDevServer = require('webpack-dev-server'); -const clearConsole = require('react-dev-utils/clearConsole'); -const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages'); -const errorOverlayMiddleware = require('react-error-overlay/middleware'); -const getMessages = require('./utils/getMessages'); -const getConfigs = require('../config/webpack.config'); -const paths = require('../config/paths'); - -const configs = getConfigs({ production: false }); -const config = configs.find(config => config.name === 'modern'); +const esbuild = require('esbuild'); +const http = require('http'); +const httpProxy = require('http-proxy'); +const getConfig = require('../config/esbuild-config'); const port = process.env.PORT || 3000; const protocol = process.env.HTTPS === 'true' ? 'https' : 'http'; const host = process.env.HOST || 'localhost'; -const proxy = process.env.PROXY || 'http://localhost:9000'; - -// Force start script to proxy l10n request to the server (can be useful when working with plugins/extensions) -const l10nCompiledFlag = process.argv.findIndex(val => val === 'l10nCompiled') >= 0; -const l10nExtensions = process.argv.findIndex(val => val === 'l10nExtensions') >= 0; - -const compiler = setupCompiler(host, port, protocol); -runDevServer(compiler, host, port, protocol); - -function setupCompiler(host, port, protocol) { - const compiler = webpack(config); - - compiler.plugin('invalid', () => { - clearConsole(); - console.log('Compiling...'); - }); +const proxyTarget = process.env.PROXY || 'http://localhost:9000'; - compiler.plugin('done', stats => { - clearConsole(); +const config = getConfig(false); - const jsonStats = stats.toJson({}, true); - const messages = formatWebpackMessages(jsonStats); - const seconds = jsonStats.time / 1000; - if (!messages.errors.length && !messages.warnings.length) { - console.log(chalk.green('Compiled successfully!')); - console.log('Duration: ' + seconds.toFixed(2) + 's'); - console.log(); - console.log('The app is running at:'); - console.log(); - console.log(' ' + chalk.cyan(protocol + '://' + host + ':' + port + '/')); - console.log(); - } +function run() { + console.log('starting...'); + esbuild + .serve( + { + servedir: 'build/webapp' + }, + config + ) + .then(result => { + const { port: esbuildport } = result; - if (messages.errors.length) { - console.log(chalk.red('Failed to compile.')); - console.log(); - messages.errors.forEach(message => { - console.log(message); - console.log(); + const proxy = httpProxy.createProxyServer(); + const esbuildProxy = httpProxy.createProxyServer({ + target: `http://localhost:${esbuildport}` }); - } - }); - return compiler; -} + proxy.on('error', error => { + console.error(chalk.blue('Backend')); + console.error('\t', chalk.red(error.message)); + console.error('\t', error.stack); + }); -function runDevServer(compiler, host, port, protocol) { - const devServer = new WebpackDevServer(compiler, { - before(app) { - app.use(errorOverlayMiddleware()); - if (!l10nCompiledFlag) { - app.get('/api/l10n/index', (req, res) => { - getMessages(l10nExtensions) - .then(messages => res.json({ effectiveLocale: 'en', messages })) - .catch(() => res.status(500)); - }); - } - }, - compress: true, - clientLogLevel: 'none', - contentBase: [paths.appPublic, paths.docRoot], - disableHostCheck: true, - hot: true, - publicPath: config.output.publicPath, - quiet: true, - watchOptions: { - ignored: /node_modules/ - }, - https: protocol === 'https', - host, - overlay: false, - historyApiFallback: { - disableDotRule: true - }, - proxy: { - '/api': { target: proxy, changeOrigin: true }, - '/static': { target: proxy, changeOrigin: true }, - '/integration': { target: proxy, changeOrigin: true }, - '/sessions/init': { target: proxy, changeOrigin: true }, - '/oauth2': { target: proxy, changeOrigin: true }, - '/batch': { target: proxy, changeOrigin: true } - } - }); + esbuildProxy.on('error', error => { + console.error(chalk.cyan('Frontend')); + console.error('\t', chalk.red(error.message)); + console.error('\t', error.stack); + }); - devServer.listen(port, err => { - if (err) { - console.log(err); - return; - } + http + .createServer((req, res) => { + if (req.url.match(/js\/out/)) { + esbuildProxy.web(req, res); + } else { + proxy.web( + req, + res, + { + target: proxyTarget + }, + e => console.error('req error', e) + ); + } + }) + .listen(port); - clearConsole(); - console.log(chalk.cyan('Starting the development server...')); - console.log(); - }); + console.log(`server started: http://localhost:${port}`); + }) + .catch(e => console.error(e)); } + +run(); diff --git a/server/sonar-web/scripts/utils/getMessages.js b/server/sonar-web/scripts/utils/getMessages.js deleted file mode 100644 index 5aa5c423096..00000000000 --- a/server/sonar-web/scripts/utils/getMessages.js +++ /dev/null @@ -1,59 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -const fs = require('fs'); -const path = require('path'); -const { promisify } = require('util'); - -const readFileAsync = promisify(fs.readFile); - -const filename = '../../../../sonar-core/src/main/resources/org/sonar/l10n/core.properties'; - -const extensionsFilenames = [ - '../../../../private/core-extension-billing/src/main/resources/org/sonar/l10n/billing.properties', - '../../../../private/core-extension-governance/src/main/resources/org/sonar/l10n/governance.properties', - '../../../../private/core-extension-license/src/main/resources/org/sonar/l10n/license.properties', - '../../../../private/core-extension-developer-server/src/main/resources/org/sonar/l10n/developer-server.properties', - '../../../../private/core-extension-securityreport/src/main/resources/org/sonar/l10n/securityreport.properties' -]; - -function getFileMessage(filename) { - return readFileAsync(path.resolve(__dirname, filename), 'utf-8').then( - content => { - const messages = {}; - const lines = content.split('\n'); - lines.forEach(line => { - const parts = line.split('='); - if (parts.length > 1) { - messages[parts[0]] = parts.slice(1).join('='); - } - }); - return messages; - }, - () => ({}) - ); -} - -function getMessages(l10nExtensions) { - return Promise.all( - [filename, ...extensionsFilenames].map(filename => getFileMessage(filename)) - ).then(filesMessages => filesMessages.reduce((acc, messages) => ({ ...acc, ...messages }), {})); -} - -module.exports = getMessages; diff --git a/server/sonar-web/scripts/utils/reportBuildStats.js b/server/sonar-web/scripts/utils/reportBuildStats.js deleted file mode 100644 index 6682cdd9b31..00000000000 --- a/server/sonar-web/scripts/utils/reportBuildStats.js +++ /dev/null @@ -1,55 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -/* eslint-disable no-console*/ -const chalk = require('chalk'); -const sortBy = require('lodash/sortBy'); - -function formatSize(bytes) { - if (bytes === 0) { - return '0'; - } - const k = 1000; // or 1024 for binary - const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; - const i = Math.floor(Math.log(bytes) / Math.log(k)); - return parseFloat((bytes / Math.pow(k, i)).toFixed(0)) + ' ' + sizes[i]; -} - -module.exports = (stats, bundleName = '', filesLimit = 10) => { - if (stats.compilation.errors && stats.compilation.errors.length) { - console.log(chalk.red.bold('Failed to create a production build!')); - stats.compilation.errors.forEach(err => console.log(chalk.red(err.message || err))); - process.exit(1); - } - const jsonStats = stats.toJson(); - const onlyJS = jsonStats.assets.filter(asset => asset.name.endsWith('.js')); - console.log(`Biggest js chunks (${onlyJS.length} total) ${bundleName && `[${bundleName}]`}:`); - sortBy(onlyJS, asset => -asset.size) - .slice(0, filesLimit) - .forEach(asset => { - let sizeLabel = formatSize(asset.size); - const leftPadding = ' '.repeat(Math.max(0, 8 - sizeLabel.length)); - sizeLabel = leftPadding + sizeLabel; - console.log('', chalk.yellow(sizeLabel), asset.name); - }); - console.log(); - const seconds = jsonStats.time / 1000; - console.log('Duration: ' + seconds.toFixed(2) + 's'); - console.log(); -}; diff --git a/server/sonar-web/src/main/js/app/components/StartupModal.tsx b/server/sonar-web/src/main/js/app/components/StartupModal.tsx index c11ac083e29..30c6dd2189f 100644 --- a/server/sonar-web/src/main/js/app/components/StartupModal.tsx +++ b/server/sonar-web/src/main/js/app/components/StartupModal.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import * as React from 'react'; import { connect } from 'react-redux'; import { showLicense } from '../../api/marketplace'; diff --git a/server/sonar-web/src/main/js/app/components/__tests__/ComponentContainer-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/ComponentContainer-test.tsx index 6a4590cd08c..89dc7822561 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/ComponentContainer-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/ComponentContainer-test.tsx @@ -75,9 +75,7 @@ jest.mock('../../../api/alm-settings', () => ({ })); // mock this, because some of its children are using redux store -jest.mock('../nav/component/ComponentNav', () => ({ - default: () => null -})); +jest.mock('../nav/component/ComponentNav', () => () => null); const Inner = () =>
; diff --git a/server/sonar-web/src/main/js/app/components/__tests__/GlobalContainer-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/GlobalContainer-test.tsx index 7c099331ba4..96b6219fcd1 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/GlobalContainer-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/GlobalContainer-test.tsx @@ -29,7 +29,7 @@ jest.mock('../embed-docs-modal/SuggestionsProvider', () => { } } - return { default: SuggestionsProvider }; + return SuggestionsProvider; }); it('should render correctly', () => { diff --git a/server/sonar-web/src/main/js/app/components/__tests__/KeyboardShortcutsModal-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/KeyboardShortcutsModal-test.tsx index 3313ba1c0c4..91a01ff3b5a 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/KeyboardShortcutsModal-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/KeyboardShortcutsModal-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import Modal from '../../../components/controls/Modal'; import { mockEvent } from '../../../helpers/testMocks'; import KeyboardShortcutsModal from '../KeyboardShortcutsModal'; diff --git a/server/sonar-web/src/main/js/app/components/__tests__/ProjectAdminContainer-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/ProjectAdminContainer-test.tsx index e867f7145ae..e2e9aaa91c9 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/ProjectAdminContainer-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/ProjectAdminContainer-test.tsx @@ -24,7 +24,7 @@ import { mockComponent } from '../../../helpers/mocks/component'; import ProjectAdminContainer from '../ProjectAdminContainer'; jest.mock('../../utils/handleRequiredAuthorization', () => { - return { default: jest.fn() }; + return jest.fn(); }); class ChildComponent extends React.Component { diff --git a/server/sonar-web/src/main/js/app/components/__tests__/StartupModal-test.tsx b/server/sonar-web/src/main/js/app/components/__tests__/StartupModal-test.tsx index e527440c46b..79d76ac2f1f 100644 --- a/server/sonar-web/src/main/js/app/components/__tests__/StartupModal-test.tsx +++ b/server/sonar-web/src/main/js/app/components/__tests__/StartupModal-test.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import { shallow, ShallowWrapper } from 'enzyme'; import * as React from 'react'; import { showLicense } from '../../../api/marketplace'; @@ -46,7 +46,7 @@ jest.mock('../../../helpers/dates', () => ({ toShortNotSoISOString: jest.fn().mockReturnValue('short-not-iso-date') })); -jest.mock('date-fns/difference_in_days', () => jest.fn().mockReturnValue(1)); +jest.mock('date-fns', () => ({ differenceInDays: jest.fn().mockReturnValue(1) })); const LOGGED_IN_USER: T.LoggedInUser = { groups: [], diff --git a/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/SuggestionsProvider-test.tsx b/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/SuggestionsProvider-test.tsx index e1c76a0539b..864b0a1f738 100644 --- a/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/SuggestionsProvider-test.tsx +++ b/server/sonar-web/src/main/js/app/components/embed-docs-modal/__tests__/SuggestionsProvider-test.tsx @@ -25,13 +25,11 @@ import SuggestionsProvider from '../SuggestionsProvider'; jest.mock( 'Docs/EmbedDocsSuggestions.json', () => ({ - default: { - pageA: [ - { link: '/foo', text: 'Foo' }, - { link: '/bar', text: 'Bar', scope: 'sonarcloud' } - ], - pageB: [{ link: '/qux', text: 'Qux' }] - } + pageA: [ + { link: '/foo', text: 'Foo' }, + { link: '/bar', text: 'Bar', scope: 'sonarcloud' } + ], + pageB: [{ link: '/qux', text: 'Qux' }] }), { virtual: true } ); diff --git a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.tsx b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.tsx index a17b0b003cd..df02475cfcf 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNav.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import ContextNavBar from '../../../../components/ui/ContextNavBar'; import { diff --git a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx index 903fc7d885b..b1ac495c980 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/Menu.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link, LinkProps } from 'react-router'; import Dropdown from '../../../../components/controls/Dropdown'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNav-test.tsx b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNav-test.tsx index c1e4fe0e54e..0da72dea810 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNav-test.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/ComponentNav-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { mockProjectAlmBindingConfigurationErrors } from '../../../../../helpers/mocks/alm-settings'; import { mockComponent } from '../../../../../helpers/mocks/component'; import { mockTask, mockTaskWarning } from '../../../../../helpers/mocks/tasks'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/BranchLikeNavigation.tsx b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/BranchLikeNavigation.tsx index 1f017226c57..5b748818f9b 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/BranchLikeNavigation.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/BranchLikeNavigation.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Toggler from '../../../../../components/controls/Toggler'; import { withAppState } from '../../../../../components/hoc/withAppState'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItem.tsx b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItem.tsx index 7cc0592d4d5..16631eeba2c 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItem.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/branch-like/MenuItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import BranchStatus from '../../../../../components/common/BranchStatus'; import BranchLikeIcon from '../../../../../components/icons/BranchLikeIcon'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawer.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawer.tsx index 4369bc93b7b..ae8aef6b211 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawer.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ClearButton } from '../../../../../components/controls/buttons'; import EscKeydownHandler from '../../../../../components/controls/EscKeydownHandler'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawerPage.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawerPage.tsx index 5ecb1970b25..68ce72f2adf 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawerPage.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/InfoDrawerPage.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import BackIcon from '../../../../../components/icons/BackIcon'; import { translate } from '../../../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeButton.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeButton.tsx index 9bdf960e4aa..c4b66aeb0af 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeButton.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Button } from '../../../../../../components/controls/buttons'; import { translate } from '../../../../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeParams.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeParams.tsx index f6406e91ea3..4aa6edc257e 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeParams.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/BadgeParams.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { fetchWebApi } from '../../../../../../api/web-api'; import Select from '../../../../../../components/controls/Select'; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/utils.ts b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/utils.ts index cb455dff6f1..f4d4a8a7233 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/utils.ts +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/badges/utils.ts @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { stringify } from 'querystring'; import { getLocalizedMetricName } from '../../../../../../helpers/l10n'; import { omitNil } from '../../../../../../helpers/request'; import { getHostUrl, getPathUrlAsString, getProjectUrl } from '../../../../../../helpers/urls'; @@ -80,13 +79,13 @@ export function getBadgeUrl( case BadgeType.marketing: return `${getHostUrl()}/images/project_badges/sonarcloud-${color}.svg`; case BadgeType.qualityGate: - return `${getHostUrl()}/api/project_badges/quality_gate?${stringify( + return `${getHostUrl()}/api/project_badges/quality_gate?${new URLSearchParams( omitNil({ branch, project, pullRequest }) - )}`; + ).toString()}`; case BadgeType.measure: default: - return `${getHostUrl()}/api/project_badges/measure?${stringify( + return `${getHostUrl()}/api/project_badges/measure?${new URLSearchParams( omitNil({ branch, project, metric, pullRequest }) - )}`; + ).toString()}`; } } diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.tsx b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.tsx index 7ce047bc85a..c72524bd66e 100644 --- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavMenu.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { isMySet } from '../../../../apps/issues/utils'; diff --git a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx index 71bc8cc6b3b..e78a3252499 100644 --- a/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/settings/SettingsNav.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { IndexLink, Link } from 'react-router'; import Dropdown from '../../../../components/controls/Dropdown'; diff --git a/server/sonar-web/src/main/js/app/components/search/Search.tsx b/server/sonar-web/src/main/js/app/components/search/Search.tsx index 2804d3b0518..6818bdabe43 100644 --- a/server/sonar-web/src/main/js/app/components/search/Search.tsx +++ b/server/sonar-web/src/main/js/app/components/search/Search.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import { debounce, keyBy, uniqBy } from 'lodash'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; diff --git a/server/sonar-web/src/main/js/app/components/search/SearchShowMore.tsx b/server/sonar-web/src/main/js/app/components/search/SearchShowMore.tsx index b1840372b12..fdffd10d304 100644 --- a/server/sonar-web/src/main/js/app/components/search/SearchShowMore.tsx +++ b/server/sonar-web/src/main/js/app/components/search/SearchShowMore.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import DeferredSpinner from '../../../components/ui/DeferredSpinner'; diff --git a/server/sonar-web/src/main/js/app/index.ts b/server/sonar-web/src/main/js/app/index.ts index 8ceaf92f55f..78db9a4e0d5 100644 --- a/server/sonar-web/src/main/js/app/index.ts +++ b/server/sonar-web/src/main/js/app/index.ts @@ -21,7 +21,7 @@ import { installExtensionsHandler, installWebAnalyticsHandler } from '../helpers import { loadL10nBundle } from '../helpers/l10n'; import { parseJSON, request } from '../helpers/request'; import { getBaseUrl, getSystemStatus } from '../helpers/system'; -import './styles/sonar.css'; +import './styles/sonar.ts'; installWebAnalyticsHandler(); diff --git a/server/sonar-web/src/main/js/app/styles/sonar.css b/server/sonar-web/src/main/js/app/styles/sonar.css deleted file mode 100644 index ad6c5842cbe..00000000000 --- a/server/sonar-web/src/main/js/app/styles/sonar.css +++ /dev/null @@ -1,46 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2021 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -@import './init/base.css'; -@import './init/type.css'; -@import './init/links.css'; -@import './init/tables.css'; -@import './init/lists.css'; -@import './init/forms.css'; -@import './init/icons.css'; -@import './init/misc.css'; - -@import './components/ui.css'; -@import './components/spinner.css'; -@import './components/global-loading.css'; -@import './components/issues.css'; -@import './components/dropdowns.css'; -@import './components/menu.css'; -@import './components/page.css'; -@import './components/component-name.css'; -@import './components/list-groups.css'; -@import './components/panels.css'; -@import './components/badges.css'; -@import './components/columns.css'; -@import './components/boxed-group.css'; - -@import './style.css'; -@import './print.css'; -@import './sonar-colorizer.css'; -@import './mixins.css'; diff --git a/server/sonar-web/src/main/js/app/styles/sonar.ts b/server/sonar-web/src/main/js/app/styles/sonar.ts new file mode 100644 index 00000000000..57934e0e47b --- /dev/null +++ b/server/sonar-web/src/main/js/app/styles/sonar.ts @@ -0,0 +1,47 @@ +/* + * SonarQube + * Copyright (C) 2009-2021 SonarSource SA + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ +/* + * The esbuild postcss plugin fails to handle CSS `@import` + */ +import './components/badges.css'; +import './components/boxed-group.css'; +import './components/columns.css'; +import './components/component-name.css'; +import './components/dropdowns.css'; +import './components/global-loading.css'; +import './components/issues.css'; +import './components/list-groups.css'; +import './components/menu.css'; +import './components/page.css'; +import './components/panels.css'; +import './components/spinner.css'; +import './components/ui.css'; +import './init/base.css'; +import './init/forms.css'; +import './init/icons.css'; +import './init/links.css'; +import './init/lists.css'; +import './init/misc.css'; +import './init/tables.css'; +import './init/type.css'; +import './mixins.css'; +import './print.css'; +import './sonar-colorizer.css'; +import './style.css'; diff --git a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx index 2c90471aa77..c1c7b4fdc37 100644 --- a/server/sonar-web/src/main/js/app/utils/startReactApp.tsx +++ b/server/sonar-web/src/main/js/app/utils/startReactApp.tsx @@ -21,7 +21,7 @@ import { Location } from 'history'; import { pick } from 'lodash'; import * as React from 'react'; -import { render } from 'react-dom'; +import ReactDom, { render } from 'react-dom'; import { HelmetProvider } from 'react-helmet-async'; import { IntlProvider } from 'react-intl'; import { Provider } from 'react-redux'; @@ -69,6 +69,14 @@ import { PageContext } from '../components/indexation/PageUnavailableDueToIndexa import MigrationContainer from '../components/MigrationContainer'; import getStore from './getStore'; +/* + * Expose dependencies to extensions + */ +function attachToGlobal() { + window.React = React; + window.ReactDOM = ReactDom; +} + function handleUpdate(this: { state: { location: Location } }) { const { action } = this.state.location; @@ -249,6 +257,8 @@ export default function startReactApp( currentUser?: T.CurrentUser, appState?: T.AppState ) { + attachToGlobal(); + const el = document.getElementById('content'); const history = getHistory(); diff --git a/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx b/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx index 56da775ca17..4d814ae0698 100644 --- a/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/about/components/__tests__/AboutApp-test.tsx @@ -47,14 +47,16 @@ jest.mock('../../../../api/issues', () => ({ }) })); -jest.mock('../../../../app/components/GlobalContainer', () => ({ - default: class GlobalContainer extends React.Component { - static displayName = 'GlobalContainer'; - render() { - return this.props.children; +jest.mock( + '../../../../app/components/GlobalContainer', + () => + class GlobalContainer extends React.Component { + static displayName = 'GlobalContainer'; + render() { + return this.props.children; + } } - } -})); +); it('should render correctly', async () => { const wrapper = shallowRender(); diff --git a/server/sonar-web/src/main/js/apps/account/components/__tests__/Account-test.tsx b/server/sonar-web/src/main/js/apps/account/components/__tests__/Account-test.tsx index fc0a840742a..a72ad22e810 100644 --- a/server/sonar-web/src/main/js/apps/account/components/__tests__/Account-test.tsx +++ b/server/sonar-web/src/main/js/apps/account/components/__tests__/Account-test.tsx @@ -23,9 +23,7 @@ import handleRequiredAuthentication from '../../../../helpers/handleRequiredAuth import { mockCurrentUser } from '../../../../helpers/testMocks'; import { Account } from '../Account'; -jest.mock('../../../../helpers/handleRequiredAuthentication', () => ({ - default: jest.fn() -})); +jest.mock('../../../../helpers/handleRequiredAuthentication', () => jest.fn()); it('should render correctly', () => { const wrapper = shallowRender(); diff --git a/server/sonar-web/src/main/js/apps/account/notifications/ProjectModal.tsx b/server/sonar-web/src/main/js/apps/account/notifications/ProjectModal.tsx index e8d335fc3f9..7a0060f4569 100644 --- a/server/sonar-web/src/main/js/apps/account/notifications/ProjectModal.tsx +++ b/server/sonar-web/src/main/js/apps/account/notifications/ProjectModal.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { debounce } from 'lodash'; import * as React from 'react'; import { getSuggestions } from '../../../api/components'; diff --git a/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleApp-test.tsx b/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleApp-test.tsx index f0e2a1c9bfa..018f68d844c 100644 --- a/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleApp-test.tsx @@ -37,7 +37,7 @@ jest.mock('../../../api/application', () => ({ editApplication: jest.fn().mockResolvedValue({}) })); -jest.mock('../../../app/utils/addGlobalSuccessMessage', () => ({ default: jest.fn() })); +jest.mock('../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); it('Should render correctly', async () => { expect(shallowRender()).toMatchSnapshot('Empty app'); diff --git a/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleRender-test.tsx b/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleRender-test.tsx index da5952a1965..234a6028c50 100644 --- a/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleRender-test.tsx +++ b/server/sonar-web/src/main/js/apps/application-console/__tests__/ApplicationConsoleRender-test.tsx @@ -26,9 +26,7 @@ import ApplicationConsoleAppRenderer, { } from '../ApplicationConsoleAppRenderer'; import EditForm from '../EditForm'; -jest.mock('../../../app/utils/addGlobalSuccessMessage', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); it('should render correctly', () => { expect(shallowRender()).toMatchSnapshot('default'); diff --git a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx index 2b9c748d033..bbe8bf9521b 100644 --- a/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx +++ b/server/sonar-web/src/main/js/apps/audit-logs/components/DownloadButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { endOfDay, startOfDay, subDays } from 'date-fns'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.tsx b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.tsx index 146f2bbc3ed..fa4e077ab74 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.tsx +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDate.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import * as React from 'react'; import TimeFormatter from '../../../components/intl/TimeFormatter'; import { isValidDate, parseDate } from '../../../helpers/dates'; diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDay.tsx b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDay.tsx index 805c7e108be..242fa22d8d3 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDay.tsx +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/TaskDay.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as isSameDay from 'date-fns/is_same_day'; +import { isSameDay } from 'date-fns'; import * as React from 'react'; import DateFormatter from '../../../components/intl/DateFormatter'; import { parseDate } from '../../../helpers/dates'; diff --git a/server/sonar-web/src/main/js/apps/background-tasks/components/Tasks.tsx b/server/sonar-web/src/main/js/apps/background-tasks/components/Tasks.tsx index bc9d0898b4a..eacac47fb20 100644 --- a/server/sonar-web/src/main/js/apps/background-tasks/components/Tasks.tsx +++ b/server/sonar-web/src/main/js/apps/background-tasks/components/Tasks.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; import { Task as ITask } from '../../../types/tasks'; diff --git a/server/sonar-web/src/main/js/apps/code/components/CodeApp.tsx b/server/sonar-web/src/main/js/apps/code/components/CodeApp.tsx index 9c8518ea8c4..9bb59ded960 100644 --- a/server/sonar-web/src/main/js/apps/code/components/CodeApp.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/CodeApp.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { Location } from 'history'; import { debounce } from 'lodash'; import * as React from 'react'; diff --git a/server/sonar-web/src/main/js/apps/code/components/Component.tsx b/server/sonar-web/src/main/js/apps/code/components/Component.tsx index d902d22e2c8..eb96e015ee8 100644 --- a/server/sonar-web/src/main/js/apps/code/components/Component.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/Component.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { withScrollTo } from '../../../components/hoc/withScrollTo'; import { WorkspaceContext } from '../../../components/workspace/context'; diff --git a/server/sonar-web/src/main/js/apps/code/components/ComponentsHeader.tsx b/server/sonar-web/src/main/js/apps/code/components/ComponentsHeader.tsx index 41830122e94..f458cc98484 100644 --- a/server/sonar-web/src/main/js/apps/code/components/ComponentsHeader.tsx +++ b/server/sonar-web/src/main/js/apps/code/components/ComponentsHeader.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx index e2611f72bb6..7ce6bdf12c6 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/ActivationFormModal.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { activateRule, Profile } from '../../../api/quality-profiles'; import { ResetButtonLink, SubmitButton } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx index b1326f51341..52157b66998 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/App.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import { keyBy } from 'lodash'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx index c7bcd333d74..c5af27f619f 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/Facet.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { orderBy, sortBy, without } from 'lodash'; import * as React from 'react'; import Tooltip from '../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/ProfileFacet.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/ProfileFacet.tsx index b518f365076..bd968b073ab 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/ProfileFacet.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/ProfileFacet.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { sortBy } from 'lodash'; import * as React from 'react'; import { Profile } from '../../../api/quality-profiles'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/RuleListItem.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/RuleListItem.tsx index bc86033feed..8900d75c92b 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/RuleListItem.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/RuleListItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { deactivateRule, Profile } from '../../../api/quality-profiles'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx index bed13ccc0d4..7d1f7457ba7 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/App.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import { debounce, keyBy } from 'lodash'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/Breadcrumbs.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/Breadcrumbs.tsx index 3e721cd65df..bdb3214d5fb 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/Breadcrumbs.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/Breadcrumbs.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import * as React from 'react'; import { getBreadcrumbs } from '../../../api/components'; import { getBranchLikeQuery, isSameBranchLike } from '../../../helpers/branch-like'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/LeakPeriodLegend.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/LeakPeriodLegend.tsx index b221e826bed..6cadbcfe0ca 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/LeakPeriodLegend.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/LeakPeriodLegend.tsx @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; -import * as differenceInDays from 'date-fns/difference_in_days'; +import classNames from 'classnames'; +import { differenceInDays } from 'date-fns'; import * as React from 'react'; import { InjectedIntlProps, injectIntl } from 'react-intl'; import Tooltip from '../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/LeakPeriodLegend-test.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/LeakPeriodLegend-test.tsx index 1978a195fd9..e2adbbcc61d 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/LeakPeriodLegend-test.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/LeakPeriodLegend-test.tsx @@ -17,13 +17,16 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import { shallow } from 'enzyme'; import * as React from 'react'; import { InjectedIntlProps } from 'react-intl'; import { LeakPeriodLegend } from '../LeakPeriodLegend'; -jest.mock('date-fns/difference_in_days', () => jest.fn().mockReturnValue(10)); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { ...actual, differenceInDays: jest.fn().mockReturnValue(10) }; +}); const PROJECT = { key: 'foo', diff --git a/server/sonar-web/src/main/js/apps/component-measures/drilldown/ComponentsListRow.tsx b/server/sonar-web/src/main/js/apps/component-measures/drilldown/ComponentsListRow.tsx index c29be3db951..ea86423dc39 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/drilldown/ComponentsListRow.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/drilldown/ComponentsListRow.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { BranchLike } from '../../../types/branch-like'; import { MeasurePageView } from '../../../types/measures'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/drilldown/FilesView.tsx b/server/sonar-web/src/main/js/apps/component-measures/drilldown/FilesView.tsx index 8e6271ea845..fb3819160e5 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/drilldown/FilesView.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/drilldown/FilesView.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import { throttle } from 'lodash'; import * as React from 'react'; import { Button } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/sidebar/FacetMeasureValue.tsx b/server/sonar-web/src/main/js/apps/component-measures/sidebar/FacetMeasureValue.tsx index 38af9388e76..edbfc46005e 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/sidebar/FacetMeasureValue.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/sidebar/FacetMeasureValue.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Measure from '../../../components/measure/Measure'; import { isDiffMetric } from '../../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/apps/create/project/AzurePersonalAccessTokenForm.tsx b/server/sonar-web/src/main/js/apps/create/project/AzurePersonalAccessTokenForm.tsx index 0c9e026776f..e88968d8e98 100644 --- a/server/sonar-web/src/main/js/apps/create/project/AzurePersonalAccessTokenForm.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/AzurePersonalAccessTokenForm.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { SubmitButton } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx index 27fc44d2a5d..72de55edeeb 100644 --- a/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/AzureProjectAccordion.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx b/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx index 0d3f65ecdd9..95b34ccfbf9 100644 --- a/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/BitbucketProjectAccordion.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/apps/create/project/CreateProjectModeSelection.tsx b/server/sonar-web/src/main/js/apps/create/project/CreateProjectModeSelection.tsx index 9542a58b5c9..506c1ac489a 100644 --- a/server/sonar-web/src/main/js/apps/create/project/CreateProjectModeSelection.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/CreateProjectModeSelection.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { withAppState } from '../../../components/hoc/withAppState'; import ChevronsIcon from '../../../components/icons/ChevronsIcon'; diff --git a/server/sonar-web/src/main/js/apps/create/project/ManualProjectCreate.tsx b/server/sonar-web/src/main/js/apps/create/project/ManualProjectCreate.tsx index 78197388ac8..6a62ae59d0a 100644 --- a/server/sonar-web/src/main/js/apps/create/project/ManualProjectCreate.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/ManualProjectCreate.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { debounce } from 'lodash'; import * as React from 'react'; import { createProject, doesComponentExists } from '../../../api/components'; diff --git a/server/sonar-web/src/main/js/apps/create/project/PersonalAccessTokenForm.tsx b/server/sonar-web/src/main/js/apps/create/project/PersonalAccessTokenForm.tsx index a571ab12006..d2438c13638 100644 --- a/server/sonar-web/src/main/js/apps/create/project/PersonalAccessTokenForm.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/PersonalAccessTokenForm.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzurePersonalAccessTokenForm-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzurePersonalAccessTokenForm-test.tsx index 430ce61f194..c74953c742f 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzurePersonalAccessTokenForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzurePersonalAccessTokenForm-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { SubmitButton } from '../../../../components/controls/buttons'; import { mockAlmSettingsInstance } from '../../../../helpers/mocks/alm-settings'; import { change, submit } from '../../../../helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/apps/documentation/__tests__/pages-test.ts b/server/sonar-web/src/main/js/apps/documentation/__tests__/pages-test.ts index 7e61f661cc4..48b136593c8 100644 --- a/server/sonar-web/src/main/js/apps/documentation/__tests__/pages-test.ts +++ b/server/sonar-web/src/main/js/apps/documentation/__tests__/pages-test.ts @@ -21,17 +21,16 @@ import { filterContent, ParsedContent } from '../../../helpers/markdown'; import { mockDocumentationMarkdown } from '../../../helpers/testMocks'; -jest.mock('remark', () => ({ - default: () => ({ - parse: jest.fn().mockReturnValue({}) - }) +jest.mock('remark', () => () => ({ + parse: jest.fn().mockReturnValue({}) })); -jest.mock('unist-util-visit', () => ({ - default: (_: any, cb: (node: { type: string; value: string }) => void) => { +jest.mock( + 'unist-util-visit', + () => (_: any, cb: (node: { type: string; value: string }) => void) => { cb({ type: 'text', value: 'Text content' }); } -})); +); jest.mock('../../../helpers/markdown', () => { const markdown = jest.requireActual('../../../helpers/markdown'); diff --git a/server/sonar-web/src/main/js/apps/documentation/components/MenuBlock.tsx b/server/sonar-web/src/main/js/apps/documentation/components/MenuBlock.tsx index fb51d62654e..4891f947dc3 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/MenuBlock.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/MenuBlock.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { DocNavigationItem, DocsNavigationBlock } from 'Docs/@types/types'; import * as React from 'react'; import { ButtonLink } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/documentation/components/MenuItem.tsx b/server/sonar-web/src/main/js/apps/documentation/components/MenuItem.tsx index a68d1ba07c8..86ea670c415 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/MenuItem.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/MenuItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { testPathAgainstUrl } from '../navTreeUtils'; diff --git a/server/sonar-web/src/main/js/apps/documentation/components/SearchResultEntry.tsx b/server/sonar-web/src/main/js/apps/documentation/components/SearchResultEntry.tsx index 22ee12b8cad..ae85ebc33fb 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/SearchResultEntry.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/SearchResultEntry.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { cutWords, DocumentationEntry, highlightMarks } from '../utils'; diff --git a/server/sonar-web/src/main/js/apps/documentation/components/__tests__/App-test.tsx b/server/sonar-web/src/main/js/apps/documentation/components/__tests__/App-test.tsx index 1c18bcb3437..5c2bb59ac31 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/__tests__/App-test.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/__tests__/App-test.tsx @@ -28,28 +28,26 @@ import App from '../App'; jest.mock('../../../../components/common/ScreenPositionHelper'); -jest.mock('Docs/../static/SonarQubeNavigationTree.json', () => ({ - default: [ - { - title: 'SonarQube', - children: [ - '/lorem/ipsum/', - '/analysis/languages/csharp/', - { - title: 'Child category', - children: [ - '/lorem/ipsum/dolor', - { - title: 'Grandchild category', - children: ['/lorem/ipsum/sit'] - }, - '/lorem/ipsum/amet' - ] - } - ] - } - ] -})); +jest.mock('Docs/../static/SonarQubeNavigationTree.json', () => [ + { + title: 'SonarQube', + children: [ + '/lorem/ipsum/', + '/analysis/languages/csharp/', + { + title: 'Child category', + children: [ + '/lorem/ipsum/dolor', + { + title: 'Grandchild category', + children: ['/lorem/ipsum/sit'] + }, + '/lorem/ipsum/amet' + ] + } + ] + } +]); jest.mock('../../../../helpers/pages', () => ({ addSideBarClass: jest.fn(), @@ -70,14 +68,12 @@ jest.mock('../../../../helpers/request', () => { jest.mock('../../pages', () => { const { mockDocumentationEntry } = jest.requireActual('../../../../helpers/testMocks'); - return { - default: jest - .fn() - .mockReturnValue([ - mockDocumentationEntry(), - mockDocumentationEntry({ url: '/analysis/languages/csharp/' }) - ]) - }; + return jest + .fn() + .mockReturnValue([ + mockDocumentationEntry(), + mockDocumentationEntry({ url: '/analysis/languages/csharp/' }) + ]); }); jest.mock('../../../../api/plugins', () => ({ diff --git a/server/sonar-web/src/main/js/apps/documentation/components/__tests__/SearchResults-test.tsx b/server/sonar-web/src/main/js/apps/documentation/components/__tests__/SearchResults-test.tsx index 88d5acffaa3..cb15ab5066d 100644 --- a/server/sonar-web/src/main/js/apps/documentation/components/__tests__/SearchResults-test.tsx +++ b/server/sonar-web/src/main/js/apps/documentation/components/__tests__/SearchResults-test.tsx @@ -22,8 +22,8 @@ import lunr from 'lunr'; import * as React from 'react'; import SearchResults from '../SearchResults'; -jest.mock('lunr', () => ({ - default: jest.fn(() => ({ +jest.mock('lunr', () => + jest.fn(() => ({ search: jest.fn(() => [ { ref: 'lorem/origin', @@ -61,7 +61,7 @@ jest.mock('lunr', () => ({ } ]) })) -})); +); function createPage(title: string, relativeName: string, text = '') { return { relativeName, url: '/' + relativeName, title, navTitle: undefined, text, content: text }; diff --git a/server/sonar-web/src/main/js/apps/documentation/documentation.directory-loader.js b/server/sonar-web/src/main/js/apps/documentation/documentation.directory-loader.js index 77d077b7ff9..1e09ae66170 100644 --- a/server/sonar-web/src/main/js/apps/documentation/documentation.directory-loader.js +++ b/server/sonar-web/src/main/js/apps/documentation/documentation.directory-loader.js @@ -20,5 +20,5 @@ const path = require('path'); module.exports = { - root: path.resolve(__dirname, '../../../../../../sonar-docs/src/pages') + placeholder: true // doesn't matter, this is replaced by esbuild }; diff --git a/server/sonar-web/src/main/js/apps/documentation/pages.ts b/server/sonar-web/src/main/js/apps/documentation/pages.ts index e083f2b3dd9..47a77d52f74 100644 --- a/server/sonar-web/src/main/js/apps/documentation/pages.ts +++ b/server/sonar-web/src/main/js/apps/documentation/pages.ts @@ -20,7 +20,7 @@ import remark from 'remark'; import visit from 'unist-util-visit'; import { filterContent, ParsedContent, separateFrontMatter } from '../../helpers/markdown'; -import * as Docs from './documentation.directory-loader'; +import Docs from './documentation.directory-loader'; import { DocumentationEntry, DocumentationEntryScope } from './utils'; export default function getPages( diff --git a/server/sonar-web/src/main/js/apps/issues/components/App.tsx b/server/sonar-web/src/main/js/apps/issues/components/App.tsx index 376072c762a..313a343de73 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/App.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import { debounce, keyBy, omit, without } from 'lodash'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; diff --git a/server/sonar-web/src/main/js/apps/issues/components/__tests__/App-test.tsx b/server/sonar-web/src/main/js/apps/issues/components/__tests__/App-test.tsx index a86def001bb..40e99fc0392 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/__tests__/App-test.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/__tests__/App-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as key from 'keymaster'; +import key from 'keymaster'; import * as React from 'react'; import handleRequiredAuthentication from '../../../../helpers/handleRequiredAuthentication'; import { KeyCodes } from '../../../../helpers/keycodes'; @@ -57,9 +57,7 @@ jest.mock('../../../../helpers/pages', () => ({ removeWhitePageClass: jest.fn() })); -jest.mock('../../../../helpers/handleRequiredAuthentication', () => ({ - default: jest.fn() -})); +jest.mock('../../../../helpers/handleRequiredAuthentication', () => jest.fn()); jest.mock('keymaster', () => { const key: any = (bindKey: string, _: string, callback: Function) => { diff --git a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssueBox.tsx b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssueBox.tsx index 587c64ca672..a63e8a7f159 100644 --- a/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssueBox.tsx +++ b/server/sonar-web/src/main/js/apps/issues/conciseIssuesList/ConciseIssueBox.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import TypeHelper from '../../../components/shared/TypeHelper'; import ConciseIssueLocations from './ConciseIssueLocations'; diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/CreationDateFacet.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/CreationDateFacet.tsx index a39c65adc52..609f48f5e51 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/CreationDateFacet.tsx +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/CreationDateFacet.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as isSameDay from 'date-fns/is_same_day'; +import { isSameDay } from 'date-fns'; import { max } from 'lodash'; import * as React from 'react'; import { InjectedIntlProps, injectIntl } from 'react-intl'; diff --git a/server/sonar-web/src/main/js/apps/issues/utils.ts b/server/sonar-web/src/main/js/apps/issues/utils.ts index f28e8944a2b..e8d4f8baf0f 100644 --- a/server/sonar-web/src/main/js/apps/issues/utils.ts +++ b/server/sonar-web/src/main/js/apps/issues/utils.ts @@ -119,7 +119,7 @@ export function serializeQuery(query: Query): T.RawQuery { const filter = { assigned: query.assigned ? undefined : 'false', assignees: serializeStringArray(query.assignees), - author: query.author, + author: serializeStringArray(query.author), createdAfter: serializeDateShort(query.createdAfter), createdAt: serializeString(query.createdAt), createdBefore: serializeDateShort(query.createdBefore), diff --git a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx index a676f7e2b5c..9af30c26cd3 100644 --- a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; import { FormattedMessage } from 'react-intl'; diff --git a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/EditionBox-test.tsx.snap b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/EditionBox-test.tsx.snap index 538a9f2b9ef..51c52c7ea2a 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/EditionBox-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/marketplace/components/__tests__/__snapshots__/EditionBox-test.tsx.snap @@ -4,7 +4,9 @@ exports[`should display the edition 1`] = `
- +
diff --git a/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx b/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx index 9ca24fceeab..161e1c686eb 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/QualityGatePanel.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import HelpTooltip from '../../../components/controls/HelpTooltip'; import { Alert } from '../../../components/ui/Alert'; diff --git a/server/sonar-web/src/main/js/apps/overview/branches/__tests__/ProjectLeakPeriodInfo-test.tsx b/server/sonar-web/src/main/js/apps/overview/branches/__tests__/ProjectLeakPeriodInfo-test.tsx index 6062c7237e3..eb3a9d35711 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/__tests__/ProjectLeakPeriodInfo-test.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/__tests__/ProjectLeakPeriodInfo-test.tsx @@ -23,7 +23,10 @@ import * as React from 'react'; import { mockPeriod } from '../../../../helpers/testMocks'; import { ProjectLeakPeriodInfo } from '../ProjectLeakPeriodInfo'; -jest.mock('date-fns/difference_in_days', () => jest.fn().mockReturnValue(10)); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { ...actual, differenceInDays: jest.fn().mockReturnValue(10) }; +}); it('should render correctly for 10 days', () => { expect(shallowRender({ mode: 'days', parameter: '10' })).toMatchSnapshot(); diff --git a/server/sonar-web/src/main/js/apps/overview/components/LeakPeriodLegend.tsx b/server/sonar-web/src/main/js/apps/overview/components/LeakPeriodLegend.tsx index 25cb9953f1e..62b725b5086 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/LeakPeriodLegend.tsx +++ b/server/sonar-web/src/main/js/apps/overview/components/LeakPeriodLegend.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import * as React from 'react'; import { InjectedIntlProps, injectIntl } from 'react-intl'; import Tooltip from '../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/apps/overview/components/QualityGateCondition.tsx b/server/sonar-web/src/main/js/apps/overview/components/QualityGateCondition.tsx index ee795179407..8fc7bd9740a 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/QualityGateCondition.tsx +++ b/server/sonar-web/src/main/js/apps/overview/components/QualityGateCondition.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import IssueTypeIcon from '../../../components/icons/IssueTypeIcon'; diff --git a/server/sonar-web/src/main/js/apps/overview/components/__tests__/LeakPeriodLegend-test.tsx b/server/sonar-web/src/main/js/apps/overview/components/__tests__/LeakPeriodLegend-test.tsx index 995f0027993..b1ee6be8e1e 100644 --- a/server/sonar-web/src/main/js/apps/overview/components/__tests__/LeakPeriodLegend-test.tsx +++ b/server/sonar-web/src/main/js/apps/overview/components/__tests__/LeakPeriodLegend-test.tsx @@ -17,13 +17,16 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInDays from 'date-fns/difference_in_days'; +import { differenceInDays } from 'date-fns'; import { shallow } from 'enzyme'; import * as React from 'react'; import { InjectedIntlProps } from 'react-intl'; import { LeakPeriodLegend } from '../LeakPeriodLegend'; -jest.mock('date-fns/difference_in_days', () => jest.fn().mockReturnValue(10)); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { ...actual, differenceInDays: jest.fn().mockReturnValue(10) }; +}); it('10 days', () => { expect(getWrapper({ mode: 'days', parameter: '10' })).toMatchSnapshot(); diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx index b8700b07878..333f4947b1e 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/AfterMergeEstimate.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; import { findMeasure, formatMeasure } from '../../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/LargeQualityGateBadge.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/LargeQualityGateBadge.tsx index 83296254c49..307c163b893 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/LargeQualityGateBadge.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/LargeQualityGateBadge.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx index b009e4eb519..8c542df49e1 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/PullRequestOverview.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { differenceBy, uniq } from 'lodash'; import * as React from 'react'; import { connect } from 'react-redux'; diff --git a/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionCell.tsx b/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionCell.tsx index bd685933967..66d667f147b 100644 --- a/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionCell.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionCell.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Checkbox from '../../../../components/controls/Checkbox'; import { isPermissionDefinitionGroup } from '../../utils'; diff --git a/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionHeader.tsx b/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionHeader.tsx index 4e749d59660..e0012f41af1 100644 --- a/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionHeader.tsx +++ b/server/sonar-web/src/main/js/apps/permissions/shared/components/PermissionHeader.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import InstanceMessage from '../../../../components/common/InstanceMessage'; import HelpTooltip from '../../../../components/controls/HelpTooltip'; diff --git a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/App-test.tsx b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/App-test.tsx index e7b4a98f350..aa314271f72 100644 --- a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/App-test.tsx +++ b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/App-test.tsx @@ -34,9 +34,7 @@ import { ComponentQualifier } from '../../../../types/component'; import { App } from '../App'; import UnsubscribeEmailModal from '../UnsubscribeEmailModal'; -jest.mock('../../../../helpers/handleRequiredAuthentication', () => ({ - default: jest.fn() -})); +jest.mock('../../../../helpers/handleRequiredAuthentication', () => jest.fn()); jest.mock('../../../../api/measures', () => ({ getMeasures: jest.fn().mockResolvedValue([]) diff --git a/server/sonar-web/src/main/js/apps/projectActivity/__tests__/utils-test.ts b/server/sonar-web/src/main/js/apps/projectActivity/__tests__/utils-test.ts index 0b2cd01534d..9ca1ed335ef 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/__tests__/utils-test.ts +++ b/server/sonar-web/src/main/js/apps/projectActivity/__tests__/utils-test.ts @@ -22,13 +22,17 @@ import * as dates from '../../../helpers/dates'; import { GraphType } from '../../../types/project-activity'; import * as utils from '../utils'; -jest.mock('date-fns/start_of_day', () => - jest.fn(date => { - const startDay = new Date(date); - startDay.setUTCHours(0, 0, 0, 0); - return startDay; - }) -); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { + ...actual, + startOfDay: jest.fn(date => { + const startDay = new Date(date); + startDay.setUTCHours(0, 0, 0, 0); + return startDay; + }) + }; +}); const ANALYSES = [ { diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysesList.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysesList.tsx index 1fbbb071979..7354797aef6 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysesList.tsx +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysesList.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { isEqual } from 'date-fns'; import { throttle } from 'lodash'; import * as React from 'react'; diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysis.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysis.tsx index f6711f19bb0..9c8b6df8e11 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysis.tsx +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityAnalysis.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import ActionsDropdown, { ActionsDropdownDivider, diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.tsx index 149d4a4f174..328a5d1de1d 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.tsx +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityPageHeader.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Select from '../../../components/controls/Select'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysesList-test.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysesList-test.tsx index 097909c9223..885f89c12b7 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysesList-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysesList-test.tsx @@ -25,10 +25,16 @@ import { mockParsedAnalysis } from '../../../../helpers/testMocks'; import { ComponentQualifier } from '../../../../types/component'; import ProjectActivityAnalysesList from '../ProjectActivityAnalysesList'; -jest.mock('date-fns/start_of_day', () => (date: Date) => { - const startDay = new Date(date); - startDay.setUTCHours(0, 0, 0, 0); - return startDay; +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { + ...actual, + startOfDay: (date: Date) => { + const startDay = new Date(date); + startDay.setUTCHours(0, 0, 0, 0); + return startDay; + } + }; }); jest.mock('../../../../helpers/dates', () => { diff --git a/server/sonar-web/src/main/js/apps/projectActivity/utils.ts b/server/sonar-web/src/main/js/apps/projectActivity/utils.ts index d642d7484b6..86dae218145 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/utils.ts +++ b/server/sonar-web/src/main/js/apps/projectActivity/utils.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as startOfDay from 'date-fns/start_of_day'; +import { startOfDay } from 'date-fns'; import { isEqual } from 'lodash'; import { DEFAULT_GRAPH } from '../../components/activity-graph/utils'; import { parseDate } from '../../helpers/dates'; diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/App.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/App.tsx index a840de4a57e..3a751aecc1f 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/App.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { debounce } from 'lodash'; import * as React from 'react'; import { getNewCodePeriod, resetNewCodePeriod, setNewCodePeriod } from '../../../api/newCodePeriod'; diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchAnalysisListRenderer.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchAnalysisListRenderer.tsx index c22fa3fa8ed..b5b9d4eeb4a 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchAnalysisListRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/BranchAnalysisListRenderer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Radio from '../../../components/controls/Radio'; import Select from '../../../components/controls/Select'; diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/ProjectBaselineSelector.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/ProjectBaselineSelector.tsx index 6d9e74d3a6f..c001b46f4c1 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/ProjectBaselineSelector.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/ProjectBaselineSelector.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ResetButtonLink, SubmitButton } from '../../../components/controls/buttons'; import Radio from '../../../components/controls/Radio'; diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisList-test.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisList-test.tsx index 3b9941a5ca4..c5eaa6c6d81 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisList-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisList-test.tsx @@ -26,11 +26,15 @@ import { mockAnalysis, mockAnalysisEvent } from '../../../../helpers/testMocks'; import { waitAndUpdate } from '../../../../helpers/testUtils'; import BranchAnalysisList from '../BranchAnalysisList'; -jest.mock('date-fns/start_of_day', () => - jest.fn(() => ({ - getTime: () => '1488322800000' // 2017-03-02 - })) -); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { + ...actual, + startOfDay: jest.fn(() => ({ + getTime: () => '1488322800000' // 2017-03-02 + })) + }; +}); jest.mock('../../../../helpers/dates', () => ({ parseDate: jest.fn().mockReturnValue('2017-03-02'), diff --git a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx index 9250748d74a..4b06483d612 100644 --- a/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectBaseline/components/__tests__/BranchAnalysisListRenderer-test.tsx @@ -24,10 +24,16 @@ import BranchAnalysisListRenderer, { BranchAnalysisListRendererProps } from '../BranchAnalysisListRenderer'; -jest.mock('date-fns/start_of_day', () => (date: Date) => { - const startDay = new Date(date); - startDay.setUTCHours(0, 0, 0, 0); - return startDay; +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { + ...actual, + startOfDay: (date: Date) => { + const startDay = new Date(date); + startDay.setUTCHours(0, 0, 0, 0); + return startDay; + } + }; }); jest.mock('../../../../helpers/dates', () => { diff --git a/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateApp-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateApp-test.tsx index 7d3b7248ea4..014a50babb7 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateApp-test.tsx @@ -62,13 +62,9 @@ jest.mock('../../../api/quality-gates', () => { }; }); -jest.mock('../../../app/utils/addGlobalSuccessMessage', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); -jest.mock('../../../app/utils/handleRequiredAuthorization', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/handleRequiredAuthorization', () => jest.fn()); beforeEach(jest.clearAllMocks); diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx index 5b0bc461f05..4cabfdd700b 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/__tests__/ProjectQualityProfilesApp-test.tsx @@ -71,13 +71,9 @@ jest.mock('../../../api/quality-profiles', () => { }; }); -jest.mock('../../../app/utils/addGlobalSuccessMessage', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); -jest.mock('../../../app/utils/handleRequiredAuthorization', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/handleRequiredAuthorization', () => jest.fn()); beforeEach(jest.clearAllMocks); diff --git a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx index b2980207975..8d9e1fbcbc8 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import HomePageSelect from '../../../components/controls/HomePageSelect'; import Tooltip from '../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelectOption.tsx b/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelectOption.tsx index 95761531015..f7f1615f3c6 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelectOption.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/ProjectsSortingSelectOption.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; export interface Option { diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/AllProjects-test.tsx b/server/sonar-web/src/main/js/apps/projects/components/__tests__/AllProjects-test.tsx index e149a05897a..6709060a2ff 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/AllProjects-test.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/AllProjects-test.tsx @@ -28,26 +28,32 @@ import { LS_PROJECTS_VISUALIZATION } from '../AllProjects'; -jest.mock('../ProjectsList', () => ({ - // eslint-disable-next-line - default: function ProjectsList() { - return null; - } -})); - -jest.mock('../PageHeader', () => ({ - // eslint-disable-next-line - default: function PageHeader() { - return null; - } -})); - -jest.mock('../PageSidebar', () => ({ - // eslint-disable-next-line - default: function PageSidebar() { - return null; - } -})); +jest.mock( + '../ProjectsList', + () => + // eslint-disable-next-line + function ProjectsList() { + return null; + } +); + +jest.mock( + '../PageHeader', + () => + // eslint-disable-next-line + function PageHeader() { + return null; + } +); + +jest.mock( + '../PageSidebar', + () => + // eslint-disable-next-line + function PageSidebar() { + return null; + } +); jest.mock('../../utils', () => { const utils = jest.requireActual('../../utils'); diff --git a/server/sonar-web/src/main/js/apps/projects/components/__tests__/DefaultPageSelector-test.tsx b/server/sonar-web/src/main/js/apps/projects/components/__tests__/DefaultPageSelector-test.tsx index e0ac85e5c84..01a5c463cd4 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/__tests__/DefaultPageSelector-test.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/__tests__/DefaultPageSelector-test.tsx @@ -31,12 +31,14 @@ import { waitAndUpdate } from '../../../../helpers/testUtils'; import { hasGlobalPermission } from '../../../../helpers/users'; import { DefaultPageSelector } from '../DefaultPageSelector'; -jest.mock('../AllProjectsContainer', () => ({ - // eslint-disable-next-line - default: function AllProjectsContainer() { - return null; - } -})); +jest.mock( + '../AllProjectsContainer', + () => + // eslint-disable-next-line + function AllProjectsContainer() { + return null; + } +); jest.mock('../../../../helpers/storage', () => ({ get: jest.fn().mockReturnValue(undefined) diff --git a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCard.tsx b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCard.tsx index 7cde29df645..96758862825 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCard.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCard.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasure.tsx b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasure.tsx index d103da690ac..8270a88c314 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasure.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasure.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import IssueTypeIcon from '../../../../components/icons/IssueTypeIcon'; diff --git a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx index b9d1c682865..1694baf44b1 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/project-card/ProjectCardMeasures.tsx @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; -import * as difference from 'date-fns/difference_in_milliseconds'; +import classNames from 'classnames'; +import { differenceInMilliseconds } from 'date-fns'; import * as React from 'react'; import DateTimeFormatter from '../../../../components/intl/DateTimeFormatter'; import Measure from '../../../../components/measure/Measure'; @@ -164,7 +164,9 @@ export default function ProjectCardMeasures(props: ProjectCardMeasuresProps) { ); } - const newCodeTimespan = newCodeStartingDate ? difference(Date.now(), newCodeStartingDate) : 0; + const newCodeTimespan = newCodeStartingDate + ? differenceInMilliseconds(Date.now(), newCodeStartingDate) + : 0; const measureList = [ ...renderRatings(props), diff --git a/server/sonar-web/src/main/js/apps/projects/components/project-card/__tests__/ProjectCardMeasures-test.tsx b/server/sonar-web/src/main/js/apps/projects/components/project-card/__tests__/ProjectCardMeasures-test.tsx index b66a8d67aab..788f567050f 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/project-card/__tests__/ProjectCardMeasures-test.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/project-card/__tests__/ProjectCardMeasures-test.tsx @@ -24,10 +24,9 @@ import { ComponentQualifier } from '../../../../../types/component'; import { MetricKey } from '../../../../../types/metrics'; import ProjectCardMeasures, { ProjectCardMeasuresProps } from '../ProjectCardMeasures'; -jest.mock( - 'date-fns/difference_in_milliseconds', - () => () => 1000 * 60 * 60 * 24 * 30 * 8 // ~ 8 months -); +jest.mock('date-fns', () => ({ + differenceInMilliseconds: () => 1000 * 60 * 60 * 24 * 30 * 8 // ~ 8 months +})); describe('Overall measures', () => { it('should be rendered properly', () => { diff --git a/server/sonar-web/src/main/js/apps/projects/filters/Filter.tsx b/server/sonar-web/src/main/js/apps/projects/filters/Filter.tsx index 150a78d6cb8..85a15f0e7b5 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/Filter.tsx +++ b/server/sonar-web/src/main/js/apps/projects/filters/Filter.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; import { formatMeasure } from '../../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx b/server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx index eeb7e424efe..b9b7f1aa40c 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx +++ b/server/sonar-web/src/main/js/apps/projectsManagement/CreateProjectForm.tsx @@ -65,12 +65,12 @@ export default class CreateProjectForm extends React.PureComponent } componentDidUpdate() { - // wrap with `setImmediate` because of https://github.com/reactjs/react-modal/issues/338 - setImmediate(() => { + // wrap with `setTimeout` because of https://github.com/reactjs/react-modal/issues/338 + setTimeout(() => { if (this.closeButton) { this.closeButton.focus(); } - }); + }, 0); } componentWillUnmount() { diff --git a/server/sonar-web/src/main/js/apps/projectsManagement/Projects.tsx b/server/sonar-web/src/main/js/apps/projectsManagement/Projects.tsx index 60a2ed2f579..a5b575c8bae 100644 --- a/server/sonar-web/src/main/js/apps/projectsManagement/Projects.tsx +++ b/server/sonar-web/src/main/js/apps/projectsManagement/Projects.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Project } from '../../api/components'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/quality-gates/__tests__/utils-test.ts b/server/sonar-web/src/main/js/apps/quality-gates/__tests__/utils-test.ts index b2aa80c52cf..e55e77c1866 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/__tests__/utils-test.ts +++ b/server/sonar-web/src/main/js/apps/quality-gates/__tests__/utils-test.ts @@ -24,14 +24,12 @@ jest.mock('../../../store/rootReducer', () => ({ getMetricByKey: (store: any, key: string) => store[key] })); -jest.mock('../../../app/utils/getStore', () => ({ - default: () => ({ - getState: () => ({ - bugs: mockMetric({ key: 'bugs', name: 'Bugs' }), - existing_metric: mockMetric(), - new_maintainability_rating: mockMetric(), - sqale_rating: mockMetric({ key: 'sqale_rating', name: 'Maintainability Rating' }) - }) +jest.mock('../../../app/utils/getStore', () => () => ({ + getState: () => ({ + bugs: mockMetric({ key: 'bugs', name: 'Bugs' }), + existing_metric: mockMetric(), + new_maintainability_rating: mockMetric(), + sqale_rating: mockMetric({ key: 'sqale_rating', name: 'Maintainability Rating' }) }) })); diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/BuiltInQualityGateBadge.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/BuiltInQualityGateBadge.tsx index 948c81a73f6..ca42dbaeb9e 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/BuiltInQualityGateBadge.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/BuiltInQualityGateBadge.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Tooltip from '../../../components/controls/Tooltip'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx index 313ff3af985..c03a1bc871f 100644 --- a/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx +++ b/server/sonar-web/src/main/js/apps/quality-gates/components/Condition.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { deleteCondition } from '../../../api/quality-gates'; import { DeleteButton, EditButton } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx index 4805da105c8..e51182702bc 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/Changelog.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as isSameMinute from 'date-fns/is_same_minute'; +import { isSameMinute } from 'date-fns'; import { sortBy } from 'lodash'; import * as React from 'react'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx index 0654a37825a..d8252cee89d 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/components/BuiltInQualityProfileBadge.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Tooltip from '../../../components/controls/Tooltip'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx index ad15bdf407e..1ff81921b64 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritance.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { getProfileInheritance } from '../../../api/quality-profiles'; import { Button } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritanceBox.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritanceBox.tsx index 341904871ae..d3fad78f1d1 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritanceBox.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileInheritanceBox.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import HelpTooltip from '../../../components/controls/HelpTooltip'; import { translate, translateWithParameters } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/utils.ts b/server/sonar-web/src/main/js/apps/quality-profiles/utils.ts index cc8ddea8634..5f0e2e02679 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/utils.ts +++ b/server/sonar-web/src/main/js/apps/quality-profiles/utils.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as differenceInYears from 'date-fns/difference_in_years'; +import { differenceInYears } from 'date-fns'; import { sortBy } from 'lodash'; import { Profile as BaseProfile } from '../../api/quality-profiles'; import { isValidDate, parseDate } from '../../helpers/dates'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/SecurityHotspotsApp.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/SecurityHotspotsApp.tsx index 1a91178d9b5..12a879b338e 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/SecurityHotspotsApp.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/SecurityHotspotsApp.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { Location } from 'history'; -import * as key from 'keymaster'; +import key from 'keymaster'; import { flatMap, range } from 'lodash'; import * as React from 'react'; import { connect } from 'react-redux'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/__tests__/SecurityHotspotsAppRenderer-test.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/__tests__/SecurityHotspotsAppRenderer-test.tsx index 1eea18597c5..0886b8c486f 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/__tests__/SecurityHotspotsAppRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/__tests__/SecurityHotspotsAppRenderer-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import ScreenPositionHelper from '../../../components/common/ScreenPositionHelper'; import { mockComponent } from '../../../helpers/mocks/component'; import { mockRawHotspot, mockStandards } from '../../../helpers/mocks/security-hotspots'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotCategory.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotCategory.tsx index 2d08d7d9a04..92c1ff1fe2e 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotCategory.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotCategory.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import ChevronDownIcon from '../../../components/icons/ChevronDownIcon'; import ChevronUpIcon from '../../../components/icons/ChevronUpIcon'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotList.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotList.tsx index f4631ea1018..3f73800926e 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotList.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotList.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { groupBy } from 'lodash'; import * as React from 'react'; import ListFooter from '../../../components/controls/ListFooter'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotListItem.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotListItem.tsx index 1ca23f4a7f2..329d2c3895e 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotListItem.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotListItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; import { RawHotspot } from '../../../types/security-hotspots'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotReviewHistory.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotReviewHistory.tsx index e3cf11a8a23..0002ab9bc60 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotReviewHistory.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotReviewHistory.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Button, ButtonLink, DeleteButton, EditButton } from '../../../components/controls/buttons'; import Dropdown, { DropdownOverlay } from '../../../components/controls/Dropdown'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotViewerRenderer.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotViewerRenderer.tsx index 35231c6a120..8b0e0a1bf3c 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotViewerRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/HotspotViewerRenderer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { Button } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx index 5af63885f06..4eb13b07bba 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/StatusUpdateSuccessModal.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { Button, ButtonLink } from '../../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/HotspotReviewHistory-test.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/HotspotReviewHistory-test.tsx index 8eda5958c98..0402ce40803 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/HotspotReviewHistory-test.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/HotspotReviewHistory-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { Button, EditButton } from '../../../../components/controls/buttons'; import Dropdown, { DropdownOverlay } from '../../../../components/controls/Dropdown'; import Toggler from '../../../../components/controls/Toggler'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/AssigneeSelectionRenderer.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/AssigneeSelectionRenderer.tsx index 51f06bf170a..a7add0ef13e 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/AssigneeSelectionRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/AssigneeSelectionRenderer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { DropdownOverlay } from '../../../../components/controls/Dropdown'; import SearchBox from '../../../../components/controls/SearchBox'; diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/__tests__/Assignee-test.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/__tests__/Assignee-test.tsx index 1228c2457c3..ce18db2a847 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/__tests__/Assignee-test.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/assignee/__tests__/Assignee-test.tsx @@ -32,9 +32,7 @@ jest.mock('../../../../../api/security-hotspots', () => ({ assignSecurityHotspot: jest.fn() })); -jest.mock('../../../../../app/utils/addGlobalSuccessMessage', () => ({ - default: jest.fn() -})); +jest.mock('../../../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); it('should render correctly', () => { expect(shallowRender()).toMatchSnapshot(); diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/status/Status.tsx b/server/sonar-web/src/main/js/apps/security-hotspots/components/status/Status.tsx index a174ee4943b..689eb93c302 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/status/Status.tsx +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/status/Status.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Button } from '../../../../components/controls/buttons'; import { DropdownOverlay } from '../../../../components/controls/Dropdown'; diff --git a/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx b/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx index 8e8ee8f8303..4b773abb37d 100644 --- a/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx +++ b/server/sonar-web/src/main/js/apps/sessions/components/OAuthProviders.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import HelpTooltip from '../../../components/controls/HelpTooltip'; import IdentityProviderLink from '../../../components/controls/IdentityProviderLink'; diff --git a/server/sonar-web/src/main/js/apps/settings/components/AllCategoriesList.tsx b/server/sonar-web/src/main/js/apps/settings/components/AllCategoriesList.tsx index 00d96a02c90..70d39c40770 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/AllCategoriesList.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/AllCategoriesList.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { sortBy } from 'lodash'; import * as React from 'react'; import { connect } from 'react-redux'; diff --git a/server/sonar-web/src/main/js/apps/settings/components/PageHeader.tsx b/server/sonar-web/src/main/js/apps/settings/components/PageHeader.tsx index 75234993ac1..b6052ab4c85 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/PageHeader.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/PageHeader.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import InstanceMessage from '../../../components/common/InstanceMessage'; import { translate } from '../../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/apps/settings/components/SettingsSearchRenderer.tsx b/server/sonar-web/src/main/js/apps/settings/components/SettingsSearchRenderer.tsx index c52febbcb5c..38d72710fbc 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/SettingsSearchRenderer.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/SettingsSearchRenderer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { DropdownOverlay } from '../../../components/controls/Dropdown'; diff --git a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearch-test.tsx b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearch-test.tsx index 7ad7a845d6f..a29b3db703e 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearch-test.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearch-test.tsx @@ -24,8 +24,8 @@ import { mockRouter } from '../../../../helpers/testMocks'; import { mockEvent, waitAndUpdate } from '../../../../helpers/testUtils'; import { SettingsSearch } from '../SettingsSearch'; -jest.mock('lunr', () => ({ - default: jest.fn(() => ({ +jest.mock('lunr', () => + jest.fn(() => ({ search: jest.fn(() => [ { ref: 'foo' @@ -35,7 +35,7 @@ jest.mock('lunr', () => ({ } ]) })) -})); +); describe('instance', () => { const router = mockRouter(); diff --git a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearchRenderer-test.tsx b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearchRenderer-test.tsx index 9864135ab3f..af73a6e8720 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearchRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/__tests__/SettingsSearchRenderer-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { mockDefinition } from '../../../../helpers/mocks/settings'; import { scrollToElement } from '../../../../helpers/scrolling'; import SettingsSearchRenderer, { SettingsSearchRendererProps } from '../SettingsSearchRenderer'; diff --git a/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.tsx b/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.tsx index 2c5df6a506f..31ad1d08118 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/inputs/SimpleInput.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { DefaultSpecializedInputProps } from '../../utils'; diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/EncryptionForm-test.tsx b/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/EncryptionForm-test.tsx index 1c6dabfbbe9..204f73812de 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/EncryptionForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/EncryptionForm-test.tsx @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as React from 'react'; import { shallow } from 'enzyme'; +import * as React from 'react'; import EncryptionForm from '../EncryptionForm'; it('should render correctly', () => { diff --git a/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/GenerateSecretKeyForm-test.tsx b/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/GenerateSecretKeyForm-test.tsx index a9f5110905c..21ef36f8051 100644 --- a/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/GenerateSecretKeyForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/settings/encryption/__tests__/GenerateSecretKeyForm-test.tsx @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as React from 'react'; import { shallow } from 'enzyme'; +import * as React from 'react'; import GenerateSecretKeyForm from '../GenerateSecretKeyForm'; it('should render correctly', () => { diff --git a/server/sonar-web/src/main/js/apps/system/components/info-items/HealthCauseItem.tsx b/server/sonar-web/src/main/js/apps/system/components/info-items/HealthCauseItem.tsx index 49cd480e91d..f6022748fb5 100644 --- a/server/sonar-web/src/main/js/apps/system/components/info-items/HealthCauseItem.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/info-items/HealthCauseItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Alert } from '../../../../components/ui/Alert'; diff --git a/server/sonar-web/src/main/js/apps/system/components/info-items/HealthItem.tsx b/server/sonar-web/src/main/js/apps/system/components/info-items/HealthItem.tsx index f445caf6d0a..3c9fa6acebd 100644 --- a/server/sonar-web/src/main/js/apps/system/components/info-items/HealthItem.tsx +++ b/server/sonar-web/src/main/js/apps/system/components/info-items/HealthItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import StatusIndicator from '../../../../components/common/StatusIndicator'; import Tooltip from '../../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/TutorialsApp-test.tsx b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/TutorialsApp-test.tsx index 39c7745f313..1471f4982d1 100644 --- a/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/TutorialsApp-test.tsx +++ b/server/sonar-web/src/main/js/apps/tutorials/components/__tests__/TutorialsApp-test.tsx @@ -25,9 +25,7 @@ import { mockComponent } from '../../../../helpers/mocks/component'; import { mockCurrentUser, mockLoggedInUser } from '../../../../helpers/testMocks'; import { TutorialsApp, TutorialsAppProps } from '../TutorialsApp'; -jest.mock('../../../../helpers/handleRequiredAuthentication', () => ({ - default: jest.fn() -})); +jest.mock('../../../../helpers/handleRequiredAuthentication', () => jest.fn()); it('should render correctly', () => { expect(shallowRender()).toMatchSnapshot(); diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/PasswordForm-test.tsx b/server/sonar-web/src/main/js/apps/users/components/__tests__/PasswordForm-test.tsx index 302f706a361..a0341732919 100644 --- a/server/sonar-web/src/main/js/apps/users/components/__tests__/PasswordForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/PasswordForm-test.tsx @@ -19,9 +19,9 @@ */ import { shallow } from 'enzyme'; import * as React from 'react'; +import { changePassword } from '../../../../api/users'; import { mockUser } from '../../../../helpers/testMocks'; import PasswordForm from '../PasswordForm'; -import { changePassword } from '../../../../api/users'; const password = 'new password asdf'; diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Action.tsx b/server/sonar-web/src/main/js/apps/web-api/components/Action.tsx index 5bcc98ade25..cda482e9f61 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Action.tsx +++ b/server/sonar-web/src/main/js/apps/web-api/components/Action.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import LinkIcon from '../../../components/icons/LinkIcon'; diff --git a/server/sonar-web/src/main/js/apps/web-api/components/Menu.tsx b/server/sonar-web/src/main/js/apps/web-api/components/Menu.tsx index 80675908844..c39bf9b2eb1 100644 --- a/server/sonar-web/src/main/js/apps/web-api/components/Menu.tsx +++ b/server/sonar-web/src/main/js/apps/web-api/components/Menu.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import { actionsFilter, isDomainPathActive, Query, serializeQuery } from '../utils'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx index 95172b76ee5..2ea560e1937 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerHeader.tsx @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { stringify } from 'querystring'; import * as React from 'react'; import { Link } from 'react-router'; import { ButtonIcon } from '../../components/controls/buttons'; @@ -126,10 +125,10 @@ export default class SourceViewerHeader extends React.PureComponent ({ - default: jest.fn().mockRejectedValue({}) -})); +jest.mock('../helpers/loadIssues', () => jest.fn().mockRejectedValue({})); jest.mock('../../../api/components', () => ({ getComponentForSourceViewer: jest.fn().mockRejectedValue(''), diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/Line.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/Line.tsx index 8d7deed7708..58b835d88c8 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/Line.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/Line.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { times } from 'lodash'; import * as React from 'react'; import { BranchLike } from '../../../types/branch-like'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/LineCode.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/LineCode.tsx index 2ddac8a3c7e..bcf53776df9 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/LineCode.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/LineCode.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { BranchLike } from '../../../types/branch-like'; import LocationIndex from '../../common/LocationIndex'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/LineDuplicationBlock.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/LineDuplicationBlock.tsx index abaeff59dc9..225edce276a 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/LineDuplicationBlock.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/LineDuplicationBlock.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { DropdownOverlay } from '../../../components/controls/Dropdown'; import Toggler from '../../../components/controls/Toggler'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/LineIssuesIndicator.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/LineIssuesIndicator.tsx index 63424aa667b..91e1191eedb 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/LineIssuesIndicator.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/LineIssuesIndicator.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { uniq } from 'lodash'; import * as React from 'react'; import Tooltip from '../../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/SCMPopup.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/SCMPopup.tsx index 08b523df621..b9a23093708 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/SCMPopup.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/SCMPopup.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../../helpers/l10n'; import DateFormatter from '../../intl/DateFormatter'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineCoverage-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineCoverage-test.tsx index b1868569b91..b9294b57629 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineCoverage-test.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineCoverage-test.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { LineCoverage, LineCoverageProps } from '../LineCoverage'; it('should render correctly', () => { diff --git a/server/sonar-web/src/main/js/components/activity-graph/GraphsLegendItem.tsx b/server/sonar-web/src/main/js/components/activity-graph/GraphsLegendItem.tsx index 90a3c46c77f..0f18fb4daad 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/GraphsLegendItem.tsx +++ b/server/sonar-web/src/main/js/components/activity-graph/GraphsLegendItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ClearButton } from '../../components/controls/buttons'; import AlertWarnIcon from '../../components/icons/AlertWarnIcon'; diff --git a/server/sonar-web/src/main/js/components/activity-graph/__tests__/utils-test.ts b/server/sonar-web/src/main/js/components/activity-graph/__tests__/utils-test.ts index 2b1eeca21b6..9c4ee25246c 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/__tests__/utils-test.ts +++ b/server/sonar-web/src/main/js/components/activity-graph/__tests__/utils-test.ts @@ -23,13 +23,17 @@ import { MetricKey } from '../../../types/metrics'; import { GraphType, Serie } from '../../../types/project-activity'; import * as utils from '../utils'; -jest.mock('date-fns/start_of_day', () => - jest.fn(date => { - const startDay = new Date(date); - startDay.setUTCHours(0, 0, 0, 0); - return startDay; - }) -); +jest.mock('date-fns', () => { + const actual = jest.requireActual('date-fns'); + return { + ...actual, + startOfDay: jest.fn(date => { + const startDay = new Date(date); + startDay.setUTCHours(0, 0, 0, 0); + return startDay; + }) + }; +}); const HISTORY = [ { diff --git a/server/sonar-web/src/main/js/components/charts/AdvancedTimeline.tsx b/server/sonar-web/src/main/js/components/charts/AdvancedTimeline.tsx index 31430bf4599..86afbce4763 100644 --- a/server/sonar-web/src/main/js/components/charts/AdvancedTimeline.tsx +++ b/server/sonar-web/src/main/js/components/charts/AdvancedTimeline.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { bisector, extent, max } from 'd3-array'; import { scaleLinear, scalePoint, scaleTime, ScaleTime } from 'd3-scale'; import { area, curveBasis, line as d3Line } from 'd3-shape'; diff --git a/server/sonar-web/src/main/js/components/charts/BubbleChart.tsx b/server/sonar-web/src/main/js/components/charts/BubbleChart.tsx index f71f476a50a..dd500169f06 100644 --- a/server/sonar-web/src/main/js/components/charts/BubbleChart.tsx +++ b/server/sonar-web/src/main/js/components/charts/BubbleChart.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { max, min } from 'd3-array'; import { scaleLinear, ScaleLinear } from 'd3-scale'; import { event, select } from 'd3-selection'; diff --git a/server/sonar-web/src/main/js/components/charts/ColorBoxLegend.tsx b/server/sonar-web/src/main/js/components/charts/ColorBoxLegend.tsx index 8dc53e8e0dd..bb21c0d0728 100644 --- a/server/sonar-web/src/main/js/components/charts/ColorBoxLegend.tsx +++ b/server/sonar-web/src/main/js/components/charts/ColorBoxLegend.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { ScaleLinear, ScaleOrdinal } from 'd3-scale'; import * as React from 'react'; import { formatMeasure } from '../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/components/charts/ColorRatingsLegend.tsx b/server/sonar-web/src/main/js/components/charts/ColorRatingsLegend.tsx index b51b8b3e9b0..cf68a608af5 100644 --- a/server/sonar-web/src/main/js/components/charts/ColorRatingsLegend.tsx +++ b/server/sonar-web/src/main/js/components/charts/ColorRatingsLegend.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ButtonLink } from '../../components/controls/buttons'; import Tooltip from '../../components/controls/Tooltip'; diff --git a/server/sonar-web/src/main/js/components/charts/TreeMapRect.tsx b/server/sonar-web/src/main/js/components/charts/TreeMapRect.tsx index 9a2f86e7af9..6b446dc2655 100644 --- a/server/sonar-web/src/main/js/components/charts/TreeMapRect.tsx +++ b/server/sonar-web/src/main/js/components/charts/TreeMapRect.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { scaleLinear } from 'd3-scale'; import * as React from 'react'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/components/charts/ZoomTimeLine.tsx b/server/sonar-web/src/main/js/components/charts/ZoomTimeLine.tsx index 7caee5b3aec..41542eda4bf 100644 --- a/server/sonar-web/src/main/js/components/charts/ZoomTimeLine.tsx +++ b/server/sonar-web/src/main/js/components/charts/ZoomTimeLine.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { extent, max } from 'd3-array'; import { scaleLinear, scalePoint, scaleTime, ScaleTime } from 'd3-scale'; import { area, curveBasis, line as d3Line } from 'd3-shape'; diff --git a/server/sonar-web/src/main/js/components/common/CodeSnippet.tsx b/server/sonar-web/src/main/js/components/common/CodeSnippet.tsx index 7a48b5929c2..910cbbd877a 100644 --- a/server/sonar-web/src/main/js/components/common/CodeSnippet.tsx +++ b/server/sonar-web/src/main/js/components/common/CodeSnippet.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ClipboardButton } from '../../components/controls/clipboard'; import { isDefined } from '../../helpers/types'; diff --git a/server/sonar-web/src/main/js/components/common/FormattingTips.tsx b/server/sonar-web/src/main/js/components/common/FormattingTips.tsx index 6753e640435..17bd9460f31 100644 --- a/server/sonar-web/src/main/js/components/common/FormattingTips.tsx +++ b/server/sonar-web/src/main/js/components/common/FormattingTips.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import { getFormattingHelpUrl } from '../../helpers/urls'; diff --git a/server/sonar-web/src/main/js/components/common/LocationIndex.tsx b/server/sonar-web/src/main/js/components/common/LocationIndex.tsx index 76ac1c19786..7e106cc3307 100644 --- a/server/sonar-web/src/main/js/components/common/LocationIndex.tsx +++ b/server/sonar-web/src/main/js/components/common/LocationIndex.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './LocationIndex.css'; diff --git a/server/sonar-web/src/main/js/components/common/LocationMessage.tsx b/server/sonar-web/src/main/js/components/common/LocationMessage.tsx index 162cab3d973..918e5ad53be 100644 --- a/server/sonar-web/src/main/js/components/common/LocationMessage.tsx +++ b/server/sonar-web/src/main/js/components/common/LocationMessage.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './LocationMessage.css'; diff --git a/server/sonar-web/src/main/js/components/common/MeasuresLink.tsx b/server/sonar-web/src/main/js/components/common/MeasuresLink.tsx index 6b5cba0ba25..5ac47122d41 100644 --- a/server/sonar-web/src/main/js/components/common/MeasuresLink.tsx +++ b/server/sonar-web/src/main/js/components/common/MeasuresLink.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Link } from 'react-router'; import MeasuresIcon from '../../components/icons/MeasuresIcon'; diff --git a/server/sonar-web/src/main/js/components/common/MultiSelect.tsx b/server/sonar-web/src/main/js/components/common/MultiSelect.tsx index b5f7e396bab..6f0aab023c8 100644 --- a/server/sonar-web/src/main/js/components/common/MultiSelect.tsx +++ b/server/sonar-web/src/main/js/components/common/MultiSelect.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { difference } from 'lodash'; import * as React from 'react'; import SearchBox from '../../components/controls/SearchBox'; diff --git a/server/sonar-web/src/main/js/components/common/MultiSelectOption.tsx b/server/sonar-web/src/main/js/components/common/MultiSelectOption.tsx index 03b55c64491..7a6ff9802ee 100644 --- a/server/sonar-web/src/main/js/components/common/MultiSelectOption.tsx +++ b/server/sonar-web/src/main/js/components/common/MultiSelectOption.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Checkbox from '../../components/controls/Checkbox'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/common/PageCounter.tsx b/server/sonar-web/src/main/js/components/common/PageCounter.tsx index 9eef4e4c03e..f09b9cf2296 100644 --- a/server/sonar-web/src/main/js/components/common/PageCounter.tsx +++ b/server/sonar-web/src/main/js/components/common/PageCounter.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { formatMeasure } from '../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/components/common/PrivacyBadgeContainer.tsx b/server/sonar-web/src/main/js/components/common/PrivacyBadgeContainer.tsx index 1b8d1113d09..9515fc39afe 100644 --- a/server/sonar-web/src/main/js/components/common/PrivacyBadgeContainer.tsx +++ b/server/sonar-web/src/main/js/components/common/PrivacyBadgeContainer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Tooltip from '../../components/controls/Tooltip'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/common/ProjectKeyInput.tsx b/server/sonar-web/src/main/js/components/common/ProjectKeyInput.tsx index 0218d9d1086..c4c41e062bd 100644 --- a/server/sonar-web/src/main/js/components/common/ProjectKeyInput.tsx +++ b/server/sonar-web/src/main/js/components/common/ProjectKeyInput.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import ValidationInput from '../../components/controls/ValidationInput'; import { PROJECT_KEY_MAX_LEN } from '../../helpers/constants'; diff --git a/server/sonar-web/src/main/js/components/common/RestartButton.tsx b/server/sonar-web/src/main/js/components/common/RestartButton.tsx index 74256cb6acf..612d4caf6d5 100644 --- a/server/sonar-web/src/main/js/components/common/RestartButton.tsx +++ b/server/sonar-web/src/main/js/components/common/RestartButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { restart } from '../../api/system'; import { Button } from '../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/components/common/SelectList.tsx b/server/sonar-web/src/main/js/components/common/SelectList.tsx index b2784e58b2d..e27ce103f2c 100644 --- a/server/sonar-web/src/main/js/components/common/SelectList.tsx +++ b/server/sonar-web/src/main/js/components/common/SelectList.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import classNames from 'classnames'; -import * as key from 'keymaster'; +import key from 'keymaster'; import { uniqueId } from 'lodash'; import * as React from 'react'; import SelectListItem from './SelectListItem'; @@ -71,11 +71,14 @@ export default class SelectList extends React.PureComponent { // sometimes there is a *focused* search field next to the SelectList component // we need to allow shortcuts in this case, but only for the used keys - (key as any).filter = (event: KeyboardEvent & { target: HTMLElement }) => { - const { tagName } = event.target || event.srcElement; - const isInput = tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA'; - return [13, 38, 40].includes(event.keyCode) || !isInput; - }; + + Object.assign(key, { + filter: (event: KeyboardEvent & { target: HTMLElement }) => { + const { tagName } = event.target || event.srcElement; + const isInput = tagName === 'INPUT' || tagName === 'SELECT' || tagName === 'TEXTAREA'; + return [13, 38, 40].includes(event.keyCode) || !isInput; + } + }); key('down', this.currentKeyScope, () => { this.setState(this.selectNextElement); @@ -102,7 +105,7 @@ export default class SelectList extends React.PureComponent { if (this.currentKeyScope) { key.deleteScope(this.currentKeyScope); } - (key as any).filter = this.previousFilter; + Object.assign(key, { filter: this.previousFilter }); }; handleSelect = (item: string) => { diff --git a/server/sonar-web/src/main/js/components/common/StatusIndicator.tsx b/server/sonar-web/src/main/js/components/common/StatusIndicator.tsx index 34d90f14fc2..ee31b8c49a8 100644 --- a/server/sonar-web/src/main/js/components/common/StatusIndicator.tsx +++ b/server/sonar-web/src/main/js/components/common/StatusIndicator.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import './StatusIndicator.css'; diff --git a/server/sonar-web/src/main/js/components/common/VisibilitySelector.tsx b/server/sonar-web/src/main/js/components/common/VisibilitySelector.tsx index 2597eff618b..1432f8df59e 100644 --- a/server/sonar-web/src/main/js/components/common/VisibilitySelector.tsx +++ b/server/sonar-web/src/main/js/components/common/VisibilitySelector.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Radio from '../../components/controls/Radio'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx index 0f161597a07..f61c87eef7a 100644 --- a/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx +++ b/server/sonar-web/src/main/js/components/controls/ActionsDropdown.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { LocationDescriptor } from 'history'; import * as React from 'react'; import { Link } from 'react-router'; diff --git a/server/sonar-web/src/main/js/components/controls/BackButton.tsx b/server/sonar-web/src/main/js/components/controls/BackButton.tsx index 3a20870d89d..34d0bec4092 100644 --- a/server/sonar-web/src/main/js/components/controls/BackButton.tsx +++ b/server/sonar-web/src/main/js/components/controls/BackButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/BoxedGroupAccordion.tsx b/server/sonar-web/src/main/js/components/controls/BoxedGroupAccordion.tsx index 619b59ca330..b450d1a0598 100644 --- a/server/sonar-web/src/main/js/components/controls/BoxedGroupAccordion.tsx +++ b/server/sonar-web/src/main/js/components/controls/BoxedGroupAccordion.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import OpenCloseIcon from '../icons/OpenCloseIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/Checkbox.tsx b/server/sonar-web/src/main/js/components/controls/Checkbox.tsx index 5fb87ddbf03..ecae3dd9e66 100644 --- a/server/sonar-web/src/main/js/components/controls/Checkbox.tsx +++ b/server/sonar-web/src/main/js/components/controls/Checkbox.tsx @@ -21,7 +21,7 @@ /* eslint-disable jsx-a11y/anchor-has-content */ /* eslint-disable jsx-a11y/control-has-associated-label */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import DeferredSpinner from '../ui/DeferredSpinner'; import './Checkbox.css'; diff --git a/server/sonar-web/src/main/js/components/controls/DateInput.tsx b/server/sonar-web/src/main/js/components/controls/DateInput.tsx index 0c5dc5421f4..b484e952e47 100644 --- a/server/sonar-web/src/main/js/components/controls/DateInput.tsx +++ b/server/sonar-web/src/main/js/components/controls/DateInput.tsx @@ -17,11 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; -import * as addMonths from 'date-fns/add_months'; -import * as setMonth from 'date-fns/set_month'; -import * as setYear from 'date-fns/set_year'; -import * as subMonths from 'date-fns/sub_months'; +import classNames from 'classnames'; +import { addMonths, setMonth, setYear, subMonths } from 'date-fns'; import { range } from 'lodash'; import * as React from 'react'; import { DayModifiers, Modifier, Modifiers } from 'react-day-picker'; diff --git a/server/sonar-web/src/main/js/components/controls/DateRangeInput.tsx b/server/sonar-web/src/main/js/components/controls/DateRangeInput.tsx index fae75f672ce..8dcd5c22a27 100644 --- a/server/sonar-web/src/main/js/components/controls/DateRangeInput.tsx +++ b/server/sonar-web/src/main/js/components/controls/DateRangeInput.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { max, min } from 'date-fns'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/Dropdown.tsx b/server/sonar-web/src/main/js/components/controls/Dropdown.tsx index 04f2b3c8208..d39c98dcf03 100644 --- a/server/sonar-web/src/main/js/components/controls/Dropdown.tsx +++ b/server/sonar-web/src/main/js/components/controls/Dropdown.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { Popup, PopupPlacement } from '../ui/popups'; import './Dropdown.css'; diff --git a/server/sonar-web/src/main/js/components/controls/FavoriteButton.tsx b/server/sonar-web/src/main/js/components/controls/FavoriteButton.tsx index e3727dd338a..a989c816f23 100644 --- a/server/sonar-web/src/main/js/components/controls/FavoriteButton.tsx +++ b/server/sonar-web/src/main/js/components/controls/FavoriteButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import FavoriteIcon from '../icons/FavoriteIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/HelpTooltip.tsx b/server/sonar-web/src/main/js/components/controls/HelpTooltip.tsx index cc927c4075c..c3d51950625 100644 --- a/server/sonar-web/src/main/js/components/controls/HelpTooltip.tsx +++ b/server/sonar-web/src/main/js/components/controls/HelpTooltip.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import HelpIcon from '../icons/HelpIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/HomePageSelect.tsx b/server/sonar-web/src/main/js/components/controls/HomePageSelect.tsx index a0aa83571d2..02b8f33ef44 100644 --- a/server/sonar-web/src/main/js/components/controls/HomePageSelect.tsx +++ b/server/sonar-web/src/main/js/components/controls/HomePageSelect.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { connect } from 'react-redux'; import { ButtonLink } from '../../components/controls/buttons'; diff --git a/server/sonar-web/src/main/js/components/controls/IdentityProviderLink.tsx b/server/sonar-web/src/main/js/components/controls/IdentityProviderLink.tsx index 383a344b6ce..2eb1be5c366 100644 --- a/server/sonar-web/src/main/js/components/controls/IdentityProviderLink.tsx +++ b/server/sonar-web/src/main/js/components/controls/IdentityProviderLink.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { isDarkColor } from '../../helpers/colors'; import { getBaseUrl } from '../../helpers/system'; diff --git a/server/sonar-web/src/main/js/components/controls/InputValidationField.tsx b/server/sonar-web/src/main/js/components/controls/InputValidationField.tsx index 0e844b113d2..e9327ec7990 100644 --- a/server/sonar-web/src/main/js/components/controls/InputValidationField.tsx +++ b/server/sonar-web/src/main/js/components/controls/InputValidationField.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import ModalValidationField from './ModalValidationField'; diff --git a/server/sonar-web/src/main/js/components/controls/ListFooter.tsx b/server/sonar-web/src/main/js/components/controls/ListFooter.tsx index 8617c126d65..f0099201389 100644 --- a/server/sonar-web/src/main/js/components/controls/ListFooter.tsx +++ b/server/sonar-web/src/main/js/components/controls/ListFooter.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate, translateWithParameters } from '../../helpers/l10n'; import { formatMeasure } from '../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/components/controls/Modal.tsx b/server/sonar-web/src/main/js/components/controls/Modal.tsx index b7181e25e1f..d16c8d3d26e 100644 --- a/server/sonar-web/src/main/js/components/controls/Modal.tsx +++ b/server/sonar-web/src/main/js/components/controls/Modal.tsx @@ -17,9 +17,9 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; -import * as ReactModal from 'react-modal'; +import ReactModal from 'react-modal'; import { getReactDomContainerSelector } from '../../helpers/system'; import './Modal.css'; diff --git a/server/sonar-web/src/main/js/components/controls/ModalValidationField.tsx b/server/sonar-web/src/main/js/components/controls/ModalValidationField.tsx index 2aa649de238..ce4d45806e6 100644 --- a/server/sonar-web/src/main/js/components/controls/ModalValidationField.tsx +++ b/server/sonar-web/src/main/js/components/controls/ModalValidationField.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import AlertErrorIcon from '../icons/AlertErrorIcon'; import AlertSuccessIcon from '../icons/AlertSuccessIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/Radio.tsx b/server/sonar-web/src/main/js/components/controls/Radio.tsx index c664c6f2499..94960c9ce1f 100644 --- a/server/sonar-web/src/main/js/components/controls/Radio.tsx +++ b/server/sonar-web/src/main/js/components/controls/Radio.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './Radio.css'; diff --git a/server/sonar-web/src/main/js/components/controls/RadioCard.tsx b/server/sonar-web/src/main/js/components/controls/RadioCard.tsx index 223e597e6d9..2ce29ec211b 100644 --- a/server/sonar-web/src/main/js/components/controls/RadioCard.tsx +++ b/server/sonar-web/src/main/js/components/controls/RadioCard.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/RadioToggle.tsx b/server/sonar-web/src/main/js/components/controls/RadioToggle.tsx index 0af42bbca83..348f3582509 100644 --- a/server/sonar-web/src/main/js/components/controls/RadioToggle.tsx +++ b/server/sonar-web/src/main/js/components/controls/RadioToggle.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './RadioToggle.css'; import Tooltip from './Tooltip'; diff --git a/server/sonar-web/src/main/js/components/controls/ReloadButton.tsx b/server/sonar-web/src/main/js/components/controls/ReloadButton.tsx index 134f43303dc..5df0a90dd5c 100644 --- a/server/sonar-web/src/main/js/components/controls/ReloadButton.tsx +++ b/server/sonar-web/src/main/js/components/controls/ReloadButton.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/SearchBox.tsx b/server/sonar-web/src/main/js/components/controls/SearchBox.tsx index 476b8f93b7e..70c97cb3b12 100644 --- a/server/sonar-web/src/main/js/components/controls/SearchBox.tsx +++ b/server/sonar-web/src/main/js/components/controls/SearchBox.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { Cancelable, debounce } from 'lodash'; import * as React from 'react'; import { translate, translateWithParameters } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx b/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx index 160317b1951..288f23d5d9d 100644 --- a/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx +++ b/server/sonar-web/src/main/js/components/controls/SelectListListContainer.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import DeferredSpinner from '../ui/DeferredSpinner'; diff --git a/server/sonar-web/src/main/js/components/controls/SelectListListElement.tsx b/server/sonar-web/src/main/js/components/controls/SelectListListElement.tsx index defd493f344..d3a0912c1c2 100644 --- a/server/sonar-web/src/main/js/components/controls/SelectListListElement.tsx +++ b/server/sonar-web/src/main/js/components/controls/SelectListListElement.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Checkbox from './Checkbox'; diff --git a/server/sonar-web/src/main/js/components/controls/Tabs.tsx b/server/sonar-web/src/main/js/components/controls/Tabs.tsx index 6c25ae0c21f..5ee905af806 100644 --- a/server/sonar-web/src/main/js/components/controls/Tabs.tsx +++ b/server/sonar-web/src/main/js/components/controls/Tabs.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './Tabs.css'; diff --git a/server/sonar-web/src/main/js/components/controls/Toggle.tsx b/server/sonar-web/src/main/js/components/controls/Toggle.tsx index 52448e8b074..db8b46fef5a 100644 --- a/server/sonar-web/src/main/js/components/controls/Toggle.tsx +++ b/server/sonar-web/src/main/js/components/controls/Toggle.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import CheckIcon from '../icons/CheckIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/ComponentReportActions-test.tsx b/server/sonar-web/src/main/js/components/controls/__tests__/ComponentReportActions-test.tsx index 748f5e649be..c30b3707224 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/ComponentReportActions-test.tsx +++ b/server/sonar-web/src/main/js/components/controls/__tests__/ComponentReportActions-test.tsx @@ -50,7 +50,7 @@ jest.mock('../../../helpers/system', () => ({ getBaseUrl: jest.fn().mockReturnValue('baseUrl') })); -jest.mock('../../../app/utils/addGlobalSuccessMessage', () => ({ default: jest.fn() })); +jest.mock('../../../app/utils/addGlobalSuccessMessage', () => jest.fn()); beforeEach(jest.clearAllMocks); diff --git a/server/sonar-web/src/main/js/components/controls/__tests__/DateInput-test.tsx b/server/sonar-web/src/main/js/components/controls/__tests__/DateInput-test.tsx index 6cab7176e1c..7e6a29afdf0 100644 --- a/server/sonar-web/src/main/js/components/controls/__tests__/DateInput-test.tsx +++ b/server/sonar-web/src/main/js/components/controls/__tests__/DateInput-test.tsx @@ -17,11 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as addDays from 'date-fns/add_days'; -import * as setMonth from 'date-fns/set_month'; -import * as setYear from 'date-fns/set_year'; -import * as subDays from 'date-fns/sub_days'; -import * as subMonths from 'date-fns/sub_months'; +import { addDays, setMonth, setYear, subDays, subMonths } from 'date-fns'; import { shallow } from 'enzyme'; import * as React from 'react'; import { parseDate } from '../../../helpers/dates'; diff --git a/server/sonar-web/src/main/js/components/controls/buttons.tsx b/server/sonar-web/src/main/js/components/controls/buttons.tsx index ff4bd8acdc0..d2f39a0a7fd 100644 --- a/server/sonar-web/src/main/js/components/controls/buttons.tsx +++ b/server/sonar-web/src/main/js/components/controls/buttons.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import ChevronRightIcon from '../icons/ChevronRightIcon'; diff --git a/server/sonar-web/src/main/js/components/controls/clipboard.tsx b/server/sonar-web/src/main/js/components/controls/clipboard.tsx index 6d91192275c..a0ff7475ed2 100644 --- a/server/sonar-web/src/main/js/components/controls/clipboard.tsx +++ b/server/sonar-web/src/main/js/components/controls/clipboard.tsx @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; -import * as Clipboard from 'clipboard'; +import classNames from 'classnames'; +import Clipboard from 'clipboard'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import CopyIcon from '../icons/CopyIcon'; diff --git a/server/sonar-web/src/main/js/components/docs/DocMarkdownBlock.tsx b/server/sonar-web/src/main/js/components/docs/DocMarkdownBlock.tsx index 1fe7220a0e8..9d98c570e30 100644 --- a/server/sonar-web/src/main/js/components/docs/DocMarkdownBlock.tsx +++ b/server/sonar-web/src/main/js/components/docs/DocMarkdownBlock.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import rehypeRaw from 'rehype-raw'; import rehypeReact from 'rehype-react'; diff --git a/server/sonar-web/src/main/js/components/docs/DocToc.tsx b/server/sonar-web/src/main/js/components/docs/DocToc.tsx index edcc71da2ef..a807931c06b 100644 --- a/server/sonar-web/src/main/js/components/docs/DocToc.tsx +++ b/server/sonar-web/src/main/js/components/docs/DocToc.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { debounce, memoize } from 'lodash'; import * as React from 'react'; import { findDOMNode } from 'react-dom'; diff --git a/server/sonar-web/src/main/js/components/docs/__tests__/DocMarkdownBlock-test.tsx b/server/sonar-web/src/main/js/components/docs/__tests__/DocMarkdownBlock-test.tsx index eb1c3e0208a..8e1e9f9ffaa 100644 --- a/server/sonar-web/src/main/js/components/docs/__tests__/DocMarkdownBlock-test.tsx +++ b/server/sonar-web/src/main/js/components/docs/__tests__/DocMarkdownBlock-test.tsx @@ -44,11 +44,11 @@ Risus placerat, efficitur enim ut, pellentesque sem. Mauris non lorem auctor, co `; // mock `remark` & co to work around the issue with cjs imports -jest.mock('remark', () => ({ default: jest.requireActual('remark') })); -jest.mock('remark-rehype', () => ({ default: jest.requireActual('remark-rehype') })); -jest.mock('rehype-raw', () => ({ default: jest.requireActual('rehype-raw') })); -jest.mock('rehype-react', () => ({ default: jest.requireActual('rehype-react') })); -jest.mock('rehype-slug', () => ({ default: jest.requireActual('rehype-slug') })); +jest.mock('remark', () => jest.requireActual('remark')); +jest.mock('remark-rehype', () => jest.requireActual('remark-rehype')); +jest.mock('rehype-raw', () => jest.requireActual('rehype-raw')); +jest.mock('rehype-react', () => jest.requireActual('rehype-react')); +jest.mock('rehype-slug', () => jest.requireActual('rehype-slug')); jest.mock('../../../helpers/scrolling', () => ({ scrollToElement: jest.fn() diff --git a/server/sonar-web/src/main/js/components/docs/__tests__/DocToc-test.tsx b/server/sonar-web/src/main/js/components/docs/__tests__/DocToc-test.tsx index 78838e2d971..3f68a39d23a 100644 --- a/server/sonar-web/src/main/js/components/docs/__tests__/DocToc-test.tsx +++ b/server/sonar-web/src/main/js/components/docs/__tests__/DocToc-test.tsx @@ -46,12 +46,12 @@ Risus placerat, efficitur enim ut, pellentesque sem. Mauris non lorem auctor, co jest.mock('remark', () => { const remark = jest.requireActual('remark'); - return { default: remark }; + return remark; }); jest.mock('remark-react', () => { const remarkReact = jest.requireActual('remark-react'); - return { default: remarkReact }; + return remarkReact; }); jest.mock('lodash', () => { diff --git a/server/sonar-web/src/main/js/components/facet/FacetBox.tsx b/server/sonar-web/src/main/js/components/facet/FacetBox.tsx index 381fac3d3fc..5d8189af4a1 100644 --- a/server/sonar-web/src/main/js/components/facet/FacetBox.tsx +++ b/server/sonar-web/src/main/js/components/facet/FacetBox.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; interface Props { diff --git a/server/sonar-web/src/main/js/components/facet/FacetItem.tsx b/server/sonar-web/src/main/js/components/facet/FacetItem.tsx index 3429ffb1f18..cd67d180e03 100644 --- a/server/sonar-web/src/main/js/components/facet/FacetItem.tsx +++ b/server/sonar-web/src/main/js/components/facet/FacetItem.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; export interface Props { diff --git a/server/sonar-web/src/main/js/components/facet/ListStyleFacet.tsx b/server/sonar-web/src/main/js/components/facet/ListStyleFacet.tsx index 822e5964faa..bd4933f3ab6 100644 --- a/server/sonar-web/src/main/js/components/facet/ListStyleFacet.tsx +++ b/server/sonar-web/src/main/js/components/facet/ListStyleFacet.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { sortBy, without } from 'lodash'; import * as React from 'react'; import ListFooter from '../../components/controls/ListFooter'; diff --git a/server/sonar-web/src/main/js/components/hoc/__tests__/whenLoggedIn-test.tsx b/server/sonar-web/src/main/js/components/hoc/__tests__/whenLoggedIn-test.tsx index cdf4910523f..051f4a4932d 100644 --- a/server/sonar-web/src/main/js/components/hoc/__tests__/whenLoggedIn-test.tsx +++ b/server/sonar-web/src/main/js/components/hoc/__tests__/whenLoggedIn-test.tsx @@ -23,9 +23,7 @@ import handleRequiredAuthentication from '../../../helpers/handleRequiredAuthent import { mockStore } from '../../../helpers/testMocks'; import { whenLoggedIn } from '../whenLoggedIn'; -jest.mock('../../../helpers/handleRequiredAuthentication', () => ({ - default: jest.fn() -})); +jest.mock('../../../helpers/handleRequiredAuthentication', () => jest.fn()); class X extends React.Component { render() { diff --git a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx index 531ea3a5962..9288e336bbb 100644 --- a/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx +++ b/server/sonar-web/src/main/js/components/hoc/withKeyboardNavigation.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import * as React from 'react'; import PageActions from '../../components/ui/PageActions'; import { getWrappedDisplayName } from './utils'; diff --git a/server/sonar-web/src/main/js/components/icons/ClockIcon.tsx b/server/sonar-web/src/main/js/components/icons/ClockIcon.tsx index c777a4a8e60..c569021f3b6 100644 --- a/server/sonar-web/src/main/js/components/icons/ClockIcon.tsx +++ b/server/sonar-web/src/main/js/components/icons/ClockIcon.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Icon, { IconProps } from './Icon'; diff --git a/server/sonar-web/src/main/js/components/icons/FavoriteIcon.tsx b/server/sonar-web/src/main/js/components/icons/FavoriteIcon.tsx index 217601d5cb7..6a62dc226f1 100644 --- a/server/sonar-web/src/main/js/components/icons/FavoriteIcon.tsx +++ b/server/sonar-web/src/main/js/components/icons/FavoriteIcon.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import Icon, { IconProps } from './Icon'; diff --git a/server/sonar-web/src/main/js/components/icons/HomeIcon.tsx b/server/sonar-web/src/main/js/components/icons/HomeIcon.tsx index 47a91692e76..6ff7ccbc173 100644 --- a/server/sonar-web/src/main/js/components/icons/HomeIcon.tsx +++ b/server/sonar-web/src/main/js/components/icons/HomeIcon.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors } from '../../app/theme'; import Icon, { IconProps } from './Icon'; diff --git a/server/sonar-web/src/main/js/components/issue/Issue.tsx b/server/sonar-web/src/main/js/components/issue/Issue.tsx index 654583a578f..0b965122f28 100644 --- a/server/sonar-web/src/main/js/components/issue/Issue.tsx +++ b/server/sonar-web/src/main/js/components/issue/Issue.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as key from 'keymaster'; +import key from 'keymaster'; import * as React from 'react'; import { setIssueAssignee } from '../../api/issues'; import { BranchLike } from '../../types/branch-like'; diff --git a/server/sonar-web/src/main/js/components/issue/__tests__/actions-test.ts b/server/sonar-web/src/main/js/components/issue/__tests__/actions-test.ts index 371fd2c35fd..05b97a32c9c 100644 --- a/server/sonar-web/src/main/js/components/issue/__tests__/actions-test.ts +++ b/server/sonar-web/src/main/js/components/issue/__tests__/actions-test.ts @@ -23,9 +23,7 @@ import { mockComponent } from '../../../helpers/mocks/component'; import { mockIssue } from '../../../helpers/testMocks'; import { updateIssue } from '../actions'; -jest.mock('../../../app/utils/throwGlobalError', () => ({ - default: jest.fn() -})); +jest.mock('../../../app/utils/throwGlobalError', () => jest.fn()); jest.mock('../../../helpers/issues', () => ({ parseIssueFromResponse: jest.fn() diff --git a/server/sonar-web/src/main/js/components/tags/TagsList.tsx b/server/sonar-web/src/main/js/components/tags/TagsList.tsx index e6d80810f39..5e43af29f56 100644 --- a/server/sonar-web/src/main/js/components/tags/TagsList.tsx +++ b/server/sonar-web/src/main/js/components/tags/TagsList.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import DropdownIcon from '../../components/icons/DropdownIcon'; import TagsIcon from '../../components/icons/TagsIcon'; diff --git a/server/sonar-web/src/main/js/components/tutorials/components/Step.tsx b/server/sonar-web/src/main/js/components/tutorials/components/Step.tsx index af75e5bd92e..bb8c0d3bb53 100644 --- a/server/sonar-web/src/main/js/components/tutorials/components/Step.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/components/Step.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* eslint-disable jsx-a11y/no-static-element-interactions, jsx-a11y/no-noninteractive-tabindex */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './Step.css'; diff --git a/server/sonar-web/src/main/js/components/ui/Alert.tsx b/server/sonar-web/src/main/js/components/ui/Alert.tsx index 0a86b415a9c..0c7f2435632 100644 --- a/server/sonar-web/src/main/js/components/ui/Alert.tsx +++ b/server/sonar-web/src/main/js/components/ui/Alert.tsx @@ -19,7 +19,7 @@ */ import { css } from '@emotion/core'; import styled from '@emotion/styled'; -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { colors, sizes } from '../../app/theme'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/ui/Avatar.tsx b/server/sonar-web/src/main/js/components/ui/Avatar.tsx index 274b99892c1..a97b1e1d353 100644 --- a/server/sonar-web/src/main/js/components/ui/Avatar.tsx +++ b/server/sonar-web/src/main/js/components/ui/Avatar.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { connect } from 'react-redux'; import GenericAvatar from '../../components/ui/GenericAvatar'; diff --git a/server/sonar-web/src/main/js/components/ui/ContextNavBar.tsx b/server/sonar-web/src/main/js/components/ui/ContextNavBar.tsx index e81fbf8bbce..aed94b24f76 100644 --- a/server/sonar-web/src/main/js/components/ui/ContextNavBar.tsx +++ b/server/sonar-web/src/main/js/components/ui/ContextNavBar.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './ContextNavBar.css'; import NavBar, { NavBarProps } from './NavBar'; diff --git a/server/sonar-web/src/main/js/components/ui/DeferredSpinner.tsx b/server/sonar-web/src/main/js/components/ui/DeferredSpinner.tsx index 7021917c0bc..83d5f9c2a41 100644 --- a/server/sonar-web/src/main/js/components/ui/DeferredSpinner.tsx +++ b/server/sonar-web/src/main/js/components/ui/DeferredSpinner.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './DeferredSpinner.css'; diff --git a/server/sonar-web/src/main/js/components/ui/DismissableAlert.tsx b/server/sonar-web/src/main/js/components/ui/DismissableAlert.tsx index 2f99e376f51..b6f5e08fb33 100644 --- a/server/sonar-web/src/main/js/components/ui/DismissableAlert.tsx +++ b/server/sonar-web/src/main/js/components/ui/DismissableAlert.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { ButtonIcon } from '../../components/controls/buttons'; import ClearIcon from '../../components/icons/ClearIcon'; diff --git a/server/sonar-web/src/main/js/components/ui/DuplicationsRating.tsx b/server/sonar-web/src/main/js/components/ui/DuplicationsRating.tsx index 1c1d2595e32..ff6943f5636 100644 --- a/server/sonar-web/src/main/js/components/ui/DuplicationsRating.tsx +++ b/server/sonar-web/src/main/js/components/ui/DuplicationsRating.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { inRange } from 'lodash'; import * as React from 'react'; import './DuplicationsRating.css'; diff --git a/server/sonar-web/src/main/js/components/ui/GenericAvatar.tsx b/server/sonar-web/src/main/js/components/ui/GenericAvatar.tsx index d9c78da675d..dc27eb68594 100644 --- a/server/sonar-web/src/main/js/components/ui/GenericAvatar.tsx +++ b/server/sonar-web/src/main/js/components/ui/GenericAvatar.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { getTextColor, stringToColor } from '../../helpers/colors'; diff --git a/server/sonar-web/src/main/js/components/ui/Level.tsx b/server/sonar-web/src/main/js/components/ui/Level.tsx index 5b5174470cc..2231bd2c221 100644 --- a/server/sonar-web/src/main/js/components/ui/Level.tsx +++ b/server/sonar-web/src/main/js/components/ui/Level.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { formatMeasure } from '../../helpers/measures'; import './Level.css'; diff --git a/server/sonar-web/src/main/js/components/ui/MandatoryFieldMarker.tsx b/server/sonar-web/src/main/js/components/ui/MandatoryFieldMarker.tsx index bedf016d2a6..db2c76c6cc6 100644 --- a/server/sonar-web/src/main/js/components/ui/MandatoryFieldMarker.tsx +++ b/server/sonar-web/src/main/js/components/ui/MandatoryFieldMarker.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/ui/MandatoryFieldsExplanation.tsx b/server/sonar-web/src/main/js/components/ui/MandatoryFieldsExplanation.tsx index 67ef7370bca..093073c0e71 100644 --- a/server/sonar-web/src/main/js/components/ui/MandatoryFieldsExplanation.tsx +++ b/server/sonar-web/src/main/js/components/ui/MandatoryFieldsExplanation.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { FormattedMessage } from 'react-intl'; import { translate } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/ui/NavBar.tsx b/server/sonar-web/src/main/js/components/ui/NavBar.tsx index 5f6de14ffaa..82f2ad47539 100644 --- a/server/sonar-web/src/main/js/components/ui/NavBar.tsx +++ b/server/sonar-web/src/main/js/components/ui/NavBar.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { throttle } from 'lodash'; import * as React from 'react'; import './NavBar.css'; diff --git a/server/sonar-web/src/main/js/components/ui/NavBarTabs.tsx b/server/sonar-web/src/main/js/components/ui/NavBarTabs.tsx index d10bb7b4446..2d61c1ab42b 100644 --- a/server/sonar-web/src/main/js/components/ui/NavBarTabs.tsx +++ b/server/sonar-web/src/main/js/components/ui/NavBarTabs.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import './NavBarTabs.css'; diff --git a/server/sonar-web/src/main/js/components/ui/NewsBox.tsx b/server/sonar-web/src/main/js/components/ui/NewsBox.tsx index 27626765848..d93194bdaff 100644 --- a/server/sonar-web/src/main/js/components/ui/NewsBox.tsx +++ b/server/sonar-web/src/main/js/components/ui/NewsBox.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate } from '../../helpers/l10n'; import { ClearButton } from '../controls/buttons'; diff --git a/server/sonar-web/src/main/js/components/ui/PageShortcutsTooltip.tsx b/server/sonar-web/src/main/js/components/ui/PageShortcutsTooltip.tsx index 00cffc0f4bf..9a3a38b80a4 100644 --- a/server/sonar-web/src/main/js/components/ui/PageShortcutsTooltip.tsx +++ b/server/sonar-web/src/main/js/components/ui/PageShortcutsTooltip.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import Tooltip from '../../components/controls/Tooltip'; import { translate, translateWithParameters } from '../../helpers/l10n'; diff --git a/server/sonar-web/src/main/js/components/ui/Rating.tsx b/server/sonar-web/src/main/js/components/ui/Rating.tsx index 91c661ffc97..4fe2b295f93 100644 --- a/server/sonar-web/src/main/js/components/ui/Rating.tsx +++ b/server/sonar-web/src/main/js/components/ui/Rating.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import * as React from 'react'; import { translate, translateWithParameters } from '../../helpers/l10n'; import { formatMeasure } from '../../helpers/measures'; diff --git a/server/sonar-web/src/main/js/components/ui/SizeRating.tsx b/server/sonar-web/src/main/js/components/ui/SizeRating.tsx index c6c71072fdb..614f9e7af7a 100644 --- a/server/sonar-web/src/main/js/components/ui/SizeRating.tsx +++ b/server/sonar-web/src/main/js/components/ui/SizeRating.tsx @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { inRange } from 'lodash'; import * as React from 'react'; import './SizeRating.css'; diff --git a/server/sonar-web/src/main/js/components/ui/__tests__/DismissableAlert-test.tsx b/server/sonar-web/src/main/js/components/ui/__tests__/DismissableAlert-test.tsx index 2dced3bd8b9..f7a77ebb46f 100644 --- a/server/sonar-web/src/main/js/components/ui/__tests__/DismissableAlert-test.tsx +++ b/server/sonar-web/src/main/js/components/ui/__tests__/DismissableAlert-test.tsx @@ -19,7 +19,7 @@ */ import { shallow } from 'enzyme'; -import * as React from 'react'; +import React from 'react'; import { ButtonIcon } from '../../../components/controls/buttons'; import { save } from '../../../helpers/storage'; import { click } from '../../../helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/components/ui/popups.tsx b/server/sonar-web/src/main/js/components/ui/popups.tsx index 5873d0f658f..881cc2a2469 100644 --- a/server/sonar-web/src/main/js/components/ui/popups.tsx +++ b/server/sonar-web/src/main/js/components/ui/popups.tsx @@ -20,7 +20,7 @@ /* eslint-disable prefer-destructuring */ -import * as classNames from 'classnames'; +import classNames from 'classnames'; import { throttle } from 'lodash'; import * as React from 'react'; import { createPortal, findDOMNode } from 'react-dom'; diff --git a/server/sonar-web/src/main/js/components/ui/update-center/MetaData.tsx b/server/sonar-web/src/main/js/components/ui/update-center/MetaData.tsx index b6918749d99..79e5759071d 100644 --- a/server/sonar-web/src/main/js/components/ui/update-center/MetaData.tsx +++ b/server/sonar-web/src/main/js/components/ui/update-center/MetaData.tsx @@ -18,10 +18,10 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as React from 'react'; +import { isSuccessStatus } from '../../../helpers/request'; import './MetaData.css'; import MetaDataVersions from './MetaDataVersions'; import { MetaDataInformation } from './update-center-metadata'; -import { isSuccessStatus } from '../../../helpers/request'; interface Props { updateCenterKey?: string; diff --git a/server/sonar-web/src/main/js/components/ui/update-center/__tests__/MetaData-test.tsx b/server/sonar-web/src/main/js/components/ui/update-center/__tests__/MetaData-test.tsx index e89307b350a..3f40982899c 100644 --- a/server/sonar-web/src/main/js/components/ui/update-center/__tests__/MetaData-test.tsx +++ b/server/sonar-web/src/main/js/components/ui/update-center/__tests__/MetaData-test.tsx @@ -19,11 +19,11 @@ */ import { shallow } from 'enzyme'; import * as React from 'react'; +import { HttpStatus } from '../../../../helpers/request'; import { waitAndUpdate } from '../../../../helpers/testUtils'; import MetaData from '../MetaData'; import { mockMetaDataInformation } from '../mocks/update-center-metadata'; import { MetaDataInformation } from '../update-center-metadata'; -import { HttpStatus } from '../../../../helpers/request'; beforeAll(() => { window.fetch = jest.fn(); diff --git a/server/sonar-web/src/main/js/helpers/__tests__/extensions-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/extensions-test.ts index fe842cae95d..20df8a7491e 100644 --- a/server/sonar-web/src/main/js/helpers/__tests__/extensions-test.ts +++ b/server/sonar-web/src/main/js/helpers/__tests__/extensions-test.ts @@ -21,9 +21,7 @@ import exposeLibraries from '../../app/components/extensions/exposeLibraries'; import { getExtensionStart, installScript } from '../extensions'; import { installExtensionsHandler } from '../extensionsHandler'; -jest.mock('../../app/components/extensions/exposeLibraries', () => ({ - default: jest.fn() -})); +jest.mock('../../app/components/extensions/exposeLibraries', () => jest.fn()); beforeEach(() => { jest.clearAllMocks(); diff --git a/server/sonar-web/src/main/js/helpers/__tests__/getHistory-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/getHistory-test.ts index b5a66227d57..839ed9eca4d 100644 --- a/server/sonar-web/src/main/js/helpers/__tests__/getHistory-test.ts +++ b/server/sonar-web/src/main/js/helpers/__tests__/getHistory-test.ts @@ -17,13 +17,13 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as Router from 'react-router'; +import { browserHistory } from 'react-router'; import getHistory from '../getHistory'; it('should get browser history properly', () => { expect(getHistory()).not.toBeUndefined(); expect(getHistory().getCurrentLocation().pathname).toBe('/'); const pathname = '/foo/bar'; - Router.browserHistory.push(pathname); + browserHistory.push(pathname); expect(getHistory().getCurrentLocation().pathname).toBe(pathname); }); diff --git a/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts index dfb377e6a7a..0f5b0b49664 100644 --- a/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts +++ b/server/sonar-web/src/main/js/helpers/__tests__/handleRequiredAuthentication-test.ts @@ -20,9 +20,7 @@ import getHistory from '../getHistory'; import handleRequiredAuthentication from '../handleRequiredAuthentication'; -jest.mock('../getHistory', () => ({ - default: jest.fn() -})); +jest.mock('../getHistory', () => jest.fn()); it('should not render for anonymous user', () => { const replace = jest.fn(); diff --git a/server/sonar-web/src/main/js/helpers/__tests__/request-test.ts b/server/sonar-web/src/main/js/helpers/__tests__/request-test.ts index f4729185ef4..55818d0e7d9 100644 --- a/server/sonar-web/src/main/js/helpers/__tests__/request-test.ts +++ b/server/sonar-web/src/main/js/helpers/__tests__/request-test.ts @@ -36,7 +36,7 @@ import { requestTryAndRepeatUntil } from '../request'; -jest.mock('../handleRequiredAuthentication', () => ({ default: jest.fn() })); +jest.mock('../handleRequiredAuthentication', () => jest.fn()); const url = '/my-url'; @@ -187,6 +187,18 @@ describe('post', () => { expect(response.json).not.toBeCalled(); expect(response.text).not.toBeCalled(); }); + + it('should handle array values', async () => { + const response = mockResponse(); + window.fetch = jest.fn().mockResolvedValue(response); + post(url, { dataArray: ['1', '2'] }); + await new Promise(setImmediate); + + expect(window.fetch).toBeCalledWith( + url, + expect.objectContaining({ body: 'dataArray=1&dataArray=2', method: 'POST' }) + ); + }); }); describe('requestTryAndRepeatUntil', () => { diff --git a/server/sonar-web/src/main/js/helpers/dates.ts b/server/sonar-web/src/main/js/helpers/dates.ts index daa25a7b603..f7944f3955a 100644 --- a/server/sonar-web/src/main/js/helpers/dates.ts +++ b/server/sonar-web/src/main/js/helpers/dates.ts @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import * as parse from 'date-fns/parse'; +import { parse } from 'date-fns'; function pad(number: number) { if (number < 10) { diff --git a/server/sonar-web/src/main/js/helpers/editions.ts b/server/sonar-web/src/main/js/helpers/editions.ts index f57cfbfd2dc..20a9d626c15 100644 --- a/server/sonar-web/src/main/js/helpers/editions.ts +++ b/server/sonar-web/src/main/js/helpers/editions.ts @@ -17,7 +17,6 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -import { stringify } from 'querystring'; import { omitNil } from '../helpers/request'; import { Edition, EditionKey } from '../types/editions'; import { SystemUpgrade } from '../types/system'; @@ -64,7 +63,7 @@ export function getEditionUrl( data: { serverId?: string; ncloc?: number; sourceEdition?: EditionKey } ) { let url = edition.homeUrl; - const query = stringify(omitNil(data)); + const query = new URLSearchParams(omitNil(data)).toString(); if (query) { url += '?' + query; } diff --git a/server/sonar-web/src/main/js/helpers/urls.ts b/server/sonar-web/src/main/js/helpers/urls.ts index 879d809e080..9a21a7ce814 100644 --- a/server/sonar-web/src/main/js/helpers/urls.ts +++ b/server/sonar-web/src/main/js/helpers/urls.ts @@ -18,7 +18,6 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import { isNil, omitBy, pick } from 'lodash'; -import { stringify } from 'querystring'; import { getProfilePath } from '../apps/quality-profiles/utils'; import { BranchLike, BranchParameters } from '../types/branch-like'; import { ComponentQualifier, isApplication, isPortfolioLike } from '../types/component'; @@ -333,9 +332,9 @@ export function getHostUrl(): string { } export function getPathUrlAsString(path: Location, internal = true): string { - return `${internal ? getBaseUrl() : getHostUrl()}${path.pathname}?${stringify( + return `${internal ? getBaseUrl() : getHostUrl()}${path.pathname}?${new URLSearchParams( omitBy(path.query, isNil) - )}`; + ).toString()}`; } export function getReturnUrl(location: { hash?: string; query?: { return_to?: string } }) { diff --git a/server/sonar-web/tsconfig.json b/server/sonar-web/tsconfig.json index c71eb6f7a16..25ee05956e1 100644 --- a/server/sonar-web/tsconfig.json +++ b/server/sonar-web/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "allowJs": true, "checkJs": false, + "esModuleInterop": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitAny": true, diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 4e16696a4d9..28e1b2c4cee 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -209,22 +209,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.8.3": - version: 7.8.6 - resolution: "@babel/helper-create-class-features-plugin@npm:7.8.6" - dependencies: - "@babel/helper-function-name": ^7.8.3 - "@babel/helper-member-expression-to-functions": ^7.8.3 - "@babel/helper-optimise-call-expression": ^7.8.3 - "@babel/helper-plugin-utils": ^7.8.3 - "@babel/helper-replace-supers": ^7.8.6 - "@babel/helper-split-export-declaration": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: fb7014385307e2280570fae61ab6e45eb263a82a637f7b2c7890e92355658fad5244279a360835076161c006db91f59b118fa1bc716595ae26efe6a4a80631a2 - languageName: node - linkType: hard - "@babel/helper-create-regexp-features-plugin@npm:^7.10.1": version: 7.10.1 resolution: "@babel/helper-create-regexp-features-plugin@npm:7.10.1" @@ -499,7 +483,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.8.3, @babel/helper-replace-supers@npm:^7.8.6": +"@babel/helper-replace-supers@npm:^7.8.3": version: 7.8.6 resolution: "@babel/helper-replace-supers@npm:7.8.6" dependencies: @@ -689,18 +673,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-proposal-class-properties@npm:7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-proposal-class-properties@npm:7.8.3" - dependencies: - "@babel/helper-create-class-features-plugin": ^7.8.3 - "@babel/helper-plugin-utils": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 5ac3435b0393b09162234f8e4c56c6321f038d205af447563f8389e7ed447904c4cdedf958e6a5ed092692fcc2eff980913efff19589c0969dd9846be4710867 - languageName: node - linkType: hard - "@babel/plugin-proposal-dynamic-import@npm:^7.8.3": version: 7.8.3 resolution: "@babel/plugin-proposal-dynamic-import@npm:7.8.3" @@ -855,7 +827,7 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-dynamic-import@npm:7.8.3, @babel/plugin-syntax-dynamic-import@npm:^7.8.0": +"@babel/plugin-syntax-dynamic-import@npm:^7.8.0": version: 7.8.3 resolution: "@babel/plugin-syntax-dynamic-import@npm:7.8.3" dependencies: @@ -2229,13 +2201,6 @@ __metadata: languageName: node linkType: hard -"@polka/url@npm:^1.0.0-next.15": - version: 1.0.0-next.15 - resolution: "@polka/url@npm:1.0.0-next.15" - checksum: 10f5ebf60b1c6237a36c6f62d90b0426e660c3d8afb4db3cee9c25231eb1f76bed55cb8845bc145187793396a07fa9592fe591e7333e7fa3dc639b741f9cf6c7 - languageName: node - linkType: hard - "@samverschueren/stream-to-observable@npm:^0.3.0": version: 0.3.0 resolution: "@samverschueren/stream-to-observable@npm:0.3.0" @@ -2473,7 +2438,7 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:*, @types/glob@npm:^7.1.1": +"@types/glob@npm:*": version: 7.1.1 resolution: "@types/glob@npm:7.1.1" dependencies: @@ -2665,12 +2630,12 @@ __metadata: languageName: node linkType: hard -"@types/react-modal@npm:3.8.2": - version: 3.8.2 - resolution: "@types/react-modal@npm:3.8.2" +"@types/react-modal@npm:3.12.1": + version: 3.12.1 + resolution: "@types/react-modal@npm:3.12.1" dependencies: "@types/react": "*" - checksum: 0d23700ff5e2788b24a258659b2cafc9bb138ecf7ddcc9c7fe1ee03d2139f233013f5dfa36a5a9a2fbea369ebf06b42391e3da7d69e972590b67e68fdaaf63e9 + checksum: 1f81bf0c01e24ab1b5b0ee484813f907f21103693fd666cbf659fca0382b130690edf04c5c00a1fabefccc0d177c8dd24b16ef465ffbc89681b6367c01373bbd languageName: node linkType: hard @@ -2877,209 +2842,12 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/ast@npm:1.9.0" - dependencies: - "@webassemblyjs/helper-module-context": 1.9.0 - "@webassemblyjs/helper-wasm-bytecode": 1.9.0 - "@webassemblyjs/wast-parser": 1.9.0 - checksum: 8a9838dc7fdac358aee8daa75eefa35934ab18dafb594092ff7be79c467ebe9dabb2543e58313c905fd802bdcc3cb8320e4e19af7444e49853a7a24e25138f75 - languageName: node - linkType: hard - -"@webassemblyjs/floating-point-hex-parser@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.9.0" - checksum: d3aeb19bc30da26f639698daa28e44e0c18d5aa135359ef3c54148e194eec46451a912d0506099d479a71a94bc3eef6ef52d6ec234799528a25a9744789852de - languageName: node - linkType: hard - -"@webassemblyjs/helper-api-error@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-api-error@npm:1.9.0" - checksum: 9179d3148639cc202e89a118145b485cf834613260679a99af6ec487bbc15f238566ca713207394b336160a41bf8c1b75cf2e853b3e96f0cc73c1e5c735b3f64 - languageName: node - linkType: hard - -"@webassemblyjs/helper-buffer@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-buffer@npm:1.9.0" - checksum: dcb85f630f8a2e22b7346ad4dd58c3237a2cad1457699423e8fd19592a0bd3eacbc2639178a1b9a873c3ac217bfc7a23a134ff440a099496b590e82c7a4968d5 - languageName: node - linkType: hard - -"@webassemblyjs/helper-code-frame@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-code-frame@npm:1.9.0" - dependencies: - "@webassemblyjs/wast-printer": 1.9.0 - checksum: a28fa057f7beff0fd14bff716561520f8edb8c9c56c7a5559451e6765acfb70aaeb8af718ea2bd2262e7baeba597545af407e28eb2eff8329235afe8605f20d1 - languageName: node - linkType: hard - -"@webassemblyjs/helper-fsm@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-fsm@npm:1.9.0" - checksum: 374cc510c8f5a7a07d4fe9eb7036cc475a96a670b5d25c31f16757ac8295be8d03a2f29657ff53eaefa9e8315670a48824d430ed910e7c1835788ac79f93124e - languageName: node - linkType: hard - -"@webassemblyjs/helper-module-context@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-module-context@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - checksum: 55e8f89c7ea1beaa78fad88403f3753b8413b0f3b6bb32d898ce95078b3e1d1b48ade0919c00b82fc2e3813c0ab6901e415f7a4d4fa9be50944e2431adde75a5 - languageName: node - linkType: hard - -"@webassemblyjs/helper-wasm-bytecode@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.9.0" - checksum: 280da4df3c556f73a1a02053277f8a4be481de32df4aa21050b015c8f4d27c46af89f0417eb88e486df117e5df4bccffae593f78cb1e79f212d3b3d4f3ed0f04 - languageName: node - linkType: hard - -"@webassemblyjs/helper-wasm-section@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-buffer": 1.9.0 - "@webassemblyjs/helper-wasm-bytecode": 1.9.0 - "@webassemblyjs/wasm-gen": 1.9.0 - checksum: b8f7bb45d4194074c82210211a5d3e402a5b5fa63ecae26d2c356ae3978af5a530e91192fb260f32f9d561b18e2828b3da2e2f41c59efadb5f3c6d72446807f0 - languageName: node - linkType: hard - -"@webassemblyjs/ieee754@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/ieee754@npm:1.9.0" - dependencies: - "@xtuc/ieee754": ^1.2.0 - checksum: 7fe4a217ba0f7051e2cfef92919d4a64fac1a63c65411763779bd50907820f33f440255231a474fe3ba03bd1d9ee0328662d1eae3fce4c59b91549d6b62b839b - languageName: node - linkType: hard - -"@webassemblyjs/leb128@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/leb128@npm:1.9.0" - dependencies: - "@xtuc/long": 4.2.2 - checksum: 4ca7cbb869530d78d42a414f34ae53249364cb1ecebbfb6ed5d562c2f209fce857502f088822ee82a23876f653a262ddc34ab64e45a7962510a263d39bb3f51a - languageName: node - linkType: hard - -"@webassemblyjs/utf8@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/utf8@npm:1.9.0" - checksum: e328a30ac8a503bbd015d32e75176e0dedcb45a21d4be051c25dfe89a00035ca7a6dbd8937b442dd5b4b334de3959d4f5fe0b330037bd226a28b9814cd49e84f - languageName: node - linkType: hard - -"@webassemblyjs/wasm-edit@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wasm-edit@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-buffer": 1.9.0 - "@webassemblyjs/helper-wasm-bytecode": 1.9.0 - "@webassemblyjs/helper-wasm-section": 1.9.0 - "@webassemblyjs/wasm-gen": 1.9.0 - "@webassemblyjs/wasm-opt": 1.9.0 - "@webassemblyjs/wasm-parser": 1.9.0 - "@webassemblyjs/wast-printer": 1.9.0 - checksum: 1997e0c2f4051c33239587fb143242919320bc861a0af03a873c7150a27d6404bd2e063c658193288b0aa88c35aadbe0c4fde601fe642bae0743a8c8eda52717 - languageName: node - linkType: hard - -"@webassemblyjs/wasm-gen@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wasm-gen@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-wasm-bytecode": 1.9.0 - "@webassemblyjs/ieee754": 1.9.0 - "@webassemblyjs/leb128": 1.9.0 - "@webassemblyjs/utf8": 1.9.0 - checksum: 2456e84e8e6bedb7ab47f6333a0ee170f7ef62842c90862ca787c08528ca8041061f3f8bc257fc2a01bf6e8d1a76fddaddd43418c738f681066e5b50f88fe7df - languageName: node - linkType: hard - -"@webassemblyjs/wasm-opt@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wasm-opt@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-buffer": 1.9.0 - "@webassemblyjs/wasm-gen": 1.9.0 - "@webassemblyjs/wasm-parser": 1.9.0 - checksum: 91242205bdbd1aa8045364a5338bfb34880cb2c65f56db8dd19382894209673699fb31a0e5279f25c7e5bcd8f3097d6c9ca84d8969d9613ef2cf166450cc3515 - languageName: node - linkType: hard - -"@webassemblyjs/wasm-parser@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wasm-parser@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-api-error": 1.9.0 - "@webassemblyjs/helper-wasm-bytecode": 1.9.0 - "@webassemblyjs/ieee754": 1.9.0 - "@webassemblyjs/leb128": 1.9.0 - "@webassemblyjs/utf8": 1.9.0 - checksum: 493f6cfc63a5e16073056c81ff0526a9936f461327379ef3c83cc841000e03623b6352704f6bf9f7cb5b3610f0032020a61f9cca78c91b15b8e995854b29c098 - languageName: node - linkType: hard - -"@webassemblyjs/wast-parser@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wast-parser@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/floating-point-hex-parser": 1.9.0 - "@webassemblyjs/helper-api-error": 1.9.0 - "@webassemblyjs/helper-code-frame": 1.9.0 - "@webassemblyjs/helper-fsm": 1.9.0 - "@xtuc/long": 4.2.2 - checksum: 705dd48fbbceec7f6bed299b8813631b242fd9312f9594dbb2985dda86c9688048692357d684f6080fc2c5666287cefaa26b263d01abadb6a9049d4c8978b9db - languageName: node - linkType: hard - -"@webassemblyjs/wast-printer@npm:1.9.0": - version: 1.9.0 - resolution: "@webassemblyjs/wast-printer@npm:1.9.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/wast-parser": 1.9.0 - "@xtuc/long": 4.2.2 - checksum: 3d1e1b2e84745a963f69acd1c02425b321dd2e608e11dabc467cae0c9a808962bc769ec9afc46fbcea7188cc1e47d72370da762d258f716fb367cb1a7865c54b - languageName: node - linkType: hard - -"@xtuc/ieee754@npm:^1.2.0": - version: 1.2.0 - resolution: "@xtuc/ieee754@npm:1.2.0" - checksum: ac56d4ca6e17790f1b1677f978c0c6808b1900a5b138885d3da21732f62e30e8f0d9120fcf8f6edfff5100ca902b46f8dd7c1e3f903728634523981e80e2885a - languageName: node - linkType: hard - -"@xtuc/long@npm:4.2.2": - version: 4.2.2 - resolution: "@xtuc/long@npm:4.2.2" - checksum: 8ed0d477ce3bc9c6fe2bf6a6a2cc316bb9c4127c5a7827bae947fa8ec34c7092395c5a283cc300c05b5fa01cbbfa1f938f410a7bf75db7c7846fea41949989ec - languageName: node - linkType: hard - "SonarQube@workspace:.": version: 0.0.0-use.local resolution: "SonarQube@workspace:." dependencies: "@babel/core": 7.8.7 - "@babel/plugin-proposal-class-properties": 7.8.3 "@babel/plugin-proposal-object-rest-spread": 7.8.3 - "@babel/plugin-syntax-dynamic-import": 7.8.3 "@babel/plugin-transform-react-constant-elements": 7.8.3 "@babel/plugin-transform-react-jsx-self": 7.8.3 "@babel/plugin-transform-react-jsx-source": 7.8.3 @@ -3105,7 +2873,7 @@ __metadata: "@types/react-dom": 16.8.4 "@types/react-helmet": 5.0.15 "@types/react-intl": 2.3.17 - "@types/react-modal": 3.8.2 + "@types/react-modal": 3.12.1 "@types/react-redux": 6.0.6 "@types/react-router": 3.0.20 "@types/react-select": 1.2.6 @@ -3117,17 +2885,13 @@ __metadata: autoprefixer: 9.7.4 babel-core: 7.0.0-bridge.0 babel-jest: 25.1.0 - babel-loader: 8.0.6 babel-plugin-dynamic-import-node: 2.3.0 babel-plugin-lodash: 3.3.4 chalk: 3.0.0 classnames: 2.2.6 - clean-webpack-plugin: 2.0.1 clipboard: 2.0.6 - copy-webpack-plugin: 5.1.2 core-js: 3.6.4 create-react-class: 15.6.3 - css-loader: 3.4.2 cssnano: 4.1.10 d3-array: 2.4.0 d3-hierarchy: 1.1.9 @@ -3140,6 +2904,9 @@ __metadata: enzyme: 3.11.0 enzyme-adapter-react-16: 1.15.2 enzyme-to-json: 3.4.4 + esbuild: 0.12.28 + esbuild-plugin-glob: 1.0.1 + esbuild-plugin-postcss2: 0.1.0 escape-string-regexp: 2.0.0 eslint: 7.17.0 eslint-config-sonarqube: 1.0.0 @@ -3149,28 +2916,26 @@ __metadata: eslint-plugin-promise: 4.2.1 eslint-plugin-react: 7.22.0 eslint-plugin-react-hooks: 4.2.0 - expose-loader: 0.7.5 formik: 1.2.0 + fs-extra: 10.0.0 glob: 7.1.6 glob-promise: 3.4.0 history: 3.3.0 - html-webpack-plugin: 3.2.0 + http-proxy: 1.18.1 jest: 25.4.0 jest-emotion: 10.0.32 jest-junit: 12.0.0 keymaster: 1.6.2 lint-staged: 7.3.0 lodash: 4.17.21 - lodash-webpack-plugin: 0.11.5 lunr: 2.3.8 mdast-util-toc: 5.0.2 - mini-css-extract-plugin: 0.9.0 + path-browserify: 1.0.1 postcss-calc: 7.0.2 postcss-custom-properties: 9.1.1 - postcss-loader: 3.0.0 prettier: 1.19.1 prop-types: 15.7.2 - raw-loader: 3.1.0 + querystring: 0.2.1 react: 16.13.0 react-countup: 4.3.3 react-day-picker: 7.3.0 @@ -3180,7 +2945,7 @@ __metadata: react-error-overlay: 1.0.7 react-helmet-async: 1.0.4 react-intl: 2.8.0 - react-modal: 3.8.2 + react-modal: 3.14.3 react-redux: 5.1.1 react-router: 3.2.6 react-select: 1.2.1 @@ -3196,15 +2961,10 @@ __metadata: remark-custom-blocks: 2.5.1 remark-react: 7 remark-rehype: 6.0.0 - style-loader: 1.1.3 - ts-jest: 25.2.1 - ts-loader: 6.2.1 + ts-jest: 25.5.1 typescript: 4.1.3 unist-util-visit: 2.0.2 valid-url: 1.0.9 - webpack: 4.46.0 - webpack-bundle-analyzer: 4.4.2 - webpack-dev-server: 3.11.2 whatwg-fetch: 3.0.0 languageName: unknown linkType: soft @@ -3223,16 +2983,6 @@ __metadata: languageName: node linkType: hard -"accepts@npm:~1.3.4, accepts@npm:~1.3.5, accepts@npm:~1.3.7": - version: 1.3.7 - resolution: "accepts@npm:1.3.7" - dependencies: - mime-types: ~2.1.24 - negotiator: 0.6.2 - checksum: 27fc8060ffc69481ff6719cd3ee06387d2b88381cb0ce626f087781bbd02201a645a9febc8e7e7333558354b33b1d2f922ad13560be4ec1b7ba9e76fc1c1241d - languageName: node - linkType: hard - "acorn-globals@npm:^4.3.2": version: 4.3.4 resolution: "acorn-globals@npm:4.3.4" @@ -3259,13 +3009,6 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.0": - version: 8.1.1 - resolution: "acorn-walk@npm:8.1.1" - checksum: 5e4dafbcec14fbfac96e1f13726273e969a30fdf607ed4eb6ca335292f85b8c896393fee15837a8f2b27afd7ede0f1c6edb5b5e6d0123a8821fee1a834318e62 - languageName: node - linkType: hard - "acorn@npm:^6.0.1": version: 6.2.0 resolution: "acorn@npm:6.2.0" @@ -3275,15 +3018,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^6.4.1": - version: 6.4.2 - resolution: "acorn@npm:6.4.2" - bin: - acorn: bin/acorn - checksum: 44b07053729db7f44d28343eed32247ed56dc4a6ec6dff2b743141ecd6b861406bbc1c20bf9d4f143ea7dd08add5dc8c290582756539bc03a8db605050ce2fb4 - languageName: node - linkType: hard - "acorn@npm:^7.1.0": version: 7.1.1 resolution: "acorn@npm:7.1.1" @@ -3302,15 +3036,6 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.4": - version: 8.4.1 - resolution: "acorn@npm:8.4.1" - bin: - acorn: bin/acorn - checksum: 0a8fd264349285aa36194b26a5a9d70c3641e78ad459ec44b9a9a5738e0ce6d86ec120ca2c0f04477165cee912fdeb158f62d6582697185c82278bdbf71187f8 - languageName: node - linkType: hard - "address@npm:1.0.2": version: 1.0.2 resolution: "address@npm:1.0.2" @@ -3382,46 +3107,7 @@ __metadata: languageName: node linkType: hard -"ajv-errors@npm:^1.0.0": - version: 1.0.1 - resolution: "ajv-errors@npm:1.0.1" - peerDependencies: - ajv: ">=5.0.0" - checksum: 2c9fc02cf58f9aae5bace61ebd1b162e1ea372ae9db5999243ba5e32a9a78c0d635d29ae085f652c61c941a43af0b2b1acdb255e29d44dc43a6e021085716d8c - languageName: node - linkType: hard - -"ajv-keywords@npm:^3.1.0": - version: 3.4.0 - resolution: "ajv-keywords@npm:3.4.0" - peerDependencies: - ajv: ^6.9.1 - checksum: b85951080015c2828fb4e63bc8e29151303961535472f523bf09f58d34403e280d709b96c5552f8217ca8f46004ece61bb2ab890de277910489648d60ec09ad0 - languageName: node - linkType: hard - -"ajv-keywords@npm:^3.4.1": - version: 3.4.1 - resolution: "ajv-keywords@npm:3.4.1" - peerDependencies: - ajv: ^6.9.1 - checksum: 0ecb945d00934ccf6f1da9e82db4d5ef68988f4fff5bc07a30629eb15c2a6b7a85eff5cececfc9fdc3ca34a9d75dee1c8596991e59cc46f5105b765d17d9c7cd - languageName: node - linkType: hard - -"ajv@npm:^6.1.0, ajv@npm:^6.5.5": - version: 6.10.0 - resolution: "ajv@npm:6.10.0" - dependencies: - fast-deep-equal: ^2.0.1 - fast-json-stable-stringify: ^2.0.0 - json-schema-traverse: ^0.4.1 - uri-js: ^4.2.2 - checksum: b4c8b35f59e3789557b11efc73e139d9afd3c06172dd0c5b2b9fcd3239bcc399185559611df02f74efe1dc501f7c7561402f000125ba4b3a360cc02df6969144 - languageName: node - linkType: hard - -"ajv@npm:^6.10.0, ajv@npm:^6.10.2, ajv@npm:^6.12.0": +"ajv@npm:^6.10.0": version: 6.12.0 resolution: "ajv@npm:6.12.0" dependencies: @@ -3445,6 +3131,18 @@ __metadata: languageName: node linkType: hard +"ajv@npm:^6.5.5": + version: 6.10.0 + resolution: "ajv@npm:6.10.0" + dependencies: + fast-deep-equal: ^2.0.1 + fast-json-stable-stringify: ^2.0.0 + json-schema-traverse: ^0.4.1 + uri-js: ^4.2.2 + checksum: b4c8b35f59e3789557b11efc73e139d9afd3c06172dd0c5b2b9fcd3239bcc399185559611df02f74efe1dc501f7c7561402f000125ba4b3a360cc02df6969144 + languageName: node + linkType: hard + "ajv@npm:^7.0.2": version: 7.0.3 resolution: "ajv@npm:7.0.3" @@ -3478,13 +3176,6 @@ __metadata: languageName: node linkType: hard -"ansi-colors@npm:^3.0.0": - version: 3.2.4 - resolution: "ansi-colors@npm:3.2.4" - checksum: 026c51880e9f8eb59b112669a87dbea4469939ff94b131606303bbd697438a6691b16b9db3027aa9bf132a244214e83ab1508b998496a34d2aea5b437ac9e62d - languageName: node - linkType: hard - "ansi-colors@npm:^4.1.1": version: 4.1.1 resolution: "ansi-colors@npm:4.1.1" @@ -3515,15 +3206,6 @@ __metadata: languageName: node linkType: hard -"ansi-html@npm:0.0.7": - version: 0.0.7 - resolution: "ansi-html@npm:0.0.7" - bin: - ansi-html: ./bin/ansi-html - checksum: 9b839ce99650b4c2d83621d67d68622d27e7948b54f7a4386f2218a3997ee4e684e5a6e8d290880c3f3260e8d90c2613c59c7028f04992ad5c8d99d3a0fcc02c - languageName: node - linkType: hard - "ansi-regex@npm:^2.0.0": version: 2.1.1 resolution: "ansi-regex@npm:2.1.1" @@ -3615,7 +3297,7 @@ __metadata: languageName: node linkType: hard -"aproba@npm:^1.0.3, aproba@npm:^1.1.1": +"aproba@npm:^1.0.3": version: 1.2.0 resolution: "aproba@npm:1.2.0" checksum: 0fca141966559d195072ed047658b6e6c4fe92428c385dd38e288eacfc55807e7b4989322f030faff32c0f46bb0bc10f1e0ac32ec22d25315a1e5bbc0ebb76dc @@ -3693,20 +3375,6 @@ __metadata: languageName: node linkType: hard -"array-flatten@npm:1.1.1": - version: 1.1.1 - resolution: "array-flatten@npm:1.1.1" - checksum: a9925bf3512d9dce202112965de90c222cd59a4fbfce68a0951d25d965cf44642931f40aac72309c41f12df19afa010ecadceb07cfff9ccc1621e99d89ab5f3b - languageName: node - linkType: hard - -"array-flatten@npm:^2.1.0": - version: 2.1.2 - resolution: "array-flatten@npm:2.1.2" - checksum: e8988aac1fbfcdaae343d08c9a06a6fddd2c6141721eeeea45c3cf523bf4431d29a46602929455ed548c7a3e0769928cdc630405427297e7081bd118fdec9262 - languageName: node - linkType: hard - "array-includes@npm:^3.1.1": version: 3.1.1 resolution: "array-includes@npm:3.1.1" @@ -3745,15 +3413,6 @@ __metadata: languageName: node linkType: hard -"array-union@npm:^1.0.1": - version: 1.0.2 - resolution: "array-union@npm:1.0.2" - dependencies: - array-uniq: ^1.0.1 - checksum: 82cec6421b6e6766556c484835a6d476a873f1b71cace5ab2b4f1b15b1e3162dc4da0d16f7a2b04d4aec18146c6638fe8f661340b31ba8e469fd811a1b45dc8d - languageName: node - linkType: hard - "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -3761,13 +3420,6 @@ __metadata: languageName: node linkType: hard -"array-uniq@npm:^1.0.1": - version: 1.0.3 - resolution: "array-uniq@npm:1.0.3" - checksum: 1625f06b093d8bf279b81adfec6e72951c0857d65b5e3f65f053fffe9f9dd61c2fc52cff57e38a4700817e7e3f01a4faa433d505ea9e33cdae4514c334e0bf9e - languageName: node - linkType: hard - "array-unique@npm:^0.3.2": version: 0.3.2 resolution: "array-unique@npm:0.3.2" @@ -3814,17 +3466,6 @@ __metadata: languageName: node linkType: hard -"asn1.js@npm:^4.0.0": - version: 4.10.1 - resolution: "asn1.js@npm:4.10.1" - dependencies: - bn.js: ^4.0.0 - inherits: ^2.0.1 - minimalistic-assert: ^1.0.0 - checksum: 9289a1a55401238755e3142511d7b8f6fc32f08c86ff68bd7100da8b6c186179dd6b14234fba2f7f6099afcd6758a816708485efe44bc5b2a6ec87d9ceeddbb5 - languageName: node - linkType: hard - "asn1@npm:~0.2.3": version: 0.2.4 resolution: "asn1@npm:0.2.4" @@ -3841,16 +3482,6 @@ __metadata: languageName: node linkType: hard -"assert@npm:^1.1.1": - version: 1.5.0 - resolution: "assert@npm:1.5.0" - dependencies: - object-assign: ^4.1.1 - util: 0.10.3 - checksum: 9be48435f726029ae7020c5888a3566bf4d617687aab280827f2e4029644b6515a9519ea10d018b342147c02faf73d9e9419e780e8937b3786ee4945a0ca71e5 - languageName: node - linkType: hard - "assign-symbols@npm:^1.0.0": version: 1.0.0 resolution: "assign-symbols@npm:1.0.0" @@ -3879,29 +3510,6 @@ __metadata: languageName: node linkType: hard -"async-each@npm:^1.0.1": - version: 1.0.3 - resolution: "async-each@npm:1.0.3" - checksum: 868651cfeb209970b367fbb96df1e1c8dc0b22c681cda7238417005ab2a5fbd944ee524b43f2692977259a57b7cc2547e03ff68f2b5113dbdf953d48cc078dc3 - languageName: node - linkType: hard - -"async-limiter@npm:~1.0.0": - version: 1.0.0 - resolution: "async-limiter@npm:1.0.0" - checksum: 48432972ebc222e58dea94cbe621194bcb3f02a19f8b54a44f000e16737c788125331dac279984bfe3f2c3ff5f6a6aa196a6f882f9ac1cbb0c1b2a123e4ca225 - languageName: node - linkType: hard - -"async@npm:^2.6.2": - version: 2.6.3 - resolution: "async@npm:2.6.3" - dependencies: - lodash: ^4.17.14 - checksum: 5e5561ff8fca807e88738533d620488ac03a5c43fce6c937451f7e35f943d33ad06c24af3f681a48cca3d2b0002b3118faff0a128dc89438a9bf0226f712c499 - languageName: node - linkType: hard - "asynckit@npm:^0.4.0": version: 0.4.0 resolution: "asynckit@npm:0.4.0" @@ -3909,6 +3517,13 @@ __metadata: languageName: node linkType: hard +"at-least-node@npm:^1.0.0": + version: 1.0.0 + resolution: "at-least-node@npm:1.0.0" + checksum: 463e2f8e43384f1afb54bc68485c436d7622acec08b6fad269b421cb1d29cebb5af751426793d0961ed243146fe4dc983402f6d5a51b720b277818dbf6f2e49e + languageName: node + linkType: hard + "atob@npm:^2.1.1, atob@npm:^2.1.2": version: 2.1.2 resolution: "atob@npm:2.1.2" @@ -3935,6 +3550,24 @@ __metadata: languageName: node linkType: hard +"autoprefixer@npm:^10.2.5": + version: 10.3.4 + resolution: "autoprefixer@npm:10.3.4" + dependencies: + browserslist: ^4.16.8 + caniuse-lite: ^1.0.30001252 + colorette: ^1.3.0 + fraction.js: ^4.1.1 + normalize-range: ^0.1.2 + postcss-value-parser: ^4.1.0 + peerDependencies: + postcss: ^8.1.0 + bin: + autoprefixer: bin/autoprefixer + checksum: fa037d78767158f3fd9b30e27870590824bddc7e38ffadf22b697e1a9d23b32cb4a164bef01e94b7820c8d719117ca5028db1764855fb6146fb2776d7bffe0e9 + languageName: node + linkType: hard + "aws-sign2@npm:~0.7.0": version: 0.7.0 resolution: "aws-sign2@npm:0.7.0" @@ -4029,21 +3662,6 @@ __metadata: languageName: node linkType: hard -"babel-loader@npm:8.0.6": - version: 8.0.6 - resolution: "babel-loader@npm:8.0.6" - dependencies: - find-cache-dir: ^2.0.0 - loader-utils: ^1.0.2 - mkdirp: ^0.5.1 - pify: ^4.0.1 - peerDependencies: - "@babel/core": ^7.0.0 - webpack: ">=2" - checksum: 1da4c77e6fb5d18beb4fbaaca415dd188aecf8d62cf1ab7b794e1447fbda232a95947645652ce30ebebc835782fde2856c346e04185b942adc2d21327588fdd5 - languageName: node - linkType: hard - "babel-plugin-dynamic-import-node@npm:2.3.0": version: 2.3.0 resolution: "babel-plugin-dynamic-import-node@npm:2.3.0" @@ -4224,13 +3842,6 @@ __metadata: languageName: node linkType: hard -"base64-js@npm:^1.0.2": - version: 1.3.0 - resolution: "base64-js@npm:1.3.0" - checksum: ce473c16d1f84b128971af83507a537089bc8f86b30c857ef209512d66f61d3a382a3c00d8b02c59b7e479f6de0eb9ed4b67aff55f2eff9e6a32ac669f0dc062 - languageName: node - linkType: hard - "base@npm:^0.11.1": version: 0.11.2 resolution: "base@npm:0.11.2" @@ -4246,13 +3857,6 @@ __metadata: languageName: node linkType: hard -"batch@npm:0.6.1": - version: 0.6.1 - resolution: "batch@npm:0.6.1" - checksum: 61f9934c7378a51dce61b915586191078ef7f1c3eca707fdd58b96ff2ff56d9e0af2bdab66b1462301a73c73374239e6542d9821c0af787f3209a23365d07e7f - languageName: node - linkType: hard - "bcrypt-pbkdf@npm:^1.0.0": version: 1.0.2 resolution: "bcrypt-pbkdf@npm:1.0.2" @@ -4262,13 +3866,6 @@ __metadata: languageName: node linkType: hard -"big.js@npm:^3.1.3": - version: 3.2.0 - resolution: "big.js@npm:3.2.0" - checksum: 299449e40555625a308f01d74378677036b2ec98b30aaa89794b3afbd4eaa104b7456a989affadfd7f630dc14b3f1df250de9bddc4a6fc664e60727887bb33e7 - languageName: node - linkType: hard - "big.js@npm:^5.2.2": version: 5.2.2 resolution: "big.js@npm:5.2.2" @@ -4276,13 +3873,6 @@ __metadata: languageName: node linkType: hard -"binary-extensions@npm:^1.0.0": - version: 1.13.1 - resolution: "binary-extensions@npm:1.13.1" - checksum: ad7747f33c07e94ba443055de130b50c8b8b130a358bca064c580d91769ca6a69c7ac65ca008ff044ed4541d2c6ad45496e1fadbef5218a68770996b6a2194d7 - languageName: node - linkType: hard - "binary-extensions@npm:^2.0.0": version: 2.2.0 resolution: "binary-extensions@npm:2.2.0" @@ -4290,59 +3880,6 @@ __metadata: languageName: node linkType: hard -"bluebird@npm:^3.5.5": - version: 3.5.5 - resolution: "bluebird@npm:3.5.5" - checksum: 2e53b556a34e38999c5075b6fcec6aa46b2fb9ac2e6e60c406da6c677fb04f64cb2d7c9d0daacebe6a8afc99e65511b49df97d4a65dcb087804659f3b6a70d00 - languageName: node - linkType: hard - -"bn.js@npm:^4.0.0, bn.js@npm:^4.1.0, bn.js@npm:^4.1.1": - version: 4.11.8 - resolution: "bn.js@npm:4.11.8" - checksum: 80d4709cd58a21f0be8201e9e5859fea5ef133318e9800c8454cd334625c6e1caea593ca21f9b9a085fb560fbc12fb2fb3514363f8604258db924237fd039139 - languageName: node - linkType: hard - -"bn.js@npm:^4.11.9": - version: 4.12.0 - resolution: "bn.js@npm:4.12.0" - checksum: 39afb4f15f4ea537b55eaf1446c896af28ac948fdcf47171961475724d1bb65118cca49fa6e3d67706e4790955ec0e74de584e45c8f1ef89f46c812bee5b5a12 - languageName: node - linkType: hard - -"body-parser@npm:1.19.0": - version: 1.19.0 - resolution: "body-parser@npm:1.19.0" - dependencies: - bytes: 3.1.0 - content-type: ~1.0.4 - debug: 2.6.9 - depd: ~1.1.2 - http-errors: 1.7.2 - iconv-lite: 0.4.24 - on-finished: ~2.3.0 - qs: 6.7.0 - raw-body: 2.4.0 - type-is: ~1.6.17 - checksum: 490231b4c89bbd43112762f7ba8e5342c174a6c9f64284a3b0fcabf63277e332f8316765596f1e5b15e4f3a6cf0422e005f4bb3149ed3a224bb025b7a36b9ac1 - languageName: node - linkType: hard - -"bonjour@npm:^3.5.0": - version: 3.5.0 - resolution: "bonjour@npm:3.5.0" - dependencies: - array-flatten: ^2.1.0 - deep-equal: ^1.0.1 - dns-equal: ^1.0.0 - dns-txt: ^2.0.2 - multicast-dns: ^6.0.1 - multicast-dns-service-types: ^1.1.0 - checksum: 2cfbe9fa861f4507b5ff3853eeae3ef03a231ede2b7363efedd80880ea3c0576f64416f98056c96e429ed68ff38dc4a70c0583d1eb4dab72e491ca44a0f03444 - languageName: node - linkType: hard - "boolbase@npm:^1.0.0, boolbase@npm:~1.0.0": version: 1.0.0 resolution: "boolbase@npm:1.0.0" @@ -4360,7 +3897,7 @@ __metadata: languageName: node linkType: hard -"braces@npm:^2.3.1, braces@npm:^2.3.2": +"braces@npm:^2.3.1": version: 2.3.2 resolution: "braces@npm:2.3.2" dependencies: @@ -4387,13 +3924,6 @@ __metadata: languageName: node linkType: hard -"brorand@npm:^1.0.1, brorand@npm:^1.1.0": - version: 1.1.0 - resolution: "brorand@npm:1.1.0" - checksum: 8a05c9f3c4b46572dec6ef71012b1946db6cae8c7bb60ccd4b7dd5a84655db49fe043ecc6272e7ef1f69dc53d6730b9e2a3a03a8310509a3d797a618cbee52be - languageName: node - linkType: hard - "browser-process-hrtime@npm:^0.1.2": version: 0.1.3 resolution: "browser-process-hrtime@npm:0.1.3" @@ -4410,77 +3940,6 @@ __metadata: languageName: node linkType: hard -"browserify-aes@npm:^1.0.0, browserify-aes@npm:^1.0.4": - version: 1.2.0 - resolution: "browserify-aes@npm:1.2.0" - dependencies: - buffer-xor: ^1.0.3 - cipher-base: ^1.0.0 - create-hash: ^1.1.0 - evp_bytestokey: ^1.0.3 - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - checksum: 4a17c3eb55a2aa61c934c286f34921933086bf6d67f02d4adb09fcc6f2fc93977b47d9d884c25619144fccd47b3b3a399e1ad8b3ff5a346be47270114bcf7104 - languageName: node - linkType: hard - -"browserify-cipher@npm:^1.0.0": - version: 1.0.1 - resolution: "browserify-cipher@npm:1.0.1" - dependencies: - browserify-aes: ^1.0.4 - browserify-des: ^1.0.0 - evp_bytestokey: ^1.0.0 - checksum: 2d8500acf1ee535e6bebe808f7a20e4c3a9e2ed1a6885fff1facbfd201ac013ef030422bec65ca9ece8ffe82b03ca580421463f9c45af6c8415fd629f4118c13 - languageName: node - linkType: hard - -"browserify-des@npm:^1.0.0": - version: 1.0.2 - resolution: "browserify-des@npm:1.0.2" - dependencies: - cipher-base: ^1.0.1 - des.js: ^1.0.0 - inherits: ^2.0.1 - safe-buffer: ^5.1.2 - checksum: b15a3e358a1d78a3b62ddc06c845d02afde6fc826dab23f1b9c016e643e7b1fda41de628d2110b712f6a44fb10cbc1800bc6872a03ddd363fb50768e010395b7 - languageName: node - linkType: hard - -"browserify-rsa@npm:^4.0.0": - version: 4.0.1 - resolution: "browserify-rsa@npm:4.0.1" - dependencies: - bn.js: ^4.1.0 - randombytes: ^2.0.1 - checksum: e5d8406e65f8e9a2e038f6fa0cb30108269a1ab33c1563ddc78fb0fff1a43ea21d44bd3dcd01a783683f60dcbc4b58c63120a11f6d09939e3f84af378e6caef8 - languageName: node - linkType: hard - -"browserify-sign@npm:^4.0.0": - version: 4.0.4 - resolution: "browserify-sign@npm:4.0.4" - dependencies: - bn.js: ^4.1.1 - browserify-rsa: ^4.0.0 - create-hash: ^1.1.0 - create-hmac: ^1.1.2 - elliptic: ^6.0.0 - inherits: ^2.0.1 - parse-asn1: ^5.0.0 - checksum: b1e6f6383f6abbbd5e0f4eb0161cd211cb79af636dd14b5f038db7f3a309b3e026e7e8d7428e3f072a9baace57051a2f45cff311f3b26a901e8be921c3dab847 - languageName: node - linkType: hard - -"browserify-zlib@npm:^0.2.0": - version: 0.2.0 - resolution: "browserify-zlib@npm:0.2.0" - dependencies: - pako: ~1.0.5 - checksum: 5cd9d6a665190fedb4a97dfbad8dabc8698d8a507298a03f42c734e96d58ca35d3c7d4085e283440bbca1cd1938cff85031728079bedb3345310c58ab1ec92d6 - languageName: node - linkType: hard - "browserslist@npm:^4.0.0": version: 4.6.3 resolution: "browserslist@npm:4.6.3" @@ -4508,6 +3967,21 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.16.8": + version: 4.17.0 + resolution: "browserslist@npm:4.17.0" + dependencies: + caniuse-lite: ^1.0.30001254 + colorette: ^1.3.0 + electron-to-chromium: ^1.3.830 + escalade: ^3.1.1 + node-releases: ^1.1.75 + bin: + browserslist: cli.js + checksum: 9b45ec283d7ba1513bd8be6143dadb34a65e8be7f7210b3a2bce947e019184408df6126238e54f8061e9be74362b19d04eaba739b3ee0d5d41d57ac0ae5fe4cd + languageName: node + linkType: hard + "browserslist@npm:^4.8.3, browserslist@npm:^4.8.5, browserslist@npm:^4.9.1": version: 4.9.1 resolution: "browserslist@npm:4.9.1" @@ -4546,75 +4020,6 @@ __metadata: languageName: node linkType: hard -"buffer-indexof@npm:^1.0.0": - version: 1.1.1 - resolution: "buffer-indexof@npm:1.1.1" - checksum: 0967abc2981a8e7d776324c6b84811e4d84a7ead89b54a3bb8791437f0c4751afd060406b06db90a436f1cf771867331b5ecf5c4aca95b4ccb9f6cb146c22ebc - languageName: node - linkType: hard - -"buffer-xor@npm:^1.0.3": - version: 1.0.3 - resolution: "buffer-xor@npm:1.0.3" - checksum: 10c520df29d62fa6e785e2800e586a20fc4f6dfad84bcdbd12e1e8a83856de1cb75c7ebd7abe6d036bbfab738a6cf18a3ae9c8e5a2e2eb3167ca7399ce65373a - languageName: node - linkType: hard - -"buffer@npm:^4.3.0": - version: 4.9.1 - resolution: "buffer@npm:4.9.1" - dependencies: - base64-js: ^1.0.2 - ieee754: ^1.1.4 - isarray: ^1.0.0 - checksum: 7512740cad3b560698e564126dbd1fad0001989cadbdc566dd801629b87f03bff552dfa5a500916dc8c0260c97ae9370e94739cb28bfa42c771a677a20f26367 - languageName: node - linkType: hard - -"builtin-status-codes@npm:^3.0.0": - version: 3.0.0 - resolution: "builtin-status-codes@npm:3.0.0" - checksum: 1119429cf4b0d57bf76b248ad6f529167d343156ebbcc4d4e4ad600484f6bc63002595cbb61b67ad03ce55cd1d3c4711c03bbf198bf24653b8392420482f3773 - languageName: node - linkType: hard - -"bytes@npm:3.0.0": - version: 3.0.0 - resolution: "bytes@npm:3.0.0" - checksum: a2b386dd8188849a5325f58eef69c3b73c51801c08ffc6963eddc9be244089ba32d19347caf6d145c86f315ae1b1fc7061a32b0c1aa6379e6a719090287ed101 - languageName: node - linkType: hard - -"bytes@npm:3.1.0": - version: 3.1.0 - resolution: "bytes@npm:3.1.0" - checksum: 7c3b21c5d9d44ed455460d5d36a31abc6fa2ce3807964ba60a4b03fd44454c8cf07bb0585af83bfde1c5cc2ea4bbe5897bc3d18cd15e0acf25a3615a35aba2df - languageName: node - linkType: hard - -"cacache@npm:^12.0.2, cacache@npm:^12.0.3": - version: 12.0.3 - resolution: "cacache@npm:12.0.3" - dependencies: - bluebird: ^3.5.5 - chownr: ^1.1.1 - figgy-pudding: ^3.5.1 - glob: ^7.1.4 - graceful-fs: ^4.1.15 - infer-owner: ^1.0.3 - lru-cache: ^5.1.1 - mississippi: ^3.0.0 - mkdirp: ^0.5.1 - move-concurrently: ^1.0.1 - promise-inflight: ^1.0.1 - rimraf: ^2.6.3 - ssri: ^6.0.1 - unique-filename: ^1.1.1 - y18n: ^4.0.0 - checksum: 42be000a789b3a5d70fe367646d684a6250383566634951d177027a061285e187a559b3758305b667210b80e5070afd86e32ebe0bfa4552c15fd9a5b64af8706 - languageName: node - linkType: hard - "cacache@npm:^15.0.5": version: 15.3.0 resolution: "cacache@npm:15.3.0" @@ -4700,16 +4105,6 @@ __metadata: languageName: node linkType: hard -"camel-case@npm:3.0.x": - version: 3.0.0 - resolution: "camel-case@npm:3.0.0" - dependencies: - no-case: ^2.2.0 - upper-case: ^1.1.1 - checksum: 4190ed6ab8acf4f3f6e1a78ad4d0f3f15ce717b6bfa1b5686d58e4bcd29960f6e312dd746b5fa259c6d452f1413caef25aee2e10c9b9a580ac83e516533a961a - languageName: node - linkType: hard - "camelcase@npm:^5.0.0, camelcase@npm:^5.3.1": version: 5.3.1 resolution: "camelcase@npm:5.3.1" @@ -4750,6 +4145,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001252, caniuse-lite@npm:^1.0.30001254": + version: 1.0.30001259 + resolution: "caniuse-lite@npm:1.0.30001259" + checksum: 4b0423693616a62d3a9beaa35ab5a414a9e4398df7361915ca2b6f24142f1f55909e014d5f0c14c034c0fd5084524116ab46bcdfae5c3b8620f11f2822a1c4ba + languageName: node + linkType: hard + "capture-exit@npm:^2.0.0": version: 2.0.0 resolution: "capture-exit@npm:2.0.0" @@ -4796,7 +4198,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.3.0, chalk@npm:^2.3.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2": +"chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.3.1, chalk@npm:^2.4.1, chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -4817,16 +4219,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^4.1.0": - version: 4.1.1 - resolution: "chalk@npm:4.1.1" - dependencies: - ansi-styles: ^4.1.0 - supports-color: ^7.1.0 - checksum: 036e973e665ba1a32c975e291d5f3d549bceeb7b1b983320d4598fb75d70fe20c5db5d62971ec0fe76cdbce83985a00ee42372416abfc3a5584465005a7855ed - languageName: node - linkType: hard - "character-entities-html4@npm:^1.0.0": version: 1.1.4 resolution: "character-entities-html4@npm:1.1.4" @@ -4876,30 +4268,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^2.1.8": - version: 2.1.8 - resolution: "chokidar@npm:2.1.8" - dependencies: - anymatch: ^2.0.0 - async-each: ^1.0.1 - braces: ^2.3.2 - fsevents: ^1.2.7 - glob-parent: ^3.1.0 - inherits: ^2.0.3 - is-binary-path: ^1.0.0 - is-glob: ^4.0.0 - normalize-path: ^3.0.0 - path-is-absolute: ^1.0.0 - readdirp: ^2.2.1 - upath: ^1.1.1 - dependenciesMeta: - fsevents: - optional: true - checksum: 0c43e89cbf0268ef1e1f41ce8ec5233c7ba022c6f3282c2ef6530e351d42396d389a1148c5a040f291cf1f4083a4c6b2f51dad3f31c726442ea9a337de316bcf - languageName: node - linkType: hard - -"chokidar@npm:^3.4.1": +"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.5.2": version: 3.5.2 resolution: "chokidar@npm:3.5.2" dependencies: @@ -4918,13 +4287,6 @@ __metadata: languageName: node linkType: hard -"chownr@npm:^1.1.1": - version: 1.1.2 - resolution: "chownr@npm:1.1.2" - checksum: d7e32cab95b511312bbc823aaa1bfebe557d6d47258bd1ada37bac410fc7307e94c2f3a733a44f5521e5a0ce85b4121728316891b6fd70e8b58e4d78e0b9eaa6 - languageName: node - linkType: hard - "chownr@npm:^2.0.0": version: 2.0.0 resolution: "chownr@npm:2.0.0" @@ -4932,15 +4294,6 @@ __metadata: languageName: node linkType: hard -"chrome-trace-event@npm:^1.0.2": - version: 1.0.2 - resolution: "chrome-trace-event@npm:1.0.2" - dependencies: - tslib: ^1.9.0 - checksum: a104606fd07e6191848fa15d4031ac41c1715d025074574bdbb27d998a20d75d860a2060a5aca840bfbf97ec2ef6b72df9b387ed4109a8fc6eb5c362477c9294 - languageName: node - linkType: hard - "ci-info@npm:^2.0.0": version: 2.0.0 resolution: "ci-info@npm:2.0.0" @@ -4948,16 +4301,6 @@ __metadata: languageName: node linkType: hard -"cipher-base@npm:^1.0.0, cipher-base@npm:^1.0.1, cipher-base@npm:^1.0.3": - version: 1.0.4 - resolution: "cipher-base@npm:1.0.4" - dependencies: - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - checksum: 47d3568dbc17431a339bad1fe7dff83ac0891be8206911ace3d3b818fc695f376df809bea406e759cdea07fff4b454fa25f1013e648851bec790c1d75763032e - languageName: node - linkType: hard - "class-utils@npm:^0.3.5": version: 0.3.6 resolution: "class-utils@npm:0.3.6" @@ -4984,15 +4327,6 @@ __metadata: languageName: node linkType: hard -"clean-css@npm:4.2.x": - version: 4.2.1 - resolution: "clean-css@npm:4.2.1" - dependencies: - source-map: ~0.6.0 - checksum: ec44b470ba82f24ef00934c7a7dc29ba2e9b374328ed1dd5dd5b7e02a23495e34079cf82f70fc94d64e399e8d2fed7df6d9fa7fb2f0555263f990788e58bc841 - languageName: node - linkType: hard - "clean-stack@npm:^2.0.0": version: 2.2.0 resolution: "clean-stack@npm:2.2.0" @@ -5000,17 +4334,6 @@ __metadata: languageName: node linkType: hard -"clean-webpack-plugin@npm:2.0.1": - version: 2.0.1 - resolution: "clean-webpack-plugin@npm:2.0.1" - dependencies: - del: ^4.0.0 - peerDependencies: - webpack: "*" - checksum: 41c13323ed34ce6194e42018d182d1e2e45b13ffd2a73260d9ec2ccce371fb29b07512d20568223f777ea57c142876dfca91c462ef117b9e548816bc1226eb22 - languageName: node - linkType: hard - "cli-cursor@npm:^2.0.0, cli-cursor@npm:^2.1.0": version: 2.1.0 resolution: "cli-cursor@npm:2.1.0" @@ -5048,17 +4371,6 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^5.0.0": - version: 5.0.0 - resolution: "cliui@npm:5.0.0" - dependencies: - string-width: ^3.1.0 - strip-ansi: ^5.2.0 - wrap-ansi: ^5.1.0 - checksum: 0bb8779efe299b8f3002a73619eaa8add4081eb8d1c17bc4fedc6240557fb4eacdc08fe87c39b002eacb6cfc117ce736b362dbfd8bf28d90da800e010ee97df4 - languageName: node - linkType: hard - "cliui@npm:^6.0.0": version: 6.0.0 resolution: "cliui@npm:6.0.0" @@ -5185,6 +4497,13 @@ __metadata: languageName: node linkType: hard +"colorette@npm:^1.2.2, colorette@npm:^1.3.0": + version: 1.4.0 + resolution: "colorette@npm:1.4.0" + checksum: 01c3c16058b182a4ab4c126a65a75faa4d38a20fa7c845090b25453acec6c371bb2c5dceb0a2338511f17902b9d1a9af0cadd8509c9403894b79311032c256c3 + languageName: node + linkType: hard + "combined-stream@npm:^1.0.6, combined-stream@npm:~1.0.6": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" @@ -5201,13 +4520,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:2.17.x": - version: 2.17.1 - resolution: "commander@npm:2.17.1" - checksum: 22e7ed5b422079a13a496e5eb8f73f36c15b5809d46f738e168e20f9ad485c12951bdc2cb366a36eb5f4927dae4f17b355b8adb96a5b9093f5fa4c439e8b9419 - languageName: node - linkType: hard - "commander@npm:^2.14.1, commander@npm:^2.19.0, commander@npm:^2.9.0": version: 2.20.0 resolution: "commander@npm:2.20.0" @@ -5215,34 +4527,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.20.0": - version: 2.20.3 - resolution: "commander@npm:2.20.3" - checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e - languageName: node - linkType: hard - -"commander@npm:^6.2.0": - version: 6.2.1 - resolution: "commander@npm:6.2.1" - checksum: d7090410c0de6bc5c67d3ca41c41760d6d268f3c799e530aafb73b7437d1826bbf0d2a3edac33f8b57cc9887b4a986dce307fa5557e109be40eadb7c43b21742 - languageName: node - linkType: hard - -"commander@npm:~2.19.0": - version: 2.19.0 - resolution: "commander@npm:2.19.0" - checksum: d52ffb0b31528784005356f879591b5a4875d3e88806c115fb30a8de0994d2fa9ca3f72a3cb880cdaf1bfb9df185f928cfcbbc656fa831f9c6109a209569ef6d - languageName: node - linkType: hard - -"commondir@npm:^1.0.1": - version: 1.0.1 - resolution: "commondir@npm:1.0.1" - checksum: 59715f2fc456a73f68826285718503340b9f0dd89bfffc42749906c5cf3d4277ef11ef1cca0350d0e79204f00f1f6d83851ececc9095dc88512a697ac0b9bdcb - languageName: node - linkType: hard - "component-emitter@npm:^1.2.1": version: 1.3.0 resolution: "component-emitter@npm:1.3.0" @@ -5250,30 +4534,6 @@ __metadata: languageName: node linkType: hard -"compressible@npm:~2.0.16": - version: 2.0.17 - resolution: "compressible@npm:2.0.17" - dependencies: - mime-db: ">= 1.40.0 < 2" - checksum: f9010080bd2a07794470a6f57e122fede2bf1338f848c30b4020e8c7cfa7907a753db19e1c3f0dc81a33ddd1fe98783d4ca4dfb8c6d7a99d8d697606edc68f3e - languageName: node - linkType: hard - -"compression@npm:^1.7.4": - version: 1.7.4 - resolution: "compression@npm:1.7.4" - dependencies: - accepts: ~1.3.5 - bytes: 3.0.0 - compressible: ~2.0.16 - debug: 2.6.9 - on-headers: ~1.0.2 - safe-buffer: 5.1.2 - vary: ~1.1.2 - checksum: 35c0f2eb1f28418978615dc1bc02075b34b1568f7f56c62d60f4214d4b7cc00d0f6d282b5f8a954f59872396bd770b6b15ffd8aa94c67d4bce9b8887b906999b - languageName: node - linkType: hard - "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -5281,34 +4541,6 @@ __metadata: languageName: node linkType: hard -"concat-stream@npm:^1.5.0": - version: 1.6.2 - resolution: "concat-stream@npm:1.6.2" - dependencies: - buffer-from: ^1.0.0 - inherits: ^2.0.3 - readable-stream: ^2.2.2 - typedarray: ^0.0.6 - checksum: 1ef77032cb4459dcd5187bd710d6fc962b067b64ec6a505810de3d2b8cc0605638551b42f8ec91edf6fcd26141b32ef19ad749239b58fae3aba99187adc32285 - languageName: node - linkType: hard - -"connect-history-api-fallback@npm:^1.6.0": - version: 1.6.0 - resolution: "connect-history-api-fallback@npm:1.6.0" - checksum: 804ca2be28c999032ecd37a9f71405e5d7b7a4b3defcebbe41077bb8c5a0a150d7b59f51dcc33b2de30bc7e217a31d10f8cfad27e8e74c2fc7655eeba82d6e7e - languageName: node - linkType: hard - -"console-browserify@npm:^1.1.0": - version: 1.1.0 - resolution: "console-browserify@npm:1.1.0" - dependencies: - date-now: ^0.1.4 - checksum: ab1fd09cab65b146ccd15a3fcbf18f79d5069e55a0be518a91bee1533d2d4a83be5fa0c5bb4b9f0bc7cf1642fd1850abab464ab515bf7724888187af1baad2c3 - languageName: node - linkType: hard - "console-control-strings@npm:^1.0.0, console-control-strings@npm:~1.1.0": version: 1.1.0 resolution: "console-control-strings@npm:1.1.0" @@ -5316,13 +4548,6 @@ __metadata: languageName: node linkType: hard -"constants-browserify@npm:^1.0.0": - version: 1.0.0 - resolution: "constants-browserify@npm:1.0.0" - checksum: f7ac8c6d0b6e4e0c77340a1d47a3574e25abd580bfd99ad707b26ff7618596cf1a5e5ce9caf44715e9e01d4a5d12cb3b4edaf1176f34c19adb2874815a56e64f - languageName: node - linkType: hard - "contains-path@npm:^0.1.0": version: 0.1.0 resolution: "contains-path@npm:0.1.0" @@ -5330,22 +4555,6 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.3": - version: 0.5.3 - resolution: "content-disposition@npm:0.5.3" - dependencies: - safe-buffer: 5.1.2 - checksum: 95bf164c0b0b8199d3f44b7631e51b37f683c6a90b9baa4315bd3d405a6d1bc81b7346f0981046aa004331fb3d7a28b629514d01fc209a5251573fc7e4d33380 - languageName: node - linkType: hard - -"content-type@npm:~1.0.4": - version: 1.0.4 - resolution: "content-type@npm:1.0.4" - checksum: 3d93585fda985d1554eca5ebd251994327608d2e200978fdbfba21c0c679914d5faf266d17027de44b34a72c7b0745b18584ecccaa7e1fdfb6a68ac7114f12e0 - languageName: node - linkType: hard - "convert-source-map@npm:^1.1.0, convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0": version: 1.6.0 resolution: "convert-source-map@npm:1.6.0" @@ -5364,31 +4573,12 @@ __metadata: languageName: node linkType: hard -"cookie-signature@npm:1.0.6": - version: 1.0.6 - resolution: "cookie-signature@npm:1.0.6" - checksum: f4e1b0a98a27a0e6e66fd7ea4e4e9d8e038f624058371bf4499cfcd8f3980be9a121486995202ba3fca74fbed93a407d6d54d43a43f96fd28d0bd7a06761591a - languageName: node - linkType: hard - -"cookie@npm:0.4.0": - version: 0.4.0 - resolution: "cookie@npm:0.4.0" - checksum: 760384ba0aef329c52523747e36a452b5e51bc49b34160363a6934e7b7df3f93fcc88b35e33450361535d40a92a96412da870e1816aba9aa6cc556a9fedd8492 - languageName: node - linkType: hard - -"copy-concurrently@npm:^1.0.0": - version: 1.0.5 - resolution: "copy-concurrently@npm:1.0.5" +"copy-anything@npm:^2.0.1": + version: 2.0.3 + resolution: "copy-anything@npm:2.0.3" dependencies: - aproba: ^1.1.1 - fs-write-stream-atomic: ^1.0.8 - iferr: ^0.1.5 - mkdirp: ^0.5.1 - rimraf: ^2.5.4 - run-queue: ^1.0.0 - checksum: 63c169f582e09445260988f697b2d07793d439dfc31e97c8999707bd188dd94d1c7f2ca3533c7786fb75f03a3f2f54ad1ee08055f95f61bb8d2e862498c1d460 + is-what: ^3.12.0 + checksum: 50f6423fa7e346416c18658fd253bfbe8783ff51c4f244a3c18c39693369cc7cb84cc9e4a4e109c0ab2f81e44eb345ce9ca8f0fb4b48f4aae3a396423912d60f languageName: node linkType: hard @@ -5399,28 +4589,6 @@ __metadata: languageName: node linkType: hard -"copy-webpack-plugin@npm:5.1.2": - version: 5.1.2 - resolution: "copy-webpack-plugin@npm:5.1.2" - dependencies: - cacache: ^12.0.3 - find-cache-dir: ^2.1.0 - glob-parent: ^3.1.0 - globby: ^7.1.1 - is-glob: ^4.0.1 - loader-utils: ^1.2.3 - minimatch: ^3.0.4 - normalize-path: ^3.0.0 - p-limit: ^2.2.1 - schema-utils: ^1.0.0 - serialize-javascript: ^4.0.0 - webpack-log: ^2.0.0 - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: e398884dee1891311bc1661ba980ef8e6cc6aaf807dd49f782cb37aa66b0c53ef844360c5a0406373eda0ab444b2d6d8743b35a1f7634577ae34619dd19e231e - languageName: node - linkType: hard - "core-js-compat@npm:^3.6.2": version: 3.6.4 resolution: "core-js-compat@npm:3.6.4" @@ -5485,43 +4653,6 @@ __metadata: languageName: node linkType: hard -"create-ecdh@npm:^4.0.0": - version: 4.0.3 - resolution: "create-ecdh@npm:4.0.3" - dependencies: - bn.js: ^4.1.0 - elliptic: ^6.0.0 - checksum: 0678955daf937c188c69b2a601ebcbe4ab02ca3c1aa04f62d5fb5511430d0141802207eabf9aa100351920ea89bfcbe53ba8bd4c013a1a3453fd807549a5ede2 - languageName: node - linkType: hard - -"create-hash@npm:^1.1.0, create-hash@npm:^1.1.2": - version: 1.2.0 - resolution: "create-hash@npm:1.2.0" - dependencies: - cipher-base: ^1.0.1 - inherits: ^2.0.1 - md5.js: ^1.3.4 - ripemd160: ^2.0.1 - sha.js: ^2.4.0 - checksum: 02a6ae3bb9cd4afee3fabd846c1d8426a0e6b495560a977ba46120c473cb283be6aa1cace76b5f927cf4e499c6146fb798253e48e83d522feba807d6b722eaa9 - languageName: node - linkType: hard - -"create-hmac@npm:^1.1.0, create-hmac@npm:^1.1.2, create-hmac@npm:^1.1.4": - version: 1.1.7 - resolution: "create-hmac@npm:1.1.7" - dependencies: - cipher-base: ^1.0.3 - create-hash: ^1.1.0 - inherits: ^2.0.1 - ripemd160: ^2.0.0 - safe-buffer: ^5.0.1 - sha.js: ^2.4.8 - checksum: ba12bb2257b585a0396108c72830e85f882ab659c3320c83584b1037f8ab72415095167ced80dc4ce8e446a8ecc4b2acf36d87befe0707d73b26cf9dc77440ed - languageName: node - linkType: hard - "create-react-class@npm:15.6.3, create-react-class@npm:^15.5.1": version: 15.6.3 resolution: "create-react-class@npm:15.6.3" @@ -5592,25 +4723,6 @@ __metadata: languageName: node linkType: hard -"crypto-browserify@npm:^3.11.0": - version: 3.12.0 - resolution: "crypto-browserify@npm:3.12.0" - dependencies: - browserify-cipher: ^1.0.0 - browserify-sign: ^4.0.0 - create-ecdh: ^4.0.0 - create-hash: ^1.1.0 - create-hmac: ^1.1.0 - diffie-hellman: ^5.0.0 - inherits: ^2.0.1 - pbkdf2: ^3.0.3 - public-encrypt: ^4.0.0 - randombytes: ^2.0.0 - randomfill: ^1.0.3 - checksum: c1609af82605474262f3eaa07daa0b2140026bd264ab316d4bf1170272570dbe02f0c49e29407fe0d3634f96c507c27a19a6765fb856fed854a625f9d15618e2 - languageName: node - linkType: hard - "css-color-names@npm:0.0.4, css-color-names@npm:^0.0.4": version: 0.0.4 resolution: "css-color-names@npm:0.0.4" @@ -5627,45 +4739,11 @@ __metadata: checksum: c38c00245c6706bd1127a6a2807bbdea3a2621c1f4e4bcb4710f6736c15c4ec414e02213adeab2171623351616090cb96374f683b90ec2aad18903066c4526d7 languageName: node linkType: hard - -"css-loader@npm:3.4.2": - version: 3.4.2 - resolution: "css-loader@npm:3.4.2" - dependencies: - camelcase: ^5.3.1 - cssesc: ^3.0.0 - icss-utils: ^4.1.1 - loader-utils: ^1.2.3 - normalize-path: ^3.0.0 - postcss: ^7.0.23 - postcss-modules-extract-imports: ^2.0.0 - postcss-modules-local-by-default: ^3.0.2 - postcss-modules-scope: ^2.1.1 - postcss-modules-values: ^3.0.0 - postcss-value-parser: ^4.0.2 - schema-utils: ^2.6.0 - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: dbd80f052b41ea7c33d96a2fbeabca82773f7e3567300c636ffb079ffcf8ba111b02f315346942334ed27ffc137323c9a4ac1e446eaed5837abbdd3fdd371a0c - languageName: node - linkType: hard - -"css-select-base-adapter@npm:^0.1.1": - version: 0.1.1 - resolution: "css-select-base-adapter@npm:0.1.1" - checksum: c107e9cfa53a23427e4537451a67358375e656baa3322345a982d3c2751fb3904002aae7e5d72386c59f766fe6b109d1ffb43eeab1c16f069f7a3828eb17851c - languageName: node - linkType: hard - -"css-select@npm:^1.1.0, css-select@npm:~1.2.0": - version: 1.2.0 - resolution: "css-select@npm:1.2.0" - dependencies: - boolbase: ~1.0.0 - css-what: 2.1 - domutils: 1.5.1 - nth-check: ~1.0.1 - checksum: 607cca60d2f5c56701fe5f800bbe668b114395c503d4e4808edbbbe70b8be3c96a6407428dc0227fcbdf335b20468e6a9e7fd689185edfb57d402e1e4837c9b7 + +"css-select-base-adapter@npm:^0.1.1": + version: 0.1.1 + resolution: "css-select-base-adapter@npm:0.1.1" + checksum: c107e9cfa53a23427e4537451a67358375e656baa3322345a982d3c2751fb3904002aae7e5d72386c59f766fe6b109d1ffb43eeab1c16f069f7a3828eb17851c languageName: node linkType: hard @@ -5681,6 +4759,18 @@ __metadata: languageName: node linkType: hard +"css-select@npm:~1.2.0": + version: 1.2.0 + resolution: "css-select@npm:1.2.0" + dependencies: + boolbase: ~1.0.0 + css-what: 2.1 + domutils: 1.5.1 + nth-check: ~1.0.1 + checksum: 607cca60d2f5c56701fe5f800bbe668b114395c503d4e4808edbbbe70b8be3c96a6407428dc0227fcbdf335b20468e6a9e7fd689185edfb57d402e1e4837c9b7 + languageName: node + linkType: hard + "css-tree@npm:1.0.0-alpha.28": version: 1.0.0-alpha.28 resolution: "css-tree@npm:1.0.0-alpha.28" @@ -5734,6 +4824,17 @@ __metadata: languageName: node linkType: hard +"css@npm:^3.0.0": + version: 3.0.0 + resolution: "css@npm:3.0.0" + dependencies: + inherits: ^2.0.4 + source-map: ^0.6.1 + source-map-resolve: ^0.6.0 + checksum: 4273ac816ddf99b99acb9c1d1a27d86d266a533cc01118369d941d8e8a78277a83cad3315e267a398c509d930fbb86504e193ea1ebc620a4a4212e06fe76e8be + languageName: node + linkType: hard + "cssesc@npm:^2.0.0": version: 2.0.0 resolution: "cssesc@npm:2.0.0" @@ -5885,10 +4986,13 @@ __metadata: languageName: node linkType: hard -"cyclist@npm:~0.2.2": - version: 0.2.2 - resolution: "cyclist@npm:0.2.2" - checksum: 12563caf471b19401f17296579cf5af3b177c6dd3f4d673a6f838de945918c2f0b487ab6c4f803b557b83826c2aa80e55e465d34a206266a2947a1c19ab5c9ba +"cwd@npm:^0.10.0": + version: 0.10.0 + resolution: "cwd@npm:0.10.0" + dependencies: + find-pkg: ^0.1.2 + fs-exists-sync: ^0.1.0 + checksum: 55ab180af86306fe7268c63dd87a737a12e1cb5146be6bcd7fe298df5f5c594cad85907a47fee02cee322d7dc98197a2b45e4d7ebfb0b2c93892bde7d787fe56 languageName: node linkType: hard @@ -6080,22 +5184,6 @@ __metadata: languageName: node linkType: hard -"date-now@npm:^0.1.4": - version: 0.1.4 - resolution: "date-now@npm:0.1.4" - checksum: 7f4762ce64c3535cb004d8f8517dae23b57fed221ffd661ef7db0142dc639a66e95700da10e98b9225d86dd2655d81a3d7bc2186adcb09a6a8e13647265a621d - languageName: node - linkType: hard - -"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.6, debug@npm:^2.6.9": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: 2.0.0 - checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 - languageName: node - linkType: hard - "debug@npm:4": version: 4.3.2 resolution: "debug@npm:4.3.2" @@ -6108,7 +5196,16 @@ __metadata: languageName: node linkType: hard -"debug@npm:^3.1.0, debug@npm:^3.1.1, debug@npm:^3.2.6": +"debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.6, debug@npm:^2.6.9": + version: 2.6.9 + resolution: "debug@npm:2.6.9" + dependencies: + ms: 2.0.0 + checksum: d2f51589ca66df60bf36e1fa6e4386b318c3f1e06772280eea5b1ae9fd3d05e9c2b7fd8a7d862457d00853c75b00451aa2d7459b924629ee385287a650f58fe6 + languageName: node + linkType: hard + +"debug@npm:^3.1.0, debug@npm:^3.2.6": version: 3.2.6 resolution: "debug@npm:3.2.6" dependencies: @@ -6126,6 +5223,15 @@ __metadata: languageName: node linkType: hard +"debug@npm:~3.1.0": + version: 3.1.0 + resolution: "debug@npm:3.1.0" + dependencies: + ms: 2.0.0 + checksum: 0b52718ab957254a5b3ca07fc34543bc778f358620c206a08452251eb7fc193c3ea3505072acbf4350219c14e2d71ceb7bdaa0d3370aa630b50da790458d08b3 + languageName: node + linkType: hard + "decamelize@npm:^1.2.0": version: 1.2.0 resolution: "decamelize@npm:1.2.0" @@ -6147,20 +5253,6 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:^1.0.1": - version: 1.0.1 - resolution: "deep-equal@npm:1.0.1" - checksum: 5af8cbfcebf190491878a498caccc7dc9592f8ebd1685b976eacc3825619d222b5e929923163b92c4f414494e2b884f7ebf00c022e8198e8292deb70dd9785f4 - languageName: node - linkType: hard - -"deep-extend@npm:^0.6.0": - version: 0.6.0 - resolution: "deep-extend@npm:0.6.0" - checksum: 7be7e5a8d468d6b10e6a67c3de828f55001b6eb515d014f7aeb9066ce36bd5717161eb47d6a0f7bed8a9083935b465bc163ee2581c8b128d29bf61092fdf57a7 - languageName: node - linkType: hard - "deep-is@npm:^0.1.3, deep-is@npm:~0.1.3": version: 0.1.3 resolution: "deep-is@npm:0.1.3" @@ -6182,16 +5274,6 @@ __metadata: languageName: node linkType: hard -"default-gateway@npm:^4.2.0": - version: 4.2.0 - resolution: "default-gateway@npm:4.2.0" - dependencies: - execa: ^1.0.0 - ip-regex: ^2.1.0 - checksum: 1f5be765471689c6bab33e0c8b87363c3e2485cc1ab78904d383a8a8293a79f684da2a3303744b112503f986af4ea87d917c63a468ed913e9b0c31588c02d6a4 - languageName: node - linkType: hard - "define-properties@npm:^1.1.2, define-properties@npm:^1.1.3": version: 1.1.3 resolution: "define-properties@npm:1.1.3" @@ -6229,21 +5311,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^4.0.0, del@npm:^4.1.1": - version: 4.1.1 - resolution: "del@npm:4.1.1" - dependencies: - "@types/glob": ^7.1.1 - globby: ^6.1.0 - is-path-cwd: ^2.0.0 - is-path-in-cwd: ^2.0.0 - p-map: ^2.0.0 - pify: ^4.0.1 - rimraf: ^2.6.3 - checksum: 521f7da44bd79da841c06d573923d1f64f423aee8b8219c973478d3150ce1dcc024d03ad605929292adbff56d6448bca60d96dcdd2d8a53b46dbcb27e265c94b - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -6265,30 +5332,13 @@ __metadata: languageName: node linkType: hard -"depd@npm:^1.1.2, depd@npm:~1.1.2": +"depd@npm:^1.1.2": version: 1.1.2 resolution: "depd@npm:1.1.2" checksum: 6b406620d269619852885ce15965272b829df6f409724415e0002c8632ab6a8c0a08ec1f0bd2add05dc7bd7507606f7e2cc034fa24224ab829580040b835ecd9 languageName: node linkType: hard -"des.js@npm:^1.0.0": - version: 1.0.0 - resolution: "des.js@npm:1.0.0" - dependencies: - inherits: ^2.0.1 - minimalistic-assert: ^1.0.0 - checksum: 64f3df33731864cf96d8633754d24c267dcdf32e46ebe5b8bad8d7a1b75875ff6efd2908c34008c859635c9960580ff48931d752e32fabf475433dedb03b4c61 - languageName: node - linkType: hard - -"destroy@npm:~1.0.4": - version: 1.0.4 - resolution: "destroy@npm:1.0.4" - checksum: da9ab4961dc61677c709da0c25ef01733042614453924d65636a7db37308fef8a24cd1e07172e61173d471ca175371295fbc984b0af5b2b4ff47cd57bd784c03 - languageName: node - linkType: hard - "detab@npm:^2.0.0": version: 2.0.2 resolution: "detab@npm:2.0.2" @@ -6298,15 +5348,6 @@ __metadata: languageName: node linkType: hard -"detect-libc@npm:^1.0.2": - version: 1.0.3 - resolution: "detect-libc@npm:1.0.3" - bin: - detect-libc: ./bin/detect-libc.js - checksum: daaaed925ffa7889bd91d56e9624e6c8033911bb60f3a50a74a87500680652969dbaab9526d1e200a4c94acf80fc862a22131841145a0a8482d60a99c24f4a3e - languageName: node - linkType: hard - "detect-newline@npm:^3.0.0": version: 3.1.0 resolution: "detect-newline@npm:3.1.0" @@ -6314,13 +5355,6 @@ __metadata: languageName: node linkType: hard -"detect-node@npm:^2.0.4": - version: 2.0.4 - resolution: "detect-node@npm:2.0.4" - checksum: c06ae40fefbad8cb8cbb6ca819c93568b2a809e747bfc9c71f3524b027f5e988163b0ac0517fd65288b375360b30bc4822172eb05d211f99003d73cf8ec22911 - languageName: node - linkType: hard - "detect-port-alt@npm:1.1.3": version: 1.1.3 resolution: "detect-port-alt@npm:1.1.3" @@ -6361,26 +5395,6 @@ __metadata: languageName: node linkType: hard -"diffie-hellman@npm:^5.0.0": - version: 5.0.3 - resolution: "diffie-hellman@npm:5.0.3" - dependencies: - bn.js: ^4.1.0 - miller-rabin: ^4.0.0 - randombytes: ^2.0.0 - checksum: 0e620f322170c41076e70181dd1c24e23b08b47dbb92a22a644f3b89b6d3834b0f8ee19e37916164e5eb1ee26d2aa836d6129f92723995267250a0b541811065 - languageName: node - linkType: hard - -"dir-glob@npm:^2.0.0": - version: 2.2.2 - resolution: "dir-glob@npm:2.2.2" - dependencies: - path-type: ^3.0.0 - checksum: 3aa48714a9f7845ffc30ab03a5c674fe760477cc55e67b0847333371549227d93953e6627ec160f75140c5bea5c5f88d13c01de79bd1997a588efbcf06980842 - languageName: node - linkType: hard - "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -6397,32 +5411,6 @@ __metadata: languageName: node linkType: hard -"dns-equal@npm:^1.0.0": - version: 1.0.0 - resolution: "dns-equal@npm:1.0.0" - checksum: a8471ac849c7c13824f053babea1bc26e2f359394dd5a460f8340d8abd13434be01e3327a5c59d212f8c8997817450efd3f3ac77bec709b21979cf0235644524 - languageName: node - linkType: hard - -"dns-packet@npm:^1.3.1": - version: 1.3.1 - resolution: "dns-packet@npm:1.3.1" - dependencies: - ip: ^1.1.0 - safe-buffer: ^5.0.1 - checksum: 6575edeea6e6e719823a1574cd1adcfebdc96f870cb1b367d6168490dc36c9826a97bf57ad009e6fdcd3dc5000cc43de7cb72a2102ba05b83178c8d0300c5a6e - languageName: node - linkType: hard - -"dns-txt@npm:^2.0.2": - version: 2.0.2 - resolution: "dns-txt@npm:2.0.2" - dependencies: - buffer-indexof: ^1.0.0 - checksum: 80130b665379ecd991687ae079fbee25d091e03e4c4cef41e7643b977849ac48c2f56bfcb3727e53594d29029b833749811110d9f3fbee1b26a6e6f8096a5cef - languageName: node - linkType: hard - "doctrine@npm:1.5.0": version: 1.5.0 resolution: "doctrine@npm:1.5.0" @@ -6451,15 +5439,6 @@ __metadata: languageName: node linkType: hard -"dom-converter@npm:^0.2": - version: 0.2.0 - resolution: "dom-converter@npm:0.2.0" - dependencies: - utila: ~0.4 - checksum: ea52fe303f5392e48dea563abef0e6fb3a478b8dbe3c599e99bb5d53981c6c38fc4944e56bb92a8ead6bb989d10b7914722ae11febbd2fd0910e33b9fc4aaa77 - languageName: node - linkType: hard - "dom-helpers@npm:^5.0.0": version: 5.1.3 resolution: "dom-helpers@npm:5.1.3" @@ -6480,13 +5459,6 @@ __metadata: languageName: node linkType: hard -"domain-browser@npm:^1.1.1": - version: 1.2.0 - resolution: "domain-browser@npm:1.2.0" - checksum: 8f1235c7f49326fb762f4675795246a6295e7dd566b4697abec24afdba2460daa7dfbd1a73d31efbf5606b3b7deadb06ce47cf06f0a476e706153d62a4ff2b90 - languageName: node - linkType: hard - "domelementtype@npm:1, domelementtype@npm:^1.3.0, domelementtype@npm:^1.3.1": version: 1.3.1 resolution: "domelementtype@npm:1.3.1" @@ -6555,25 +5527,6 @@ __metadata: languageName: node linkType: hard -"duplexer@npm:^0.1.2": - version: 0.1.2 - resolution: "duplexer@npm:0.1.2" - checksum: 62ba61a830c56801db28ff6305c7d289b6dc9f859054e8c982abd8ee0b0a14d2e9a8e7d086ffee12e868d43e2bbe8a964be55ddbd8c8957714c87373c7a4f9b0 - languageName: node - linkType: hard - -"duplexify@npm:^3.4.2, duplexify@npm:^3.6.0": - version: 3.7.1 - resolution: "duplexify@npm:3.7.1" - dependencies: - end-of-stream: ^1.0.0 - inherits: ^2.0.1 - readable-stream: ^2.0.0 - stream-shift: ^1.0.0 - checksum: 3c2ed2223d956a5da713dae12ba8295acb61d9acd966ccbba938090d04f4574ca4dca75cca089b5077c2d7e66101f32e6ea9b36a78ca213eff574e7a8b8accf2 - languageName: node - linkType: hard - "ecc-jsbn@npm:~0.1.1": version: 0.1.2 resolution: "ecc-jsbn@npm:0.1.2" @@ -6584,13 +5537,6 @@ __metadata: languageName: node linkType: hard -"ee-first@npm:1.1.1": - version: 1.1.1 - resolution: "ee-first@npm:1.1.1" - checksum: 1b4cac778d64ce3b582a7e26b218afe07e207a0f9bfe13cc7395a6d307849cfe361e65033c3251e00c27dd060cab43014c2d6b2647676135e18b77d2d05b3f4f - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.3.164": version: 1.3.187 resolution: "electron-to-chromium@npm:1.3.187" @@ -6612,6 +5558,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.3.830": + version: 1.3.845 + resolution: "electron-to-chromium@npm:1.3.845" + checksum: 2e14aa373173686b34e34a7dd9793a4fe19441a0e0586c20c0500ac1a646bb6673408d55f92cf48235891a80bf26456efd709a2a38561dfc5887f9e255108a57 + languageName: node + linkType: hard + "elegant-spinner@npm:^1.0.1": version: 1.0.1 resolution: "elegant-spinner@npm:1.0.1" @@ -6619,21 +5572,6 @@ __metadata: languageName: node linkType: hard -"elliptic@npm:^6.0.0": - version: 6.5.4 - resolution: "elliptic@npm:6.5.4" - dependencies: - bn.js: ^4.11.9 - brorand: ^1.1.0 - hash.js: ^1.0.0 - hmac-drbg: ^1.0.1 - inherits: ^2.0.4 - minimalistic-assert: ^1.0.1 - minimalistic-crypto-utils: ^1.0.1 - checksum: d56d21fd04e97869f7ffcc92e18903b9f67f2d4637a23c860492fbbff5a3155fd9ca0184ce0c865dd6eb2487d234ce9551335c021c376cd2d3b7cb749c7d10f4 - languageName: node - linkType: hard - "emoji-regex@npm:>=6.0.0 <=6.1.1": version: 6.1.1 resolution: "emoji-regex@npm:6.1.1" @@ -6641,13 +5579,6 @@ __metadata: languageName: node linkType: hard -"emoji-regex@npm:^7.0.1": - version: 7.0.3 - resolution: "emoji-regex@npm:7.0.3" - checksum: 9159b2228b1511f2870ac5920f394c7e041715429a68459ebe531601555f11ea782a8e1718f969df2711d38c66268174407cbca57ce36485544f695c2dfdc96e - languageName: node - linkType: hard - "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" @@ -6669,13 +5600,6 @@ __metadata: languageName: node linkType: hard -"encodeurl@npm:~1.0.2": - version: 1.0.2 - resolution: "encodeurl@npm:1.0.2" - checksum: e50e3d508cdd9c4565ba72d2012e65038e5d71bdc9198cb125beb6237b5b1ade6c0d343998da9e170fb2eae52c1bed37d4d6d98a46ea423a0cddbed5ac3f780c - languageName: node - linkType: hard - "encoding@npm:^0.1.11": version: 0.1.12 resolution: "encoding@npm:0.1.12" @@ -6694,7 +5618,7 @@ __metadata: languageName: node linkType: hard -"end-of-stream@npm:^1.0.0, end-of-stream@npm:^1.1.0": +"end-of-stream@npm:^1.1.0": version: 1.4.1 resolution: "end-of-stream@npm:1.4.1" dependencies: @@ -6703,28 +5627,6 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^4.0.0": - version: 4.1.0 - resolution: "enhanced-resolve@npm:4.1.0" - dependencies: - graceful-fs: ^4.1.2 - memory-fs: ^0.4.0 - tapable: ^1.0.0 - checksum: 746bd51595f11be59ddc31a4b63252831682385ed0e9c89e240c8d61aab2d3e34fde1790b69c63feeb131e794cb333572b47085a8fb9785c45ce4d9d387b7109 - languageName: node - linkType: hard - -"enhanced-resolve@npm:^4.5.0": - version: 4.5.0 - resolution: "enhanced-resolve@npm:4.5.0" - dependencies: - graceful-fs: ^4.1.2 - memory-fs: ^0.5.0 - tapable: ^1.0.0 - checksum: 4d87488584c4d67d356ef4ba04978af4b2d4d18190cb859efac8e8475a34d5d6c069df33faa5a0a22920b0586dbf330f6a08d52bb15a8771a9ce4d70a2da74ba - languageName: node - linkType: hard - "enquirer@npm:^2.3.5": version: 2.3.6 resolution: "enquirer@npm:2.3.6" @@ -6844,14 +5746,14 @@ __metadata: languageName: node linkType: hard -"errno@npm:^0.1.3, errno@npm:~0.1.7": - version: 0.1.7 - resolution: "errno@npm:0.1.7" +"errno@npm:^0.1.1": + version: 0.1.8 + resolution: "errno@npm:0.1.8" dependencies: prr: ~1.0.1 bin: - errno: ./cli.js - checksum: a9e414c24aa9d16c74cee74e46e1b4ff5e5b005552b5b50ca242b14fea448720a21fe515b4e4587172744b1dab9ecf919ba5a950f528d7c8ddb4b660f290db79 + errno: cli.js + checksum: 1271f7b9fbb3bcbec76ffde932485d1e3561856d21d847ec613a9722ee924cdd4e523a62dc71a44174d91e898fe21fdc8d5b50823f4b5e0ce8c35c8271e6ef4a languageName: node linkType: hard @@ -6939,10 +5841,55 @@ __metadata: languageName: node linkType: hard -"escape-html@npm:~1.0.3": - version: 1.0.3 - resolution: "escape-html@npm:1.0.3" - checksum: 6213ca9ae00d0ab8bccb6d8d4e0a98e76237b2410302cf7df70aaa6591d509a2a37ce8998008cbecae8fc8ffaadf3fb0229535e6a145f3ce0b211d060decbb24 +"esbuild-plugin-glob@npm:1.0.1": + version: 1.0.1 + resolution: "esbuild-plugin-glob@npm:1.0.1" + dependencies: + chokidar: ^3.5.2 + minimatch: ^3.0.4 + tiny-glob: ^0.2.9 + tiny-invariant: ^1.1.0 + peerDependencies: + esbuild: ^0.12.14 + checksum: 27a17515ff4e4cbcbddd587e3c94386873125422567e99111db590d2148c6796c45d8a9710a42afa568b13dfdf2934ae2666970be321439025cf28ad7012fb72 + languageName: node + linkType: hard + +"esbuild-plugin-postcss2@npm:0.1.0": + version: 0.1.0 + resolution: "esbuild-plugin-postcss2@npm:0.1.0" + dependencies: + autoprefixer: ^10.2.5 + fs-extra: ^9.1.0 + less: ^4.x + postcss: 8.x + postcss-modules: ^4.0.0 + resolve-file: ^0.3.0 + sass: ^1.x + stylus: ^0.x + tmp: ^0.2.1 + peerDependencies: + less: ^4.x + postcss: 8.x + sass: ^1.x + stylus: ^0.x + checksum: 7b6a2320c7b96647b6b7c3aeac3d5c95be9bcc75b387284567e7ae19bda357f016a8d54438877238b856a4293fa08c48584a88e1980049a6055e4b4e74af02c1 + languageName: node + linkType: hard + +"esbuild@npm:0.12.28": + version: 0.12.28 + resolution: "esbuild@npm:0.12.28" + bin: + esbuild: bin/esbuild + checksum: 9127dc048aad41a59d736460b9ea3cf5e367a7e5a650b2b465e066ee291e3c5e9fa5ad4b56cd4dea76cde9a1dee25a0e9e94f558b24170fc124eb0778e043eae + languageName: node + linkType: hard + +"escalade@npm:^3.1.1": + version: 3.1.1 + resolution: "escalade@npm:3.1.1" + checksum: a3e2a99f07acb74b3ad4989c48ca0c3140f69f923e56d0cba0526240ee470b91010f9d39001f2a4a313841d237ede70a729e92125191ba5d21e74b106800b133 languageName: node linkType: hard @@ -7108,16 +6055,6 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^4.0.3": - version: 4.0.3 - resolution: "eslint-scope@npm:4.0.3" - dependencies: - esrecurse: ^4.1.0 - estraverse: ^4.1.1 - checksum: c5f835f681884469991fe58d76a554688d9c9e50811299ccd4a8f79993a039f5bcb0ee6e8de2b0017d97c794b5832ef3b21c9aac66228e3aa0f7a0485bcfb65b - languageName: node - linkType: hard - "eslint-scope@npm:^5.0.0": version: 5.0.0 resolution: "eslint-scope@npm:5.0.0" @@ -7284,13 +6221,6 @@ __metadata: languageName: node linkType: hard -"etag@npm:~1.8.1": - version: 1.8.1 - resolution: "etag@npm:1.8.1" - checksum: 571aeb3dbe0f2bbd4e4fadbdb44f325fc75335cd5f6f6b6a091e6a06a9f25ed5392f0863c5442acb0646787446e816f13cbfc6edce5b07658541dff573cab1ff - languageName: node - linkType: hard - "eventemitter3@npm:^4.0.0": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" @@ -7298,13 +6228,6 @@ __metadata: languageName: node linkType: hard -"events@npm:^3.0.0": - version: 3.0.0 - resolution: "events@npm:3.0.0" - checksum: 25a5117ac67fd2ca6b931a077a309009cc20b79c60da73fd112a479558cd5a5b197c965c13b1e8d0140f65a22860c40d28e3c60e51dbad8faed8b33a042ca753 - languageName: node - linkType: hard - "eventsource@npm:0.1.6": version: 0.1.6 resolution: "eventsource@npm:0.1.6" @@ -7314,26 +6237,6 @@ __metadata: languageName: node linkType: hard -"eventsource@npm:^1.0.7": - version: 1.0.7 - resolution: "eventsource@npm:1.0.7" - dependencies: - original: ^1.0.0 - checksum: 26d6d9103ed11c4ed9cd2b69fb204176649c9686ee2440dcd08d82f741b9d38cc6e0e13e0974591ee1b7c0fc3b78f5d99f399630e46c776e797c8696469f53ac - languageName: node - linkType: hard - -"evp_bytestokey@npm:^1.0.0, evp_bytestokey@npm:^1.0.3": - version: 1.0.3 - resolution: "evp_bytestokey@npm:1.0.3" - dependencies: - md5.js: ^1.3.4 - node-gyp: latest - safe-buffer: ^5.1.1 - checksum: ad4e1577f1a6b721c7800dcc7c733fe01f6c310732bb5bf2240245c2a5b45a38518b91d8be2c610611623160b9d1c0e91f1ce96d639f8b53e8894625cf20fa45 - languageName: node - linkType: hard - "exec-sh@npm:^0.3.2": version: 0.3.2 resolution: "exec-sh@npm:0.3.2" @@ -7418,6 +6321,15 @@ __metadata: languageName: node linkType: hard +"expand-tilde@npm:^1.2.2": + version: 1.2.2 + resolution: "expand-tilde@npm:1.2.2" + dependencies: + os-homedir: ^1.0.1 + checksum: 18051cd104977bc06e2bb1347db9959b90504437beea0de6fd287a3c8c58b41e2330337bd189cfca2ee4be6bda9bf045f8c07daf23e622f85eb6ee1c420619a0 + languageName: node + linkType: hard + "expand-tilde@npm:^2.0.0, expand-tilde@npm:^2.0.2": version: 2.0.2 resolution: "expand-tilde@npm:2.0.2" @@ -7441,53 +6353,6 @@ __metadata: languageName: node linkType: hard -"expose-loader@npm:0.7.5": - version: 0.7.5 - resolution: "expose-loader@npm:0.7.5" - peerDependencies: - webpack: ^2.0.0 || ^3.0.0 || ^4.0.0 - checksum: c0b0005232a30d50d79b0dd5a86ec63676175c105a43ec69e66eddd24573d6ade4ba5024d7c557157c56441ae8721b8b7e77c603546cc15263ee7a9188c9692d - languageName: node - linkType: hard - -"express@npm:^4.17.1": - version: 4.17.1 - resolution: "express@npm:4.17.1" - dependencies: - accepts: ~1.3.7 - array-flatten: 1.1.1 - body-parser: 1.19.0 - content-disposition: 0.5.3 - content-type: ~1.0.4 - cookie: 0.4.0 - cookie-signature: 1.0.6 - debug: 2.6.9 - depd: ~1.1.2 - encodeurl: ~1.0.2 - escape-html: ~1.0.3 - etag: ~1.8.1 - finalhandler: ~1.1.2 - fresh: 0.5.2 - merge-descriptors: 1.0.1 - methods: ~1.1.2 - on-finished: ~2.3.0 - parseurl: ~1.3.3 - path-to-regexp: 0.1.7 - proxy-addr: ~2.0.5 - qs: 6.7.0 - range-parser: ~1.2.1 - safe-buffer: 5.1.2 - send: 0.17.1 - serve-static: 1.14.1 - setprototypeof: 1.1.1 - statuses: ~1.5.0 - type-is: ~1.6.18 - utils-merge: 1.0.1 - vary: ~1.1.2 - checksum: d964e9e17af331ea6fa2f84999b063bc47189dd71b4a735df83f9126d3bb2b92e830f1cb1d7c2742530eb625e2689d7a9a9c71f0c3cc4dd6015c3cd32a01abd5 - languageName: node - linkType: hard - "extend-shallow@npm:^2.0.1": version: 2.0.1 resolution: "extend-shallow@npm:2.0.1" @@ -7606,7 +6471,7 @@ __metadata: languageName: node linkType: hard -"faye-websocket@npm:^0.11.3, faye-websocket@npm:~0.11.0": +"faye-websocket@npm:~0.11.0": version: 0.11.3 resolution: "faye-websocket@npm:0.11.3" dependencies: @@ -7639,13 +6504,6 @@ __metadata: languageName: node linkType: hard -"figgy-pudding@npm:^3.5.1": - version: 3.5.1 - resolution: "figgy-pudding@npm:3.5.1" - checksum: 9f70794631b3a97298e4d64fd5c86207069816537d6e66309dc6e9c6aef00fc694f1d3bc4b8ea078f93a6d7d474108b4cbf92c5b2f32daad733833734e8735c1 - languageName: node - linkType: hard - "figures@npm:^1.7.0": version: 1.7.0 resolution: "figures@npm:1.7.0" @@ -7709,29 +6567,13 @@ __metadata: languageName: node linkType: hard -"finalhandler@npm:~1.1.2": - version: 1.1.2 - resolution: "finalhandler@npm:1.1.2" - dependencies: - debug: 2.6.9 - encodeurl: ~1.0.2 - escape-html: ~1.0.3 - on-finished: ~2.3.0 - parseurl: ~1.3.3 - statuses: ~1.5.0 - unpipe: ~1.0.0 - checksum: 617880460c5138dd7ccfd555cb5dde4d8f170f4b31b8bd51e4b646bb2946c30f7db716428a1f2882d730d2b72afb47d1f67cc487b874cb15426f95753a88965e - languageName: node - linkType: hard - -"find-cache-dir@npm:^2.0.0, find-cache-dir@npm:^2.1.0": - version: 2.1.0 - resolution: "find-cache-dir@npm:2.1.0" +"find-file-up@npm:^0.1.2": + version: 0.1.3 + resolution: "find-file-up@npm:0.1.3" dependencies: - commondir: ^1.0.1 - make-dir: ^2.0.0 - pkg-dir: ^3.0.0 - checksum: 60ad475a6da9f257df4e81900f78986ab367d4f65d33cf802c5b91e969c28a8762f098693d7a571b6e4dd4c15166c2da32ae2d18b6766a18e2071079448fdce4 + fs-exists-sync: ^0.1.0 + resolve-dir: ^0.1.0 + checksum: 95475fee7b727266ec65312527c580eb4f01884592620296cf7859e72cce7f4f6a667c964ad6feeec53fb72a7c3991805532ed7a53d8224e9a1ccd88479cabce languageName: node linkType: hard @@ -7742,6 +6584,15 @@ __metadata: languageName: node linkType: hard +"find-pkg@npm:^0.1.2": + version: 0.1.2 + resolution: "find-pkg@npm:0.1.2" + dependencies: + find-file-up: ^0.1.2 + checksum: cd797bfa7dd419849559312cdd3aec767c39939e552daa92e53ff6b61108f331eb2c800d20a5973631eb894ea36c13dded01a868b10f457a685e0ae87a1746e1 + languageName: node + linkType: hard + "find-root@npm:^1.1.0": version: 1.1.0 resolution: "find-root@npm:1.1.0" @@ -7758,15 +6609,6 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^3.0.0": - version: 3.0.0 - resolution: "find-up@npm:3.0.0" - dependencies: - locate-path: ^3.0.0 - checksum: 38eba3fe7a66e4bc7f0f5a1366dc25508b7cfc349f852640e3678d26ad9a6d7e2c43eff0a472287de4a9753ef58f066a0ea892a256fa3636ad51b3fe1e17fae9 - languageName: node - linkType: hard - "find-up@npm:^4.0.0, find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" @@ -7794,16 +6636,6 @@ __metadata: languageName: node linkType: hard -"flush-write-stream@npm:^1.0.0": - version: 1.1.1 - resolution: "flush-write-stream@npm:1.1.1" - dependencies: - inherits: ^2.0.3 - readable-stream: ^2.3.6 - checksum: 42e07747f83bcd4e799da802e621d6039787749ffd41f5517f8c4f786ee967e31ba32b09f8b28a9c6f67bd4f5346772e604202df350e8d99f4141771bae31279 - languageName: node - linkType: hard - "follow-redirects@npm:^1.0.0": version: 1.7.0 resolution: "follow-redirects@npm:1.7.0" @@ -7857,10 +6689,10 @@ __metadata: languageName: node linkType: hard -"forwarded@npm:~0.1.2": - version: 0.1.2 - resolution: "forwarded@npm:0.1.2" - checksum: 54695c574292f9bc6bfa52111844337bc2e61cfcc5ec82f16b816d721a67a0c76b4849a34b57e38e51d64ddbb81aef974f393579f610ed1b990470e75abad2e0 +"fraction.js@npm:^4.1.1": + version: 4.1.1 + resolution: "fraction.js@npm:4.1.1" + checksum: e5a1f81d73e32aabf4fbd6581a7b3dfabd9a449ceb97c7e71ed2931dd0607095622341100d7819741eb9b435eb4e0d4a040a69e411dc943fa9b3a3872f3a2e0f languageName: node linkType: hard @@ -7873,29 +6705,33 @@ __metadata: languageName: node linkType: hard -"fresh@npm:0.5.2": - version: 0.5.2 - resolution: "fresh@npm:0.5.2" - checksum: 13ea8b08f91e669a64e3ba3a20eb79d7ca5379a81f1ff7f4310d54e2320645503cc0c78daedc93dfb6191287295f6479544a649c64d8e41a1c0fb0c221552346 +"fs-exists-sync@npm:^0.1.0": + version: 0.1.0 + resolution: "fs-exists-sync@npm:0.1.0" + checksum: 850a0d6e4c03a7bd2fd25043f77cd9d6be9c3b48bb99308bcfe9c94f3f92f65f2cd3fa036e13a1b0ba7a46d2e58792f53e578f01d75fbdcd56baeb9eed63b705 languageName: node linkType: hard -"from2@npm:^2.1.0": - version: 2.3.0 - resolution: "from2@npm:2.3.0" +"fs-extra@npm:10.0.0": + version: 10.0.0 + resolution: "fs-extra@npm:10.0.0" dependencies: - inherits: ^2.0.1 - readable-stream: ^2.0.0 - checksum: 6080eba0793dce32f475141fb3d54cc15f84ee52e420ee22ac3ab0ad639dc95a1875bc6eb9c0e1140e94972a36a89dc5542491b85f1ab8df0c126241e0f1a61b + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: 5285a3d8f34b917cf2b66af8c231a40c1623626e9d701a20051d3337be16c6d7cac94441c8b3732d47a92a2a027886ca93c69b6a4ae6aee3c89650d2a8880c0a languageName: node linkType: hard -"fs-minipass@npm:^1.2.5": - version: 1.2.6 - resolution: "fs-minipass@npm:1.2.6" +"fs-extra@npm:^9.1.0": + version: 9.1.0 + resolution: "fs-extra@npm:9.1.0" dependencies: - minipass: ^2.2.1 - checksum: abf7d57fc0e62245f0a0590c0569c43cfd3085d7d5131ffd74e349db1f0041fa1e249b83447c2097e4191ce2fbfd54b7949aefc2e2733df5943fabbae099ad99 + at-least-node: ^1.0.0 + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: ba71ba32e0faa74ab931b7a0031d1523c66a73e225de7426e275e238e312d07313d2da2d33e34a52aa406c8763ade5712eb3ec9ba4d9edce652bcacdc29e6b20 languageName: node linkType: hard @@ -7908,18 +6744,6 @@ __metadata: languageName: node linkType: hard -"fs-write-stream-atomic@npm:^1.0.8": - version: 1.0.10 - resolution: "fs-write-stream-atomic@npm:1.0.10" - dependencies: - graceful-fs: ^4.1.2 - iferr: ^0.1.5 - imurmurhash: ^0.1.4 - readable-stream: 1 || 2 - checksum: 43c2d6817b72127793abc811ebf87a135b03ac7cbe41cdea9eeacf59b23e6e29b595739b083e9461303d525687499a1aaefcec3e5ff9bc82b170edd3dc467ccc - languageName: node - linkType: hard - "fs.realpath@npm:^1.0.0": version: 1.0.0 resolution: "fs.realpath@npm:1.0.0" @@ -7927,16 +6751,6 @@ __metadata: languageName: node linkType: hard -fsevents@^1.2.7: - version: 1.2.9 - resolution: "fsevents@npm:1.2.9" - dependencies: - nan: ^2.12.1 - node-pre-gyp: ^0.12.0 - checksum: a00be937d11f59936eaa7bc296a2635d4f14d79fa9015acdb0b4ae439da37dbe7e8cc857616655f860c747d3fb988e2ecd913f6cafcd5488fa241f42e237b5ba - languageName: node - linkType: hard - fsevents@^2.1.2: version: 2.1.2 resolution: "fsevents@npm:2.1.2" @@ -7946,16 +6760,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"fsevents@patch:fsevents@^1.2.7#~builtin": - version: 1.2.9 - resolution: "fsevents@patch:fsevents@npm%3A1.2.9#~builtin::version=1.2.9&hash=1cc4b2" - dependencies: - nan: ^2.12.1 - node-pre-gyp: ^0.12.0 - checksum: 8a3f26aba0d53bba34f3820a1fdf455e72bef46f3e85cf5af9ca63f08f744e34f1957b0e061509b77529288205979069e4b371c7412f71e003f296e46a5f19a9 - languageName: node - linkType: hard - "fsevents@patch:fsevents@^2.1.2#~builtin": version: 2.1.2 resolution: "fsevents@patch:fsevents@npm%3A2.1.2#~builtin::version=2.1.2&hash=1cc4b2" @@ -8031,6 +6835,15 @@ fsevents@~2.3.2: languageName: node linkType: hard +"generic-names@npm:^2.0.1": + version: 2.0.1 + resolution: "generic-names@npm:2.0.1" + dependencies: + loader-utils: ^1.1.0 + checksum: 5f2d6837dcddf4d7139f7c7ee4ff6ed82564123ae363aadc7a1c1c9967724da1e10d92c904b76b6ff58912465cf63cf47d87f3b400286845f289f54d5092e78f + languageName: node + linkType: hard + "gensync@npm:^1.0.0-beta.1": version: 1.0.0-beta.1 resolution: "gensync@npm:1.0.0-beta.1" @@ -8113,16 +6926,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"glob-parent@npm:^3.1.0": - version: 3.1.0 - resolution: "glob-parent@npm:3.1.0" - dependencies: - is-glob: ^3.1.0 - path-dirname: ^1.0.0 - checksum: 653d559237e89a11b9934bef3f392ec42335602034c928590544d383ff5ef449f7b12f3cfa539708e74bc0a6c28ab1fe51d663cc07463cdf899ba92afd85a855 - languageName: node - linkType: hard - "glob-parent@npm:^5.0.0": version: 5.1.0 resolution: "glob-parent@npm:5.1.0" @@ -8175,7 +6978,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"glob@npm:^7.0.3, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4": +"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4": version: 7.1.4 resolution: "glob@npm:7.1.4" dependencies: @@ -8189,6 +6992,20 @@ fsevents@~2.3.2: languageName: node linkType: hard +"glob@npm:^7.1.6": + version: 7.1.7 + resolution: "glob@npm:7.1.7" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^3.0.4 + once: ^1.3.0 + path-is-absolute: ^1.0.0 + checksum: b61f48973bbdcf5159997b0874a2165db572b368b931135832599875919c237fc05c12984e38fe828e69aa8a921eb0e8a4997266211c517c9cfaae8a93988bb8 + languageName: node + linkType: hard + "global-modules@npm:1.0.0, global-modules@npm:^1.0.0": version: 1.0.0 resolution: "global-modules@npm:1.0.0" @@ -8200,6 +7017,28 @@ fsevents@~2.3.2: languageName: node linkType: hard +"global-modules@npm:^0.2.3": + version: 0.2.3 + resolution: "global-modules@npm:0.2.3" + dependencies: + global-prefix: ^0.1.4 + is-windows: ^0.2.0 + checksum: 3801788df54897d994c9c8f3d09f253d1379cd879ae61fcddbcc3ecdfdf6fe23a1edb983e8d4dd24cebf7e49823752e1cd29a2d33bdb4de587de8b4a85b17e24 + languageName: node + linkType: hard + +"global-prefix@npm:^0.1.4": + version: 0.1.5 + resolution: "global-prefix@npm:0.1.5" + dependencies: + homedir-polyfill: ^1.0.0 + ini: ^1.3.4 + is-windows: ^0.2.0 + which: ^1.2.12 + checksum: ea1b818a1851655ebb2341cdd5446da81c25f31ca6f0ac358a234cbed5442edc1bfa5628771466988d67d9fcc6ad09ca0e68a8d3d7e3d92f7de3aec87020e183 + languageName: node + linkType: hard + "global-prefix@npm:^1.0.1": version: 1.0.2 resolution: "global-prefix@npm:1.0.2" @@ -8229,6 +7068,13 @@ fsevents@~2.3.2: languageName: node linkType: hard +"globalyzer@npm:0.1.0": + version: 0.1.0 + resolution: "globalyzer@npm:0.1.0" + checksum: 419a0f95ba542534fac0842964d31b3dc2936a479b2b1a8a62bad7e8b61054faa9b0a06ad9f2e12593396b9b2621cac93358d9b3071d33723fb1778608d358a1 + languageName: node + linkType: hard + "globby@npm:^11.0.1": version: 11.0.2 resolution: "globby@npm:11.0.2" @@ -8243,30 +7089,10 @@ fsevents@~2.3.2: languageName: node linkType: hard -"globby@npm:^6.1.0": - version: 6.1.0 - resolution: "globby@npm:6.1.0" - dependencies: - array-union: ^1.0.1 - glob: ^7.0.3 - object-assign: ^4.0.1 - pify: ^2.0.0 - pinkie-promise: ^2.0.0 - checksum: 18109d6b9d55643d2b98b59c3cfae7073ccfe39829632f353d516cc124d836c2ddebe48a23f04af63d66a621b6d86dd4cbd7e6af906f2458a7fe510ffc4bd424 - languageName: node - linkType: hard - -"globby@npm:^7.1.1": - version: 7.1.1 - resolution: "globby@npm:7.1.1" - dependencies: - array-union: ^1.0.1 - dir-glob: ^2.0.0 - glob: ^7.1.2 - ignore: ^3.3.5 - pify: ^3.0.0 - slash: ^1.0.0 - checksum: f0eba08a08ae7c98149a4411661c0bf08c4717d81e6f355cf624fb01880b249737eb8e951bf86124cb3af8ea1c793c0a9d363ed5cdec99bb2c6b68f8a323025f +"globrex@npm:^0.1.2": + version: 0.1.2 + resolution: "globrex@npm:0.1.2" + checksum: adca162494a176ce9ecf4dd232f7b802956bb1966b37f60c15e49d2e7d961b66c60826366dc2649093cad5a0d69970cfa8875bd1695b5a1a2f33dcd2aa88da3c languageName: node linkType: hard @@ -8279,13 +7105,20 @@ fsevents@~2.3.2: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2": +"graceful-fs@npm:^4.1.2": version: 4.2.0 resolution: "graceful-fs@npm:4.2.0" checksum: 7e605b03dc8a4b5296fd52e7b999f12f8d7e7cc32975dd78721ceac0b43086f0a42174f491cd0eab1bbc52f6807b275436a9cdc98063e4a48f0611cc802b49a6 languageName: node linkType: hard +"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": + version: 4.2.8 + resolution: "graceful-fs@npm:4.2.8" + checksum: 5d224c8969ad0581d551dfabdb06882706b31af2561bd5e2034b4097e67cc27d05232849b8643866585fd0a41c7af152950f8776f4dd5579e9853733f31461c6 + languageName: node + linkType: hard + "graceful-fs@npm:^4.2.3": version: 4.2.3 resolution: "graceful-fs@npm:4.2.3" @@ -8293,13 +7126,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": - version: 4.2.8 - resolution: "graceful-fs@npm:4.2.8" - checksum: 5d224c8969ad0581d551dfabdb06882706b31af2561bd5e2034b4097e67cc27d05232849b8643866585fd0a41c7af152950f8776f4dd5579e9853733f31461c6 - languageName: node - linkType: hard - "growly@npm:^1.3.0": version: 1.3.0 resolution: "growly@npm:1.3.0" @@ -8323,22 +7149,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"gzip-size@npm:^6.0.0": - version: 6.0.0 - resolution: "gzip-size@npm:6.0.0" - dependencies: - duplexer: ^0.1.2 - checksum: 2df97f359696ad154fc171dcb55bc883fe6e833bca7a65e457b9358f3cb6312405ed70a8da24a77c1baac0639906cd52358dc0ce2ec1a937eaa631b934c94194 - languageName: node - linkType: hard - -"handle-thing@npm:^2.0.0": - version: 2.0.0 - resolution: "handle-thing@npm:2.0.0" - checksum: bb6a33ec17a36a9fca92c8f98b0208dca4b5659253d77a2db7d31a0bad467d01f94e59444e226b6d35877226516176f069501c01d847047e1abcbe303363070f - languageName: node - linkType: hard - "har-schema@npm:^2.0.0": version: 2.0.0 resolution: "har-schema@npm:2.0.0" @@ -8448,26 +7258,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"hash-base@npm:^3.0.0": - version: 3.0.4 - resolution: "hash-base@npm:3.0.4" - dependencies: - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - checksum: 878465a0dfcc33cce195c2804135352c590d6d10980adc91a9005fd377e77f2011256c2b7cfce472e3f2e92d561d1bf3228d2da06348a9017ce9a258b3b49764 - languageName: node - linkType: hard - -"hash.js@npm:^1.0.0, hash.js@npm:^1.0.3": - version: 1.1.7 - resolution: "hash.js@npm:1.1.7" - dependencies: - inherits: ^2.0.3 - minimalistic-assert: ^1.0.1 - checksum: e350096e659c62422b85fa508e4b3669017311aa4c49b74f19f8e1bc7f3a54a584fdfd45326d4964d6011f2b2d882e38bea775a96046f2a61b7779a979629d8f - languageName: node - linkType: hard - "hast-to-hyperscript@npm:^7.0.0": version: 7.0.4 resolution: "hast-to-hyperscript@npm:7.0.4" @@ -8587,15 +7377,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"he@npm:1.2.x": - version: 1.2.0 - resolution: "he@npm:1.2.0" - bin: - he: bin/he - checksum: 3d4d6babccccd79c5c5a3f929a68af33360d6445587d628087f39a965079d84f18ce9c3d3f917ee1e3978916fc833bb8b29377c3b403f919426f91bc6965e7a7 - languageName: node - linkType: hard - "hex-color-regex@npm:^1.1.0": version: 1.1.0 resolution: "hex-color-regex@npm:1.1.0" @@ -8615,17 +7396,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"hmac-drbg@npm:^1.0.1": - version: 1.0.1 - resolution: "hmac-drbg@npm:1.0.1" - dependencies: - hash.js: ^1.0.3 - minimalistic-assert: ^1.0.0 - minimalistic-crypto-utils: ^1.0.1 - checksum: bd30b6a68d7f22d63f10e1888aee497d7c2c5c0bb469e66bbdac99f143904d1dfe95f8131f95b3e86c86dd239963c9d972fcbe147e7cffa00e55d18585c43fe0 - languageName: node - linkType: hard - "hoist-non-react-statics@npm:^2.5.5": version: 2.5.5 resolution: "hoist-non-react-statics@npm:2.5.5" @@ -8651,7 +7421,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"homedir-polyfill@npm:^1.0.1": +"homedir-polyfill@npm:^1.0.0, homedir-polyfill@npm:^1.0.1": version: 1.0.3 resolution: "homedir-polyfill@npm:1.0.3" dependencies: @@ -8667,18 +7437,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"hpack.js@npm:^2.1.6": - version: 2.1.6 - resolution: "hpack.js@npm:2.1.6" - dependencies: - inherits: ^2.0.1 - obuf: ^1.0.0 - readable-stream: ^2.0.1 - wbuf: ^1.1.0 - checksum: 2de144115197967ad6eeee33faf41096c6ba87078703c5cb011632dcfbffeb45784569e0cf02c317bd79c48375597c8ec88c30fff5bb0b023e8f654fb6e9c06e - languageName: node - linkType: hard - "hsl-regex@npm:^1.0.0": version: 1.0.0 resolution: "hsl-regex@npm:1.0.0" @@ -8725,13 +7483,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"html-entities@npm:^1.3.1": - version: 1.4.0 - resolution: "html-entities@npm:1.4.0" - checksum: 4b73ffb9eead200f99146e4fbe70acb0af2fea136901a131fc3a782e9ef876a7cbb07dec303ca1f8804232b812249dbf3643a270c9c524852065d9224a8dcdd0 - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.0 resolution: "html-escaper@npm:2.0.0" @@ -8739,23 +7490,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"html-minifier@npm:^3.2.3": - version: 3.5.21 - resolution: "html-minifier@npm:3.5.21" - dependencies: - camel-case: 3.0.x - clean-css: 4.2.x - commander: 2.17.x - he: 1.2.x - param-case: 2.1.x - relateurl: 0.2.x - uglify-js: 3.4.x - bin: - html-minifier: ./cli.js - checksum: 66a86841a8b919a11a13d9b80176845cfbc5dda6e88efea2cf312ecc07427d9eab4aca70537357583e5e66ee1e62da14e035792eea000f8f3a9ca1856b2fb2b2 - languageName: node - linkType: hard - "html-void-elements@npm:^1.0.0": version: 1.0.5 resolution: "html-void-elements@npm:1.0.5" @@ -8763,24 +7497,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"html-webpack-plugin@npm:3.2.0": - version: 3.2.0 - resolution: "html-webpack-plugin@npm:3.2.0" - dependencies: - html-minifier: ^3.2.3 - loader-utils: ^0.2.16 - lodash: ^4.17.3 - pretty-error: ^2.0.2 - tapable: ^1.0.0 - toposort: ^1.0.0 - util.promisify: 1.0.0 - peerDependencies: - webpack: ^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 - checksum: e769e69a975997e35e080ff6305c98411cc358fe025f257600ed0f0536dc9560d204450baeb2855d2575ed68d3242f05d56e3a8d576e0ff87f04785ea95dabe8 - languageName: node - linkType: hard - -"htmlparser2@npm:^3.3.0, htmlparser2@npm:^3.9.1": +"htmlparser2@npm:^3.9.1": version: 3.10.1 resolution: "htmlparser2@npm:3.10.1" dependencies: @@ -8801,51 +7518,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"http-deceiver@npm:^1.2.7": - version: 1.2.7 - resolution: "http-deceiver@npm:1.2.7" - checksum: 64d7d1ae3a6933eb0e9a94e6f27be4af45a53a96c3c34e84ff57113787105a89fff9d1c3df263ef63add823df019b0e8f52f7121e32393bb5ce9a713bf100b41 - languageName: node - linkType: hard - -"http-errors@npm:1.7.2": - version: 1.7.2 - resolution: "http-errors@npm:1.7.2" - dependencies: - depd: ~1.1.2 - inherits: 2.0.3 - setprototypeof: 1.1.1 - statuses: ">= 1.5.0 < 2" - toidentifier: 1.0.0 - checksum: 5534b0ae08e77f5a45a2380f500e781f6580c4ff75b816cb1f09f99a290b57e78a518be6d866db1b48cca6b052c09da2c75fc91fb16a2fe3da3c44d9acbb9972 - languageName: node - linkType: hard - -"http-errors@npm:~1.6.2": - version: 1.6.3 - resolution: "http-errors@npm:1.6.3" - dependencies: - depd: ~1.1.2 - inherits: 2.0.3 - setprototypeof: 1.1.0 - statuses: ">= 1.4.0 < 2" - checksum: a9654ee027e3d5de305a56db1d1461f25709ac23267c6dc28cdab8323e3f96caa58a9a6a5e93ac15d7285cee0c2f019378c3ada9026e7fe19c872d695f27de7c - languageName: node - linkType: hard - -"http-errors@npm:~1.7.2": - version: 1.7.3 - resolution: "http-errors@npm:1.7.3" - dependencies: - depd: ~1.1.2 - inherits: 2.0.4 - setprototypeof: 1.1.1 - statuses: ">= 1.5.0 < 2" - toidentifier: 1.0.0 - checksum: a59f359473f4b3ea78305beee90d186268d6075432622a46fb7483059068a2dd4c854a20ac8cd438883127e06afb78c1309168bde6cdfeed1e3700eb42487d99 - languageName: node - linkType: hard - "http-parser-js@npm:>=0.4.0 <0.4.11": version: 0.4.10 resolution: "http-parser-js@npm:0.4.10" @@ -8853,13 +7525,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"http-parser-js@npm:>=0.5.1": - version: 0.5.3 - resolution: "http-parser-js@npm:0.5.3" - checksum: 6f3142c5f60ad995a6895a1dc4f70f8cef0910745366e97cbcb99caa604590dbcc11006b00989ad306837d6b820e9bfc6e801c4060ed19a0e4df83caa8577cb5 - languageName: node - linkType: hard - "http-proxy-agent@npm:^4.0.1": version: 4.0.1 resolution: "http-proxy-agent@npm:4.0.1" @@ -8871,19 +7536,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"http-proxy-middleware@npm:0.19.1": - version: 0.19.1 - resolution: "http-proxy-middleware@npm:0.19.1" - dependencies: - http-proxy: ^1.17.0 - is-glob: ^4.0.0 - lodash: ^4.17.11 - micromatch: ^3.1.10 - checksum: 64df0438417a613bb22b3689d9652a1b7a56f10b145a463f95f4e8a9b9a351f2c63bc5fd3a9cd710baec224897733b6f299cb7f974ea82769b2a4f1e074764ac - languageName: node - linkType: hard - -"http-proxy@npm:^1.17.0": +"http-proxy@npm:1.18.1": version: 1.18.1 resolution: "http-proxy@npm:1.18.1" dependencies: @@ -8905,13 +7558,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"https-browserify@npm:^1.0.0": - version: 1.0.0 - resolution: "https-browserify@npm:1.0.0" - checksum: 09b35353e42069fde2435760d13f8a3fb7dd9105e358270e2e225b8a94f811b461edd17cb57594e5f36ec1218f121c160ddceeec6e8be2d55e01dcbbbed8cbae - languageName: node - linkType: hard - "https-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "https-proxy-agent@npm:5.0.0" @@ -8956,42 +7602,19 @@ fsevents@~2.3.2: languageName: node linkType: hard -"icss-utils@npm:^4.0.0, icss-utils@npm:^4.1.1": - version: 4.1.1 - resolution: "icss-utils@npm:4.1.1" - dependencies: - postcss: ^7.0.14 - checksum: a4ca2c6b82cb3eb879d635bd4028d74bca174edc49ee48ef5f01988489747d340a389d5a0ac6f6887a5c24ab8fc4386c781daab32a7ade5344a2edff66207635 - languageName: node - linkType: hard - -"ieee754@npm:^1.1.4": - version: 1.1.13 - resolution: "ieee754@npm:1.1.13" - checksum: 102df1ba662e316e6160f7ce29c7c7fa3e04f2014c288336c5a9ff40bbcc2a27d209fa2a81ebfb33f28b1941021343d30e9ad8ee85a2d61f79f5936c35edc33d - languageName: node - linkType: hard - -"iferr@npm:^0.1.5": - version: 0.1.5 - resolution: "iferr@npm:0.1.5" - checksum: a18d19b6ad06a2d5412c0d37f6364869393ef6d1688d59d00082c1f35c92399094c031798340612458cd832f4f2e8b13bc9615934a7d8b0c53061307a3816aa1 - languageName: node - linkType: hard - -"ignore-walk@npm:^3.0.1": - version: 3.0.1 - resolution: "ignore-walk@npm:3.0.1" - dependencies: - minimatch: ^3.0.4 - checksum: 65d882a70369c88ea4485cbe02a59d8097b4340f10afb72be594c13df4efcf037a3d156992db9831590706dd051312aa050fb09aca58963f3120d5afbc279bfe +"icss-replace-symbols@npm:^1.1.0": + version: 1.1.0 + resolution: "icss-replace-symbols@npm:1.1.0" + checksum: 24575b2c2f7e762bfc6f4beee31be9ba98a01cad521b5aa9954090a5de2b5e1bf67814c17e22f9e51b7d798238db8215a173d6c2b4726ce634ce06b68ece8045 languageName: node linkType: hard -"ignore@npm:^3.3.5": - version: 3.3.10 - resolution: "ignore@npm:3.3.10" - checksum: 23e8cc776e367b56615ab21b78decf973a35dfca5522b39d9b47643d8168473b0d1f18dd1321a1bab466a12ea11a2411903f3b21644f4d5461ee0711ec8678bd +"icss-utils@npm:^5.0.0": + version: 5.1.0 + resolution: "icss-utils@npm:5.1.0" + peerDependencies: + postcss: ^8.1.0 + checksum: 5c324d283552b1269cfc13a503aaaa172a280f914e5b81544f3803bc6f06a3b585fb79f66f7c771a2c052db7982c18bf92d001e3b47282e3abbbb4c4cc488d68 languageName: node linkType: hard @@ -9009,12 +7632,12 @@ fsevents@~2.3.2: languageName: node linkType: hard -"import-cwd@npm:^2.0.0": - version: 2.1.0 - resolution: "import-cwd@npm:2.1.0" - dependencies: - import-from: ^2.1.0 - checksum: b8786fa3578f3df55370352bf61f99c2d8e6ee9b5741a07503d5a73d99281d141330a8faf87078e67527be4558f758356791ee5efb4b0112ac5eaed0f07de544 +"image-size@npm:~0.5.0": + version: 0.5.5 + resolution: "image-size@npm:0.5.5" + bin: + image-size: bin/image-size.js + checksum: 6709d5cb73e96d5097ae5e9aa746dd36d6a9c8cf645e7eecac72ea07dbd6f312a65183752762fa92e2f3b698d4ed8d85dd55bf5207b6367245996bd16576d8fe languageName: node linkType: hard @@ -9048,27 +7671,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"import-from@npm:^2.1.0": - version: 2.1.0 - resolution: "import-from@npm:2.1.0" - dependencies: - resolve-from: ^3.0.0 - checksum: 91f6f89f46a07227920ef819181bb52eb93023ccc0bdf00224fdfb326f8f753e279ad06819f39a02bb88c9d3a4606adc85b0cc995285e5d65feeb59f1421a1d4 - languageName: node - linkType: hard - -"import-local@npm:^2.0.0": - version: 2.0.0 - resolution: "import-local@npm:2.0.0" - dependencies: - pkg-dir: ^3.0.0 - resolve-cwd: ^2.0.0 - bin: - import-local-fixture: fixtures/cli.js - checksum: b8469252483624379fd65d53c82f3658b32a1136f7168bfeea961a4ea7ca10a45786ea2b02e0006408f9cd22d2f33305a6f17a64e4d5a03274a50942c5e7c949 - languageName: node - linkType: hard - "import-local@npm:^3.0.2": version: 3.0.2 resolution: "import-local@npm:3.0.2" @@ -9109,7 +7711,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"infer-owner@npm:^1.0.3, infer-owner@npm:^1.0.4": +"infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" checksum: 181e732764e4a0611576466b4b87dac338972b839920b2a8cde43642e4ed6bd54dc1fb0b40874728f2a2df9a1b097b8ff83b56d5f8f8e3927f837fdcb47d8a89 @@ -9126,28 +7728,14 @@ fsevents@~2.3.2: languageName: node linkType: hard -"inherits@npm:2, inherits@npm:2.0.4, inherits@npm:^2.0.0, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.1, inherits@npm:~2.0.3": +"inherits@npm:2, inherits@npm:^2.0.0, inherits@npm:^2.0.1, inherits@npm:^2.0.3, inherits@npm:^2.0.4, inherits@npm:~2.0.3": version: 2.0.4 resolution: "inherits@npm:2.0.4" checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 languageName: node linkType: hard -"inherits@npm:2.0.1": - version: 2.0.1 - resolution: "inherits@npm:2.0.1" - checksum: 6536b9377296d4ce8ee89c5c543cb75030934e61af42dba98a428e7d026938c5985ea4d1e3b87743a5b834f40ed1187f89c2d7479e9d59e41d2d1051aefba07b - languageName: node - linkType: hard - -"inherits@npm:2.0.3": - version: 2.0.3 - resolution: "inherits@npm:2.0.3" - checksum: 78cb8d7d850d20a5e9a7f3620db31483aa00ad5f722ce03a55b110e5a723539b3716a3b463e2b96ce3fe286f33afc7c131fa2f91407528ba80cea98a7545d4c0 - languageName: node - linkType: hard - -"ini@npm:^1.3.4, ini@npm:~1.3.0": +"ini@npm:^1.3.4": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: dfd98b0ca3a4fc1e323e38a6c8eb8936e31a97a918d3b377649ea15bdb15d481207a0dda1021efbd86b464cae29a0d33c1d7dcaf6c5672bee17fa849bc50a1b3 @@ -9205,16 +7793,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"internal-ip@npm:^4.3.0": - version: 4.3.0 - resolution: "internal-ip@npm:4.3.0" - dependencies: - default-gateway: ^4.2.0 - ipaddr.js: ^1.9.0 - checksum: c970433c84d9a6b46e2c9f5ab7785d3105b856d0a566891bf919241b5a884c5c1c9bf8e915aebb822a86c14b1b6867e58c1eaf5cd49eb023368083069d1a4a9a - languageName: node - linkType: hard - "internal-slot@npm:^1.0.2": version: 1.0.2 resolution: "internal-slot@npm:1.0.2" @@ -9281,20 +7859,13 @@ fsevents@~2.3.2: languageName: node linkType: hard -"ip@npm:^1.1.0, ip@npm:^1.1.5": +"ip@npm:^1.1.5": version: 1.1.5 resolution: "ip@npm:1.1.5" checksum: 30133981f082a060a32644f6a7746e9ba7ac9e2bc07ecc8bbdda3ee8ca9bec1190724c390e45a1ee7695e7edfd2a8f7dda2c104ec5f7ac5068c00648504c7e5a languageName: node linkType: hard -"ipaddr.js@npm:1.9.0, ipaddr.js@npm:^1.9.0": - version: 1.9.0 - resolution: "ipaddr.js@npm:1.9.0" - checksum: 56254f753959132884d74355fc45fda74f120283695c831a07bfac3368965bc9452cbdb80d5e38a6211de4e98a32ddbcd2e640137eb3f79a251c5c725a9efbd6 - languageName: node - linkType: hard - "is-absolute-url@npm:^2.0.0": version: 2.1.0 resolution: "is-absolute-url@npm:2.1.0" @@ -9302,13 +7873,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-absolute-url@npm:^3.0.3": - version: 3.0.3 - resolution: "is-absolute-url@npm:3.0.3" - checksum: 5159b51d065d9ad29e16a2f78d6c0e41c43227caf90a45e659c54ea6fd50ef0595b1871ce392e84b1df7cfdcad9a8e66eec0813a029112188435abf115accb16 - languageName: node - linkType: hard - "is-accessor-descriptor@npm:^0.1.6": version: 0.1.6 resolution: "is-accessor-descriptor@npm:0.1.6" @@ -9365,15 +7929,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-binary-path@npm:^1.0.0": - version: 1.0.1 - resolution: "is-binary-path@npm:1.0.1" - dependencies: - binary-extensions: ^1.0.0 - checksum: a803c99e9d898170c3b44a86fbdc0736d3d7fcbe737345433fb78e810b9fe30c982657782ad0e676644ba4693ddf05601a7423b5611423218663d6b533341ac9 - languageName: node - linkType: hard - "is-binary-path@npm:~2.1.0": version: 2.1.0 resolution: "is-binary-path@npm:2.1.0" @@ -9459,6 +8014,15 @@ fsevents@~2.3.2: languageName: node linkType: hard +"is-core-module@npm:^2.2.0": + version: 2.6.0 + resolution: "is-core-module@npm:2.6.0" + dependencies: + has: ^1.0.3 + checksum: 183b3b96fed19822b13959876b0317e61fc2cb5ebcbc21639904c81f7ae328af57f8e18cc4750a9c4abebd686130c70d34a89521e57dbe002edfa4614507ce18 + languageName: node + linkType: hard + "is-data-descriptor@npm:^0.1.4": version: 0.1.4 resolution: "is-data-descriptor@npm:0.1.4" @@ -9536,7 +8100,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-extglob@npm:^2.1.0, is-extglob@npm:^2.1.1": +"is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" checksum: df033653d06d0eb567461e58a7a8c9f940bd8c22274b94bf7671ab36df5719791aae15eef6d83bbb5e23283967f2f984b8914559d4449efda578c775c4be6f85 @@ -9573,15 +8137,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"is-glob@npm:^3.1.0": - version: 3.1.0 - resolution: "is-glob@npm:3.1.0" - dependencies: - is-extglob: ^2.1.0 - checksum: 9d483bca84f16f01230f7c7c8c63735248fe1064346f292e0f6f8c76475fd20c6f50fc19941af5bec35f85d6bf26f4b7768f39a48a5f5fdc72b408dc74e07afc - languageName: node - linkType: hard - "is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:~4.0.1": version: 4.0.1 resolution: "is-glob@npm:4.0.1" @@ -9638,48 +8193,16 @@ fsevents@~2.3.2: "is-obj@npm:^1.0.0, is-obj@npm:^1.0.1": version: 1.0.1 resolution: "is-obj@npm:1.0.1" - checksum: 3ccf0efdea12951e0b9c784e2b00e77e87b2f8bd30b42a498548a8afcc11b3287342a2030c308e473e93a7a19c9ea7854c99a8832a476591c727df2a9c79796c - languageName: node - linkType: hard - -"is-observable@npm:^1.1.0": - version: 1.1.0 - resolution: "is-observable@npm:1.1.0" - dependencies: - symbol-observable: ^1.1.0 - checksum: ab3d7e740915e6b53a81d96ce7d581f4dd26dacceb95278b74e7bf3123221073ea02cde810f864cff94ed5c394f18248deefd6a8f2d40137d868130eb5be6f85 - languageName: node - linkType: hard - -"is-path-cwd@npm:^2.0.0": - version: 2.1.0 - resolution: "is-path-cwd@npm:2.1.0" - checksum: 878097278f58be5fe8c1b0494725977dbb725e04a4973776a47bf6bb2d737a9f25b537aee7d251b9c212960eaed47693c82ff3a72b612c4010471a958338f37b - languageName: node - linkType: hard - -"is-path-in-cwd@npm:^2.0.0": - version: 2.1.0 - resolution: "is-path-in-cwd@npm:2.1.0" - dependencies: - is-path-inside: ^2.1.0 - checksum: 6b01b3f8c9172e9682ea878d001836a0cc5a78cbe6236024365d478c2c9e384da2417e5f21f2ad2da2761d0465309fc5baf6e71187d2a23f0058da69790f7f48 - languageName: node - linkType: hard - -"is-path-inside@npm:^2.1.0": - version: 2.1.0 - resolution: "is-path-inside@npm:2.1.0" - dependencies: - path-is-inside: ^1.0.2 - checksum: 6ca34dbd84d5c50a3ee1547afb6ada9b06d556a4ff42da9b303797e4acc3ac086516a4833030aa570f397f8c58dacabd57ee8e6c2ce8b2396a986ad2af10fcaf + checksum: 3ccf0efdea12951e0b9c784e2b00e77e87b2f8bd30b42a498548a8afcc11b3287342a2030c308e473e93a7a19c9ea7854c99a8832a476591c727df2a9c79796c languageName: node linkType: hard -"is-plain-obj@npm:^1.0.0": +"is-observable@npm:^1.1.0": version: 1.1.0 - resolution: "is-plain-obj@npm:1.1.0" - checksum: 0ee04807797aad50859652a7467481816cbb57e5cc97d813a7dcd8915da8195dc68c436010bf39d195226cde6a2d352f4b815f16f26b7bf486a5754290629931 + resolution: "is-observable@npm:1.1.0" + dependencies: + symbol-observable: ^1.1.0 + checksum: ab3d7e740915e6b53a81d96ce7d581f4dd26dacceb95278b74e7bf3123221073ea02cde810f864cff94ed5c394f18248deefd6a8f2d40137d868130eb5be6f85 languageName: node linkType: hard @@ -9816,6 +8339,13 @@ fsevents@~2.3.2: languageName: node linkType: hard +"is-what@npm:^3.12.0": + version: 3.14.1 + resolution: "is-what@npm:3.14.1" + checksum: a9a6ce92d33799f1ae0916c7afb6f8128a23ce9d28bd69d9ec3ec88910e7a1f68432e6236c3c8a4d544cf0b864675e5d828437efde60ee0cf8102061d395c1df + languageName: node + linkType: hard + "is-whitespace-character@npm:^1.0.0": version: 1.0.4 resolution: "is-whitespace-character@npm:1.0.4" @@ -9823,6 +8353,13 @@ fsevents@~2.3.2: languageName: node linkType: hard +"is-windows@npm:^0.2.0": + version: 0.2.0 + resolution: "is-windows@npm:0.2.0" + checksum: 3df25afda2fd9f3926b08cebacf1fc0a1fe7805a2cb73ef0f1b911c949e4e7648c4623979d74b4502bdd9af69471101eb6051b751595f7f88569148186cf7a7a + languageName: node + linkType: hard + "is-windows@npm:^1.0.1, is-windows@npm:^1.0.2": version: 1.0.2 resolution: "is-windows@npm:1.0.2" @@ -10595,7 +9132,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"json-parse-better-errors@npm:^1.0.1, json-parse-better-errors@npm:^1.0.2": +"json-parse-better-errors@npm:^1.0.1": version: 1.0.2 resolution: "json-parse-better-errors@npm:1.0.2" checksum: ff2b5ba2a70e88fd97a3cb28c1840144c5ce8fae9cbeeddba15afa333a5c407cf0e42300cd0a2885dbb055227fe68d405070faad941beeffbfde9cf3b2c78c5d @@ -10644,7 +9181,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"json3@npm:^3.3.2, json3@npm:^3.3.3": +"json3@npm:^3.3.2": version: 3.3.3 resolution: "json3@npm:3.3.3" checksum: 55eda204a4c70d11b7d5caa5cb64c76a3aa54d5df72d07bdf446b922fd7cb8657b0732f68e0c36790f55e195e0a429c299144ff05430bbe93bc2a7c81ad3472b @@ -10662,15 +9199,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"json5@npm:^0.5.0": - version: 0.5.1 - resolution: "json5@npm:0.5.1" - bin: - json5: lib/cli.js - checksum: 9b85bf06955b23eaa4b7328aa8892e3887e81ca731dd27af04a5f5f1458fbc5e1de57a24442e3272f8a888dd1abe1cb68eb693324035f6b3aeba4fcab7667d62 - languageName: node - linkType: hard - "json5@npm:^1.0.1": version: 1.0.1 resolution: "json5@npm:1.0.1" @@ -10682,6 +9210,19 @@ fsevents@~2.3.2: languageName: node linkType: hard +"jsonfile@npm:^6.0.1": + version: 6.1.0 + resolution: "jsonfile@npm:6.1.0" + dependencies: + graceful-fs: ^4.1.6 + universalify: ^2.0.0 + dependenciesMeta: + graceful-fs: + optional: true + checksum: 7af3b8e1ac8fe7f1eccc6263c6ca14e1966fcbc74b618d3c78a0a2075579487547b94f72b7a1114e844a1e15bb00d440e5d1720bfc4612d790a6f285d5ea8354 + languageName: node + linkType: hard + "jsonify@npm:~0.0.0": version: 0.0.0 resolution: "jsonify@npm:0.0.0" @@ -10718,13 +9259,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"killable@npm:^1.0.1": - version: 1.0.1 - resolution: "killable@npm:1.0.1" - checksum: 911a85c6e390c19d72c4e3149347cf44042cbd7d18c3c6c5e4f706fdde6e0ed532473392e282c7ef27f518407e6cb7d2a0e71a2ae8d8d8f8ffdb68891a29a68a - languageName: node - linkType: hard - "kind-of@npm:^3.0.2, kind-of@npm:^3.0.3, kind-of@npm:^3.2.0": version: 3.2.2 resolution: "kind-of@npm:3.2.2" @@ -10780,6 +9314,50 @@ fsevents@~2.3.2: languageName: node linkType: hard +"lazy-cache@npm:^2.0.2": + version: 2.0.2 + resolution: "lazy-cache@npm:2.0.2" + dependencies: + set-getter: ^0.1.0 + checksum: f4106a28345b4b3b8e2dd544936ea5742bed650250d666f68e07bc7de55d04f75e750a36e2bf38ecb80e7520da95831e29dcdab608e3c32ca3189e6d8fb50e1f + languageName: node + linkType: hard + +"less@npm:^4.x": + version: 4.1.1 + resolution: "less@npm:4.1.1" + dependencies: + copy-anything: ^2.0.1 + errno: ^0.1.1 + graceful-fs: ^4.1.2 + image-size: ~0.5.0 + make-dir: ^2.1.0 + mime: ^1.4.1 + needle: ^2.5.2 + parse-node-version: ^1.0.1 + source-map: ~0.6.0 + tslib: ^1.10.0 + dependenciesMeta: + errno: + optional: true + graceful-fs: + optional: true + image-size: + optional: true + make-dir: + optional: true + mime: + optional: true + needle: + optional: true + source-map: + optional: true + bin: + lessc: bin/lessc + checksum: 56872a0b8e9dc58abba585c7b771b42b628ce841e962b1c5c66f0e73eb6c4ce7f4a8e7fe857568c84d17c91e2a384af272bf13a9dcd945e5a2bd08094063d961 + languageName: node + linkType: hard + "leven@npm:^2.1.0": version: 2.1.0 resolution: "leven@npm:2.1.0" @@ -10928,26 +9506,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"loader-runner@npm:^2.4.0": - version: 2.4.0 - resolution: "loader-runner@npm:2.4.0" - checksum: e27eebbca5347a03f6b1d1bce5b2736a4984fb742f872c0a4d68e62de10f7637613e79a464d3bcd77c246d9c70fcac112bb4a3123010eb527e8b203a614647db - languageName: node - linkType: hard - -"loader-utils@npm:^0.2.16": - version: 0.2.17 - resolution: "loader-utils@npm:0.2.17" - dependencies: - big.js: ^3.1.3 - emojis-list: ^2.0.0 - json5: ^0.5.0 - object-assign: ^4.0.1 - checksum: 3045c83ef8b19d66d4c25e3245120c579883f473fe0d0559552f55502be913725c4d558a7c866191a74b19ef2af20b094afe3b144ae1e717ea4c245d52f60a09 - languageName: node - linkType: hard - -"loader-utils@npm:^1.0.2, loader-utils@npm:^1.1.0, loader-utils@npm:^1.2.3": +"loader-utils@npm:^1.1.0": version: 1.2.3 resolution: "loader-utils@npm:1.2.3" dependencies: @@ -10968,16 +9527,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"locate-path@npm:^3.0.0": - version: 3.0.0 - resolution: "locate-path@npm:3.0.0" - dependencies: - p-locate: ^3.0.0 - path-exists: ^3.0.0 - checksum: 53db3996672f21f8b0bf2a2c645ae2c13ffdae1eeecfcd399a583bce8516c0b88dcb4222ca6efbbbeb6949df7e46860895be2c02e8d3219abd373ace3bfb4e11 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -10987,14 +9536,10 @@ fsevents@~2.3.2: languageName: node linkType: hard -"lodash-webpack-plugin@npm:0.11.5": - version: 0.11.5 - resolution: "lodash-webpack-plugin@npm:0.11.5" - dependencies: - lodash: ^4.17.4 - peerDependencies: - webpack: ^2.0.0 || ^3.0.0 || ^4.0.0 - checksum: 7309bc4af581424cb4f0ddd707ba9ab717a4b040bfc15e5c613cac99468105d28e8400eaeb9ec5fae47ce83dcfa005d85996bce8fc9f3beb366f03a1905afef3 +"lodash.camelcase@npm:^4.3.0": + version: 4.3.0 + resolution: "lodash.camelcase@npm:4.3.0" + checksum: cb9227612f71b83e42de93eccf1232feeb25e705bdb19ba26c04f91e885bfd3dd5c517c4a97137658190581d3493ea3973072ca010aab7e301046d90740393d1 languageName: node linkType: hard @@ -11054,7 +9599,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"lodash@npm:4.17.21, lodash@npm:^4.15.0, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.13, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.3, lodash@npm:^4.17.4, lodash@npm:^4.17.5, lodash@npm:^4.3.0": +"lodash@npm:4.17.21, lodash@npm:^4.15.0, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.13, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.20, lodash@npm:^4.17.5, lodash@npm:^4.3.0": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -11090,13 +9635,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"loglevel@npm:^1.6.8": - version: 1.7.1 - resolution: "loglevel@npm:1.7.1" - checksum: 715a4ae69ad75d4d3bd04e4f6e9edbc4cae4db34d1e7f54f426d8cebe2dd9fef891ca3789e839d927cdbc5fad73d789e998db0af2f11f4c40219c272bc923823 - languageName: node - linkType: hard - "lolex@npm:^5.0.0": version: 5.1.2 resolution: "lolex@npm:5.1.2" @@ -11124,13 +9662,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"lower-case@npm:^1.1.1": - version: 1.1.4 - resolution: "lower-case@npm:1.1.4" - checksum: 1ca9393b5eaef94a64e3f89e38b63d15bc7182a91171e6ad1550f51d710ec941540a065b274188f2e6b4576110cc2d11b50bc4bb7c603a040ddeb1db4ca95197 - languageName: node - linkType: hard - "lru-cache@npm:^4.0.1": version: 4.1.5 resolution: "lru-cache@npm:4.1.5" @@ -11141,15 +9672,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"lru-cache@npm:^5.1.1": - version: 5.1.1 - resolution: "lru-cache@npm:5.1.1" - dependencies: - yallist: ^3.0.2 - checksum: c154ae1cbb0c2206d1501a0e94df349653c92c8cbb25236d7e85190bcaf4567a03ac6eb43166fabfa36fd35623694da7233e88d9601fbf411a9a481d85dbd2cb - languageName: node - linkType: hard - "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -11166,7 +9688,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"make-dir@npm:^2.0.0": +"make-dir@npm:^2.1.0": version: 2.1.0 resolution: "make-dir@npm:2.1.0" dependencies: @@ -11254,17 +9776,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"md5.js@npm:^1.3.4": - version: 1.3.5 - resolution: "md5.js@npm:1.3.5" - dependencies: - hash-base: ^3.0.0 - inherits: ^2.0.1 - safe-buffer: ^5.1.2 - checksum: 098494d885684bcc4f92294b18ba61b7bd353c23147fbc4688c75b45cb8590f5a95fd4584d742415dcc52487f7a1ef6ea611cfa1543b0dc4492fe026357f3f0c - languageName: node - linkType: hard - "mdast-util-compact@npm:^1.0.0": version: 1.0.4 resolution: "mdast-util-compact@npm:1.0.4" @@ -11336,40 +9847,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"media-typer@npm:0.3.0": - version: 0.3.0 - resolution: "media-typer@npm:0.3.0" - checksum: af1b38516c28ec95d6b0826f6c8f276c58aec391f76be42aa07646b4e39d317723e869700933ca6995b056db4b09a78c92d5440dc23657e6764be5d28874bba1 - languageName: node - linkType: hard - -"memory-fs@npm:^0.4.0, memory-fs@npm:^0.4.1": - version: 0.4.1 - resolution: "memory-fs@npm:0.4.1" - dependencies: - errno: ^0.1.3 - readable-stream: ^2.0.1 - checksum: 6db6c8682eff836664ca9b5b6052ae38d21713dda9d0ef4700fa5c0599a8bc16b2093bee75ac3dedbe59fb2222d368f25bafaa62ba143c41051359cbcb005044 - languageName: node - linkType: hard - -"memory-fs@npm:^0.5.0": - version: 0.5.0 - resolution: "memory-fs@npm:0.5.0" - dependencies: - errno: ^0.1.3 - readable-stream: ^2.0.1 - checksum: a9f25b0a8ecfb7324277393f19ef68e6ba53b9e6e4b526bbf2ba23055c5440fbf61acc7bf66bfd980e9eb4951a4790f6f777a9a3abd36603f22c87e8a64d3d6b - languageName: node - linkType: hard - -"merge-descriptors@npm:1.0.1": - version: 1.0.1 - resolution: "merge-descriptors@npm:1.0.1" - checksum: 5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 - languageName: node - linkType: hard - "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -11384,14 +9861,17 @@ fsevents@~2.3.2: languageName: node linkType: hard -"methods@npm:~1.1.2": - version: 1.1.2 - resolution: "methods@npm:1.1.2" - checksum: 0917ff4041fa8e2f2fda5425a955fe16ca411591fbd123c0d722fcf02b73971ed6f764d85f0a6f547ce49ee0221ce2c19a5fa692157931cecb422984f1dcd13a +"micromatch@npm:4.x": + version: 4.0.4 + resolution: "micromatch@npm:4.0.4" + dependencies: + braces: ^3.0.1 + picomatch: ^2.2.3 + checksum: ef3d1c88e79e0a68b0e94a03137676f3324ac18a908c245a9e5936f838079fcc108ac7170a5fadc265a9c2596963462e402841406bda1a4bb7b68805601d631c languageName: node linkType: hard -"micromatch@npm:^3.1.10, micromatch@npm:^3.1.4, micromatch@npm:^3.1.8": +"micromatch@npm:^3.1.4, micromatch@npm:^3.1.8": version: 3.1.10 resolution: "micromatch@npm:3.1.10" dependencies: @@ -11412,7 +9892,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"micromatch@npm:^4.0.0, micromatch@npm:^4.0.2": +"micromatch@npm:^4.0.2": version: 4.0.2 resolution: "micromatch@npm:4.0.2" dependencies: @@ -11422,26 +9902,14 @@ fsevents@~2.3.2: languageName: node linkType: hard -"miller-rabin@npm:^4.0.0": - version: 4.0.1 - resolution: "miller-rabin@npm:4.0.1" - dependencies: - bn.js: ^4.0.0 - brorand: ^1.0.1 - bin: - miller-rabin: bin/miller-rabin - checksum: 00cd1ab838ac49b03f236cc32a14d29d7d28637a53096bf5c6246a032a37749c9bd9ce7360cbf55b41b89b7d649824949ff12bc8eee29ac77c6b38eada619ece - languageName: node - linkType: hard - -"mime-db@npm:1.40.0, mime-db@npm:>= 1.40.0 < 2": +"mime-db@npm:1.40.0": version: 1.40.0 resolution: "mime-db@npm:1.40.0" checksum: df6220a51cff688e9bb58f51afc3eda43e39bd1fdb975bc3e013c26676f9e799e3041f93a17c7c651f65fd066616e5947b4b51f0da03591edebaf8821aa00602 languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:~2.1.17, mime-types@npm:~2.1.19, mime-types@npm:~2.1.24": +"mime-types@npm:^2.1.12, mime-types@npm:~2.1.19": version: 2.1.24 resolution: "mime-types@npm:2.1.24" dependencies: @@ -11450,7 +9918,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mime@npm:1.6.0": +"mime@npm:^1.4.1": version: 1.6.0 resolution: "mime@npm:1.6.0" bin: @@ -11459,24 +9927,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mime@npm:^2.3.1": - version: 2.5.2 - resolution: "mime@npm:2.5.2" - bin: - mime: cli.js - checksum: dd3c93d433d41a09f6a1cfa969b653b769899f3bd573e7bfcea33bdc8b0cc4eba57daa2f95937369c2bd2b6d39d62389b11a4309fe40d1d3a1b736afdedad0ff - languageName: node - linkType: hard - -"mime@npm:^2.4.4": - version: 2.4.4 - resolution: "mime@npm:2.4.4" - bin: - mime: cli.js - checksum: a8dad06df1a55f56241789ed0bd0b8b42042bf9575b35ba4bbe3051352569511d191a882168f990b2d845ce41a77b0f48347f085344494874e86ed7969f3973b - languageName: node - linkType: hard - "mimic-fn@npm:^1.0.0": version: 1.2.0 resolution: "mimic-fn@npm:1.2.0" @@ -11491,34 +9941,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mini-css-extract-plugin@npm:0.9.0": - version: 0.9.0 - resolution: "mini-css-extract-plugin@npm:0.9.0" - dependencies: - loader-utils: ^1.1.0 - normalize-url: 1.9.1 - schema-utils: ^1.0.0 - webpack-sources: ^1.1.0 - peerDependencies: - webpack: ^4.4.0 - checksum: e5cf437c15e4adf119d3a5af1bb604c880bc90a637aaf0535c8db68219efec42dcace1c54789422dec05d76ced98c44ef89ae44a3c556e34936fdbdd4743a210 - languageName: node - linkType: hard - -"minimalistic-assert@npm:^1.0.0, minimalistic-assert@npm:^1.0.1": - version: 1.0.1 - resolution: "minimalistic-assert@npm:1.0.1" - checksum: cc7974a9268fbf130fb055aff76700d7e2d8be5f761fb5c60318d0ed010d839ab3661a533ad29a5d37653133385204c503bfac995aaa4236f4e847461ea32ba7 - languageName: node - linkType: hard - -"minimalistic-crypto-utils@npm:^1.0.1": - version: 1.0.1 - resolution: "minimalistic-crypto-utils@npm:1.0.1" - checksum: 6e8a0422b30039406efd4c440829ea8f988845db02a3299f372fceba56ffa94994a9c0f2fd70c17f9969eedfbd72f34b5070ead9656a34d3f71c0bd72583a0ed - languageName: node - linkType: hard - "minimatch@npm:3.0.3": version: 3.0.3 resolution: "minimatch@npm:3.0.3" @@ -11595,16 +10017,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"minipass@npm:^2.2.1, minipass@npm:^2.3.5": - version: 2.3.5 - resolution: "minipass@npm:2.3.5" - dependencies: - safe-buffer: ^5.1.2 - yallist: ^3.0.0 - checksum: 92803e1a8f69b04304d5c2721fe4b13187b6ea44c497e49d122bd6ef0572b72d6a947b2d95d8eac94f35f1519c4d36758ab02e385fd0f3944da0c66128566e3b - languageName: node - linkType: hard - "minipass@npm:^3.0.0, minipass@npm:^3.1.0, minipass@npm:^3.1.1, minipass@npm:^3.1.3": version: 3.1.3 resolution: "minipass@npm:3.1.3" @@ -11614,15 +10026,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"minizlib@npm:^1.2.1": - version: 1.2.1 - resolution: "minizlib@npm:1.2.1" - dependencies: - minipass: ^2.2.1 - checksum: 5e78159791427616a63262dbc26fffb7af18725dfbe1ecf2110c08ef935af621cd3e238b6e7673e5cc77a9e5216a0f2b569bea3e620f81c6a0905cd93b07d0f5 - languageName: node - linkType: hard - "minizlib@npm:^2.0.0, minizlib@npm:^2.1.1": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -11633,24 +10036,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mississippi@npm:^3.0.0": - version: 3.0.0 - resolution: "mississippi@npm:3.0.0" - dependencies: - concat-stream: ^1.5.0 - duplexify: ^3.4.2 - end-of-stream: ^1.1.0 - flush-write-stream: ^1.0.0 - from2: ^2.1.0 - parallel-transform: ^1.1.0 - pump: ^3.0.0 - pumpify: ^1.3.3 - stream-each: ^1.1.0 - through2: ^2.0.0 - checksum: 84b3d9889621d293f9a596bafe60df863b330c88fc19215ced8f603c605fc7e1bf06f8e036edf301bd630a03fd5d9d7d23d5d6b9a4802c30ca864d800f0bd9f8 - languageName: node - linkType: hard - "mixin-deep@npm:^1.2.0": version: 1.3.2 resolution: "mixin-deep@npm:1.3.2" @@ -11661,7 +10046,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mkdirp@npm:0.x, mkdirp@npm:^0.5.0, mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.5, mkdirp@npm:~0.5.1": +"mkdirp@npm:0.x, mkdirp@npm:^0.5.1, mkdirp@npm:~0.5.1": version: 0.5.5 resolution: "mkdirp@npm:0.5.5" dependencies: @@ -11672,7 +10057,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4": +"mkdirp@npm:^1.0.3, mkdirp@npm:^1.0.4, mkdirp@npm:~1.0.4": version: 1.0.4 resolution: "mkdirp@npm:1.0.4" bin: @@ -11688,20 +10073,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"move-concurrently@npm:^1.0.1": - version: 1.0.1 - resolution: "move-concurrently@npm:1.0.1" - dependencies: - aproba: ^1.1.1 - copy-concurrently: ^1.0.0 - fs-write-stream-atomic: ^1.0.8 - mkdirp: ^0.5.1 - rimraf: ^2.5.4 - run-queue: ^1.0.3 - checksum: 4ea3296c150b09e798177847f673eb5783f8ca417ba806668d2c631739f653e1a735f19fb9b6e2f5e25ee2e4c0a6224732237a8e4f84c764e99d7462d258209e - languageName: node - linkType: hard - "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -11709,13 +10080,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"ms@npm:2.1.1": - version: 2.1.1 - resolution: "ms@npm:2.1.1" - checksum: 0078a23cd916a9a7435c413caa14c57d4b4f6e2470e0ab554b6964163c8a4436448ac7ae020e883685475da6b6796cc396b670f579cb275db288a21e3e57721e - languageName: node - linkType: hard - "ms@npm:2.1.2, ms@npm:^2.1.1": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -11730,25 +10094,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"multicast-dns-service-types@npm:^1.1.0": - version: 1.1.0 - resolution: "multicast-dns-service-types@npm:1.1.0" - checksum: 0979fca1cce85484d256e4db3af591d941b41a61f134da3607213d2624c12ed5b8a246565cb19a9b3cb542819e8fbc71a90b07e77023ee6a9515540fe1d371f7 - languageName: node - linkType: hard - -"multicast-dns@npm:^6.0.1": - version: 6.2.3 - resolution: "multicast-dns@npm:6.2.3" - dependencies: - dns-packet: ^1.3.1 - thunky: ^1.0.2 - bin: - multicast-dns: cli.js - checksum: f515b49ca964429ab48a4ac8041fcf969c927aeb49ab65288bd982e52c849a870fc3b03565780b0d194a1a02da8821f28b6425e48e95b8107bc9fcc92f571a6f - languageName: node - linkType: hard - "mute-stream@npm:0.0.7": version: 0.0.7 resolution: "mute-stream@npm:0.0.7" @@ -11756,12 +10101,12 @@ fsevents@~2.3.2: languageName: node linkType: hard -"nan@npm:^2.12.1": - version: 2.14.0 - resolution: "nan@npm:2.14.0" - dependencies: - node-gyp: latest - checksum: 6dfd00d9bf71769898dfab21ef9d2ef278b392c586147616a718b995d6a582f5caa7f2ca0f83ce956fb0def698aca813b2b6fd4598125cd16bdc85924c34a37d +"nanoid@npm:^3.1.23": + version: 3.1.25 + resolution: "nanoid@npm:3.1.25" + bin: + nanoid: bin/nanoid.cjs + checksum: e2353828c7d8fde65265e9c981380102e2021f292038a93fd27288bad390339833286e8cbc7531abe1cb2c6b317e55f38b895dcb775151637bb487388558e0ff languageName: node linkType: hard @@ -11809,30 +10154,16 @@ fsevents@~2.3.2: languageName: node linkType: hard -"needle@npm:^2.2.1": - version: 2.4.0 - resolution: "needle@npm:2.4.0" +"needle@npm:^2.5.2": + version: 2.9.1 + resolution: "needle@npm:2.9.1" dependencies: debug: ^3.2.6 iconv-lite: ^0.4.4 sax: ^1.2.4 bin: needle: ./bin/needle - checksum: 140de239917090e659d2dd5eb51811a0929330063f8317d804ac67f99d4bfdf077987b4f4358a12cbcd98059899cec4fca530e017427b2d735d5f50fb203e118 - languageName: node - linkType: hard - -"negotiator@npm:0.6.2": - version: 0.6.2 - resolution: "negotiator@npm:0.6.2" - checksum: dfddaff6c06792f1c4c3809e29a427b8daef8cd437c83b08dd51d7ee11bbd1c29d9512d66b801144d6c98e910ffd8723f2432e0cbf8b18d41d2a09599c975ab3 - languageName: node - linkType: hard - -"neo-async@npm:^2.5.0, neo-async@npm:^2.6.1": - version: 2.6.1 - resolution: "neo-async@npm:2.6.1" - checksum: 8a675256aec19ec2341c445f9b43183af3fd5a461b396ec75b43f3ad4f078a0e146c99433830a25e30d726fd9e4e1688a14babe5021fea5a2aaab4163bd8a653 + checksum: 746ae3a3782f0a057ff304a98843cc6f2009f978a0fad0c3e641a9d46d0b5702bb3e197ba08aecd48678067874a991c4f5fc320c7e51a4c041d9dd3441146cf0 languageName: node linkType: hard @@ -11843,15 +10174,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"no-case@npm:^2.2.0": - version: 2.3.2 - resolution: "no-case@npm:2.3.2" - dependencies: - lower-case: ^1.1.1 - checksum: 856487731936fef44377ca74fdc5076464aba2e0734b56a4aa2b2a23d5b154806b591b9b2465faa59bb982e2b5c9391e3685400957fb4eeb38f480525adcf3dd - languageName: node - linkType: hard - "node-fetch@npm:^1.0.1": version: 1.7.3 resolution: "node-fetch@npm:1.7.3" @@ -11862,13 +10184,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"node-forge@npm:^0.10.0": - version: 0.10.0 - resolution: "node-forge@npm:0.10.0" - checksum: 5aa6dc9922e424a20ef101d2f517418e2bc9cfc0255dd22e0701c0fad1568445f510ee67f6f3fcdf085812c4ca1b847b8ba45683b34776828e41f5c1794e42e1 - languageName: node - linkType: hard - "node-gyp@npm:latest": version: 8.2.0 resolution: "node-gyp@npm:8.2.0" @@ -11896,37 +10211,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"node-libs-browser@npm:^2.2.1": - version: 2.2.1 - resolution: "node-libs-browser@npm:2.2.1" - dependencies: - assert: ^1.1.1 - browserify-zlib: ^0.2.0 - buffer: ^4.3.0 - console-browserify: ^1.1.0 - constants-browserify: ^1.0.0 - crypto-browserify: ^3.11.0 - domain-browser: ^1.1.1 - events: ^3.0.0 - https-browserify: ^1.0.0 - os-browserify: ^0.3.0 - path-browserify: 0.0.1 - process: ^0.11.10 - punycode: ^1.2.4 - querystring-es3: ^0.2.0 - readable-stream: ^2.3.3 - stream-browserify: ^2.0.1 - stream-http: ^2.7.2 - string_decoder: ^1.0.0 - timers-browserify: ^2.0.4 - tty-browserify: 0.0.0 - url: ^0.11.0 - util: ^0.11.0 - vm-browserify: ^1.0.1 - checksum: 41fa7927378edc0cb98a8cc784d3f4a47e43378d3b42ec57a23f81125baa7287c4b54d6d26d062072226160a3ce4d8b7a62e873d2fb637aceaddf71f5a26eca0 - languageName: node - linkType: hard - "node-modules-regexp@npm:^1.0.0": version: 1.0.0 resolution: "node-modules-regexp@npm:1.0.0" @@ -11947,26 +10231,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"node-pre-gyp@npm:^0.12.0": - version: 0.12.0 - resolution: "node-pre-gyp@npm:0.12.0" - dependencies: - detect-libc: ^1.0.2 - mkdirp: ^0.5.1 - needle: ^2.2.1 - nopt: ^4.0.1 - npm-packlist: ^1.1.6 - npmlog: ^4.0.2 - rc: ^1.2.7 - rimraf: ^2.6.1 - semver: ^5.3.0 - tar: ^4 - bin: - node-pre-gyp: ./bin/node-pre-gyp - checksum: f5507d9956e7d24179b95052104d6da13b218dd75ad3717ea659beb78300bd63979ff5e7621c03eab92433e77da8b301be52ca3bef9afbea49e2c322e35f92d4 - languageName: node - linkType: hard - "node-releases@npm:^1.1.23": version: 1.1.25 resolution: "node-releases@npm:1.1.25" @@ -11992,15 +10256,10 @@ fsevents@~2.3.2: languageName: node linkType: hard -"nopt@npm:^4.0.1": - version: 4.0.1 - resolution: "nopt@npm:4.0.1" - dependencies: - abbrev: 1 - osenv: ^0.1.4 - bin: - nopt: ./bin/nopt.js - checksum: 9698ffcb752bab2229e03f4a264215dbe34ce6d3465b58c5f2d7b4c2e21072f9003c0fe6b6c0ff8992cc6e2737b6bfd85b1fe92e81c78c6051b64df159c33b77 +"node-releases@npm:^1.1.75": + version: 1.1.76 + resolution: "node-releases@npm:1.1.76" + checksum: 10174cb880fffbb2896954599a2551da66127dd3c65703c827536fe9a4b4431545a9e3378c2006fb5ba59d0f0764ceff87c9f7eb0e84fabf7958411fccd0edd1 languageName: node linkType: hard @@ -12050,18 +10309,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"normalize-url@npm:1.9.1": - version: 1.9.1 - resolution: "normalize-url@npm:1.9.1" - dependencies: - object-assign: ^4.0.1 - prepend-http: ^1.0.0 - query-string: ^4.1.0 - sort-keys: ^1.0.0 - checksum: 4b03c22bebbb822874ce3b9204367ad1f27c314ae09b13aa201de730b3cf95f00dadf378277a56062322968c95c06e5764d01474d26af8b43d20bc4c8c491f84 - languageName: node - linkType: hard - "normalize-url@npm:^3.0.0": version: 3.3.0 resolution: "normalize-url@npm:3.3.0" @@ -12069,23 +10316,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"npm-bundled@npm:^1.0.1": - version: 1.0.6 - resolution: "npm-bundled@npm:1.0.6" - checksum: e2b304ae111ce1c6b29178b115dfd0f62976d65486de18648fd7419e38de5206e0eeec36047c784a6626208f1e181bc725cd9274ad64547a9f0c1c4fd516f200 - languageName: node - linkType: hard - -"npm-packlist@npm:^1.1.6": - version: 1.4.4 - resolution: "npm-packlist@npm:1.4.4" - dependencies: - ignore-walk: ^3.0.1 - npm-bundled: ^1.0.1 - checksum: a3ab931b04c60a73a19e377db69e662340542617f67dd83582b840451cfa8f7794cfee21b7ebb1f3fc5118bc754f99fb3c186eaf4d3a05443fbb7034b4025c2c - languageName: node - linkType: hard - "npm-path@npm:^2.0.2": version: 2.0.4 resolution: "npm-path@npm:2.0.4" @@ -12128,7 +10358,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"npmlog@npm:^4.0.2, npmlog@npm:^4.1.2": +"npmlog@npm:^4.1.2": version: 4.1.2 resolution: "npmlog@npm:4.1.2" dependencies: @@ -12177,7 +10407,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"object-assign@npm:^4.0.1, object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": +"object-assign@npm:^4.1.0, object-assign@npm:^4.1.1": version: 4.1.1 resolution: "object-assign@npm:4.1.1" checksum: fcc6e4ea8c7fe48abfbb552578b1c53e0d194086e2e6bbbf59e0a536381a292f39943c6e9628af05b5528aa5e3318bb30d6b2e53cadaf5b8fe9e12c4b69af23f @@ -12354,29 +10584,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"obuf@npm:^1.0.0, obuf@npm:^1.1.2": - version: 1.1.2 - resolution: "obuf@npm:1.1.2" - checksum: 41a2ba310e7b6f6c3b905af82c275bf8854896e2e4c5752966d64cbcd2f599cfffd5932006bcf3b8b419dfdacebb3a3912d5d94e10f1d0acab59876c8757f27f - languageName: node - linkType: hard - -"on-finished@npm:~2.3.0": - version: 2.3.0 - resolution: "on-finished@npm:2.3.0" - dependencies: - ee-first: 1.1.1 - checksum: 1db595bd963b0124d6fa261d18320422407b8f01dc65863840f3ddaaf7bcad5b28ff6847286703ca53f4ec19595bd67a2f1253db79fc4094911ec6aa8df1671b - languageName: node - linkType: hard - -"on-headers@npm:~1.0.2": - version: 1.0.2 - resolution: "on-headers@npm:1.0.2" - checksum: 2bf13467215d1e540a62a75021e8b318a6cfc5d4fc53af8e8f84ad98dbcea02d506c6d24180cd62e1d769c44721ba542f3154effc1f7579a8288c9f7873ed8e5 - languageName: node - linkType: hard - "once@npm:^1.3.0, once@npm:^1.3.1, once@npm:^1.4.0": version: 1.4.0 resolution: "once@npm:1.4.0" @@ -12404,15 +10611,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"opener@npm:^1.5.2": - version: 1.5.2 - resolution: "opener@npm:1.5.2" - bin: - opener: bin/opener-bin.js - checksum: 33b620c0d53d5b883f2abc6687dd1c5fd394d270dbe33a6356f2d71e0a2ec85b100d5bac94694198ccf5c30d592da863b2292c5539009c715a9c80c697b4f6cc - languageName: node - linkType: hard - "opn@npm:5.1.0": version: 5.1.0 resolution: "opn@npm:5.1.0" @@ -12423,20 +10621,11 @@ fsevents@~2.3.2: linkType: hard "opn@npm:5.2.0": - version: 5.2.0 - resolution: "opn@npm:5.2.0" - dependencies: - is-wsl: ^1.1.0 - checksum: cec5396ac63ef149e1d977737b4b5a421d16d755347ed54917462327a4bd14f209aba9ef5cc83c15414247b4516b11031417aafe233dc1b0e44deb8464c77fa7 - languageName: node - linkType: hard - -"opn@npm:^5.5.0": - version: 5.5.0 - resolution: "opn@npm:5.5.0" + version: 5.2.0 + resolution: "opn@npm:5.2.0" dependencies: is-wsl: ^1.1.0 - checksum: 35b677b5a1fd6c8cb1996b0607671ba79f7ce9fa029217d54eafaf6bee13eb7e700691c6a415009140fd02a435fffdfd143875f3b233b60f3f9d631c6f6b81a0 + checksum: cec5396ac63ef149e1d977737b4b5a421d16d755347ed54917462327a4bd14f209aba9ef5cc83c15414247b4516b11031417aafe233dc1b0e44deb8464c77fa7 languageName: node linkType: hard @@ -12468,7 +10657,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"original@npm:>=0.0.5, original@npm:^1.0.0": +"original@npm:>=0.0.5": version: 1.0.2 resolution: "original@npm:1.0.2" dependencies: @@ -12477,37 +10666,20 @@ fsevents@~2.3.2: languageName: node linkType: hard -"os-browserify@npm:^0.3.0": - version: 0.3.0 - resolution: "os-browserify@npm:0.3.0" - checksum: 16e37ba3c0e6a4c63443c7b55799ce4066d59104143cb637ecb9fce586d5da319cdca786ba1c867abbe3890d2cbf37953f2d51eea85e20dd6c4570d6c54bfebf - languageName: node - linkType: hard - -"os-homedir@npm:^1.0.0": +"os-homedir@npm:^1.0.1": version: 1.0.2 resolution: "os-homedir@npm:1.0.2" checksum: af609f5a7ab72de2f6ca9be6d6b91a599777afc122ac5cad47e126c1f67c176fe9b52516b9eeca1ff6ca0ab8587fe66208bc85e40a3940125f03cdb91408e9d2 languageName: node linkType: hard -"os-tmpdir@npm:^1.0.0, os-tmpdir@npm:~1.0.2": +"os-tmpdir@npm:~1.0.2": version: 1.0.2 resolution: "os-tmpdir@npm:1.0.2" checksum: 5666560f7b9f10182548bf7013883265be33620b1c1b4a4d405c25be2636f970c5488ff3e6c48de75b55d02bde037249fe5dbfbb4c0fb7714953d56aed062e6d languageName: node linkType: hard -"osenv@npm:^0.1.4": - version: 0.1.5 - resolution: "osenv@npm:0.1.5" - dependencies: - os-homedir: ^1.0.0 - os-tmpdir: ^1.0.0 - checksum: 779d261920f2a13e5e18cf02446484f12747d3f2ff82280912f52b213162d43d312647a40c332373cbccd5e3fb8126915d3bfea8dde4827f70f82da76e52d359 - languageName: node - linkType: hard - "p-each-series@npm:^2.1.0": version: 2.1.0 resolution: "p-each-series@npm:2.1.0" @@ -12538,16 +10710,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"p-limit@npm:^2.0.0": - version: 2.2.0 - resolution: "p-limit@npm:2.2.0" - dependencies: - p-try: ^2.0.0 - checksum: e92ec3025f9c28e8826fbd35405baa57a5f312ed03298b82703cd87e05578537f23987714baf45cd1551108796daf28773fff56149e345f711aff4a193c26fb3 - languageName: node - linkType: hard - -"p-limit@npm:^2.2.0, p-limit@npm:^2.2.1": +"p-limit@npm:^2.2.0": version: 2.2.2 resolution: "p-limit@npm:2.2.2" dependencies: @@ -12565,15 +10728,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"p-locate@npm:^3.0.0": - version: 3.0.0 - resolution: "p-locate@npm:3.0.0" - dependencies: - p-limit: ^2.0.0 - checksum: 83991734a9854a05fe9dbb29f707ea8a0599391f52daac32b86f08e21415e857ffa60f0e120bfe7ce0cc4faf9274a50239c7895fc0d0579d08411e513b83a4ae - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -12606,15 +10760,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"p-retry@npm:^3.0.1": - version: 3.0.1 - resolution: "p-retry@npm:3.0.1" - dependencies: - retry: ^0.12.0 - checksum: 702efc63fc13ef7fc0bab9a1b08432ab38a0236efcbce64af0cf692030ba6ed8009f29ba66e3301cb98dc69ef33e7ccab29ba1ac2bea897f802f81f4f7e468dd - languageName: node - linkType: hard - "p-try@npm:^1.0.0": version: 1.0.0 resolution: "p-try@npm:1.0.0" @@ -12629,33 +10774,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pako@npm:~1.0.5": - version: 1.0.10 - resolution: "pako@npm:1.0.10" - checksum: 02e35639495ba8a36a489a925c37f6faffb4be75238da1d52371cb38f674b18c5c95babed24f4616d9877776bd00e4969e7e9f6413ae9b3fd43189a7cea237c3 - languageName: node - linkType: hard - -"parallel-transform@npm:^1.1.0": - version: 1.1.0 - resolution: "parallel-transform@npm:1.1.0" - dependencies: - cyclist: ~0.2.2 - inherits: ^2.0.3 - readable-stream: ^2.1.5 - checksum: a729bf82706914a5fcb995472007fd8443978e22075ba34f5347b967766ce617796052c4f7370449f00b180acd18202869e2f5af716f776da6b28152ad3fee37 - languageName: node - linkType: hard - -"param-case@npm:2.1.x": - version: 2.1.1 - resolution: "param-case@npm:2.1.1" - dependencies: - no-case: ^2.2.0 - checksum: 3a63dcb8d8dc7995a612de061afdc7bb6fe7bd0e6db994db8d4cae999ed879859fd24389090e1a0d93f4c9207ebf8c048c870f468a3f4767161753e03cb9ab58 - languageName: node - linkType: hard - "parent-module@npm:^1.0.0": version: 1.0.1 resolution: "parent-module@npm:1.0.1" @@ -12665,20 +10783,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"parse-asn1@npm:^5.0.0": - version: 5.1.4 - resolution: "parse-asn1@npm:5.1.4" - dependencies: - asn1.js: ^4.0.0 - browserify-aes: ^1.0.0 - create-hash: ^1.1.0 - evp_bytestokey: ^1.0.0 - pbkdf2: ^3.0.3 - safe-buffer: ^5.1.1 - checksum: a65ebd86b2bbd77f9e3f463a144084a15f81c272b51452f1c08ef64a9722a55d65a76cc37047b19eecd75b3f6a5da93dbc8ee76a8d19d1adb22f0dddaae9a43b - languageName: node - linkType: hard - "parse-entities@npm:^1.0.2, parse-entities@npm:^1.1.0": version: 1.2.2 resolution: "parse-entities@npm:1.2.2" @@ -12724,6 +10828,13 @@ fsevents@~2.3.2: languageName: node linkType: hard +"parse-node-version@npm:^1.0.1": + version: 1.0.1 + resolution: "parse-node-version@npm:1.0.1" + checksum: c192393b6a978092c1ef8df2c42c0a02e4534b96543e23d335f1b9b5b913ac75473d18fe6050b58d6995c57fb383ee71a5cb8397e363caaf38a6df8215cc52fd + languageName: node + linkType: hard + "parse-passwd@npm:^1.0.0": version: 1.0.0 resolution: "parse-passwd@npm:1.0.0" @@ -12754,13 +10865,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": - version: 1.3.3 - resolution: "parseurl@npm:1.3.3" - checksum: 407cee8e0a3a4c5cd472559bca8b6a45b82c124e9a4703302326e9ab60fc1081442ada4e02628efef1eb16197ddc7f8822f5a91fd7d7c86b51f530aedb17dfa2 - languageName: node - linkType: hard - "pascalcase@npm:^0.1.1": version: 0.1.1 resolution: "pascalcase@npm:0.1.1" @@ -12768,17 +10872,10 @@ fsevents@~2.3.2: languageName: node linkType: hard -"path-browserify@npm:0.0.1": - version: 0.0.1 - resolution: "path-browserify@npm:0.0.1" - checksum: ae8dcd45d0d3cfbaf595af4f206bf3ed82d77f72b4877ae7e77328079e1468c84f9386754bb417d994d5a19bf47882fd253565c18441cd5c5c90ae5187599e35 - languageName: node - linkType: hard - -"path-dirname@npm:^1.0.0": - version: 1.0.2 - resolution: "path-dirname@npm:1.0.2" - checksum: 0d2f6604ae05a252a0025318685f290e2764ecf9c5436f203cdacfc8c0b17c24cdedaa449d766beb94ab88cc7fc70a09ec21e7933f31abc2b719180883e5e33f +"path-browserify@npm:1.0.1": + version: 1.0.1 + resolution: "path-browserify@npm:1.0.1" + checksum: c6d7fa376423fe35b95b2d67990060c3ee304fc815ff0a2dc1c6c3cfaff2bd0d572ee67e18f19d0ea3bbe32e8add2a05021132ac40509416459fffee35200699 languageName: node linkType: hard @@ -12831,13 +10928,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"path-to-regexp@npm:0.1.7": - version: 0.1.7 - resolution: "path-to-regexp@npm:0.1.7" - checksum: 69a14ea24db543e8b0f4353305c5eac6907917031340e5a8b37df688e52accd09e3cebfe1660b70d76b6bd89152f52183f28c74813dbf454ba1a01c82a38abce - languageName: node - linkType: hard - "path-type@npm:^2.0.0": version: 2.0.0 resolution: "path-type@npm:2.0.0" @@ -12847,15 +10937,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"path-type@npm:^3.0.0": - version: 3.0.0 - resolution: "path-type@npm:3.0.0" - dependencies: - pify: ^3.0.0 - checksum: 735b35e256bad181f38fa021033b1c33cfbe62ead42bb2222b56c210e42938eecb272ae1949f3b6db4ac39597a61b44edd8384623ec4d79bfdc9a9c0f12537a6 - languageName: node - linkType: hard - "path-type@npm:^4.0.0": version: 4.0.0 resolution: "path-type@npm:4.0.0" @@ -12863,19 +10944,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pbkdf2@npm:^3.0.3": - version: 3.0.17 - resolution: "pbkdf2@npm:3.0.17" - dependencies: - create-hash: ^1.1.2 - create-hmac: ^1.1.4 - ripemd160: ^2.0.1 - safe-buffer: ^5.0.1 - sha.js: ^2.4.8 - checksum: 9c9062b4bf300bfc03214a8665ab1c8ede227fca1d5bd8b8d0a9d317a941ff64c80b19810288a8cc0f774d603dce249d4b734e62b68dfc784be4ad1e6c0a81f5 - languageName: node - linkType: hard - "performance-now@npm:^2.1.0": version: 2.1.0 resolution: "performance-now@npm:2.1.0" @@ -12897,6 +10965,13 @@ fsevents@~2.3.2: languageName: node linkType: hard +"picomatch@npm:^2.2.3": + version: 2.3.0 + resolution: "picomatch@npm:2.3.0" + checksum: 16818720ea7c5872b6af110760dee856c8e4cd79aed1c7a006d076b1cc09eff3ae41ca5019966694c33fbd2e1cc6ea617ab10e4adac6df06556168f13be3fca2 + languageName: node + linkType: hard + "pify@npm:^2.0.0": version: 2.3.0 resolution: "pify@npm:2.3.0" @@ -12918,22 +10993,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pinkie-promise@npm:^2.0.0": - version: 2.0.1 - resolution: "pinkie-promise@npm:2.0.1" - dependencies: - pinkie: ^2.0.0 - checksum: b53a4a2e73bf56b6f421eef711e7bdcb693d6abb474d57c5c413b809f654ba5ee750c6a96dd7225052d4b96c4d053cdcb34b708a86fceed4663303abee52fcca - languageName: node - linkType: hard - -"pinkie@npm:^2.0.0": - version: 2.0.4 - resolution: "pinkie@npm:2.0.4" - checksum: b12b10afea1177595aab036fc220785488f67b4b0fc49e7a27979472592e971614fa1c728e63ad3e7eb748b4ec3c3dbd780819331dad6f7d635c77c10537b9db - languageName: node - linkType: hard - "pirates@npm:^4.0.1": version: 4.0.1 resolution: "pirates@npm:4.0.1" @@ -12952,15 +11011,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pkg-dir@npm:^3.0.0": - version: 3.0.0 - resolution: "pkg-dir@npm:3.0.0" - dependencies: - find-up: ^3.0.0 - checksum: 70c9476ffefc77552cc6b1880176b71ad70bfac4f367604b2b04efd19337309a4eec985e94823271c7c0e83946fa5aeb18cd360d15d10a5d7533e19344bfa808 - languageName: node - linkType: hard - "pkg-dir@npm:^4.2.0": version: 4.2.0 resolution: "pkg-dir@npm:4.2.0" @@ -12995,17 +11045,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"portfinder@npm:^1.0.26": - version: 1.0.28 - resolution: "portfinder@npm:1.0.28" - dependencies: - async: ^2.6.2 - debug: ^3.1.1 - mkdirp: ^0.5.5 - checksum: 91fef602f13f8f4c64385d0ad2a36cc9dc6be0b8d10a2628ee2c3c7b9917ab4fefb458815b82cea2abf4b785cd11c9b4e2d917ac6fa06f14b6fa880ca8f8928c - languageName: node - linkType: hard - "posix-character-classes@npm:^0.1.0": version: 0.1.1 resolution: "posix-character-classes@npm:0.1.1" @@ -13105,28 +11144,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss-load-config@npm:^2.0.0": - version: 2.1.0 - resolution: "postcss-load-config@npm:2.1.0" - dependencies: - cosmiconfig: ^5.0.0 - import-cwd: ^2.0.0 - checksum: 322d4d82c10bb7125c47ba9c2b0d3838bd864adf9509a869645663909d8a781d90e15038df9cd822e50d26feed8dc2234e56a3f647e12b57eaf0eeb6a845bf36 - languageName: node - linkType: hard - -"postcss-loader@npm:3.0.0": - version: 3.0.0 - resolution: "postcss-loader@npm:3.0.0" - dependencies: - loader-utils: ^1.1.0 - postcss: ^7.0.0 - postcss-load-config: ^2.0.0 - schema-utils: ^1.0.0 - checksum: a6a922cbcc225ef57fb88c8248f91195869cd11e0d2b0b0fe84bc89a3074437d592d79a9fc39e50218677b7ba3a41b0e1c7e8f9666e59d41a196d7ab022c5805 - languageName: node - linkType: hard - "postcss-merge-longhand@npm:^4.0.11": version: 4.0.11 resolution: "postcss-merge-longhand@npm:4.0.11" @@ -13201,44 +11218,65 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss-modules-extract-imports@npm:^2.0.0": - version: 2.0.0 - resolution: "postcss-modules-extract-imports@npm:2.0.0" - dependencies: - postcss: ^7.0.5 - checksum: 154790fe5954aaa12f300aa9aa782fae8b847138459c8f533ea6c8f29439dd66b4d9a49e0bf6f8388fa0df898cc03d61c84678e3b0d4b47cac5a4334a7151a9f +"postcss-modules-extract-imports@npm:^3.0.0": + version: 3.0.0 + resolution: "postcss-modules-extract-imports@npm:3.0.0" + peerDependencies: + postcss: ^8.1.0 + checksum: 4b65f2f1382d89c4bc3c0a1bdc5942f52f3cb19c110c57bd591ffab3a5fee03fcf831604168205b0c1b631a3dce2255c70b61aaae3ef39d69cd7eb450c2552d2 languageName: node linkType: hard -"postcss-modules-local-by-default@npm:^3.0.2": - version: 3.0.2 - resolution: "postcss-modules-local-by-default@npm:3.0.2" +"postcss-modules-local-by-default@npm:^4.0.0": + version: 4.0.0 + resolution: "postcss-modules-local-by-default@npm:4.0.0" dependencies: - icss-utils: ^4.1.1 - postcss: ^7.0.16 + icss-utils: ^5.0.0 postcss-selector-parser: ^6.0.2 - postcss-value-parser: ^4.0.0 - checksum: 475160a7d8f2b5234f79bc3fb302bef6766125f8dd27d42ffbd5d3e32be1545826093c9b97dfe4c39debd9b8ad572112e469022cd55d56fef5601ef85e8da4a6 + postcss-value-parser: ^4.1.0 + peerDependencies: + postcss: ^8.1.0 + checksum: 6cf570badc7bc26c265e073f3ff9596b69bb954bc6ac9c5c1b8cba2995b80834226b60e0a3cbb87d5f399dbb52e6466bba8aa1d244f6218f99d834aec431a69d languageName: node linkType: hard -"postcss-modules-scope@npm:^2.1.1": - version: 2.1.1 - resolution: "postcss-modules-scope@npm:2.1.1" +"postcss-modules-scope@npm:^3.0.0": + version: 3.0.0 + resolution: "postcss-modules-scope@npm:3.0.0" dependencies: - postcss: ^7.0.6 - postcss-selector-parser: ^6.0.0 - checksum: 75ba7edd7e99310e52878f811aa4b4910c4467da0c79da124f5176c420cfaf33a2383e051e733ae82da6b77e93671cbcd0b2a914ab9b9cb19e94846e3e382fd0 + postcss-selector-parser: ^6.0.4 + peerDependencies: + postcss: ^8.1.0 + checksum: 330b9398dbd44c992c92b0dc612c0626135e2cc840fee41841eb61247a6cfed95af2bd6f67ead9dd9d0bb41f5b0367129d93c6e434fa3e9c58ade391d9a5a138 languageName: node linkType: hard -"postcss-modules-values@npm:^3.0.0": - version: 3.0.0 - resolution: "postcss-modules-values@npm:3.0.0" +"postcss-modules-values@npm:^4.0.0": + version: 4.0.0 + resolution: "postcss-modules-values@npm:4.0.0" + dependencies: + icss-utils: ^5.0.0 + peerDependencies: + postcss: ^8.1.0 + checksum: f7f2cdf14a575b60e919ad5ea52fed48da46fe80db2733318d71d523fc87db66c835814940d7d05b5746b0426e44661c707f09bdb83592c16aea06e859409db6 + languageName: node + linkType: hard + +"postcss-modules@npm:^4.0.0": + version: 4.2.2 + resolution: "postcss-modules@npm:4.2.2" dependencies: - icss-utils: ^4.0.0 - postcss: ^7.0.6 - checksum: f1aea0b9c6798b39ec02a6d2310924bb9bfbddb4579668c2d4e2205ca7a68c656b85d5720f9bba3629d611f36667fe04ab889ea3f9a6b569a0a0d57b4f2f4e99 + generic-names: ^2.0.1 + icss-replace-symbols: ^1.1.0 + lodash.camelcase: ^4.3.0 + postcss-modules-extract-imports: ^3.0.0 + postcss-modules-local-by-default: ^4.0.0 + postcss-modules-scope: ^3.0.0 + postcss-modules-values: ^4.0.0 + string-hash: ^1.1.1 + peerDependencies: + postcss: ^8.0.0 + checksum: 9e8444dfb4cfde814559f91039c1475b721bff7fcae507fcd2d6efd192c58220c66c8ba5608697928b2fd3dfdf2ccfc92a698b6ed50fc02e5515c0b8fa2b9fdb languageName: node linkType: hard @@ -13398,7 +11436,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.0, postcss-selector-parser@npm:^6.0.2": +"postcss-selector-parser@npm:^6.0.2": version: 6.0.2 resolution: "postcss-selector-parser@npm:6.0.2" dependencies: @@ -13409,6 +11447,16 @@ fsevents@~2.3.2: languageName: node linkType: hard +"postcss-selector-parser@npm:^6.0.4": + version: 6.0.6 + resolution: "postcss-selector-parser@npm:6.0.6" + dependencies: + cssesc: ^3.0.0 + util-deprecate: ^1.0.2 + checksum: 3602758798048bffbd6a97d6f009b32a993d6fd2cc70775bb59593e803d7fa8738822ecffb2fafc745edf7fad297dad53c30d2cfe78446a7d3f4a4a258cb15b2 + languageName: node + linkType: hard + "postcss-svgo@npm:^4.0.2": version: 4.0.2 resolution: "postcss-svgo@npm:4.0.2" @@ -13439,13 +11487,20 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss-value-parser@npm:^4.0.0, postcss-value-parser@npm:^4.0.2": +"postcss-value-parser@npm:^4.0.2": version: 4.0.3 resolution: "postcss-value-parser@npm:4.0.3" checksum: fbbad3bcbd108d05a5625f268faf1b6f61e7c8eb38cd259b8b57f25cfda3a4f4bebfd3f57a50816db4f9d8d3c6eef52f4e80525915c6761b69a409f07ab3a578 languageName: node linkType: hard +"postcss-value-parser@npm:^4.1.0": + version: 4.1.0 + resolution: "postcss-value-parser@npm:4.1.0" + checksum: 68a9ea27c780fa3cc350be37b47cc46385c61dd9627990909230e0e9c3debf6d5beb49006bd743a2e506cdd6fa7d07637f2d9504a394f67cc3011d1ff0134886 + languageName: node + linkType: hard + "postcss-values-parser@npm:^3.0.5": version: 3.1.1 resolution: "postcss-values-parser@npm:3.1.1" @@ -13459,7 +11514,18 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss@npm:^7.0.0, postcss@npm:^7.0.1, postcss@npm:^7.0.14, postcss@npm:^7.0.5, postcss@npm:^7.0.6": +"postcss@npm:8.x": + version: 8.3.6 + resolution: "postcss@npm:8.3.6" + dependencies: + colorette: ^1.2.2 + nanoid: ^3.1.23 + source-map-js: ^0.6.2 + checksum: ff55b91bea21f42c2a94d77fd05c3f66dd15889c68506cf1dbb9cdee8c3b9e9d0e219bcbc6e61a107bd63e3cac0670176486e2a5794c106a4e1b9babceb79317 + languageName: node + linkType: hard + +"postcss@npm:^7.0.0, postcss@npm:^7.0.1, postcss@npm:^7.0.5": version: 7.0.17 resolution: "postcss@npm:7.0.17" dependencies: @@ -13470,7 +11536,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"postcss@npm:^7.0.16, postcss@npm:^7.0.17, postcss@npm:^7.0.23, postcss@npm:^7.0.26, postcss@npm:^7.0.27": +"postcss@npm:^7.0.17, postcss@npm:^7.0.26, postcss@npm:^7.0.27": version: 7.0.27 resolution: "postcss@npm:7.0.27" dependencies: @@ -13495,13 +11561,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"prepend-http@npm:^1.0.0": - version: 1.0.4 - resolution: "prepend-http@npm:1.0.4" - checksum: 01e7baf4ad38af02257b99098543469332fc42ae50df33d97a124bf8172295907352fa6138c9b1610c10c6dd0847ca736e53fda736387cc5cf8fcffe96b47f29 - languageName: node - linkType: hard - "prettier@npm:1.19.1": version: 1.19.1 resolution: "prettier@npm:1.19.1" @@ -13511,16 +11570,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pretty-error@npm:^2.0.2": - version: 2.1.1 - resolution: "pretty-error@npm:2.1.1" - dependencies: - renderkid: ^2.0.1 - utila: ~0.4 - checksum: 7dff5143bedda1f1695410d86d6b84413a3602d010645ce88b77952c1939f1d490883d1c1a3894e3abdf689a4057374bd7d6abe7b394896dc9941dce4af25f94 - languageName: node - linkType: hard - "pretty-format@npm:^23.6.0": version: 23.6.0 resolution: "pretty-format@npm:23.6.0" @@ -13569,13 +11618,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"process@npm:^0.11.10": - version: 0.11.10 - resolution: "process@npm:0.11.10" - checksum: bfcce49814f7d172a6e6a14d5fa3ac92cc3d0c3b9feb1279774708a719e19acd673995226351a082a9ae99978254e320ccda4240ddc474ba31a76c79491ca7c3 - languageName: node - linkType: hard - "progress@npm:^2.0.0": version: 2.0.3 resolution: "progress@npm:2.0.3" @@ -13630,7 +11672,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"prop-types@npm:15.7.2, prop-types@npm:^15.5.10, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2": +"prop-types@npm:15.7.2, prop-types@npm:^15.5.8, prop-types@npm:^15.6.0, prop-types@npm:^15.6.1, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2": version: 15.7.2 resolution: "prop-types@npm:15.7.2" dependencies: @@ -13650,16 +11692,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"proxy-addr@npm:~2.0.5": - version: 2.0.5 - resolution: "proxy-addr@npm:2.0.5" - dependencies: - forwarded: ~0.1.2 - ipaddr.js: 1.9.0 - checksum: 463ec49bbe9833480c4e50cad7ebad9982db94982a27582412224e405854202f1559b748f6cd0b77576e0b7c8bd27e3bbfad99a615b71f3e218c587827a0adef - languageName: node - linkType: hard - "prr@npm:~1.0.1": version: 1.0.1 resolution: "prr@npm:1.0.1" @@ -13681,30 +11713,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"public-encrypt@npm:^4.0.0": - version: 4.0.3 - resolution: "public-encrypt@npm:4.0.3" - dependencies: - bn.js: ^4.1.0 - browserify-rsa: ^4.0.0 - create-hash: ^1.1.0 - parse-asn1: ^5.0.0 - randombytes: ^2.0.1 - safe-buffer: ^5.1.2 - checksum: 215d446e43cef021a20b67c1df455e5eea134af0b1f9b8a35f9e850abf32991b0c307327bc5b9bc07162c288d5cdb3d4a783ea6c6640979ed7b5017e3e0c9935 - languageName: node - linkType: hard - -"pump@npm:^2.0.0": - version: 2.0.1 - resolution: "pump@npm:2.0.1" - dependencies: - end-of-stream: ^1.1.0 - once: ^1.3.1 - checksum: e9f26a17be00810bff37ad0171edb35f58b242487b0444f92fb7d78bc7d61442fa9b9c5bd93a43fd8fd8ddd3cc75f1221f5e04c790f42907e5baab7cf5e2b931 - languageName: node - linkType: hard - "pump@npm:^3.0.0": version: 3.0.0 resolution: "pump@npm:3.0.0" @@ -13715,31 +11723,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pumpify@npm:^1.3.3": - version: 1.5.1 - resolution: "pumpify@npm:1.5.1" - dependencies: - duplexify: ^3.6.0 - inherits: ^2.0.3 - pump: ^2.0.0 - checksum: 26ca412ec8d665bd0d5e185c1b8f627728eff603440d75d22a58e421e3c66eaf86ec6fc6a6efc54808ecef65979279fa8e99b109a23ec1fa8d79f37e6978c9bd - languageName: node - linkType: hard - -"punycode@npm:1.3.2": - version: 1.3.2 - resolution: "punycode@npm:1.3.2" - checksum: b8807fd594b1db33335692d1f03e8beeddde6fda7fbb4a2e32925d88d20a3aa4cd8dcc0c109ccaccbd2ba761c208dfaaada83007087ea8bfb0129c9ef1b99ed6 - languageName: node - linkType: hard - -"punycode@npm:^1.2.4": - version: 1.4.1 - resolution: "punycode@npm:1.4.1" - checksum: fa6e698cb53db45e4628559e557ddaf554103d2a96a1d62892c8f4032cd3bc8871796cae9eabc1bc700e2b6677611521ce5bb1d9a27700086039965d0cf34518 - languageName: node - linkType: hard - "punycode@npm:^2.1.0, punycode@npm:^2.1.1": version: 2.1.1 resolution: "punycode@npm:2.1.1" @@ -13754,13 +11737,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"qs@npm:6.7.0": - version: 6.7.0 - resolution: "qs@npm:6.7.0" - checksum: dfd5f6adef50e36e908cfa70a6233871b5afe66fbaca37ecc1da352ba29eb2151a3797991948f158bb37fccde51bd57845cb619a8035287bfc24e4591172c347 - languageName: node - linkType: hard - "qs@npm:~6.5.2": version: 6.5.2 resolution: "qs@npm:6.5.2" @@ -13768,7 +11744,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"query-string@npm:^4.1.0, query-string@npm:^4.2.2": +"query-string@npm:^4.2.2": version: 4.3.4 resolution: "query-string@npm:4.3.4" dependencies: @@ -13778,17 +11754,10 @@ fsevents@~2.3.2: languageName: node linkType: hard -"querystring-es3@npm:^0.2.0": +"querystring@npm:0.2.1": version: 0.2.1 - resolution: "querystring-es3@npm:0.2.1" - checksum: 691e8d6b8b157e7cd49ae8e83fcf86de39ab3ba948c25abaa94fba84c0986c641aa2f597770848c64abce290ed17a39c9df6df737dfa7e87c3b63acc7d225d61 - languageName: node - linkType: hard - -"querystring@npm:0.2.0": - version: 0.2.0 - resolution: "querystring@npm:0.2.0" - checksum: 8258d6734f19be27e93f601758858c299bdebe71147909e367101ba459b95446fbe5b975bf9beb76390156a592b6f4ac3a68b6087cea165c259705b8b4e56a69 + resolution: "querystring@npm:0.2.1" + checksum: 7b83b45d641e75fd39cd6625ddfd44e7618e741c61e95281b57bbae8fde0afcc12cf851924559e5cc1ef9baa3b1e06e22b164ea1397d65dd94b801f678d9c8ce languageName: node linkType: hard @@ -13825,70 +11794,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"randombytes@npm:^2.0.0, randombytes@npm:^2.0.1, randombytes@npm:^2.0.5, randombytes@npm:^2.1.0": - version: 2.1.0 - resolution: "randombytes@npm:2.1.0" - dependencies: - safe-buffer: ^5.1.0 - checksum: d779499376bd4cbb435ef3ab9a957006c8682f343f14089ed5f27764e4645114196e75b7f6abf1cbd84fd247c0cb0651698444df8c9bf30e62120fbbc52269d6 - languageName: node - linkType: hard - -"randomfill@npm:^1.0.3": - version: 1.0.4 - resolution: "randomfill@npm:1.0.4" - dependencies: - randombytes: ^2.0.5 - safe-buffer: ^5.1.0 - checksum: 33734bb578a868d29ee1b8555e21a36711db084065d94e019a6d03caa67debef8d6a1bfd06a2b597e32901ddc761ab483a85393f0d9a75838f1912461d4dbfc7 - languageName: node - linkType: hard - -"range-parser@npm:^1.2.1, range-parser@npm:~1.2.1": - version: 1.2.1 - resolution: "range-parser@npm:1.2.1" - checksum: 0a268d4fea508661cf5743dfe3d5f47ce214fd6b7dec1de0da4d669dd4ef3d2144468ebe4179049eff253d9d27e719c88dae55be64f954e80135a0cada804ec9 - languageName: node - linkType: hard - -"raw-body@npm:2.4.0": - version: 2.4.0 - resolution: "raw-body@npm:2.4.0" - dependencies: - bytes: 3.1.0 - http-errors: 1.7.2 - iconv-lite: 0.4.24 - unpipe: 1.0.0 - checksum: 6343906939e018c6e633a34a938a5d6d1e93ffcfa48646e00207d53b418e941953b521473950c079347220944dc75ba10e7b3c08bf97e3ac72c7624882db09bb - languageName: node - linkType: hard - -"raw-loader@npm:3.1.0": - version: 3.1.0 - resolution: "raw-loader@npm:3.1.0" - dependencies: - loader-utils: ^1.1.0 - schema-utils: ^2.0.1 - peerDependencies: - webpack: ^4.3.0 - checksum: 1d1d0e2984a1545d71a92b788918e4bea1ec33363c55b5ec7c1347b0dbb796e518e8a61f07c97b8381cc1e1c8a33654066a4981051e607fb3bcca1f2054f90f7 - languageName: node - linkType: hard - -"rc@npm:^1.2.7": - version: 1.2.8 - resolution: "rc@npm:1.2.8" - dependencies: - deep-extend: ^0.6.0 - ini: ~1.3.0 - minimist: ^1.2.0 - strip-json-comments: ~2.0.1 - bin: - rc: ./cli.js - checksum: 2e26e052f8be2abd64e6d1dabfbd7be03f80ec18ccbc49562d31f617d0015fbdbcf0f9eed30346ea6ab789e0fdfe4337f033f8016efdbee0df5354751842080e - languageName: node - linkType: hard - "react-countup@npm:4.3.3": version: 4.3.3 resolution: "react-countup@npm:4.3.3" @@ -14089,18 +11994,18 @@ fsevents@~2.3.2: languageName: node linkType: hard -"react-modal@npm:3.8.2": - version: 3.8.2 - resolution: "react-modal@npm:3.8.2" +"react-modal@npm:3.14.3": + version: 3.14.3 + resolution: "react-modal@npm:3.14.3" dependencies: exenv: ^1.2.0 - prop-types: ^15.5.10 + prop-types: ^15.7.2 react-lifecycles-compat: ^3.0.0 warning: ^4.0.3 peerDependencies: - react: ^0.14.0 || ^15.0.0 || ^16 - react-dom: ^0.14.0 || ^15.0.0 || ^16 - checksum: 6cc170dc8b918569865e941143b015d08ad6fdc82c8d41df10ba9cfc5ed557493aa7a761b52f606f0fc294457561aa4d91b7e9ca74da28f4d15ed89df2b23d73 + react: ^0.14.0 || ^15.0.0 || ^16 || ^17 + react-dom: ^0.14.0 || ^15.0.0 || ^16 || ^17 + checksum: 025605ad33c6eb743522d9e3f935bb7b1aef6b5b54dea3daa63c8599266c00d16993839c8d3f4bfcc959595e1391b78c0786e2579e272c165fe8057d5c1cebe4 languageName: node linkType: hard @@ -14254,7 +12159,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"readable-stream@npm:1 || 2, readable-stream@npm:^2.0.0, readable-stream@npm:^2.0.1, readable-stream@npm:^2.0.2, readable-stream@npm:^2.0.6, readable-stream@npm:^2.1.5, readable-stream@npm:^2.2.2, readable-stream@npm:^2.3.3, readable-stream@npm:^2.3.6, readable-stream@npm:~2.3.6": +"readable-stream@npm:^2.0.6": version: 2.3.6 resolution: "readable-stream@npm:2.3.6" dependencies: @@ -14269,7 +12174,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"readable-stream@npm:^3.0.6, readable-stream@npm:^3.1.1": +"readable-stream@npm:^3.1.1": version: 3.4.0 resolution: "readable-stream@npm:3.4.0" dependencies: @@ -14280,17 +12185,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"readdirp@npm:^2.2.1": - version: 2.2.1 - resolution: "readdirp@npm:2.2.1" - dependencies: - graceful-fs: ^4.1.11 - micromatch: ^3.1.10 - readable-stream: ^2.0.2 - checksum: 3879b20f1a871e0e004a14fbf1776e65ee0b746a62f5a416010808b37c272ac49b023c47042c7b1e281cba75a449696635bc64c397ed221ea81d853a8f2ed79a - languageName: node - linkType: hard - "readdirp@npm:~3.6.0": version: 3.6.0 resolution: "readdirp@npm:3.6.0" @@ -14504,13 +12398,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"relateurl@npm:0.2.x": - version: 0.2.7 - resolution: "relateurl@npm:0.2.7" - checksum: 5891e792eae1dfc3da91c6fda76d6c3de0333a60aa5ad848982ebb6dccaa06e86385fb1235a1582c680a3d445d31be01c6bfc0804ebbcab5aaf53fa856fde6b6 - languageName: node - linkType: hard - "remark-custom-blocks@npm:2.5.1": version: 2.5.1 resolution: "remark-custom-blocks@npm:2.5.1" @@ -14604,19 +12491,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"renderkid@npm:^2.0.1": - version: 2.0.3 - resolution: "renderkid@npm:2.0.3" - dependencies: - css-select: ^1.1.0 - dom-converter: ^0.2 - htmlparser2: ^3.3.0 - strip-ansi: ^3.0.0 - utila: ^0.4.0 - checksum: f8a7df6d0637e7c226b5945351251a8f7ed105afd65521b111bbb858d5faa36b3a045a7d93afde930ebcf2ea2a8b582a942d2f81891a51be776f09c0057bcb09 - languageName: node - linkType: hard - "repeat-element@npm:^1.1.2": version: 1.1.3 resolution: "repeat-element@npm:1.1.3" @@ -14725,21 +12599,22 @@ fsevents@~2.3.2: languageName: node linkType: hard -"resolve-cwd@npm:^2.0.0": - version: 2.0.0 - resolution: "resolve-cwd@npm:2.0.0" - dependencies: - resolve-from: ^3.0.0 - checksum: e7c16880c460656e77f102d537a6dc82b3657d9173697cd6ea82ffce37df96f6c1fc79d0bb35fd73fff8871ac13f21b4396958b5f0a13e5b99c97d69f5e319fa - languageName: node - linkType: hard - "resolve-cwd@npm:^3.0.0": version: 3.0.0 resolution: "resolve-cwd@npm:3.0.0" dependencies: - resolve-from: ^5.0.0 - checksum: 546e0816012d65778e580ad62b29e975a642989108d9a3c5beabfb2304192fa3c9f9146fbdfe213563c6ff51975ae41bac1d3c6e047dd9572c94863a057b4d81 + resolve-from: ^5.0.0 + checksum: 546e0816012d65778e580ad62b29e975a642989108d9a3c5beabfb2304192fa3c9f9146fbdfe213563c6ff51975ae41bac1d3c6e047dd9572c94863a057b4d81 + languageName: node + linkType: hard + +"resolve-dir@npm:^0.1.0": + version: 0.1.1 + resolution: "resolve-dir@npm:0.1.1" + dependencies: + expand-tilde: ^1.2.2 + global-modules: ^0.2.3 + checksum: cc3e1885938f8fe9656a6faa651e21730d369260e907b8dd7c847a4aa18db348ac08ee0dbf2d6f87e2ba08715fb109432ec773bbb31698381bd2a48c0ea66072 languageName: node linkType: hard @@ -14753,6 +12628,21 @@ fsevents@~2.3.2: languageName: node linkType: hard +"resolve-file@npm:^0.3.0": + version: 0.3.0 + resolution: "resolve-file@npm:0.3.0" + dependencies: + cwd: ^0.10.0 + expand-tilde: ^2.0.2 + extend-shallow: ^2.0.1 + fs-exists-sync: ^0.1.0 + homedir-polyfill: ^1.0.1 + lazy-cache: ^2.0.2 + resolve: ^1.2.0 + checksum: fa2b19ee825138ffed185e256a02fb8cd4a83589824ba5d88fba42068bec309b89e45b3079129184c909741142886c1accd41dbeb05376f240ba3b6524113a2e + languageName: node + linkType: hard + "resolve-from@npm:^3.0.0": version: 3.0.0 resolution: "resolve-from@npm:3.0.0" @@ -14788,7 +12678,7 @@ resolve@1.1.7: languageName: node linkType: hard -"resolve@1.x, resolve@^1.10.0, resolve@^1.3.2": +"resolve@^1.10.0, resolve@^1.3.2": version: 1.11.1 resolution: "resolve@npm:1.11.1" dependencies: @@ -14807,6 +12697,16 @@ resolve@1.1.7: languageName: node linkType: hard +resolve@^1.2.0: + version: 1.20.0 + resolution: "resolve@npm:1.20.0" + dependencies: + is-core-module: ^2.2.0 + path-parse: ^1.0.6 + checksum: 40cf70b2cde00ef57f99daf2dc63c6a56d6c14a1b7fc51735d06a6f0a3b97cb67b4fb7ef6c747b4e13a7baba83b0ef625d7c4ce92a483cd5af923c3b65fd16fe + languageName: node + linkType: hard + "resolve@patch:resolve@1.1.7#~builtin": version: 1.1.7 resolution: "resolve@patch:resolve@npm%3A1.1.7#~builtin::version=1.1.7&hash=00b1ff" @@ -14814,7 +12714,7 @@ resolve@1.1.7: languageName: node linkType: hard -"resolve@patch:resolve@1.x#~builtin, resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin": +"resolve@patch:resolve@^1.10.0#~builtin, resolve@patch:resolve@^1.3.2#~builtin": version: 1.11.1 resolution: "resolve@patch:resolve@npm%3A1.11.1#~builtin::version=1.11.1&hash=00b1ff" dependencies: @@ -14833,6 +12733,16 @@ resolve@1.1.7: languageName: node linkType: hard +"resolve@patch:resolve@^1.2.0#~builtin": + version: 1.20.0 + resolution: "resolve@patch:resolve@npm%3A1.20.0#~builtin::version=1.20.0&hash=00b1ff" + dependencies: + is-core-module: ^2.2.0 + path-parse: ^1.0.6 + checksum: bed00be983cd20a8af0e7840664f655c4b269786dbd9595c5f156cd9d8a0050e65cdbbbdafc30ee9b6245b230c78a2c8ab6447a52545b582f476c29adb188cc5 + languageName: node + linkType: hard + "restore-cursor@npm:^2.0.0": version: 2.0.0 resolution: "restore-cursor@npm:2.0.0" @@ -14878,17 +12788,6 @@ resolve@1.1.7: languageName: node linkType: hard -"rimraf@npm:^2.5.4, rimraf@npm:^2.6.1, rimraf@npm:^2.6.3": - version: 2.6.3 - resolution: "rimraf@npm:2.6.3" - dependencies: - glob: ^7.1.3 - bin: - rimraf: ./bin.js - checksum: 3ea587b981a19016297edb96d1ffe48af7e6af69660e3b371dbfc73722a73a0b0e9be5c88089fbeeb866c389c1098e07f64929c7414290504b855f54f901ab10 - languageName: node - linkType: hard - "rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" @@ -14900,16 +12799,6 @@ resolve@1.1.7: languageName: node linkType: hard -"ripemd160@npm:^2.0.0, ripemd160@npm:^2.0.1": - version: 2.0.2 - resolution: "ripemd160@npm:2.0.2" - dependencies: - hash-base: ^3.0.0 - inherits: ^2.0.1 - checksum: 006accc40578ee2beae382757c4ce2908a826b27e2b079efdcd2959ee544ddf210b7b5d7d5e80467807604244e7388427330f5c6d4cd61e6edaddc5773ccc393 - languageName: node - linkType: hard - "rst-selector-parser@npm:^2.2.3": version: 2.2.3 resolution: "rst-selector-parser@npm:2.2.3" @@ -14943,15 +12832,6 @@ resolve@1.1.7: languageName: node linkType: hard -"run-queue@npm:^1.0.0, run-queue@npm:^1.0.3": - version: 1.0.3 - resolution: "run-queue@npm:1.0.3" - dependencies: - aproba: ^1.1.1 - checksum: c4541e18b5e056af60f398f2f1b3d89aae5c093d1524bf817c5ee68bcfa4851ad9976f457a9aea135b1d0d72ee9a91c386e3d136bcd95b699c367cd09c70be53 - languageName: node - linkType: hard - "rx-lite-aggregates@npm:^4.0.8": version: 4.0.8 resolution: "rx-lite-aggregates@npm:4.0.8" @@ -14977,7 +12857,7 @@ resolve@1.1.7: languageName: node linkType: hard -"safe-buffer@npm:5.1.2, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": +"safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1": version: 5.1.2 resolution: "safe-buffer@npm:5.1.2" checksum: f2f1f7943ca44a594893a852894055cf619c1fbcb611237fc39e461ae751187e7baf4dc391a72125e0ac4fb2d8c5c0b3c71529622e6a58f46b960211e704903c @@ -14993,7 +12873,7 @@ resolve@1.1.7: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": +"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:^2.1.2, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0 @@ -15019,6 +12899,17 @@ resolve@1.1.7: languageName: node linkType: hard +"sass@npm:^1.x": + version: 1.42.0 + resolution: "sass@npm:1.42.0" + dependencies: + chokidar: ">=3.0.0 <4.0.0" + bin: + sass: sass.js + checksum: 795e437b7b0baa3aafe7430b679fa28752b01c7b279ff4c9608769eee4dc25bacc490ca99706427aef2bc3240730f2e82672ca86ed4f50b94a207d8e3ce3d5d5 + languageName: node + linkType: hard + "sax@npm:^1.2.4, sax@npm:~1.2.4": version: 1.2.4 resolution: "sax@npm:1.2.4" @@ -15055,34 +12946,6 @@ resolve@1.1.7: languageName: node linkType: hard -"schema-utils@npm:^1.0.0": - version: 1.0.0 - resolution: "schema-utils@npm:1.0.0" - dependencies: - ajv: ^6.1.0 - ajv-errors: ^1.0.0 - ajv-keywords: ^3.1.0 - checksum: e8273b4f6eff9ddf4a4f4c11daf7b96b900237bf8859c86fa1e9b4fab416b72d7ea92468f8db89c18a3499a1070206e1c8a750c83b42d5325fc659cbb55eee88 - languageName: node - linkType: hard - -"schema-utils@npm:^2.0.1, schema-utils@npm:^2.6.0, schema-utils@npm:^2.6.4": - version: 2.6.5 - resolution: "schema-utils@npm:2.6.5" - dependencies: - ajv: ^6.12.0 - ajv-keywords: ^3.4.1 - checksum: c45e12b12c1fa4140bec9f17e84d964b2555a6d0e25a3b8c10b505c26c0d3007364a000f0f7ff0efa153cfc19e1e5b25c1387d175f300178d7291f4daf769e64 - languageName: node - linkType: hard - -"select-hose@npm:^2.0.0": - version: 2.0.0 - resolution: "select-hose@npm:2.0.0" - checksum: d7e5fcc695a4804209d232a1b18624a5134be334d4e1114b0721f7a5e72bd73da483dcf41528c1af4f4f4892ad7cfd6a1e55c8ffb83f9c9fe723b738db609dbb - languageName: node - linkType: hard - "select@npm:^1.1.2": version: 1.1.2 resolution: "select@npm:1.1.2" @@ -15090,15 +12953,6 @@ resolve@1.1.7: languageName: node linkType: hard -"selfsigned@npm:^1.10.8": - version: 1.10.11 - resolution: "selfsigned@npm:1.10.11" - dependencies: - node-forge: ^0.10.0 - checksum: 1fd8fd317dc0b7d713d12d828131ac03c53abf41c4538b263fecd37bbc15688526c631654049ff00806b757ccb85492de6a13d6fefcad5cb54926631e48a76e1 - languageName: node - linkType: hard - "semver-compare@npm:^1.0.0": version: 1.0.0 resolution: "semver-compare@npm:1.0.0" @@ -15106,7 +12960,7 @@ resolve@1.1.7: languageName: node linkType: hard -"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.3.0, semver@npm:^5.4.1, semver@npm:^5.5, semver@npm:^5.5.0, semver@npm:^5.6.0, semver@npm:^5.7.0": +"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.3.0, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0, semver@npm:^5.7.0": version: 5.7.0 resolution: "semver@npm:5.7.0" bin: @@ -15115,6 +12969,15 @@ resolve@1.1.7: languageName: node linkType: hard +"semver@npm:6.x, semver@npm:^6.3.0": + version: 6.3.0 + resolution: "semver@npm:6.3.0" + bin: + semver: ./bin/semver.js + checksum: 1b26ecf6db9e8292dd90df4e781d91875c0dcc1b1909e70f5d12959a23c7eebb8f01ea581c00783bbee72ceeaad9505797c381756326073850dc36ed284b21b9 + languageName: node + linkType: hard + "semver@npm:7.0.0": version: 7.0.0 resolution: "semver@npm:7.0.0" @@ -15142,15 +13005,6 @@ resolve@1.1.7: languageName: node linkType: hard -"semver@npm:^6.3.0": - version: 6.3.0 - resolution: "semver@npm:6.3.0" - bin: - semver: ./bin/semver.js - checksum: 1b26ecf6db9e8292dd90df4e781d91875c0dcc1b1909e70f5d12959a23c7eebb8f01ea581c00783bbee72ceeaad9505797c381756326073850dc36ed284b21b9 - languageName: node - linkType: hard - "semver@npm:^7.2.1, semver@npm:^7.3.2": version: 7.3.4 resolution: "semver@npm:7.3.4" @@ -15173,70 +13027,6 @@ resolve@1.1.7: languageName: node linkType: hard -"send@npm:0.17.1": - version: 0.17.1 - resolution: "send@npm:0.17.1" - dependencies: - debug: 2.6.9 - depd: ~1.1.2 - destroy: ~1.0.4 - encodeurl: ~1.0.2 - escape-html: ~1.0.3 - etag: ~1.8.1 - fresh: 0.5.2 - http-errors: ~1.7.2 - mime: 1.6.0 - ms: 2.1.1 - on-finished: ~2.3.0 - range-parser: ~1.2.1 - statuses: ~1.5.0 - checksum: d214c2fa42e7fae3f8fc1aa3931eeb3e6b78c2cf141574e09dbe159915c1e3a337269fc6b7512e7dfddcd7d6ff5974cb62f7c3637ba86a55bde20a92c18bdca0 - languageName: node - linkType: hard - -"serialize-javascript@npm:^2.1.2": - version: 2.1.2 - resolution: "serialize-javascript@npm:2.1.2" - checksum: 16ce4e4886aff10d5cbbc46149cae3a63f31ea1578f218ef3a363ae413fa245dde61ab039f6733cc86db7b3ff940bfcba9b5a4bfc7b5dd1b3967737c0bbc017e - languageName: node - linkType: hard - -"serialize-javascript@npm:^4.0.0": - version: 4.0.0 - resolution: "serialize-javascript@npm:4.0.0" - dependencies: - randombytes: ^2.1.0 - checksum: 3273b3394b951671fcf388726e9577021870dfbf85e742a1183fb2e91273e6101bdccea81ff230724f6659a7ee4cef924b0ff9baca32b79d9384ec37caf07302 - languageName: node - linkType: hard - -"serve-index@npm:^1.9.1": - version: 1.9.1 - resolution: "serve-index@npm:1.9.1" - dependencies: - accepts: ~1.3.4 - batch: 0.6.1 - debug: 2.6.9 - escape-html: ~1.0.3 - http-errors: ~1.6.2 - mime-types: ~2.1.17 - parseurl: ~1.3.2 - checksum: e2647ce13379485b98a53ba2ea3fbad4d44b57540d00663b02b976e426e6194d62ac465c0d862cb7057f65e0de8ab8a684aa095427a4b8612412eca0d300d22f - languageName: node - linkType: hard - -"serve-static@npm:1.14.1": - version: 1.14.1 - resolution: "serve-static@npm:1.14.1" - dependencies: - encodeurl: ~1.0.2 - escape-html: ~1.0.3 - parseurl: ~1.3.3 - send: 0.17.1 - checksum: c6b268e8486d39ecd54b86c7f2d0ee4a38cd7514ddd9c92c8d5793bb005afde5e908b12395898ae206782306ccc848193d93daa15b86afb3cbe5a8414806abe8 - languageName: node - linkType: hard - "set-blocking@npm:^2.0.0, set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -15244,6 +13034,15 @@ resolve@1.1.7: languageName: node linkType: hard +"set-getter@npm:^0.1.0": + version: 0.1.1 + resolution: "set-getter@npm:0.1.1" + dependencies: + to-object-path: ^0.3.0 + checksum: 04bc8ffff286d7b36a3adc675d2858db3d6768f0290dce98ca5d481d5361936f4fa1e2570833de3511424adf534fc9e48f4b420163906b0d6ca45f38074f5108 + languageName: node + linkType: hard + "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -15256,27 +13055,13 @@ resolve@1.1.7: languageName: node linkType: hard -"setimmediate@npm:^1.0.4, setimmediate@npm:^1.0.5": +"setimmediate@npm:^1.0.5": version: 1.0.5 resolution: "setimmediate@npm:1.0.5" checksum: c9a6f2c5b51a2dabdc0247db9c46460152ffc62ee139f3157440bd48e7c59425093f42719ac1d7931f054f153e2d26cf37dfeb8da17a794a58198a2705e527fd languageName: node linkType: hard -"setprototypeof@npm:1.1.0": - version: 1.1.0 - resolution: "setprototypeof@npm:1.1.0" - checksum: 27cb44304d6c9e1a23bc6c706af4acaae1a7aa1054d4ec13c05f01a99fd4887109a83a8042b67ad90dbfcd100d43efc171ee036eb080667172079213242ca36e - languageName: node - linkType: hard - -"setprototypeof@npm:1.1.1": - version: 1.1.1 - resolution: "setprototypeof@npm:1.1.1" - checksum: a8bee29c1c64c245d460ce53f7460af8cbd0aceac68d66e5215153992cc8b3a7a123416353e0c642060e85cc5fd4241c92d1190eec97eda0dcb97436e8fcca3b - languageName: node - linkType: hard - "settle-promise@npm:1.0.0": version: 1.0.0 resolution: "settle-promise@npm:1.0.0" @@ -15284,18 +13069,6 @@ resolve@1.1.7: languageName: node linkType: hard -"sha.js@npm:^2.4.0, sha.js@npm:^2.4.8": - version: 2.4.11 - resolution: "sha.js@npm:2.4.11" - dependencies: - inherits: ^2.0.1 - safe-buffer: ^5.0.1 - bin: - sha.js: ./bin.js - checksum: ebd3f59d4b799000699097dadb831c8e3da3eb579144fd7eb7a19484cbcbb7aca3c68ba2bb362242eb09e33217de3b4ea56e4678184c334323eca24a58e3ad07 - languageName: node - linkType: hard - "shallowequal@npm:^1.1.0": version: 1.1.0 resolution: "shallowequal@npm:1.1.0" @@ -15380,17 +13153,6 @@ resolve@1.1.7: languageName: node linkType: hard -"sirv@npm:^1.0.7": - version: 1.0.12 - resolution: "sirv@npm:1.0.12" - dependencies: - "@polka/url": ^1.0.0-next.15 - mime: ^2.3.1 - totalist: ^1.0.0 - checksum: 30f56cfd94654bbc57d47688e369a64b09eeaf41543205003d4cf969565b35618996260e401f591485e3d4bba6cea9c782381d05f442fb5f9e2db7c7c7c3f70d - languageName: node - linkType: hard - "sisteransi@npm:^1.0.0": version: 1.0.2 resolution: "sisteransi@npm:1.0.2" @@ -15398,13 +13160,6 @@ resolve@1.1.7: languageName: node linkType: hard -"slash@npm:^1.0.0": - version: 1.0.0 - resolution: "slash@npm:1.0.0" - checksum: 4b6e21b1fba6184a7e2efb1dd173f692d8a845584c1bbf9dc818ff86f5a52fc91b413008223d17cc684604ee8bb9263a420b1182027ad9762e35388434918860 - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" @@ -15487,31 +13242,6 @@ resolve@1.1.7: languageName: node linkType: hard -"sockjs-client@npm:^1.5.0": - version: 1.5.1 - resolution: "sockjs-client@npm:1.5.1" - dependencies: - debug: ^3.2.6 - eventsource: ^1.0.7 - faye-websocket: ^0.11.3 - inherits: ^2.0.4 - json3: ^3.3.3 - url-parse: ^1.5.1 - checksum: ae963d6fd24fb95e941c9c420626eb809ba6608b56b7c824f7ca14b8c6d63b5a71910542bef16eb6548cd8554fc3fda9e4cd32696764e96721a9c0b6d48e6fe5 - languageName: node - linkType: hard - -"sockjs@npm:^0.3.21": - version: 0.3.21 - resolution: "sockjs@npm:0.3.21" - dependencies: - faye-websocket: ^0.11.3 - uuid: ^3.4.0 - websocket-driver: ^0.7.4 - checksum: 9614e5dded95d38c08c42bba3505638801d0e88d9fec03dc1ae37296286ad5c31dff503b8c81a11e573bd0bea76b295db93d4f00cc336e749bc89f9f7cc7e6c9 - languageName: node - linkType: hard - "socks-proxy-agent@npm:^5.0.0": version: 5.0.1 resolution: "socks-proxy-agent@npm:5.0.1" @@ -15533,19 +13263,10 @@ resolve@1.1.7: languageName: node linkType: hard -"sort-keys@npm:^1.0.0": - version: 1.1.2 - resolution: "sort-keys@npm:1.1.2" - dependencies: - is-plain-obj: ^1.0.0 - checksum: 5963fd191a2a185a5ec86f06e47721e8e04713eda43bb04ae60d2a8afb21241553dd5bc9d863ed2bd7c3d541b609b0c8d0e58836b1a3eb6764c09c094bcc8b00 - languageName: node - linkType: hard - -"source-list-map@npm:^2.0.0": - version: 2.0.1 - resolution: "source-list-map@npm:2.0.1" - checksum: 806efc6f75e7cd31e4815e7a3aaf75a45c704871ea4075cb2eb49882c6fca28998f44fc5ac91adb6de03b2882ee6fb02f951fdc85e6a22b338c32bfe19557938 +"source-map-js@npm:^0.6.2": + version: 0.6.2 + resolution: "source-map-js@npm:0.6.2" + checksum: 9c8151a29e00fd8d3ba87709fdf9a9ce48313d653f4a29a39b4ae53d346ac79e005de624796ff42eff55cbaf26d2e87f4466001ca87831d400d818c5cf146a0e languageName: node linkType: hard @@ -15575,23 +13296,23 @@ resolve@1.1.7: languageName: node linkType: hard -"source-map-support@npm:^0.5.6": - version: 0.5.12 - resolution: "source-map-support@npm:0.5.12" +"source-map-resolve@npm:^0.6.0": + version: 0.6.0 + resolution: "source-map-resolve@npm:0.6.0" dependencies: - buffer-from: ^1.0.0 - source-map: ^0.6.0 - checksum: abf93e6201f54bd5713d6f6d5aa32b3752d750ce3c68044733295622ea0c346177505a615e87c073a1e0ad9b1d17b87a58f81152a31d6459658e4e9c17132db6 + atob: ^2.1.2 + decode-uri-component: ^0.2.0 + checksum: fe503b9e5dac1c54be835282fcfec10879434e7b3ee08a9774f230299c724a8d403484d9531276d1670c87390e0e4d1d3f92b14cca6e4a2445ea3016b786ecd4 languageName: node linkType: hard -"source-map-support@npm:~0.5.12": - version: 0.5.16 - resolution: "source-map-support@npm:0.5.16" +"source-map-support@npm:^0.5.6": + version: 0.5.12 + resolution: "source-map-support@npm:0.5.12" dependencies: buffer-from: ^1.0.0 source-map: ^0.6.0 - checksum: bcf6651f4231d78838bd546f53f5643843a80f54a4c1105ba5246e7a46ccaee996f20a59abb202e6bbf55d3c25966ecc5d63727028c1478220dfc4a3cb4434a1 + checksum: abf93e6201f54bd5713d6f6d5aa32b3752d750ce3c68044733295622ea0c346177505a615e87c073a1e0ad9b1d17b87a58f81152a31d6459658e4e9c17132db6 languageName: node linkType: hard @@ -15678,33 +13399,6 @@ resolve@1.1.7: languageName: node linkType: hard -"spdy-transport@npm:^3.0.0": - version: 3.0.0 - resolution: "spdy-transport@npm:3.0.0" - dependencies: - debug: ^4.1.0 - detect-node: ^2.0.4 - hpack.js: ^2.1.6 - obuf: ^1.1.2 - readable-stream: ^3.0.6 - wbuf: ^1.7.3 - checksum: 0fcaad3b836fb1ec0bdd39fa7008b9a7a84a553f12be6b736a2512613b323207ffc924b9551cef0378f7233c85916cff1118652e03a730bdb97c0e042243d56c - languageName: node - linkType: hard - -"spdy@npm:^4.0.2": - version: 4.0.2 - resolution: "spdy@npm:4.0.2" - dependencies: - debug: ^4.1.0 - handle-thing: ^2.0.0 - http-deceiver: ^1.2.7 - select-hose: ^2.0.0 - spdy-transport: ^3.0.0 - checksum: 2c739d0ff6f56ad36d2d754d0261d5ec358457bea7cbf77b1b05b0c6464f2ce65b85f196305f50b7bd9120723eb94bae9933466f28e67e5cd8cde4e27f1d75f8 - languageName: node - linkType: hard - "split-string@npm:^3.0.1, split-string@npm:^3.0.2": version: 3.1.0 resolution: "split-string@npm:3.1.0" @@ -15742,15 +13436,6 @@ resolve@1.1.7: languageName: node linkType: hard -"ssri@npm:^6.0.1": - version: 6.0.2 - resolution: "ssri@npm:6.0.2" - dependencies: - figgy-pudding: ^3.5.1 - checksum: 7c2e5d442f6252559c8987b7114bcf389fe5614bf65de09ba3e6f9a57b9b65b2967de348fcc3acccff9c069adb168140dd2c5fc2f6f4a779e604a27ef1f7d551 - languageName: node - linkType: hard - "ssri@npm:^8.0.0, ssri@npm:^8.0.1": version: 8.0.1 resolution: "ssri@npm:8.0.1" @@ -15800,13 +13485,6 @@ resolve@1.1.7: languageName: node linkType: hard -"statuses@npm:>= 1.4.0 < 2, statuses@npm:>= 1.5.0 < 2, statuses@npm:~1.5.0": - version: 1.5.0 - resolution: "statuses@npm:1.5.0" - checksum: c469b9519de16a4bb19600205cffb39ee471a5f17b82589757ca7bd40a8d92ebb6ed9f98b5a540c5d302ccbc78f15dc03cc0280dd6e00df1335568a5d5758a5c - languageName: node - linkType: hard - "stealthy-require@npm:^1.1.1": version: 1.1.1 resolution: "stealthy-require@npm:1.1.1" @@ -15814,46 +13492,6 @@ resolve@1.1.7: languageName: node linkType: hard -"stream-browserify@npm:^2.0.1": - version: 2.0.2 - resolution: "stream-browserify@npm:2.0.2" - dependencies: - inherits: ~2.0.1 - readable-stream: ^2.0.2 - checksum: 8de7bcab5582e9a931ae1a4768be7efe8fa4b0b95fd368d16d8cf3e494b897d6b0a7238626de5d71686e53bddf417fd59d106cfa3af0ec055f61a8d1f8fc77b3 - languageName: node - linkType: hard - -"stream-each@npm:^1.1.0": - version: 1.2.3 - resolution: "stream-each@npm:1.2.3" - dependencies: - end-of-stream: ^1.1.0 - stream-shift: ^1.0.0 - checksum: f243de78e9fcc60757994efc4e8ecae9f01a4b2c6a505d786b11fcaa68b1a75ca54afc1669eac9e08f19ff0230792fc40d0f3e3e2935d76971b4903af18b76ab - languageName: node - linkType: hard - -"stream-http@npm:^2.7.2": - version: 2.8.3 - resolution: "stream-http@npm:2.8.3" - dependencies: - builtin-status-codes: ^3.0.0 - inherits: ^2.0.1 - readable-stream: ^2.3.6 - to-arraybuffer: ^1.0.0 - xtend: ^4.0.0 - checksum: f57dfaa21a015f72e6ce6b199cf1762074cfe8acf0047bba8f005593754f1743ad0a91788f95308d9f3829ad55742399ad27b4624432f2752a08e62ef4346e05 - languageName: node - linkType: hard - -"stream-shift@npm:^1.0.0": - version: 1.0.0 - resolution: "stream-shift@npm:1.0.0" - checksum: 96db103f6c9e8de47e5bf31475ee14b00312f51531d6a4ab464fc1a6767edca44bf27528f13036a3222fc0ceea3727c9fe9577e6125fae365477e1252fff1b89 - languageName: node - linkType: hard - "strict-uri-encode@npm:^1.0.0": version: 1.1.0 resolution: "strict-uri-encode@npm:1.1.0" @@ -15868,6 +13506,13 @@ resolve@1.1.7: languageName: node linkType: hard +"string-hash@npm:^1.1.1": + version: 1.1.3 + resolution: "string-hash@npm:1.1.3" + checksum: 104b8667a5e0dc71bfcd29fee09cb88c6102e27bfb07c55f95535d90587d016731d52299380052e514266f4028a7a5172e0d9ac58e2f8f5001be61dc77c0754d + languageName: node + linkType: hard + "string-length@npm:^3.1.0": version: 3.1.0 resolution: "string-length@npm:3.1.0" @@ -15899,17 +13544,6 @@ resolve@1.1.7: languageName: node linkType: hard -"string-width@npm:^3.0.0, string-width@npm:^3.1.0": - version: 3.1.0 - resolution: "string-width@npm:3.1.0" - dependencies: - emoji-regex: ^7.0.1 - is-fullwidth-code-point: ^2.0.0 - strip-ansi: ^5.1.0 - checksum: 57f7ca73d201682816d573dc68bd4bb8e1dff8dc9fcf10470fdfc3474135c97175fec12ea6a159e67339b41e86963112355b64529489af6e7e70f94a7caf08b2 - languageName: node - linkType: hard - "string-width@npm:^4.1.0, string-width@npm:^4.2.0": version: 4.2.0 resolution: "string-width@npm:4.2.0" @@ -15986,7 +13620,7 @@ resolve@1.1.7: languageName: node linkType: hard -"string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1": +"string_decoder@npm:^1.1.1": version: 1.2.0 resolution: "string_decoder@npm:1.2.0" dependencies: @@ -16046,7 +13680,7 @@ resolve@1.1.7: languageName: node linkType: hard -"strip-ansi@npm:^5.0.0, strip-ansi@npm:^5.1.0, strip-ansi@npm:^5.2.0": +"strip-ansi@npm:^5.2.0": version: 5.2.0 resolution: "strip-ansi@npm:5.2.0" dependencies: @@ -16099,25 +13733,6 @@ resolve@1.1.7: languageName: node linkType: hard -"strip-json-comments@npm:~2.0.1": - version: 2.0.1 - resolution: "strip-json-comments@npm:2.0.1" - checksum: 1074ccb63270d32ca28edfb0a281c96b94dc679077828135141f27d52a5a398ef5e78bcf22809d23cadc2b81dfbe345eb5fd8699b385c8b1128907dec4a7d1e1 - languageName: node - linkType: hard - -"style-loader@npm:1.1.3": - version: 1.1.3 - resolution: "style-loader@npm:1.1.3" - dependencies: - loader-utils: ^1.2.3 - schema-utils: ^2.6.4 - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - checksum: 1a0b3de4280ee3a924499aa7b3d616ef8fec60385404e8a4db53561b9267a31f98d0c99d2e27f705b1fa5200a4fca30f722e366547507efd849f33f0c4d58d12 - languageName: node - linkType: hard - "style-to-object@npm:^0.2.1": version: 0.2.3 resolution: "style-to-object@npm:0.2.3" @@ -16147,6 +13762,24 @@ resolve@1.1.7: languageName: node linkType: hard +"stylus@npm:^0.x": + version: 0.55.0 + resolution: "stylus@npm:0.55.0" + dependencies: + css: ^3.0.0 + debug: ~3.1.0 + glob: ^7.1.6 + mkdirp: ~1.0.4 + safer-buffer: ^2.1.2 + sax: ~1.2.4 + semver: ^6.3.0 + source-map: ^0.7.3 + bin: + stylus: bin/stylus + checksum: 5ec06f3186aaa4802cc2f04f93665a71348954e3d10f6cb26d7cdba7108fcdfa5e9a330fa7694fa0d0d31d8decf6b18349f49bbaadde96351e30d549dfb272c7 + languageName: node + linkType: hard + "supports-color@npm:^2.0.0": version: 2.0.0 resolution: "supports-color@npm:2.0.0" @@ -16241,28 +13874,6 @@ resolve@1.1.7: languageName: node linkType: hard -"tapable@npm:^1.0.0, tapable@npm:^1.1.3": - version: 1.1.3 - resolution: "tapable@npm:1.1.3" - checksum: 53ff4e7c3900051c38cc4faab428ebfd7e6ad0841af5a7ac6d5f3045c5b50e88497bfa8295b4b3fbcadd94993c9e358868b78b9fb249a76cb8b018ac8dccafd7 - languageName: node - linkType: hard - -"tar@npm:^4": - version: 4.4.10 - resolution: "tar@npm:4.4.10" - dependencies: - chownr: ^1.1.1 - fs-minipass: ^1.2.5 - minipass: ^2.3.5 - minizlib: ^1.2.1 - mkdirp: ^0.5.0 - safe-buffer: ^5.1.2 - yallist: ^3.0.3 - checksum: 66cdfc361c293a8acac1ac0959c03190d8dcd84894d4f12586faf7a23d2ce40531c685a2cc0448d8bbb9eca7fd93de6a69d1246e9e616f1d375456333fd2b35e - languageName: node - linkType: hard - "tar@npm:^6.0.2, tar@npm:^6.1.2": version: 6.1.11 resolution: "tar@npm:6.1.11" @@ -16278,44 +13889,12 @@ resolve@1.1.7: linkType: hard "terminal-link@npm:^2.0.0": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: ^4.2.1 - supports-hyperlinks: ^2.0.0 - checksum: ce3d2cd3a438c4a9453947aa664581519173ea40e77e2534d08c088ee6dda449eabdbe0a76d2a516b8b73c33262fedd10d5270ccf7576ae316e3db170ce6562f - languageName: node - linkType: hard - -"terser-webpack-plugin@npm:^1.4.3": - version: 1.4.3 - resolution: "terser-webpack-plugin@npm:1.4.3" - dependencies: - cacache: ^12.0.2 - find-cache-dir: ^2.1.0 - is-wsl: ^1.1.0 - schema-utils: ^1.0.0 - serialize-javascript: ^2.1.2 - source-map: ^0.6.1 - terser: ^4.1.2 - webpack-sources: ^1.4.0 - worker-farm: ^1.7.0 - peerDependencies: - webpack: ^4.0.0 - checksum: 47bcc6329978940669695e3ca4633e5c170be5a496f80e3ddcfd74e4ad999a35f65c25a5075fa130f2cdcf0e085f6e7d649756d52548b4ac7288166c5aad00be - languageName: node - linkType: hard - -"terser@npm:^4.1.2": - version: 4.6.6 - resolution: "terser@npm:4.6.6" + version: 2.1.1 + resolution: "terminal-link@npm:2.1.1" dependencies: - commander: ^2.20.0 - source-map: ~0.6.1 - source-map-support: ~0.5.12 - bin: - terser: bin/terser - checksum: 96844966bbb37cf3c3563358ecf7a1eba7fa82a092d297bd8fb17c07d2c2a6942e9f0ece5c60ac6cb1d14c6c05409e6184a8e4429002c54ce240c3f8a6af5181 + ansi-escapes: ^4.2.1 + supports-hyperlinks: ^2.0.0 + checksum: ce3d2cd3a438c4a9453947aa664581519173ea40e77e2534d08c088ee6dda449eabdbe0a76d2a516b8b73c33262fedd10d5270ccf7576ae316e3db170ce6562f languageName: node linkType: hard @@ -16344,16 +13923,6 @@ resolve@1.1.7: languageName: node linkType: hard -"through2@npm:^2.0.0": - version: 2.0.5 - resolution: "through2@npm:2.0.5" - dependencies: - readable-stream: ~2.3.6 - xtend: ~4.0.1 - checksum: beb0f338aa2931e5660ec7bf3ad949e6d2e068c31f4737b9525e5201b824ac40cac6a337224856b56bd1ddd866334bbfb92a9f57cd6f66bc3f18d3d86fc0fe50 - languageName: node - linkType: hard - "through@npm:^2.3.6": version: 2.3.8 resolution: "through@npm:2.3.8" @@ -16361,22 +13930,6 @@ resolve@1.1.7: languageName: node linkType: hard -"thunky@npm:^1.0.2": - version: 1.0.3 - resolution: "thunky@npm:1.0.3" - checksum: d06070207d01107bbcdfebb5277204802ba8c964bf6df6d90d904e0b94f312c01b36cc540afc50c54191e62c90ee6387454588171aade1d108e48f13a167c57f - languageName: node - linkType: hard - -"timers-browserify@npm:^2.0.4": - version: 2.0.10 - resolution: "timers-browserify@npm:2.0.10" - dependencies: - setimmediate: ^1.0.4 - checksum: 4ca15fa9ac128490f9053fa35f4c2179a606ef02ea54fa705c21322528fc03bf0233b53008984d1fa94698bc73a9ee95912a0684c90c1d42ab855a268fc79a32 - languageName: node - linkType: hard - "timsort@npm:^0.3.0": version: 0.3.0 resolution: "timsort@npm:0.3.0" @@ -16391,6 +13944,23 @@ resolve@1.1.7: languageName: node linkType: hard +"tiny-glob@npm:^0.2.9": + version: 0.2.9 + resolution: "tiny-glob@npm:0.2.9" + dependencies: + globalyzer: 0.1.0 + globrex: ^0.1.2 + checksum: aea5801eb6663ddf77ebb74900b8f8bd9dfcfc9b6a1cc8018cb7421590c00bf446109ff45e4b64a98e6c95ddb1255a337a5d488fb6311930e2a95334151ec9c6 + languageName: node + linkType: hard + +"tiny-invariant@npm:^1.1.0": + version: 1.1.0 + resolution: "tiny-invariant@npm:1.1.0" + checksum: 27d29bbb9e1d1d86e25766711c28ad91af6d67c87d561167077ac7fbce5212b97bbfe875e70bc369808e075748c825864c9b61f0e9f8652275ec86bcf4dcc924 + languageName: node + linkType: hard + "tlds@npm:^1.203.0": version: 1.207.0 resolution: "tlds@npm:1.207.0" @@ -16409,6 +13979,15 @@ resolve@1.1.7: languageName: node linkType: hard +"tmp@npm:^0.2.1": + version: 0.2.1 + resolution: "tmp@npm:0.2.1" + dependencies: + rimraf: ^3.0.0 + checksum: 8b1214654182575124498c87ca986ac53dc76ff36e8f0e0b67139a8d221eaecfdec108c0e6ec54d76f49f1f72ab9325500b246f562b926f85bcdfca8bf35df9e + languageName: node + linkType: hard + "tmpl@npm:1.0.x": version: 1.0.4 resolution: "tmpl@npm:1.0.4" @@ -16416,13 +13995,6 @@ resolve@1.1.7: languageName: node linkType: hard -"to-arraybuffer@npm:^1.0.0": - version: 1.0.1 - resolution: "to-arraybuffer@npm:1.0.1" - checksum: 31433c10b388722729f5da04c6b2a06f40dc84f797bb802a5a171ced1e599454099c6c5bc5118f4b9105e7d049d3ad9d0f71182b77650e4fdb04539695489941 - languageName: node - linkType: hard - "to-fast-properties@npm:^2.0.0": version: 2.0.0 resolution: "to-fast-properties@npm:2.0.0" @@ -16470,27 +14042,6 @@ resolve@1.1.7: languageName: node linkType: hard -"toidentifier@npm:1.0.0": - version: 1.0.0 - resolution: "toidentifier@npm:1.0.0" - checksum: 199e6bfca1531d49b3506cff02353d53ec987c9ee10ee272ca6484ed97f1fc10fb77c6c009079ca16d5c5be4a10378178c3cacdb41ce9ec954c3297c74c6053e - languageName: node - linkType: hard - -"toposort@npm:^1.0.0": - version: 1.0.7 - resolution: "toposort@npm:1.0.7" - checksum: 68c074586ae4ad8eb518d5b5ebee7b3ef903ace180d822b9846b52bd945b14db00c1c5e1107ed77ea48705806291a6efda95c90ff5b31ce416257cdc21461a86 - languageName: node - linkType: hard - -"totalist@npm:^1.0.0": - version: 1.1.0 - resolution: "totalist@npm:1.1.0" - checksum: dfab80c7104a1d170adc8c18782d6c04b7df08352dec452191208c66395f7ef2af7537ddfa2cf1decbdcfab1a47afbbf0dec6543ea191da98c1c6e1599f86adc - languageName: node - linkType: hard - "tough-cookie@npm:^2.3.3, tough-cookie@npm:~2.5.0": version: 2.5.0 resolution: "tough-cookie@npm:2.5.0" @@ -16556,9 +14107,9 @@ resolve@1.1.7: languageName: node linkType: hard -"ts-jest@npm:25.2.1": - version: 25.2.1 - resolution: "ts-jest@npm:25.2.1" +"ts-jest@npm:25.5.1": + version: 25.5.1 + resolution: "ts-jest@npm:25.5.1" dependencies: bs-logger: 0.x buffer-from: 1.x @@ -16566,30 +14117,16 @@ resolve@1.1.7: json5: 2.x lodash.memoize: 4.x make-error: 1.x + micromatch: 4.x mkdirp: 0.x - resolve: 1.x - semver: ^5.5 - yargs-parser: ^16.1.0 + semver: 6.x + yargs-parser: 18.x peerDependencies: jest: ">=25 <26" + typescript: ">=3.4 <4.0" bin: ts-jest: cli.js - checksum: 572daec336489c4932dc7a60de21a4041af34f3c563b9152ac566069b152b3b02f1aedcaf8ab5684ccf35f77702a629be509a5ae26171cb679248ff2bb22d60c - languageName: node - linkType: hard - -"ts-loader@npm:6.2.1": - version: 6.2.1 - resolution: "ts-loader@npm:6.2.1" - dependencies: - chalk: ^2.3.0 - enhanced-resolve: ^4.0.0 - loader-utils: ^1.0.2 - micromatch: ^4.0.0 - semver: ^6.0.0 - peerDependencies: - typescript: "*" - checksum: 69b23a8f41656cc6a626076760fd68dd3cfadf5a9bdccc632629a20e8c9a2c6f1f2aa38a325123578ee6a5bf2d638fc1fd34d0c449b058c8231d0f482f96ecfe + checksum: 2bbb57f7add2181e6dbc5a9caca713ba65d0d76c26fc41d9d2ee72006c4926482238a5999a430720fe8907a935b54b2cb0454ef7346623f7ca8463f7f0d27eb4 languageName: node linkType: hard @@ -16605,6 +14142,13 @@ resolve@1.1.7: languageName: node linkType: hard +"tslib@npm:^1.10.0, tslib@npm:^1.9.3": + version: 1.14.1 + resolution: "tslib@npm:1.14.1" + checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd + languageName: node + linkType: hard + "tslib@npm:^1.8.1": version: 1.11.1 resolution: "tslib@npm:1.11.1" @@ -16619,13 +14163,6 @@ resolve@1.1.7: languageName: node linkType: hard -"tslib@npm:^1.9.3": - version: 1.14.1 - resolution: "tslib@npm:1.14.1" - checksum: dbe628ef87f66691d5d2959b3e41b9ca0045c3ee3c7c7b906cc1e328b39f199bb1ad9e671c39025bd56122ac57dfbf7385a94843b1cc07c60a4db74795829acd - languageName: node - linkType: hard - "tsutils@npm:^3.17.1": version: 3.17.1 resolution: "tsutils@npm:3.17.1" @@ -16637,13 +14174,6 @@ resolve@1.1.7: languageName: node linkType: hard -"tty-browserify@npm:0.0.0": - version: 0.0.0 - resolution: "tty-browserify@npm:0.0.0" - checksum: a06f746acc419cb2527ba19b6f3bd97b4a208c03823bfb37b2982629d2effe30ebd17eaed0d7e2fc741f3c4f2a0c43455bd5fb4194354b378e78cfb7ca687f59 - languageName: node - linkType: hard - "tunnel-agent@npm:^0.6.0": version: 0.6.0 resolution: "tunnel-agent@npm:0.6.0" @@ -16706,16 +14236,6 @@ resolve@1.1.7: languageName: node linkType: hard -"type-is@npm:~1.6.17, type-is@npm:~1.6.18": - version: 1.6.18 - resolution: "type-is@npm:1.6.18" - dependencies: - media-typer: 0.3.0 - mime-types: ~2.1.24 - checksum: 2c8e47675d55f8b4e404bcf529abdf5036c537a04c2b20177bcf78c9e3c1da69da3942b1346e6edb09e823228c0ee656ef0e033765ec39a70d496ef601a0c657 - languageName: node - linkType: hard - "typedarray-to-buffer@npm:^3.1.5": version: 3.1.5 resolution: "typedarray-to-buffer@npm:3.1.5" @@ -16725,13 +14245,6 @@ resolve@1.1.7: languageName: node linkType: hard -"typedarray@npm:^0.0.6": - version: 0.0.6 - resolution: "typedarray@npm:0.0.6" - checksum: 33b39f3d0e8463985eeaeeacc3cb2e28bc3dfaf2a5ed219628c0b629d5d7b810b0eb2165f9f607c34871d5daa92ba1dc69f49051cf7d578b4cbd26c340b9d1b1 - languageName: node - linkType: hard - typescript@4.1.3: version: 4.1.3 resolution: "typescript@npm:4.1.3" @@ -16759,18 +14272,6 @@ typescript@4.1.3: languageName: node linkType: hard -"uglify-js@npm:3.4.x": - version: 3.4.10 - resolution: "uglify-js@npm:3.4.10" - dependencies: - commander: ~2.19.0 - source-map: ~0.6.1 - bin: - uglifyjs: bin/uglifyjs - checksum: dfc61c85b0660216432e021aac6a5f3ea0331720003d4d929b95f297daceb73bc9615875ca150516b49bc57ab60d3cf32415fc006cccf20f275c806f6686da0d - languageName: node - linkType: hard - "unherit@npm:^1.0.4": version: 1.1.3 resolution: "unherit@npm:1.1.3" @@ -16961,10 +14462,10 @@ typescript@4.1.3: languageName: node linkType: hard -"unpipe@npm:1.0.0, unpipe@npm:~1.0.0": - version: 1.0.0 - resolution: "unpipe@npm:1.0.0" - checksum: 4fa18d8d8d977c55cb09715385c203197105e10a6d220087ec819f50cb68870f02942244f1017565484237f1f8c5d3cd413631b1ae104d3096f24fdfde1b4aa2 +"universalify@npm:^2.0.0": + version: 2.0.0 + resolution: "universalify@npm:2.0.0" + checksum: 2406a4edf4a8830aa6813278bab1f953a8e40f2f63a37873ffa9a3bc8f9745d06cc8e88f3572cb899b7e509013f7f6fcc3e37e8a6d914167a5381d8440518c44 languageName: node linkType: hard @@ -16985,20 +14486,6 @@ typescript@4.1.3: languageName: node linkType: hard -"upath@npm:^1.1.1": - version: 1.1.2 - resolution: "upath@npm:1.1.2" - checksum: 4bb00ed88b80346bf7528ed01da6ab4ca3301568db9da159627893d950bcd33e423115a121f1dbca594399d9d9aaf348ea1a5d674f984225aa47a30b78362220 - languageName: node - linkType: hard - -"upper-case@npm:^1.1.1": - version: 1.1.3 - resolution: "upper-case@npm:1.1.3" - checksum: 991c845de75fa56e5ad983f15e58494dd77b77cadd79d273cc11e8da400067e9881ae1a52b312aed79b3d754496e2e0712e08d22eae799e35c7f9ba6f3d8a85d - languageName: node - linkType: hard - "uri-js@npm:^4.2.2": version: 4.2.2 resolution: "uri-js@npm:4.2.2" @@ -17025,16 +14512,6 @@ typescript@4.1.3: languageName: node linkType: hard -"url-parse@npm:^1.5.1": - version: 1.5.1 - resolution: "url-parse@npm:1.5.1" - dependencies: - querystringify: ^2.1.1 - requires-port: ^1.0.0 - checksum: ce5c400db52d83b941944502000081e2338e46834cf16f2888961dc034ea5d49dbeb85ac8fdbe28c3fe738c09320a71a2f6d9286b748895cd464b1e208b6b991 - languageName: node - linkType: hard - "url-regex@npm:^5.0.0": version: 5.0.0 resolution: "url-regex@npm:5.0.0" @@ -17045,16 +14522,6 @@ typescript@4.1.3: languageName: node linkType: hard -"url@npm:^0.11.0": - version: 0.11.0 - resolution: "url@npm:0.11.0" - dependencies: - punycode: 1.3.2 - querystring: 0.2.0 - checksum: 50d100d3dd2d98b9fe3ada48cadb0b08aa6be6d3ac64112b867b56b19be4bfcba03c2a9a0d7922bfd7ac17d4834e88537749fe182430dfd9b68e520175900d90 - languageName: node - linkType: hard - "use@npm:^3.1.0": version: 3.1.1 resolution: "use@npm:3.1.1" @@ -17062,14 +14529,14 @@ typescript@4.1.3: languageName: node linkType: hard -"util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1": +"util-deprecate@npm:^1.0.1, util-deprecate@npm:^1.0.2, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" checksum: 474acf1146cb2701fe3b074892217553dfcf9a031280919ba1b8d651a068c9b15d863b7303cb15bd00a862b498e6cf4ad7b4a08fb134edd5a6f7641681cb54a2 languageName: node linkType: hard -"util.promisify@npm:1.0.0, util.promisify@npm:^1.0.0, util.promisify@npm:~1.0.0": +"util.promisify@npm:^1.0.0, util.promisify@npm:~1.0.0": version: 1.0.0 resolution: "util.promisify@npm:1.0.0" dependencies: @@ -17079,38 +14546,6 @@ typescript@4.1.3: languageName: node linkType: hard -"util@npm:0.10.3": - version: 0.10.3 - resolution: "util@npm:0.10.3" - dependencies: - inherits: 2.0.1 - checksum: bd800f5d237a82caddb61723a6cbe45297d25dd258651a31335a4d5d981fd033cb4771f82db3d5d59b582b187cb69cfe727dc6f4d8d7826f686ee6c07ce611e0 - languageName: node - linkType: hard - -"util@npm:^0.11.0": - version: 0.11.1 - resolution: "util@npm:0.11.1" - dependencies: - inherits: 2.0.3 - checksum: 80bee6a2edf5ab08dcb97bfe55ca62289b4e66f762ada201f2c5104cb5e46474c8b334f6504d055c0e6a8fda10999add9bcbd81ba765e7f37b17dc767331aa55 - languageName: node - linkType: hard - -"utila@npm:^0.4.0, utila@npm:~0.4": - version: 0.4.0 - resolution: "utila@npm:0.4.0" - checksum: 97ffd3bd2bb80c773429d3fb8396469115cd190dded1e733f190d8b602bd0a1bcd6216b7ce3c4395ee3c79e3c879c19d268dbaae3093564cb169ad1212d436f4 - languageName: node - linkType: hard - -"utils-merge@npm:1.0.1": - version: 1.0.1 - resolution: "utils-merge@npm:1.0.1" - checksum: c81095493225ecfc28add49c106ca4f09cdf56bc66731aa8dabc2edbbccb1e1bfe2de6a115e5c6a380d3ea166d1636410b62ef216bb07b3feb1cfde1d95d5080 - languageName: node - linkType: hard - "uuid@npm:^3.3.2": version: 3.3.2 resolution: "uuid@npm:3.3.2" @@ -17120,7 +14555,7 @@ typescript@4.1.3: languageName: node linkType: hard -"uuid@npm:^3.3.3, uuid@npm:^3.4.0": +"uuid@npm:^3.3.3": version: 3.4.0 resolution: "uuid@npm:3.4.0" bin: @@ -17164,13 +14599,6 @@ typescript@4.1.3: languageName: node linkType: hard -"vary@npm:~1.1.2": - version: 1.1.2 - resolution: "vary@npm:1.1.2" - checksum: ae0123222c6df65b437669d63dfa8c36cee20a504101b2fcd97b8bf76f91259c17f9f2b4d70a1e3c6bbcee7f51b28392833adb6b2770b23b01abec84e369660b - languageName: node - linkType: hard - "vendors@npm:^1.0.0": version: 1.0.3 resolution: "vendors@npm:1.0.3" @@ -17219,13 +14647,6 @@ typescript@4.1.3: languageName: node linkType: hard -"vm-browserify@npm:^1.0.1": - version: 1.1.0 - resolution: "vm-browserify@npm:1.1.0" - checksum: b03b7a21ba5f915478db2e218badfb4af34d3a4460c321d7771c2133036dd4a201e8e3dac1a66ef877f71d6e6da6c9eeb1e5ad47f6701e8ae44ca8bffad420fe - languageName: node - linkType: hard - "w3c-hr-time@npm:^1.0.1": version: 1.0.1 resolution: "w3c-hr-time@npm:1.0.1" @@ -17273,41 +14694,6 @@ typescript@4.1.3: languageName: node linkType: hard -"watchpack-chokidar2@npm:^2.0.1": - version: 2.0.1 - resolution: "watchpack-chokidar2@npm:2.0.1" - dependencies: - chokidar: ^2.1.8 - checksum: acf0f9ebca0c0b2fd1fe87ba557670477a6c0410bf1a653a726e68eb0620aa94fd9a43027a160a76bc793a21ea12e215e1e87dafe762682c13ef92ad4daf7b58 - languageName: node - linkType: hard - -"watchpack@npm:^1.7.4": - version: 1.7.5 - resolution: "watchpack@npm:1.7.5" - dependencies: - chokidar: ^3.4.1 - graceful-fs: ^4.1.2 - neo-async: ^2.5.0 - watchpack-chokidar2: ^2.0.1 - dependenciesMeta: - chokidar: - optional: true - watchpack-chokidar2: - optional: true - checksum: 8b7cb8c8df8f4dd0e8ac47693c0141c4f020a4b031411247d600eca31522fde6f1f9a3a6f6518b46e71f7971b0ed5734c08c60d7fdd2530e7262776286f69236 - languageName: node - linkType: hard - -"wbuf@npm:^1.1.0, wbuf@npm:^1.7.3": - version: 1.7.3 - resolution: "wbuf@npm:1.7.3" - dependencies: - minimalistic-assert: ^1.0.0 - checksum: 2abc306c96930b757972a1c4650eb6b25b5d99f24088714957f88629e137db569368c5de0e57986c89ea70db2f1df9bba11a87cb6d0c8694b6f53a0159fab3bf - languageName: node - linkType: hard - "web-namespaces@npm:^1.0.0, web-namespaces@npm:^1.1.2": version: 1.1.4 resolution: "web-namespaces@npm:1.1.4" @@ -17322,156 +14708,6 @@ typescript@4.1.3: languageName: node linkType: hard -"webpack-bundle-analyzer@npm:4.4.2": - version: 4.4.2 - resolution: "webpack-bundle-analyzer@npm:4.4.2" - dependencies: - acorn: ^8.0.4 - acorn-walk: ^8.0.0 - chalk: ^4.1.0 - commander: ^6.2.0 - gzip-size: ^6.0.0 - lodash: ^4.17.20 - opener: ^1.5.2 - sirv: ^1.0.7 - ws: ^7.3.1 - bin: - webpack-bundle-analyzer: lib/bin/analyzer.js - checksum: 6d7957a87ee16f6b87e65f85e8b9a40998aefcddf3e15215fd4bc1ddf8c332ab4706f2f4deb0b3a0483eb27d0dae381db1b82b2ec34136e2ad0e651714b260fb - languageName: node - linkType: hard - -"webpack-dev-middleware@npm:^3.7.2": - version: 3.7.2 - resolution: "webpack-dev-middleware@npm:3.7.2" - dependencies: - memory-fs: ^0.4.1 - mime: ^2.4.4 - mkdirp: ^0.5.1 - range-parser: ^1.2.1 - webpack-log: ^2.0.0 - peerDependencies: - webpack: ^4.0.0 - checksum: d7320d7a8c65fa1af702c5b723ffb4e55219f340025ced17871e3d2e8f3a7cde3ad505cfd1572d31955d7d972bf3d29e7007577e28bad8d469dc3d5c64d30b74 - languageName: node - linkType: hard - -"webpack-dev-server@npm:3.11.2": - version: 3.11.2 - resolution: "webpack-dev-server@npm:3.11.2" - dependencies: - ansi-html: 0.0.7 - bonjour: ^3.5.0 - chokidar: ^2.1.8 - compression: ^1.7.4 - connect-history-api-fallback: ^1.6.0 - debug: ^4.1.1 - del: ^4.1.1 - express: ^4.17.1 - html-entities: ^1.3.1 - http-proxy-middleware: 0.19.1 - import-local: ^2.0.0 - internal-ip: ^4.3.0 - ip: ^1.1.5 - is-absolute-url: ^3.0.3 - killable: ^1.0.1 - loglevel: ^1.6.8 - opn: ^5.5.0 - p-retry: ^3.0.1 - portfinder: ^1.0.26 - schema-utils: ^1.0.0 - selfsigned: ^1.10.8 - semver: ^6.3.0 - serve-index: ^1.9.1 - sockjs: ^0.3.21 - sockjs-client: ^1.5.0 - spdy: ^4.0.2 - strip-ansi: ^3.0.1 - supports-color: ^6.1.0 - url: ^0.11.0 - webpack-dev-middleware: ^3.7.2 - webpack-log: ^2.0.0 - ws: ^6.2.1 - yargs: ^13.3.2 - peerDependencies: - webpack: ^4.0.0 || ^5.0.0 - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack-dev-server: bin/webpack-dev-server.js - checksum: d2bfa2e9a33f96dc5af8f771e9978956e59c3efcad3deaca246ea7ff219c5587ebcf20ea0f0b6af251dec5e8111c0e473aa43a57bc9a88fb3ad8573f4a321805 - languageName: node - linkType: hard - -"webpack-log@npm:^2.0.0": - version: 2.0.0 - resolution: "webpack-log@npm:2.0.0" - dependencies: - ansi-colors: ^3.0.0 - uuid: ^3.3.2 - checksum: 4757179310995e20633ec2d77a8c1ac11e4135c84745f57148692f8195f1c0f8ec122c77d0dc16fc484b7d301df6674f36c9fc6b1ff06b5cf142abaaf5d24f4f - languageName: node - linkType: hard - -"webpack-sources@npm:^1.1.0": - version: 1.3.0 - resolution: "webpack-sources@npm:1.3.0" - dependencies: - source-list-map: ^2.0.0 - source-map: ~0.6.1 - checksum: bfae863a9e5278732a2619aba3484d72eb955a395c5f3e1958a825e9c4856cfa6f37aed3efaab8ae229deb9e19af992460dd6861e3feff85e204473eb14ef9f7 - languageName: node - linkType: hard - -"webpack-sources@npm:^1.4.0, webpack-sources@npm:^1.4.1": - version: 1.4.3 - resolution: "webpack-sources@npm:1.4.3" - dependencies: - source-list-map: ^2.0.0 - source-map: ~0.6.1 - checksum: 37463dad8d08114930f4bc4882a9602941f07c9f0efa9b6bc78738cd936275b990a596d801ef450d022bb005b109b9f451dd087db2f3c9baf53e8e22cf388f79 - languageName: node - linkType: hard - -"webpack@npm:4.46.0": - version: 4.46.0 - resolution: "webpack@npm:4.46.0" - dependencies: - "@webassemblyjs/ast": 1.9.0 - "@webassemblyjs/helper-module-context": 1.9.0 - "@webassemblyjs/wasm-edit": 1.9.0 - "@webassemblyjs/wasm-parser": 1.9.0 - acorn: ^6.4.1 - ajv: ^6.10.2 - ajv-keywords: ^3.4.1 - chrome-trace-event: ^1.0.2 - enhanced-resolve: ^4.5.0 - eslint-scope: ^4.0.3 - json-parse-better-errors: ^1.0.2 - loader-runner: ^2.4.0 - loader-utils: ^1.2.3 - memory-fs: ^0.4.1 - micromatch: ^3.1.10 - mkdirp: ^0.5.3 - neo-async: ^2.6.1 - node-libs-browser: ^2.2.1 - schema-utils: ^1.0.0 - tapable: ^1.1.3 - terser-webpack-plugin: ^1.4.3 - watchpack: ^1.7.4 - webpack-sources: ^1.4.1 - peerDependenciesMeta: - webpack-cli: - optional: true - webpack-command: - optional: true - bin: - webpack: bin/webpack.js - checksum: 013fa24c00d4261e16ebca60353fa6f848e417b5a44bdf28c16ebebd67fa61e960420bb314c8df05cfe2dad9b90efabcf38fd6875f2361922769a0384085ef1e - languageName: node - linkType: hard - "websocket-driver@npm:>=0.5.1": version: 0.7.3 resolution: "websocket-driver@npm:0.7.3" @@ -17483,17 +14719,6 @@ typescript@4.1.3: languageName: node linkType: hard -"websocket-driver@npm:^0.7.4": - version: 0.7.4 - resolution: "websocket-driver@npm:0.7.4" - dependencies: - http-parser-js: ">=0.5.1" - safe-buffer: ">=5.1.0" - websocket-extensions: ">=0.1.1" - checksum: fffe5a33fe8eceafd21d2a065661d09e38b93877eae1de6ab5d7d2734c6ed243973beae10ae48c6613cfd675f200e5a058d1e3531bc9e6c5d4f1396ff1f0bfb9 - languageName: node - linkType: hard - "websocket-extensions@npm:>=0.1.1": version: 0.1.4 resolution: "websocket-extensions@npm:0.1.4" @@ -17542,7 +14767,7 @@ typescript@4.1.3: languageName: node linkType: hard -"which@npm:^1.2.10, which@npm:^1.2.14, which@npm:^1.2.9, which@npm:^1.3.1": +"which@npm:^1.2.10, which@npm:^1.2.12, which@npm:^1.2.14, which@npm:^1.2.9, which@npm:^1.3.1": version: 1.3.1 resolution: "which@npm:1.3.1" dependencies: @@ -17587,15 +14812,6 @@ typescript@4.1.3: languageName: node linkType: hard -"worker-farm@npm:^1.7.0": - version: 1.7.0 - resolution: "worker-farm@npm:1.7.0" - dependencies: - errno: ~0.1.7 - checksum: eab917530e1feddf157ec749e9c91b73a886142daa7fdf3490bccbf7b548b2576c43ab8d0a98e72ac755cbc101ca8647a7b1ff2485fddb9e8f53c40c77f5a719 - languageName: node - linkType: hard - "wrap-ansi@npm:^3.0.1": version: 3.0.1 resolution: "wrap-ansi@npm:3.0.1" @@ -17606,17 +14822,6 @@ typescript@4.1.3: languageName: node linkType: hard -"wrap-ansi@npm:^5.1.0": - version: 5.1.0 - resolution: "wrap-ansi@npm:5.1.0" - dependencies: - ansi-styles: ^3.2.0 - string-width: ^3.0.0 - strip-ansi: ^5.0.0 - checksum: 9b48c862220e541eb0daa22661b38b947973fc57054e91be5b0f2dcc77741a6875ccab4ebe970a394b4682c8dfc17e888266a105fb8b0a9b23c19245e781ceae - languageName: node - linkType: hard - "wrap-ansi@npm:^6.2.0": version: 6.2.0 resolution: "wrap-ansi@npm:6.2.0" @@ -17647,15 +14852,6 @@ typescript@4.1.3: languageName: node linkType: hard -"ws@npm:^6.2.1": - version: 6.2.1 - resolution: "ws@npm:6.2.1" - dependencies: - async-limiter: ~1.0.0 - checksum: 82f7512bb74ad6e94002b5016944aee2aeefd1c480477b5f55a03ee010d4a1bd5bb4a688e07695f0a727227a0591a1a7c70e31f97baad826e3c48f85be4db6a9 - languageName: node - linkType: hard - "ws@npm:^7.0.0": version: 7.2.3 resolution: "ws@npm:7.2.3" @@ -17671,21 +14867,6 @@ typescript@4.1.3: languageName: node linkType: hard -"ws@npm:^7.3.1": - version: 7.5.3 - resolution: "ws@npm:7.5.3" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 423dc0d859fa74020f5555140905b862470a60ea1567bb9ad55a087263d7718b9c94f69678be1cee9868925c570f1e6fc79d09f90c39057bc63fa2edbb2c547b - languageName: node - linkType: hard - "xml-name-validator@npm:^3.0.0": version: 3.0.0 resolution: "xml-name-validator@npm:3.0.0" @@ -17707,7 +14888,7 @@ typescript@4.1.3: languageName: node linkType: hard -"xtend@npm:^4.0.0, xtend@npm:^4.0.1, xtend@npm:~4.0.1": +"xtend@npm:^4.0.0, xtend@npm:^4.0.1": version: 4.0.1 resolution: "xtend@npm:4.0.1" checksum: 6148d4f9b978f858560b21f1666d1d2b8a799289671ce3274a0b2e8b843d960ba7507842d73c2f44705a87ca9adc25ab12d627aac41ba911038f78f9eb6e6d78 @@ -17728,13 +14909,6 @@ typescript@4.1.3: languageName: node linkType: hard -"yallist@npm:^3.0.0, yallist@npm:^3.0.2, yallist@npm:^3.0.3": - version: 3.0.3 - resolution: "yallist@npm:3.0.3" - checksum: 96c7ecfbbd07077fad5192064f560daa3625f2a71127380bffca4a00444abea5963680ef539cb681c657de52d8a4b1e41a2fc4f894f2766a874886304cbb605f - languageName: node - linkType: hard - "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0" @@ -17742,27 +14916,7 @@ typescript@4.1.3: languageName: node linkType: hard -"yargs-parser@npm:^13.1.2": - version: 13.1.2 - resolution: "yargs-parser@npm:13.1.2" - dependencies: - camelcase: ^5.0.0 - decamelize: ^1.2.0 - checksum: c8bb6f44d39a4acd94462e96d4e85469df865de6f4326e0ab1ac23ae4a835e5dd2ddfe588317ebf80c3a7e37e741bd5cb0dc8d92bcc5812baefb7df7c885e86b - languageName: node - linkType: hard - -"yargs-parser@npm:^16.1.0": - version: 16.1.0 - resolution: "yargs-parser@npm:16.1.0" - dependencies: - camelcase: ^5.0.0 - decamelize: ^1.2.0 - checksum: 29d1e380e24616c67b8897c9fc2159b24418b42b6d8f91535cd504f02ba14e49d75dcd45258936f0fda58c449f441362c5bcc22f0f19cbf3a512cc4f346309fe - languageName: node - linkType: hard - -"yargs-parser@npm:^18.1.2": +"yargs-parser@npm:18.x, yargs-parser@npm:^18.1.2": version: 18.1.3 resolution: "yargs-parser@npm:18.1.3" dependencies: @@ -17772,24 +14926,6 @@ typescript@4.1.3: languageName: node linkType: hard -"yargs@npm:^13.3.2": - version: 13.3.2 - resolution: "yargs@npm:13.3.2" - dependencies: - cliui: ^5.0.0 - find-up: ^3.0.0 - get-caller-file: ^2.0.1 - require-directory: ^2.1.1 - require-main-filename: ^2.0.0 - set-blocking: ^2.0.0 - string-width: ^3.0.0 - which-module: ^2.0.0 - y18n: ^4.0.0 - yargs-parser: ^13.1.2 - checksum: 75c13e837eb2bb25717957ba58d277e864efc0cca7f945c98bdf6477e6ec2f9be6afa9ed8a876b251a21423500c148d7b91e88dee7adea6029bdec97af1ef3e8 - languageName: node - linkType: hard - "yargs@npm:^15.3.1": version: 15.4.1 resolution: "yargs@npm:15.4.1" -- 2.39.5