From d6b1b8a262b3890ffe5fd741d0bbeaaabd25a880 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 14 Jan 2021 18:30:25 +0100 Subject: [PATCH] SONAR-14309 Update eslint, typescript and fix issues --- server/sonar-docs/package.json | 19 +- .../src/__tests__/BrokenLinkSafetyNet.test.js | 7 +- .../src/components/__tests__/Sidebar-test.tsx | 2 +- server/sonar-docs/yarn.lock | 748 ++++++++++-- server/sonar-web/package.json | 20 +- .../src/main/js/app/components/App.tsx | 2 +- .../__tests__/ComponentContainer-test.tsx | 2 +- .../legacy/__tests__/request-legacy-test.ts | 25 +- .../extensions/legacy/request-legacy.ts | 9 +- .../PageUnavailableDueToIndexation-test.tsx | 14 +- .../js/app/components/nav/component/Menu.tsx | 6 +- .../nav/component/__tests__/Menu-test.tsx | 1 - .../badges/__tests__/utils-test.ts | 2 +- .../meta/__tests__/MetaTagsSelector-test.tsx | 2 +- .../notifications/ProjectNotifications.tsx | 1 - .../__tests__/ProjectNotifications-test.tsx | 2 +- .../components/nav/global/GlobalNavMenu.tsx | 3 +- .../components/nav/settings/SettingsNav.tsx | 9 +- server/sonar-web/src/main/js/app/index.ts | 12 +- .../__tests__/EditForm-test.tsx | 2 +- .../components/__tests__/RuleDetails-test.tsx | 2 +- .../__tests__/MeasureContent-test.tsx | 2 +- .../__tests__/AzureProjectCreate-test.tsx | 2 +- .../AzureProjectCreateRenderer-test.tsx | 2 +- .../BitbucketImportRepositoryForm-test.tsx | 2 +- .../BitbucketProjectAccordion-test.tsx | 2 +- .../__tests__/BitbucketRepositories-test.tsx | 2 +- .../__tests__/ManualProjectCreate-test.tsx | 2 +- .../documentation/__tests__/pages-test.ts | 2 +- .../components/__tests__/App-test.tsx | 4 +- .../main/js/apps/groups/components/App.tsx | 3 +- .../components/ComponentBreadcrumbs.tsx | 1 - .../apps/issues/components/IssuesCounter.tsx | 1 - .../js/apps/issues/components/PageActions.tsx | 4 +- .../__snapshots__/PageActions-test.tsx.snap | 1 - ...CrossComponentSourceViewerWrapper-test.tsx | 2 +- .../sidebar/__tests__/StandardFacet-test.tsx | 2 +- .../__tests__/BranchOverview-test.tsx | 16 +- .../__tests__/PullRequestOverview-test.tsx | 2 +- .../components/__tests__/MetricBox-test.tsx | 2 +- .../components/__tests__/Report-test.tsx | 2 +- .../__tests__/Subscription-test.tsx | 2 +- .../ProjectActivityAnalysesList-test.tsx | 2 +- .../ProjectActivityAnalysis-test.tsx | 2 +- .../BranchAnalysisListRenderer-test.tsx | 2 +- .../ProjectQualityGateApp.tsx | 27 +- .../ProjectQualityGateAppRenderer-test.tsx | 11 +- .../__tests__/AddLanguageModal-test.tsx | 64 +- .../__tests__/SetQualityProfileModal-test.tsx | 65 +- .../components/__tests__/AllProjects-test.tsx | 2 +- .../components/project-card/ProjectCard.tsx | 99 +- .../__tests__/ChangelogContainer-test.tsx | 4 +- .../ProfilePermissionsFormSelect-test.tsx | 2 +- .../HotspotOpenInIdeButton-test.tsx.snap | 8 +- .../components/__tests__/EmailForm-test.tsx | 2 +- .../js/apps/system/__tests__/utils-test.ts | 2 +- .../SourceViewer/SourceViewerBase.tsx | 11 +- .../__tests__/SourceViewerBase-test.tsx | 7 + .../components/__tests__/LineSCM-test.tsx | 2 +- .../components/__tests__/SCMPopup-test.tsx | 2 +- .../__tests__/GraphsHistory-test.tsx | 2 +- .../__tests__/GraphsTooltips-test.tsx | 2 +- .../GraphsTooltipsContentCoverage-test.tsx | 2 +- .../activity-graph/__tests__/utils-test.ts | 2 +- .../js/components/common/BranchStatus.tsx | 10 +- .../__tests__/AnalysisWarningsModal-test.tsx | 39 +- .../common/__tests__/BranchStatus-test.tsx | 3 +- .../components/docs/DocCollapsibleBlock.tsx | 1 + .../components/docs/__tests__/DocToc-test.tsx | 6 +- .../DocCollapsibleBlock-test.tsx.snap | 2 + .../measure/__tests__/Measure-test.tsx | 2 +- .../tutorials/components/RenderOptions.tsx | 1 + .../__snapshots__/RenderOptions-test.tsx.snap | 6 +- .../src/main/js/helpers/extensions.ts | 2 +- .../main/js/helpers/mocks/quality-gates.ts | 2 +- .../src/main/js/helpers/testMocks.ts | 2 +- .../js/store/__tests__/rootActions-test.tsx | 6 +- .../js/store/__tests__/rootReducers-test.tsx | 2 +- .../main/js/store/__tests__/users-test.tsx | 2 +- server/sonar-web/yarn.lock | 1035 +++++++++++------ 80 files changed, 1681 insertions(+), 710 deletions(-) diff --git a/server/sonar-docs/package.json b/server/sonar-docs/package.json index bbde38296a4..6482390b418 100644 --- a/server/sonar-docs/package.json +++ b/server/sonar-docs/package.json @@ -36,19 +36,20 @@ "@types/react-dom": "16.8.4", "@types/react-helmet": "5.0.15", "@types/rehype-react": "4.0.0", - "@typescript-eslint/parser": "2.6.0", + "@typescript-eslint/eslint-plugin": "4.13.0", + "@typescript-eslint/parser": "4.13.0", "babel-jest": "25.1.0", "enzyme": "3.11.0", "enzyme-adapter-react-16": "1.15.2", "enzyme-to-json": "3.4.4", - "eslint": "6.8.0", - "eslint-config-sonarqube": "0.6.1", - "eslint-plugin-import": "2.20.1", - "eslint-plugin-jest": "23.8.2", - "eslint-plugin-jsx-a11y": "6.2.3", + "eslint": "7.17.0", + "eslint-config-sonarqube": "1.0.0", + "eslint-plugin-import": "2.22.0", + "eslint-plugin-jest": "24.1.0", + "eslint-plugin-jsx-a11y": "6.4.0", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.19.0", - "eslint-plugin-react-hooks": "2.5.0", + "eslint-plugin-react": "7.22.0", + "eslint-plugin-react-hooks": "4.2.0", "eslint-plugin-sonarjs": "0.5.0", "fs-extra": "7.0.1", "glob-promise": "3.4.0", @@ -59,7 +60,7 @@ "react-test-renderer": "16.8.5", "remark": "11.0.2", "ts-jest": "25.2.1", - "typescript": "3.8.3", + "typescript": "4.1.3", "unist-util-visit": "2.0.2" }, "scripts": { diff --git a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js index d98827b3155..d1d31eb30c9 100644 --- a/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js +++ b/server/sonar-docs/src/__tests__/BrokenLinkSafetyNet.test.js @@ -87,7 +87,7 @@ it('should have valid links in suggestions file', () => { expect(hasErrors).toBe(false); }); -it('should have valid and uniq links in url metadata field', () => { +function collectErrors() { let urlLists = []; let hasErrors = false; parsedFiles.forEach(file => { @@ -103,6 +103,11 @@ it('should have valid and uniq links in url metadata field', () => { urlLists = [...urlLists, file.frontmatter.url]; }); + return hasErrors; +} + +it('should have valid and uniq links in url metadata field', () => { + const hasErrors = collectErrors(); expect(hasErrors).toBe(false); }); diff --git a/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx b/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx index 5e04132569c..0836da46d40 100644 --- a/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx +++ b/server/sonar-docs/src/components/__tests__/Sidebar-test.tsx @@ -25,7 +25,7 @@ import Sidebar from '../Sidebar'; jest.mock('../navTreeUtils', () => { return { - ...require.requireActual('../navTreeUtils'), + ...jest.requireActual('../navTreeUtils'), getNavTree: jest.fn().mockReturnValue([ '/foo/', { diff --git a/server/sonar-docs/yarn.lock b/server/sonar-docs/yarn.lock index 64466071bd4..fe35faea62e 100644 --- a/server/sonar-docs/yarn.lock +++ b/server/sonar-docs/yarn.lock @@ -1158,6 +1158,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-typescript" "^7.8.3" +"@babel/runtime-corejs3@^7.10.2": + version "7.12.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime-corejs3/-/runtime-corejs3-7.12.5.tgz#ffee91da0eb4c6dae080774e94ba606368e414f4" + integrity sha1-/+6R2g60xtrggHdOlLpgY2jkFPQ= + dependencies: + core-js-pure "^3.0.0" + regenerator-runtime "^0.13.4" + "@babel/runtime-corejs3@^7.8.3": version "7.8.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime-corejs3/-/runtime-corejs3-7.8.7.tgz#8209d9dff2f33aa2616cb319c83fe159ffb07b8c" @@ -1173,6 +1181,13 @@ dependencies: regenerator-runtime "^0.13.2" +"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2": + version "7.12.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" + integrity sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4= + dependencies: + regenerator-runtime "^0.13.4" + "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": version "7.8.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime/-/runtime-7.8.7.tgz#8fefce9802db54881ba59f90bb28719b4996324d" @@ -1292,6 +1307,22 @@ exec-sh "^0.3.2" minimist "^1.2.0" +"@eslint/eslintrc@^0.2.2": + version "0.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76" + integrity sha1-0B/HkeL8M+iKKdbz3H6T0M14S3Y= + dependencies: + ajv "^6.12.4" + debug "^4.1.1" + espree "^7.3.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.2.1" + js-yaml "^3.13.1" + lodash "^4.17.19" + minimatch "^3.0.4" + strip-json-comments "^3.1.1" + "@hapi/address@2.x.x": version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/@hapi/address/-/address-2.0.0.tgz#9f05469c88cb2fd3dcd624776b54ee95c312126a" @@ -1738,6 +1769,11 @@ resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" integrity sha1-vf1p1h5GTcyBslFZwnDXWnPBpjY= +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= + "@types/lodash@4.14.149", "@types/lodash@^4.14.92": version "4.14.149" resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/lodash/-/lodash-4.14.149.tgz#1342d63d948c6062838fbf961012f74d4e638440" @@ -1888,6 +1924,20 @@ dependencies: "@types/yargs-parser" "*" +"@typescript-eslint/eslint-plugin@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6" + integrity sha1-X1gOpSD6RkQt64LAOEYMPdNSS7Y= + dependencies: + "@typescript-eslint/experimental-utils" "4.13.0" + "@typescript-eslint/scope-manager" "4.13.0" + debug "^4.1.1" + functional-red-black-tree "^1.0.1" + lodash "^4.17.15" + regexpp "^3.0.0" + semver "^7.3.2" + tsutils "^3.17.1" + "@typescript-eslint/eslint-plugin@^2.24.0": version "2.24.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.24.0.tgz#a86cf618c965a462cddf3601f594544b134d6d68" @@ -1908,33 +1958,27 @@ "@typescript-eslint/typescript-estree" "2.24.0" eslint-scope "^5.0.0" -"@typescript-eslint/experimental-utils@2.6.0": - version "2.6.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.6.0.tgz#ed70bef72822bff54031ff0615fc888b9e2b6e8a" - integrity sha1-7XC+9ygiv/VAMf8GFfyIi54rboo= - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.6.0" - eslint-scope "^5.0.0" - -"@typescript-eslint/experimental-utils@^2.5.0": - version "2.23.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.23.0.tgz#5d2261c8038ec1698ca4435a8da479c661dc9242" - integrity sha1-XSJhyAOOwWmMpENajaR5xmHckkI= +"@typescript-eslint/experimental-utils@4.13.0", "@typescript-eslint/experimental-utils@^4.0.1": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e" + integrity sha1-ncmrN11lYDtD2TigeGGQoMcr5E4= dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.23.0" + "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/typescript-estree" "4.13.0" eslint-scope "^5.0.0" + eslint-utils "^2.0.0" -"@typescript-eslint/parser@2.6.0": - version "2.6.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/parser/-/parser-2.6.0.tgz#5106295c6a7056287b4719e24aae8d6293d5af49" - integrity sha1-UQYpXGpwVih7RxniSq6NYpPVr0k= +"@typescript-eslint/parser@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d" + integrity sha1-xBPWQOpmEgz8w3+JHoyz/RydJH0= dependencies: - "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.6.0" - "@typescript-eslint/typescript-estree" "2.6.0" - eslint-visitor-keys "^1.1.0" + "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/typescript-estree" "4.13.0" + debug "^4.1.1" "@typescript-eslint/parser@^2.24.0": version "2.24.0" @@ -1946,18 +1990,18 @@ "@typescript-eslint/typescript-estree" "2.24.0" eslint-visitor-keys "^1.1.0" -"@typescript-eslint/typescript-estree@2.23.0": - version "2.23.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.23.0.tgz#d355960fab96bd550855488dcc34b9a4acac8d36" - integrity sha1-01WWD6uWvVUIVUiNzDS5pKysjTY= +"@typescript-eslint/scope-manager@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141" + integrity sha1-W0WRKpqiaylgPY+ij14JCIuUcUE= dependencies: - debug "^4.1.1" - eslint-visitor-keys "^1.1.0" - glob "^7.1.6" - is-glob "^4.0.1" - lodash "^4.17.15" - semver "^6.3.0" - tsutils "^3.17.1" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/visitor-keys" "4.13.0" + +"@typescript-eslint/types@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8" + integrity sha1-anxgFaWaCPvXDaqMg9//hiUFAvg= "@typescript-eslint/typescript-estree@2.24.0": version "2.24.0" @@ -1972,16 +2016,27 @@ semver "^6.3.0" tsutils "^3.17.1" -"@typescript-eslint/typescript-estree@2.6.0": - version "2.6.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.6.0.tgz#d3e9d8e001492e2b9124c4d4bd4e7f03c0fd7254" - integrity sha1-0+nY4AFJLiuRJMTUvU5/A8D9clQ= +"@typescript-eslint/typescript-estree@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e" + integrity sha1-z24iB8fXYPXf2NGAUUKPrfw3tF4= dependencies: + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/visitor-keys" "4.13.0" debug "^4.1.1" - glob "^7.1.4" + globby "^11.0.1" is-glob "^4.0.1" - lodash.unescape "4.0.1" - semver "^6.3.0" + lodash "^4.17.15" + semver "^7.3.2" + tsutils "^3.17.1" + +"@typescript-eslint/visitor-keys@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe" + integrity sha1-mssXctOzGDGCtlQNNzQUPc6Udv4= + dependencies: + "@typescript-eslint/types" "4.13.0" + eslint-visitor-keys "^2.0.0" "@webassemblyjs/ast@1.8.5": version "1.8.5" @@ -2170,6 +2225,11 @@ acorn-jsx@^5.2.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe" integrity sha1-TGYGkXPW/daO2FI5/CViJhgrLr4= +acorn-jsx@^5.3.1: + version "5.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" + integrity sha1-/IZh4Rt6wVOcR9v+oucrOvNNJns= + acorn-walk@^6.0.1: version "6.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c" @@ -2190,6 +2250,11 @@ acorn@^7.1.0, acorn@^7.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" integrity sha1-41Zo3gtALzWd5RXFSCoaufiaab8= +acorn@^7.4.0: + version "7.4.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo= + address@1.0.3: version "1.0.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/address/-/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" @@ -2269,6 +2334,26 @@ ajv@^6.10.0, ajv@^6.10.2: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^6.12.4: + version "6.12.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ= + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^7.0.2: + version "7.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv/-/ajv-7.0.3.tgz#13ae747eff125cafb230ac504b2406cf371eece2" + integrity sha1-E650fv8SXK+yMKxQSyQGzzce7OI= + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + alphanum-sort@^1.0.0: version "1.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" @@ -2286,6 +2371,11 @@ ansi-colors@^3.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" integrity sha1-46PaS/uubIapwoViXeEkojQCb78= +ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha1-y7muJWv3UK8eqzRPIpqif+lLo0g= + ansi-escapes@^3.0.0, ansi-escapes@^3.1.0, ansi-escapes@^3.2.0: version "3.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" @@ -2397,6 +2487,14 @@ aria-query@^3.0.0: ast-types-flow "0.0.7" commander "^2.11.0" +aria-query@^4.2.2: + version "4.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" + integrity sha1-DSymyazrVriXfp/tau1+FbvS+Ds= + dependencies: + "@babel/runtime" "^7.10.2" + "@babel/runtime-corejs3" "^7.10.2" + arr-diff@^4.0.0: version "4.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -2459,6 +2557,17 @@ array-includes@^3.1.1: es-abstract "^1.17.0" is-string "^1.0.5" +array-includes@^3.1.2: + version "3.1.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/array-includes/-/array-includes-3.1.2.tgz#a8db03e0b88c8c6aeddc49cb132f9bcab4ebf9c8" + integrity sha1-qNsD4LiMjGrt3EnLEy+byrTr+cg= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + get-intrinsic "^1.0.1" + is-string "^1.0.5" + array-iterate@^1.0.0: version "1.1.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/array-iterate/-/array-iterate-1.1.3.tgz#b116bdb1e37f3c3fec13acdfb91ac829f122543c" @@ -2512,6 +2621,16 @@ array.prototype.flat@^1.2.1, array.prototype.flat@^1.2.3: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" +array.prototype.flatmap@^1.2.3: + version "1.2.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz#94cfd47cc1556ec0747d97f7c7738c58122004c9" + integrity sha1-lM/UfMFVbsB0fZf3x3OMWBIgBMk= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + function-bind "^1.1.1" + arraybuffer.slice@~0.0.7: version "0.0.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz#3bbc4275dd584cc1b10809b89d4e8b63a69e7675" @@ -2641,6 +2760,11 @@ aws4@^1.8.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" integrity sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8= +axe-core@^4.0.2: + version "4.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/axe-core/-/axe-core-4.1.1.tgz#70a7855888e287f7add66002211a423937063eaf" + integrity sha1-cKeFWIjih/et1mACIRpCOTcGPq8= + axios@^0.19.2: version "0.19.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/axios/-/axios-0.19.2.tgz#3ea36c5d8818d0d5f8a8a97a6d36b86cdc00cb27" @@ -2655,6 +2779,11 @@ axobject-query@^2.0.2: dependencies: ast-types-flow "0.0.7" +axobject-query@^2.2.0: + version "2.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" + integrity sha1-lD1H4QwLcEqkInXiDt83ImSJib4= + babel-code-frame@6.26.0, babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: version "6.26.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" @@ -3282,6 +3411,14 @@ cacheable-request@^6.0.0: normalize-url "^4.1.0" responselike "^1.0.2" +call-bind@^1.0.0: + version "1.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw= + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + call-me-maybe@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" @@ -3399,6 +3536,14 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@^4.0.0: + version "4.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha1-ThSHCmGNni7dl92DRf2dncMVZGo= + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + character-entities-html4@^1.0.0: version "1.1.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/character-entities-html4/-/character-entities-html4-1.1.3.tgz#5ce6e01618e47048ac22f34f7f39db5c6fd679ef" @@ -4145,6 +4290,15 @@ cross-spawn@^7.0.0: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.2: + version "7.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha1-9zqFudXUHQRVUcF34ogtSshXKKY= + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypt@~0.0.1: version "0.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b" @@ -4532,6 +4686,11 @@ damerau-levenshtein@^1.0.4: resolved "https://repox.jfrog.io/repox/api/npm/npm/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz#780cf7144eb2e8dbd1c3bb83ae31100ccc31a414" integrity sha1-eAz3FE6y6NvRw7uDrjEQDMwxpBQ= +damerau-levenshtein@^1.0.6: + version "1.0.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz#143c1641cb3d85c60c32329e26899adea8701791" + integrity sha1-FDwWQcs9hcYMMjKeJoma3qhwF5E= + dashdash@^1.12.0: version "1.14.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" @@ -4630,7 +4789,7 @@ deep-extend@^0.6.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw= -deep-is@~0.1.3: +deep-is@^0.1.3, deep-is@~0.1.3: version "0.1.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= @@ -5099,6 +5258,11 @@ emoji-regex@^8.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc= +emoji-regex@^9.0.0: + version "9.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-9.2.0.tgz#a26da8e832b16a9753309f25e35e3c0efb9a066a" + integrity sha1-om2o6DKxapdTMJ8l4148DvuaBmo= + emojis-list@^2.0.0: version "2.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" @@ -5172,6 +5336,13 @@ enhanced-resolve@^4.1.0: memory-fs "^0.4.0" tapable "^1.0.0" +enquirer@^2.3.5: + version "2.3.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha1-Kn/l3WNKHkElqXXsmU/1RW3Dc00= + dependencies: + ansi-colors "^4.1.1" + entities@^1.1.1, entities@~1.1.1: version "1.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" @@ -5320,6 +5491,24 @@ es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.2, es-abstrac string.prototype.trimleft "^2.1.1" string.prototype.trimright "^2.1.1" +es-abstract@^1.18.0-next.1: + version "1.18.0-next.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/es-abstract/-/es-abstract-1.18.0-next.1.tgz#6e3a0a4bda717e5023ab3b8e90bec36108d22c68" + integrity sha1-bjoKS9pxflAjqzuOkL7DYQjSLGg= + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.2.2" + is-negative-zero "^2.0.0" + is-regex "^1.1.1" + object-inspect "^1.8.0" + object-keys "^1.1.1" + object.assign "^4.1.1" + string.prototype.trimend "^1.0.1" + string.prototype.trimstart "^1.0.1" + es-to-primitive@^1.2.0: version "1.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -5377,10 +5566,10 @@ eslint-config-react-app@^5.2.0: dependencies: confusing-browser-globals "^1.0.9" -eslint-config-sonarqube@0.6.1: - version "0.6.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-config-sonarqube/-/eslint-config-sonarqube-0.6.1.tgz#6779dfd643341e9688c4181800403bd26544d584" - integrity sha1-Z3nf1kM0HpaIxBgYAEA70mVE1YQ= +eslint-config-sonarqube@1.0.0: + version "1.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-config-sonarqube/-/eslint-config-sonarqube-1.0.0.tgz#bed57fd4c4684e1094ca9799ecee2ed58493eeda" + integrity sha1-vtV/1MRoThCUypeZ7O4u1YST7to= eslint-import-resolver-node@^0.3.2: version "0.3.2" @@ -5390,6 +5579,14 @@ eslint-import-resolver-node@^0.3.2: debug "^2.6.9" resolve "^1.5.0" +eslint-import-resolver-node@^0.3.3: + version "0.3.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz#85ffa81942c25012d8231096ddf679c03042c717" + integrity sha1-hf+oGULCUBLYIxCW3fZ5wDBCxxc= + dependencies: + debug "^2.6.9" + resolve "^1.13.1" + eslint-loader@^2.2.1: version "2.2.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-loader/-/eslint-loader-2.2.1.tgz#28b9c12da54057af0845e2a6112701a2f6bf8337" @@ -5409,6 +5606,14 @@ eslint-module-utils@^2.4.1: debug "^2.6.9" pkg-dir "^2.0.0" +eslint-module-utils@^2.6.0: + version "2.6.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz#579ebd094f56af7797d19c9866c9c9486629bfa6" + integrity sha1-V569CU9Wr3eX0ZyYZsnJSGYpv6Y= + dependencies: + debug "^2.6.9" + pkg-dir "^2.0.0" + eslint-plugin-flowtype@^3.13.0: version "3.13.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-flowtype/-/eslint-plugin-flowtype-3.13.0.tgz#e241ebd39c0ce519345a3f074ec1ebde4cf80f2c" @@ -5424,7 +5629,26 @@ eslint-plugin-graphql@^3.1.1: graphql-config "^2.0.1" lodash "^4.11.1" -eslint-plugin-import@2.20.1, eslint-plugin-import@^2.20.1: +eslint-plugin-import@2.22.0: + version "2.22.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e" + integrity sha1-kvdzb+H94+Led2I8g43Zkv9f+34= + dependencies: + array-includes "^3.1.1" + array.prototype.flat "^1.2.3" + contains-path "^0.1.0" + debug "^2.6.9" + doctrine "1.5.0" + eslint-import-resolver-node "^0.3.3" + eslint-module-utils "^2.6.0" + has "^1.0.3" + minimatch "^3.0.4" + object.values "^1.1.1" + read-pkg-up "^2.0.0" + resolve "^1.17.0" + tsconfig-paths "^3.9.0" + +eslint-plugin-import@^2.20.1: version "2.20.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz#802423196dcb11d9ce8435a5fc02a6d3b46939b3" integrity sha1-gCQjGW3LEdnOhDWl/AKm07RpObM= @@ -5442,14 +5666,31 @@ eslint-plugin-import@2.20.1, eslint-plugin-import@^2.20.1: read-pkg-up "^2.0.0" resolve "^1.12.0" -eslint-plugin-jest@23.8.2: - version "23.8.2" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jest/-/eslint-plugin-jest-23.8.2.tgz#6f28b41c67ef635f803ebd9e168f6b73858eb8d4" - integrity sha1-byi0HGfvY1+APr2eFo9rc4WOuNQ= +eslint-plugin-jest@24.1.0: + version "24.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jest/-/eslint-plugin-jest-24.1.0.tgz#6708037d7602e5288ce877fd0103f329dc978361" + integrity sha1-ZwgDfXYC5SiM6Hf9AQPzKdyXg2E= dependencies: - "@typescript-eslint/experimental-utils" "^2.5.0" + "@typescript-eslint/experimental-utils" "^4.0.1" + +eslint-plugin-jsx-a11y@6.4.0: + version "6.4.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.0.tgz#64485c4d8392cb21086dbb08030505accc041158" + integrity sha1-ZEhcTYOSyyEIbbsIAwUFrMwEEVg= + dependencies: + "@babel/runtime" "^7.11.2" + aria-query "^4.2.2" + array-includes "^3.1.1" + ast-types-flow "^0.0.7" + axe-core "^4.0.2" + axobject-query "^2.2.0" + damerau-levenshtein "^1.0.6" + emoji-regex "^9.0.0" + has "^1.0.3" + jsx-ast-utils "^3.0.0" + language-tags "^1.0.5" -eslint-plugin-jsx-a11y@6.2.3, eslint-plugin-jsx-a11y@^6.2.3: +eslint-plugin-jsx-a11y@^6.2.3: version "6.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa" integrity sha1-uHKgnV3lGvcKl9se6n3JMwQ3CKo= @@ -5469,17 +5710,34 @@ eslint-plugin-promise@4.2.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" integrity sha1-hF/YsiYK2PglZMEiL85ErXHZQYo= -eslint-plugin-react-hooks@2.5.0: - version "2.5.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.0.tgz#c50ab7ca5945ce6d1cf8248d9e185c80b54171b6" - integrity sha1-xQq3yllFzm0c+CSNnhhcgLVBcbY= +eslint-plugin-react-hooks@4.2.0: + version "4.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" + integrity sha1-jCKcJo1GiVYzTJQ7tF/IYCgPVVY= eslint-plugin-react-hooks@^1.7.0: version "1.7.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04" integrity sha1-YhC21aNyBfC5KFj4laToJwIKfQQ= -eslint-plugin-react@7.19.0, eslint-plugin-react@^7.19.0: +eslint-plugin-react@7.22.0: + version "7.22.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react/-/eslint-plugin-react-7.22.0.tgz#3d1c542d1d3169c45421c1215d9470e341707269" + integrity sha1-PRxULR0xacRUIcEhXZRw40Fwcmk= + dependencies: + array-includes "^3.1.1" + array.prototype.flatmap "^1.2.3" + doctrine "^2.1.0" + has "^1.0.3" + jsx-ast-utils "^2.4.1 || ^3.0.0" + object.entries "^1.1.2" + object.fromentries "^2.0.2" + object.values "^1.1.1" + prop-types "^15.7.2" + resolve "^1.18.1" + string.prototype.matchall "^4.0.2" + +eslint-plugin-react@^7.19.0: version "7.19.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz#6d08f9673628aa69c5559d33489e855d83551666" integrity sha1-bQj5ZzYoqmnFVZ0zSJ6FXYNVFmY= @@ -5518,6 +5776,14 @@ eslint-scope@^5.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha1-54blmmbLkrP2wfsNUIqrF0hI9Iw= + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + eslint-utils@^1.4.3: version "1.4.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" @@ -5525,6 +5791,13 @@ eslint-utils@^1.4.3: dependencies: eslint-visitor-keys "^1.1.0" +eslint-utils@^2.0.0, eslint-utils@^2.1.0: + version "2.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha1-0t5eA0JOcH3BDHQGjd7a5wh0Gyc= + dependencies: + eslint-visitor-keys "^1.1.0" + eslint-visitor-keys@^1.0.0: version "1.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" @@ -5535,7 +5808,60 @@ eslint-visitor-keys@^1.1.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" integrity sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI= -eslint@6.8.0, eslint@^6.8.0: +eslint-visitor-keys@^1.3.0: + version "1.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha1-MOvR73wv3/AcOk8VEESvJfqwUj4= + +eslint-visitor-keys@^2.0.0: + version "2.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" + integrity sha1-If3I+82ceVzAMh8FY3AglXUVEag= + +eslint@7.17.0: + version "7.17.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint/-/eslint-7.17.0.tgz#4ccda5bf12572ad3bf760e6f195886f50569adb0" + integrity sha1-TM2lvxJXKtO/dg5vGViG9QVprbA= + dependencies: + "@babel/code-frame" "^7.0.0" + "@eslint/eslintrc" "^0.2.2" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.0.1" + doctrine "^3.0.0" + enquirer "^2.3.5" + eslint-scope "^5.1.1" + eslint-utils "^2.1.0" + eslint-visitor-keys "^2.0.0" + espree "^7.3.1" + esquery "^1.2.0" + esutils "^2.0.2" + file-entry-cache "^6.0.0" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash "^4.17.19" + minimatch "^3.0.4" + natural-compare "^1.4.0" + optionator "^0.9.1" + progress "^2.0.0" + regexpp "^3.1.0" + semver "^7.2.1" + strip-ansi "^6.0.0" + strip-json-comments "^3.1.0" + table "^6.0.4" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +eslint@^6.8.0: version "6.8.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" integrity sha1-YiYtZylzn5J1cjgkMC+yJ8jJP/s= @@ -5587,6 +5913,15 @@ espree@^6.1.2: acorn-jsx "^5.2.0" eslint-visitor-keys "^1.1.0" +espree@^7.3.0, espree@^7.3.1: + version "7.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" + integrity sha1-8t8zC3Usb1UBn4vYm3ZgA5wbu7Y= + dependencies: + acorn "^7.4.0" + acorn-jsx "^5.3.1" + eslint-visitor-keys "^1.3.0" + esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" @@ -5599,6 +5934,13 @@ esquery@^1.0.1: dependencies: estraverse "^4.0.0" +esquery@^1.2.0: + version "1.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" + integrity sha1-t4tYKKqOIU4p+3TE1bdS4cAz2lc= + dependencies: + estraverse "^5.1.0" + esrecurse@^4.1.0: version "4.2.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" @@ -5606,11 +5948,23 @@ esrecurse@^4.1.0: dependencies: estraverse "^4.1.0" +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha1-eteWTWeauyi+5yzsY3WLHF0smSE= + dependencies: + estraverse "^5.2.0" + estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha1-MH30JUfmzHMk088DwVXVzbjFOIA= + esutils@^2.0.0, esutils@^2.0.2: version "2.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" @@ -5889,6 +6243,18 @@ fast-glob@^3.0.3: micromatch "^4.0.2" picomatch "^2.2.1" +fast-glob@^3.1.1: + version "3.2.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" + integrity sha1-0grvv5lXk4Pn88xmUpFYybmFVNM= + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" @@ -5971,6 +6337,13 @@ file-entry-cache@^5.0.1: dependencies: flat-cache "^2.0.1" +file-entry-cache@^6.0.0: + version "6.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/file-entry-cache/-/file-entry-cache-6.0.0.tgz#7921a89c391c6d93efec2169ac6bf300c527ea0a" + integrity sha1-eSGonDkcbZPv7CFprGvzAMUn6go= + dependencies: + flat-cache "^3.0.4" + file-loader@^1.1.11: version "1.1.11" resolved "https://repox.jfrog.io/repox/api/npm/npm/file-loader/-/file-loader-1.1.11.tgz#6fe886449b0f2a936e43cabaac0cdbfb369506f8" @@ -6081,6 +6454,14 @@ flat-cache@^2.0.1: rimraf "2.6.3" write "1.0.3" +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha1-YbAzgwKy/p+Vfcwy/CqH8cMEixE= + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + flat@^4.1.0: version "4.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2" @@ -6093,6 +6474,11 @@ flatted@^2.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" integrity sha1-aeV8qo8OrLwoHS4stFjUb9tEngg= +flatted@^3.1.0: + version "3.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/flatted/-/flatted-3.1.0.tgz#a5d06b4a8b01e3a63771daa5cb7a1903e2e57067" + integrity sha1-pdBrSosB46Y3cdqly3oZA+LlcGc= + flush-write-stream@^1.0.0: version "1.1.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8" @@ -6670,6 +7056,15 @@ get-caller-file@^2.0.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha1-T5RBKoLbMvNuOwuXQfipf+sDH34= +get-intrinsic@^1.0.1, get-intrinsic@^1.0.2: + version "1.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/get-intrinsic/-/get-intrinsic-1.0.2.tgz#6820da226e50b24894e08859469dc68361545d49" + integrity sha1-aCDaIm5QskiU4IhZRp3Gg2FUXUk= + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + get-port@^3.2.0: version "3.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/get-port/-/get-port-3.2.0.tgz#dd7ce7de187c06c8bf353796ac71e099f0980ebc" @@ -6862,6 +7257,18 @@ globby@^10.0.1: merge2 "^1.2.3" slash "^3.0.0" +globby@^11.0.1: + version "11.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" + integrity sha1-GvU4t2ajtUDr+1ijKy4tWJcyHYM= + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + globby@^6.1.0: version "6.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" @@ -7613,6 +8020,11 @@ ignore@^5.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/ignore/-/ignore-5.1.4.tgz#84b7b3dbe64552b6ef0eca99f6743dbec6d97adf" integrity sha1-hLez2+ZFUrbvDsqZ9nQ9vsbZet8= +ignore@^5.1.4: + version "5.1.8" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" + integrity sha1-8VCotQo0KJsz4i9YiavU2AFvDlc= + immer@1.10.0: version "1.10.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d" @@ -7649,6 +8061,14 @@ import-fresh@^3.1.0: parent-module "^1.0.0" resolve-from "^4.0.0" +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha1-NxYsJfy566oublPVtNiM4X2eDCs= + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + import-from@^2.1.0: version "2.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" @@ -8004,6 +8424,11 @@ is-callable@^1.1.5: resolved "https://repox.jfrog.io/repox/api/npm/npm/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" integrity sha1-9+RrWWiQRW23Tn9ul2yzJz0G+qs= +is-callable@^1.2.2: + version "1.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19970223aceabb080d9" + integrity sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk= + is-ci@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" @@ -8023,6 +8448,13 @@ is-color-stop@^1.0.0: rgb-regex "^1.0.1" rgba-regex "^1.0.0" +is-core-module@^2.1.0: + version "2.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + integrity sha1-lwN+89UiJNhRY/VZeytj2a/tmBo= + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -8165,6 +8597,11 @@ is-invalid-path@^0.1.0: dependencies: is-glob "^2.0.0" +is-negative-zero@^2.0.0: + version "2.0.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-negative-zero/-/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24" + integrity sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ= + is-npm@^3.0.0: version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-npm/-/is-npm-3.0.0.tgz#ec9147bfb629c43f494cf67936a961edec7e8053" @@ -8274,6 +8711,13 @@ is-regex@^1.0.5: dependencies: has "^1.0.3" +is-regex@^1.1.1: + version "1.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-regex/-/is-regex-1.1.1.tgz#c6f98aacc546f6cec5468a07b7b153ab564a57b9" + integrity sha1-xvmKrMVG9s7FRooHt7FTq1ZKV7k= + dependencies: + has-symbols "^1.0.1" + is-relative-url@^3.0.0: version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-relative-url/-/is-relative-url-3.0.0.tgz#f623c8e26baa5bd3742b3b7ec074f50f3b45b3f3" @@ -8954,6 +9398,11 @@ json-schema-traverse@^0.4.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha1-afaofZUTq4u4/mO9sJecRI5oRmA= +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha1-rnvLNlard6c7pcSb9lTzjmtoYOI= + json-schema@0.2.3: version "0.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" @@ -9026,6 +9475,14 @@ jsx-ast-utils@^2.2.3: array-includes "^3.0.3" object.assign "^4.1.0" +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.0.0: + version "3.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz#41108d2cec408c3453c1bbe8a4aae9e1e2bd8f82" + integrity sha1-QRCNLOxAjDRTwbvopKrp4eK9j4I= + dependencies: + array-includes "^3.1.2" + object.assign "^4.1.2" + keyv@3.0.0: version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" @@ -9074,6 +9531,18 @@ kleur@^3.0.2, kleur@^3.0.3: resolved "https://repox.jfrog.io/repox/api/npm/npm/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4= +language-subtag-registry@~0.3.2: + version "0.3.21" + resolved "https://repox.jfrog.io/repox/api/npm/npm/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a" + integrity sha1-BKwhi+pG8EywOQhGAsbanniN1Fo= + +language-tags@^1.0.5: + version "1.0.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" + integrity sha1-0yHbxNowuovzAk4ED6XBRmH5GTo= + dependencies: + language-subtag-registry "~0.3.2" + last-call-webpack-plugin@^3.0.0: version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz#9742df0e10e3cf46e5c0381c2de90d3a7a2d7555" @@ -9116,6 +9585,14 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +levn@^0.4.1: + version "0.4.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha1-rkViwAdHO5MqYgDUAyaN0v/8at4= + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://repox.jfrog.io/repox/api/npm/npm/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -9278,17 +9755,12 @@ lodash.topath@4.5.2: resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash.topath/-/lodash.topath-4.5.2.tgz#3616351f3bba61994a0931989660bd03254fd009" integrity sha1-NhY1Hzu6YZlKCTGYlmC9AyVP0Ak= -lodash.unescape@4.0.1: - version "4.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" - integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= - lodash.uniq@^4.5.0: version "4.5.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.20, lodash@^4.17.19: +lodash@4.17.20, lodash@^4.17.19, lodash@^4.17.20: version "4.17.20" resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI= @@ -9387,6 +9859,13 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ= + dependencies: + yallist "^4.0.0" + lunr@2.3.8: version "2.3.8" resolved "https://repox.jfrog.io/repox/api/npm/npm/lunr/-/lunr-2.3.8.tgz#a8b89c31f30b5a044b97d2d28e2da191b6ba2072" @@ -10241,6 +10720,11 @@ object-inspect@^1.7.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" integrity sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc= +object-inspect@^1.8.0: + version "1.9.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a" + integrity sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo= + object-is@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" @@ -10278,6 +10762,16 @@ object.assign@^4.1.0: has-symbols "^1.0.0" object-keys "^1.0.11" +object.assign@^4.1.1, object.assign@^4.1.2: + version "4.1.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" + integrity sha1-DtVKNC7Os3s4/3brgxoOeIy2OUA= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + has-symbols "^1.0.1" + object-keys "^1.1.1" + object.entries@^1.1.0: version "1.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519" @@ -10298,6 +10792,16 @@ object.entries@^1.1.1: function-bind "^1.1.1" has "^1.0.3" +object.entries@^1.1.2: + version "1.1.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object.entries/-/object.entries-1.1.3.tgz#c601c7f168b62374541a07ddbd3e2d5e4f7711a6" + integrity sha1-xgHH8Wi2I3RUGgfdvT4tXk93EaY= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + has "^1.0.3" + object.fromentries@^2.0.2: version "2.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/object.fromentries/-/object.fromentries-2.0.2.tgz#4a09c9b9bb3843dd0f89acdb517a794d4f355ac9" @@ -10455,6 +10959,18 @@ optionator@^0.8.3: type-check "~0.3.2" word-wrap "~1.2.3" +optionator@^0.9.1: + version "0.9.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" + integrity sha1-TyNqY3Pa4FZqbUPhMmZ09QwpFJk= + dependencies: + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.3" + original@>=0.0.5, original@^1.0.0: version "1.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f" @@ -11359,6 +11875,11 @@ postcss@^7.0.26, postcss@^7.0.27: source-map "^0.6.1" supports-color "^6.1.0" +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha1-3rxkidem5rDnYRiIzsiAM30xY5Y= + prelude-ls@~1.1.2: version "1.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -12120,6 +12641,11 @@ regexpp@^3.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/regexpp/-/regexpp-3.0.0.tgz#dd63982ee3300e67b41c1956f850aa680d9d330e" integrity sha1-3WOYLuMwDme0HBlW+FCqaA2dMw4= +regexpp@^3.1.0: + version "3.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" + integrity sha1-IG0K0KVkjP+9uK5GQ489xRyfeOI= + regexpu-core@^1.0.0: version "1.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" @@ -12405,6 +12931,11 @@ require-directory@^2.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha1-iaf92TgmEmcxjq/hT5wy5ZjDaQk= + require-main-filename@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" @@ -12481,6 +13012,14 @@ resolve@^1.12.0, resolve@^1.15.1: dependencies: path-parse "^1.0.6" +resolve@^1.13.1, resolve@^1.17.0, resolve@^1.18.1: + version "1.19.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" + integrity sha1-GvW/YwQJc0oGfK4pMYqsf6KaJnw= + dependencies: + is-core-module "^2.1.0" + path-parse "^1.0.6" + responselike@1.0.2, responselike@^1.0.2: version "1.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" @@ -12551,7 +13090,7 @@ rimraf@^2.6.2: dependencies: glob "^7.1.3" -rimraf@^3.0.0: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha1-8aVAK6YiCtUswSgrrBrjqkn9Bho= @@ -12802,6 +13341,13 @@ semver@^7.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" integrity sha1-5DRc5zBxxT8zZEXPwZ77HDEd8qY= +semver@^7.2.1, semver@^7.3.2: + version "7.3.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha1-J6qn0uTKdkUvmNOt0JOnLJQ+3Jc= + dependencies: + lru-cache "^6.0.0" + send@0.17.1: version "0.17.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -13004,6 +13550,15 @@ slice-ansi@^3.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha1-UA6N0P1VsFgVCGJVsxla3ypF/ms= + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + slugify@^1.4.0: version "1.4.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/slugify/-/slugify-1.4.0.tgz#c9557c653c54b0c7f7a8e786ef3431add676d2cb" @@ -13480,6 +14035,14 @@ string.prototype.trim@^1.2.1: es-abstract "^1.17.0-next.1" function-bind "^1.1.1" +string.prototype.trimend@^1.0.1: + version "1.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz#a22bd53cca5c7cf44d7c9d5c732118873d6cd18b" + integrity sha1-oivVPMpcfPRNfJ1ccyEYhz1s0Ys= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + string.prototype.trimleft@^2.1.1: version "2.1.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" @@ -13496,6 +14059,14 @@ string.prototype.trimright@^2.1.1: define-properties "^1.1.3" function-bind "^1.1.1" +string.prototype.trimstart@^1.0.1: + version "1.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz#9b4cb590e123bb36564401d59824298de50fd5aa" + integrity sha1-m0y1kOEjuzZWRAHVmCQpjeUP1ao= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" @@ -13594,6 +14165,11 @@ strip-json-comments@^3.0.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" integrity sha1-hXE5dakfuHvxswXMp3OV5A0qZKc= +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha1-MfEoGzgyYwQ0gxwxDAHMzajL4AY= + strip-json-comments@~2.0.1: version "2.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -13709,6 +14285,16 @@ table@^5.2.3: slice-ansi "^2.1.0" string-width "^3.0.0" +table@^6.0.4: + version "6.0.7" + resolved "https://repox.jfrog.io/repox/api/npm/npm/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" + integrity sha1-5FiX/7zBvPnoqHv0IPLJ5aelKjQ= + dependencies: + ajv "^7.0.2" + lodash "^4.17.20" + slice-ansi "^4.0.0" + string-width "^4.2.0" + tapable@^1.0.0, tapable@^1.1.3: version "1.1.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" @@ -13982,6 +14568,16 @@ ts-pnp@^1.1.6: resolved "https://repox.jfrog.io/repox/api/npm/npm/ts-pnp/-/ts-pnp-1.1.6.tgz#389a24396d425a0d3162e96d2b4638900fdc289a" integrity sha1-OJokOW1CWg0xYultK0Y4kA/cKJo= +tsconfig-paths@^3.9.0: + version "3.9.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz#098547a6c4448807e8fcb8eae081064ee9a3c90b" + integrity sha1-CYVHpsREiAfo/Ljq4IEGTumjyQs= + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.1" + minimist "^1.2.0" + strip-bom "^3.0.0" + tslib@^1.10.0, tslib@^1.8.1: version "1.11.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" @@ -14016,6 +14612,13 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha1-B7ggO/pwVsBlcFDjzNLDdzC6uPE= + dependencies: + prelude-ls "^1.2.1" + type-check@~0.3.2: version "0.3.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" @@ -14068,10 +14671,10 @@ typedarray@^0.0.6: resolved "https://repox.jfrog.io/repox/api/npm/npm/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.8.3: - version "3.8.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha1-QJ64VE6gM1cRIFhp7EWKsQnuEGE= +typescript@4.1.3: + version "4.1.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" + integrity sha1-UZ1YK9lMugz4k0x9joRn5HP1O7c= typography-normalize@^0.16.19: version "0.16.19" @@ -14901,7 +15504,7 @@ with-open-file@^0.1.6: p-try "^2.1.0" pify "^4.0.1" -word-wrap@~1.2.3: +word-wrap@^1.2.3, word-wrap@~1.2.3: version "1.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w= @@ -15068,6 +15671,11 @@ yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: resolved "https://repox.jfrog.io/repox/api/npm/npm/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" integrity sha1-tLBJ4xS+VF486AIjbWzSLNkcPek= +yallist@^4.0.0: + version "4.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI= + yaml-loader@^0.5.0: version "0.5.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/yaml-loader/-/yaml-loader-0.5.0.tgz#86b1982d84a8e429e6647d93de9a0169e1c15827" diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index d6ab87e29a8..941f8fe2b63 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -70,7 +70,8 @@ "@types/react-virtualized": "9.21.8", "@types/sanitize-html": "1.22.0", "@types/valid-url": "1.0.2", - "@typescript-eslint/parser": "2.24.0", + "@typescript-eslint/eslint-plugin": "4.13.0", + "@typescript-eslint/parser": "4.13.0", "autoprefixer": "9.7.4", "babel-core": "7.0.0-bridge.0", "babel-jest": "25.1.0", @@ -86,15 +87,14 @@ "enzyme-adapter-react-16": "1.15.2", "enzyme-to-json": "3.4.4", "escape-string-regexp": "2.0.0", - "eslint": "6.8.0", - "eslint-config-sonarqube": "0.6.1", - "eslint-plugin-import": "2.20.1", - "eslint-plugin-jest": "23.8.2", - "eslint-plugin-jsx-a11y": "6.2.3", + "eslint": "7.17.0", + "eslint-config-sonarqube": "1.0.0", + "eslint-plugin-import": "2.22.0", + "eslint-plugin-jest": "24.1.0", + "eslint-plugin-jsx-a11y": "6.4.0", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-react": "7.19.0", - "eslint-plugin-react-hooks": "2.5.0", - "eslint-plugin-sonarjs": "0.5.0", + "eslint-plugin-react": "7.22.0", + "eslint-plugin-react-hooks": "4.2.0", "expose-loader": "0.7.5", "glob": "7.1.6", "glob-promise": "3.4.0", @@ -116,7 +116,7 @@ "style-loader": "1.1.3", "ts-jest": "25.2.1", "ts-loader": "6.2.1", - "typescript": "3.8.3", + "typescript": "4.1.3", "webpack": "4.42.0", "webpack-bundle-analyzer": "3.6.1", "webpack-dev-server": "3.10.3" diff --git a/server/sonar-web/src/main/js/app/components/App.tsx b/server/sonar-web/src/main/js/app/components/App.tsx index 8204c871ecc..e32dc36aabe 100644 --- a/server/sonar-web/src/main/js/app/components/App.tsx +++ b/server/sonar-web/src/main/js/app/components/App.tsx @@ -61,7 +61,7 @@ class App extends React.PureComponent { const outer = document.createElement('div'); outer.style.visibility = 'hidden'; outer.style.width = '100px'; - outer.style.msOverflowStyle = 'scrollbar'; + outer.style.setProperty('msOverflowStyle', 'scrollbar'); document.body.appendChild(outer); 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 476aa6c836a..6a0d13028d1 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 @@ -33,7 +33,7 @@ import { ComponentContainer } from '../ComponentContainer'; import PageUnavailableDueToIndexation from '../indexation/PageUnavailableDueToIndexation'; jest.mock('../../../api/branches', () => { - const { mockMainBranch, mockPullRequest } = require.requireActual( + const { mockMainBranch, mockPullRequest } = jest.requireActual( '../../../helpers/mocks/branch-like' ); return { diff --git a/server/sonar-web/src/main/js/app/components/extensions/legacy/__tests__/request-legacy-test.ts b/server/sonar-web/src/main/js/app/components/extensions/legacy/__tests__/request-legacy-test.ts index 8fed4500317..e77a08d4466 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/legacy/__tests__/request-legacy-test.ts +++ b/server/sonar-web/src/main/js/app/components/extensions/legacy/__tests__/request-legacy-test.ts @@ -20,13 +20,21 @@ import handleRequiredAuthentication from 'sonar-ui-common/helpers/handleRequiredAuthentication'; import request from '../request-legacy'; -const { checkStatus, parseError, requestTryAndRepeatUntil } = request; +const { checkStatus, delay, parseError, requestTryAndRepeatUntil } = request; jest.mock('sonar-ui-common/helpers/handleRequiredAuthentication', () => ({ default: jest.fn() })); jest.mock('sonar-ui-common/helpers/cookies', () => ({ getCookie: jest.fn().mockReturnValue('qwerasdf') })); +beforeAll(() => { + jest.useFakeTimers(); +}); + +afterAll(() => { + jest.useRealTimers(); +}); + beforeEach(() => { jest.clearAllMocks(); }); @@ -91,6 +99,7 @@ describe('requestTryAndRepeatUntil', () => { for (let i = 1; i < 5; i++) { jest.runAllTimers(); expect(apiCall).toBeCalledTimes(i); + // eslint-disable-next-line no-await-in-loop await new Promise(setImmediate); expect(stopRepeat).toBeCalledTimes(i); } @@ -115,6 +124,7 @@ describe('requestTryAndRepeatUntil', () => { for (let i = 1; i < 5; i++) { jest.runAllTimers(); expect(apiCall).toBeCalledTimes(i); + // eslint-disable-next-line no-await-in-loop await new Promise(setImmediate); } apiCall.mockResolvedValue('Success'); @@ -141,6 +151,7 @@ describe('requestTryAndRepeatUntil', () => { for (let i = 1; i < 3; i++) { jest.runAllTimers(); expect(apiCall).toBeCalledTimes(i); + // eslint-disable-next-line no-await-in-loop await new Promise(setImmediate); } apiCall.mockResolvedValue('Success'); @@ -156,6 +167,7 @@ describe('requestTryAndRepeatUntil', () => { for (let i = 1; i < 3; i++) { jest.advanceTimersByTime(500); expect(apiCall).toBeCalledTimes(i); + // eslint-disable-next-line no-await-in-loop await new Promise(setImmediate); } @@ -284,3 +296,14 @@ describe('request functions', () => { }); }); }); + +describe('delay', () => { + it('should work as expected', async () => { + const param = { some: 'response' }; + + const promise = delay(param); + jest.runAllTimers(); + + expect(await promise).toBe(param); + }); +}); diff --git a/server/sonar-web/src/main/js/app/components/extensions/legacy/request-legacy.ts b/server/sonar-web/src/main/js/app/components/extensions/legacy/request-legacy.ts index f39f74fd801..1d3a51d8a27 100644 --- a/server/sonar-web/src/main/js/app/components/extensions/legacy/request-legacy.ts +++ b/server/sonar-web/src/main/js/app/components/extensions/legacy/request-legacy.ts @@ -87,7 +87,10 @@ const DEFAULT_HEADERS = { class Request { private data?: RequestData; - constructor(private readonly url: string, private readonly options: { method?: string } = {}) {} + constructor(private readonly url: string, private readonly options: { method?: string } = {}) { + this.url = url; + this.options = options; + } getSubmitData(customHeaders: any = {}): { url: string; options: RequestInit } { let { url } = this; @@ -257,7 +260,9 @@ function requestDelete(url: string, data?: RequestData): Promise { * Delay promise for testing purposes */ function delay(response: any): Promise { - return new Promise(resolve => setTimeout(() => resolve(response), 1200)); + return new Promise(resolve => { + setTimeout(() => resolve(response), 1200); + }); } function tryRequestAgain( diff --git a/server/sonar-web/src/main/js/app/components/indexation/__tests__/PageUnavailableDueToIndexation-test.tsx b/server/sonar-web/src/main/js/app/components/indexation/__tests__/PageUnavailableDueToIndexation-test.tsx index 824d1870caa..1c89df96447 100644 --- a/server/sonar-web/src/main/js/app/components/indexation/__tests__/PageUnavailableDueToIndexation-test.tsx +++ b/server/sonar-web/src/main/js/app/components/indexation/__tests__/PageUnavailableDueToIndexation-test.tsx @@ -29,8 +29,11 @@ it('should render correctly', () => { it('should not refresh the page once the indexation is complete if there were failures', () => { const reload = jest.fn(); - delete window.location; - (window as any).location = { reload }; + + Object.defineProperty(window, 'location', { + writable: true, + value: { reload } + }); const wrapper = shallowRender(); @@ -46,8 +49,11 @@ it('should not refresh the page once the indexation is complete if there were fa it('should refresh the page once the indexation is complete if there were NO failures', () => { const reload = jest.fn(); - delete window.location; - (window as any).location = { reload }; + + Object.defineProperty(window, 'location', { + writable: true, + value: { reload } + }); const wrapper = shallowRender(); 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 21968d737b7..d9b7212b918 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 @@ -266,7 +266,8 @@ export class Menu extends React.PureComponent { {({ onToggleClick, open }) => ( { {({ onToggleClick, open }) => ( ({ - ...require.requireActual('sonar-ui-common/helpers/urls'), + ...jest.requireActual('sonar-ui-common/helpers/urls'), getHostUrl: () => 'host', getPathUrlAsString: (o: Location) => `host${o.pathname}?id=${o.query ? o.query.id : ''}&branch=${o.query ? o.query.branch : ''}` diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/meta/__tests__/MetaTagsSelector-test.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/meta/__tests__/MetaTagsSelector-test.tsx index bbb7cfcd9ba..3aa6b718bab 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/meta/__tests__/MetaTagsSelector-test.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/meta/__tests__/MetaTagsSelector-test.tsx @@ -28,7 +28,7 @@ jest.mock('../../../../../../../api/components', () => ({ })); jest.mock('lodash', () => { - const lodash = require.requireActual('lodash'); + const lodash = jest.requireActual('lodash'); lodash.debounce = jest.fn(fn => fn); return lodash; }); diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/ProjectNotifications.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/ProjectNotifications.tsx index 456dc01a6ec..0092e1e9a79 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/ProjectNotifications.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/ProjectNotifications.tsx @@ -28,7 +28,6 @@ import { } from '../../../../../../components/hoc/withNotifications'; interface Props { - className?: string; component: T.Component; } diff --git a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/__tests__/ProjectNotifications-test.tsx b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/__tests__/ProjectNotifications-test.tsx index 85cabc9c232..2e33d89a858 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/__tests__/ProjectNotifications-test.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/projectInformation/notifications/__tests__/ProjectNotifications-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { mockComponent } from '../../../../../../../helpers/testMocks'; 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 4e790d74700..378363b4479 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 @@ -139,7 +139,8 @@ export default class GlobalNavMenu extends React.PureComponent { {({ onToggleClick, open }) => ( { {({ onToggleClick, open }) => ( { {({ onToggleClick, open }) => ( @@ -205,7 +207,8 @@ export default class SettingsNav extends React.PureComponent { {({ onToggleClick, open }) => ( diff --git a/server/sonar-web/src/main/js/app/index.ts b/server/sonar-web/src/main/js/app/index.ts index 258abd572d1..98dc2d01d5f 100644 --- a/server/sonar-web/src/main/js/app/index.ts +++ b/server/sonar-web/src/main/js/app/index.ts @@ -46,11 +46,15 @@ if (isMainApp()) { } else { // login, maintenance or setup pages - const appStatePromise: Promise = new Promise(resolve => + const appStatePromise: Promise = new Promise(resolve => { loadAppState() - .then(data => resolve(data)) - .catch(() => resolve(undefined)) - ); + .then(data => { + resolve(data); + }) + .catch(() => { + resolve(undefined); + }); + }); Promise.all([loadL10nBundle(), appStatePromise, loadApp()]).then( ([l10nBundle, appState, startReactApp]) => { diff --git a/server/sonar-web/src/main/js/apps/application-console/__tests__/EditForm-test.tsx b/server/sonar-web/src/main/js/apps/application-console/__tests__/EditForm-test.tsx index 317d4c2d336..1e60305639d 100644 --- a/server/sonar-web/src/main/js/apps/application-console/__tests__/EditForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/application-console/__tests__/EditForm-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import SimpleModal from 'sonar-ui-common/components/controls/SimpleModal'; diff --git a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/RuleDetails-test.tsx b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/RuleDetails-test.tsx index de8f9c1ca3b..c0dbe57b146 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/RuleDetails-test.tsx +++ b/server/sonar-web/src/main/js/apps/coding-rules/components/__tests__/RuleDetails-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { waitAndUpdate } from 'sonar-ui-common/helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/MeasureContent-test.tsx b/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/MeasureContent-test.tsx index 1474bd9d110..9c11be6f3b1 100644 --- a/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/MeasureContent-test.tsx +++ b/server/sonar-web/src/main/js/apps/component-measures/components/__tests__/MeasureContent-test.tsx @@ -25,7 +25,7 @@ import { mockComponentMeasure, mockRouter } from '../../../../helpers/testMocks' import MeasureContent from '../MeasureContent'; jest.mock('../../../../api/components', () => { - const { mockComponentMeasure } = require.requireActual('../../../../helpers/testMocks'); + const { mockComponentMeasure } = jest.requireActual('../../../../helpers/testMocks'); return { getComponentTree: jest.fn().mockResolvedValue({ paging: { pageIndex: 1, pageSize: 500, total: 2 }, diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreate-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreate-test.tsx index 896ceea2733..f773c8f33f0 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreate-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreate-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { waitAndUpdate } from 'sonar-ui-common/helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreateRenderer-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreateRenderer-test.tsx index d185784ed2d..a11317e3bbf 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreateRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/AzureProjectCreateRenderer-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { mockAzureProject, mockAzureRepository } from '../../../../helpers/mocks/alm-integrations'; diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketImportRepositoryForm-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketImportRepositoryForm-test.tsx index b103d0da5a5..702e6134058 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketImportRepositoryForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketImportRepositoryForm-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import SearchBox from 'sonar-ui-common/components/controls/SearchBox'; diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketProjectAccordion-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketProjectAccordion-test.tsx index 99d2bb7e2da..671cfa4fdc0 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketProjectAccordion-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketProjectAccordion-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import Radio from 'sonar-ui-common/components/controls/Radio'; diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketRepositories-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketRepositories-test.tsx index b6e44289991..87cdc788213 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketRepositories-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/BitbucketRepositories-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { click } from 'sonar-ui-common/helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/apps/create/project/__tests__/ManualProjectCreate-test.tsx b/server/sonar-web/src/main/js/apps/create/project/__tests__/ManualProjectCreate-test.tsx index cf7b86df900..10199afaa91 100644 --- a/server/sonar-web/src/main/js/apps/create/project/__tests__/ManualProjectCreate-test.tsx +++ b/server/sonar-web/src/main/js/apps/create/project/__tests__/ManualProjectCreate-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { SubmitButton } from 'sonar-ui-common/components/controls/buttons'; 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 0b99e9c18f8..7e61f661cc4 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 @@ -123,5 +123,5 @@ it('should not break the whole doc when one page cannot be parsed', () => { function getPages(overrides: T.Dict = {}) { // This allows the use of out-of-scope data inside jest.mock // Usually, it is impossible as jest.mock'ed module is hoisted on the top of the file - return require.requireActual('../pages').default(overrides); + return jest.requireActual('../pages').default(overrides); } 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 dbdd11f6770..4f96566d970 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 @@ -84,7 +84,7 @@ jest.mock('sonar-ui-common/helpers/pages', () => ({ })); jest.mock('sonar-ui-common/helpers/request', () => { - const { mockDocumentationMarkdown } = require.requireActual('../../../../helpers/testMocks'); + const { mockDocumentationMarkdown } = jest.requireActual('../../../../helpers/testMocks'); return { request: jest.fn(() => ({ submit: jest.fn().mockResolvedValue({ @@ -96,7 +96,7 @@ jest.mock('sonar-ui-common/helpers/request', () => { }); jest.mock('../../pages', () => { - const { mockDocumentationEntry } = require.requireActual('../../../../helpers/testMocks'); + const { mockDocumentationEntry } = jest.requireActual('../../../../helpers/testMocks'); return { default: jest .fn() diff --git a/server/sonar-web/src/main/js/apps/groups/components/App.tsx b/server/sonar-web/src/main/js/apps/groups/components/App.tsx index 0419db39de8..fc779853d14 100644 --- a/server/sonar-web/src/main/js/apps/groups/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/groups/components/App.tsx @@ -110,7 +110,8 @@ export default class App extends React.PureComponent<{}, State> { // reload all pages in order if (paging && paging.pageIndex > 1) { for (let p = 1; p < paging.pageIndex; p++) { - await this.fetchMoreGroups(); + // eslint-disable-next-line no-await-in-loop + await this.fetchMoreGroups(); // This is a intentional promise chain } } }; diff --git a/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx b/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx index 776206a9ac1..cacfe24b828 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/ComponentBreadcrumbs.tsx @@ -25,7 +25,6 @@ import { getSelectedLocation } from '../utils'; interface Props { component?: T.Component; issue: T.Issue; - link?: boolean; selectedFlowIndex?: number; selectedLocationIndex?: number; } diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx index 8657dfd02d9..8526a566871 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesCounter.tsx @@ -22,7 +22,6 @@ import { translate } from 'sonar-ui-common/helpers/l10n'; import PageCounter from '../../../components/common/PageCounter'; interface Props { - className?: string; current: number | undefined; total: number; } diff --git a/server/sonar-web/src/main/js/apps/issues/components/PageActions.tsx b/server/sonar-web/src/main/js/apps/issues/components/PageActions.tsx index f005e337474..e401c145624 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/PageActions.tsx +++ b/server/sonar-web/src/main/js/apps/issues/components/PageActions.tsx @@ -61,9 +61,7 @@ export default class PageActions extends React.PureComponent {
- {paging != null && ( - - )} + {paging != null && } {effortTotal !== undefined && }
diff --git a/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/PageActions-test.tsx.snap b/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/PageActions-test.tsx.snap index 446f460ac6d..09f7ccf406e 100644 --- a/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/PageActions-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/issues/components/__tests__/__snapshots__/PageActions-test.tsx.snap @@ -43,7 +43,6 @@ exports[`should render 1`] = ` onClick={[MockFunction]} /> diff --git a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/CrossComponentSourceViewerWrapper-test.tsx b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/CrossComponentSourceViewerWrapper-test.tsx index 6099c40c521..088058f9735 100644 --- a/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/CrossComponentSourceViewerWrapper-test.tsx +++ b/server/sonar-web/src/main/js/apps/issues/crossComponentSourceViewer/__tests__/CrossComponentSourceViewerWrapper-test.tsx @@ -32,7 +32,7 @@ import { import CrossComponentSourceViewerWrapper from '../CrossComponentSourceViewerWrapper'; jest.mock('../../../../api/issues', () => { - const { mockSnippetsByComponent } = require.requireActual('../../../../helpers/testMocks'); + const { mockSnippetsByComponent } = jest.requireActual('../../../../helpers/testMocks'); return { getIssueFlowSnippets: jest.fn().mockResolvedValue({ 'main.js': mockSnippetsByComponent() }) }; diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/StandardFacet-test.tsx b/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/StandardFacet-test.tsx index 2ef95ee86da..57205c07e31 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/StandardFacet-test.tsx +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/StandardFacet-test.tsx @@ -25,7 +25,7 @@ import { Query } from '../../utils'; import StandardFacet from '../StandardFacet'; jest.mock('../../../../helpers/security-standard', () => ({ - ...require.requireActual('../../../../helpers/security-standard'), + ...jest.requireActual('../../../../helpers/security-standard'), getStandards: jest.fn().mockResolvedValue({ owaspTop10: { a1: { diff --git a/server/sonar-web/src/main/js/apps/overview/branches/__tests__/BranchOverview-test.tsx b/server/sonar-web/src/main/js/apps/overview/branches/__tests__/BranchOverview-test.tsx index 7899f1f37fa..db78cc4ec3b 100644 --- a/server/sonar-web/src/main/js/apps/overview/branches/__tests__/BranchOverview-test.tsx +++ b/server/sonar-web/src/main/js/apps/overview/branches/__tests__/BranchOverview-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { isDiffMetric } from 'sonar-ui-common/helpers/measures'; @@ -45,7 +45,7 @@ jest.mock('sonar-ui-common/helpers/dates', () => ({ })); jest.mock('../../../../api/measures', () => { - const { mockMeasure, mockMetric } = require.requireActual('../../../../helpers/testMocks'); + const { mockMeasure, mockMetric } = jest.requireActual('../../../../helpers/testMocks'); return { getMeasuresWithPeriodAndMetrics: jest.fn((_, metricKeys: string[]) => { const metrics: T.Metric[] = []; @@ -83,10 +83,10 @@ jest.mock('../../../../api/measures', () => { }); jest.mock('../../../../api/quality-gates', () => { - const { mockQualityGateProjectStatus, mockQualityGateApplicationStatus } = require.requireActual( + const { mockQualityGateProjectStatus, mockQualityGateApplicationStatus } = jest.requireActual( '../../../../helpers/mocks/quality-gates' ); - const { MetricKey } = require.requireActual('../../../../types/metrics'); + const { MetricKey } = jest.requireActual('../../../../types/metrics'); return { getQualityGateProjectStatus: jest.fn().mockResolvedValue( mockQualityGateProjectStatus({ @@ -124,7 +124,7 @@ jest.mock('../../../../api/quality-gates', () => { }); jest.mock('../../../../api/time-machine', () => { - const { MetricKey } = require.requireActual('../../../../types/metrics'); + const { MetricKey } = jest.requireActual('../../../../types/metrics'); return { getAllTimeMachineData: jest.fn().mockResolvedValue({ measures: [ @@ -143,7 +143,7 @@ jest.mock('../../../../api/time-machine', () => { }); jest.mock('../../../../api/projectActivity', () => { - const { mockAnalysis } = require.requireActual('../../../../helpers/testMocks'); + const { mockAnalysis } = jest.requireActual('../../../../helpers/testMocks'); return { getProjectActivity: jest.fn().mockResolvedValue({ analyses: [mockAnalysis(), mockAnalysis(), mockAnalysis(), mockAnalysis(), mockAnalysis()] @@ -175,8 +175,8 @@ jest.mock('../../../../api/application', () => ({ })); jest.mock('../../../../components/activity-graph/utils', () => { - const { MetricKey } = require.requireActual('../../../../types/metrics'); - const { GraphType } = require.requireActual('../../../../types/project-activity'); + const { MetricKey } = jest.requireActual('../../../../types/metrics'); + const { GraphType } = jest.requireActual('../../../../types/project-activity'); return { getActivityGraph: jest.fn(() => ({ graph: GraphType.coverage })), saveActivityGraph: jest.fn(), diff --git a/server/sonar-web/src/main/js/apps/overview/pullRequests/__tests__/PullRequestOverview-test.tsx b/server/sonar-web/src/main/js/apps/overview/pullRequests/__tests__/PullRequestOverview-test.tsx index a90e9b7a4fc..3f79a7f6288 100644 --- a/server/sonar-web/src/main/js/apps/overview/pullRequests/__tests__/PullRequestOverview-test.tsx +++ b/server/sonar-web/src/main/js/apps/overview/pullRequests/__tests__/PullRequestOverview-test.tsx @@ -28,7 +28,7 @@ import { PR_METRICS } from '../../utils'; import { PullRequestOverview } from '../PullRequestOverview'; jest.mock('../../../../api/measures', () => { - const { mockMeasure, mockMetric } = require.requireActual('../../../../helpers/testMocks'); + const { mockMeasure, mockMetric } = jest.requireActual('../../../../helpers/testMocks'); return { getMeasuresWithMetrics: jest.fn().mockResolvedValue({ component: { diff --git a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/MetricBox-test.tsx b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/MetricBox-test.tsx index d66a165cfba..80307fead00 100644 --- a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/MetricBox-test.tsx +++ b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/MetricBox-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import MetricBox, { MetricBoxProps } from '../MetricBox'; diff --git a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Report-test.tsx b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Report-test.tsx index 9c37d7fc6f6..26638a78f2c 100644 --- a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Report-test.tsx +++ b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Report-test.tsx @@ -19,7 +19,7 @@ */ /* eslint-disable import/first */ jest.mock('../../../../api/report', () => { - const report = require.requireActual('../../../../api/report'); + const report = jest.requireActual('../../../../api/report'); report.getReportStatus = jest.fn(() => Promise.resolve({})); return report; }); diff --git a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Subscription-test.tsx b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Subscription-test.tsx index 8a44930a8fb..045226a7e85 100644 --- a/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Subscription-test.tsx +++ b/server/sonar-web/src/main/js/apps/portfolio/components/__tests__/Subscription-test.tsx @@ -19,7 +19,7 @@ */ /* eslint-disable import/first */ jest.mock('../../../../api/report', () => { - const report = require.requireActual('../../../../api/report'); + const report = jest.requireActual('../../../../api/report'); report.subscribe = jest.fn(() => Promise.resolve()); report.unsubscribe = jest.fn(() => Promise.resolve()); return report; 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 efc6d80ff00..c458e7cc0b7 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 @@ -32,7 +32,7 @@ jest.mock('date-fns/start_of_day', () => (date: Date) => { }); jest.mock('sonar-ui-common/helpers/dates', () => { - const actual = require.requireActual('sonar-ui-common/helpers/dates'); + const actual = jest.requireActual('sonar-ui-common/helpers/dates'); return { ...actual, toShortNotSoISOString: (date: string) => 'ISO.' + date }; }); diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysis-test.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysis-test.tsx index 4d84633519d..f88cebbbb25 100644 --- a/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysis-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectActivity/components/__tests__/ProjectActivityAnalysis-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { mount, shallow } from 'enzyme'; import * as React from 'react'; import { IntlProvider } from 'react-intl'; 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 5ff26cfbb98..45785c4f34e 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 @@ -31,7 +31,7 @@ jest.mock('date-fns/start_of_day', () => (date: Date) => { }); jest.mock('sonar-ui-common/helpers/dates', () => { - const actual = require.requireActual('sonar-ui-common/helpers/dates'); + const actual = jest.requireActual('sonar-ui-common/helpers/dates'); return { ...actual, toShortNotSoISOString: (date: string) => `ISO.${date}` }; }); diff --git a/server/sonar-web/src/main/js/apps/projectQualityGate/ProjectQualityGateApp.tsx b/server/sonar-web/src/main/js/apps/projectQualityGate/ProjectQualityGateApp.tsx index 7ab4dcafc11..5aa28ff3d43 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityGate/ProjectQualityGateApp.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityGate/ProjectQualityGateApp.tsx @@ -76,22 +76,21 @@ export default class ProjectQualityGateApp extends React.PureComponent { + return Boolean(results.find(r => r.key === component.key)?.selected); }) - .then(({ results }) => { - return Boolean(results.find(r => r.key === component.key)?.selected); - }) - .catch(() => false); + .catch(() => false); - // If it's NOT selected, it means we're following the system default. - return !selected; - } + // If it's NOT selected, it means we're following the system default. + return !selected; }; fetchQualityGates = async () => { diff --git a/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateAppRenderer-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateAppRenderer-test.tsx index 5ae3cba3cbd..cc1b3a36896 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateAppRenderer-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityGate/__tests__/ProjectQualityGateAppRenderer-test.tsx @@ -52,13 +52,14 @@ it('should render correctly', () => { }); it('should render select options correctly', () => { - return new Promise(resolve => { + return new Promise(resolve => { const wrapper = shallowRender(); const render = wrapper.find(Select).props().optionRenderer; - if (render) { - expect(render({ value: '1', label: 'Gate 1' })).toMatchSnapshot('default'); - resolve(); - } + + expect(render).toBeDefined(); + + expect(render!({ value: '1', label: 'Gate 1' })).toMatchSnapshot('default'); + resolve(); }); }); diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/AddLanguageModal-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/AddLanguageModal-test.tsx index cb40823fea7..60d5960ca89 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/AddLanguageModal-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/AddLanguageModal-test.tsx @@ -29,39 +29,37 @@ it('should render correctly', () => { }); it('should correctly handle changes', () => { - return new Promise(resolve => { - const onSubmit = jest.fn(); - const wrapper = shallowRender({ onSubmit }); - - const langSelect = getLanguageSelect(wrapper); - let profileSelect = getProfileSelect(wrapper); - - // Language select should only have 2; JS is not available. Profile Select - // should have none, as no language is selected yet. - expect(langSelect.props().options).toHaveLength(2); - expect(profileSelect.props().options).toHaveLength(0); - - // Choose CSS. - const langChange = langSelect.props().onChange; - if (langChange) { - langChange({ value: 'css' }); - - // Should now show 2 available profiles. - profileSelect = getProfileSelect(wrapper); - expect(profileSelect.props().options).toHaveLength(2); - - // Choose 1 profile. - const profileChange = profileSelect.props().onChange; - if (profileChange) { - profileChange({ value: 'css2' }); - - submitSimpleModal(wrapper); - expect(onSubmit).toHaveBeenLastCalledWith('css2'); - - resolve(); - } - } - }); + const onSubmit = jest.fn(); + const wrapper = shallowRender({ onSubmit }); + + const langSelect = getLanguageSelect(wrapper); + let profileSelect = getProfileSelect(wrapper); + + // Language select should only have 2; JS is not available. Profile Select + // should have none, as no language is selected yet. + expect(langSelect.props().options).toHaveLength(2); + expect(profileSelect.props().options).toHaveLength(0); + + // Choose CSS. + const langChange = langSelect.props().onChange; + + expect(langChange).toBeDefined(); + + langChange!({ value: 'css' }); + + // Should now show 2 available profiles. + profileSelect = getProfileSelect(wrapper); + expect(profileSelect.props().options).toHaveLength(2); + + // Choose 1 profile. + const profileChange = profileSelect.props().onChange; + + expect(profileChange).toBeDefined(); + + profileChange!({ value: 'css2' }); + + submitSimpleModal(wrapper); + expect(onSubmit).toHaveBeenLastCalledWith('css2'); }); function diveIntoSimpleModal(wrapper: ShallowWrapper) { diff --git a/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/SetQualityProfileModal-test.tsx b/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/SetQualityProfileModal-test.tsx index 3695fe932a0..6e3b4fe9145 100644 --- a/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/SetQualityProfileModal-test.tsx +++ b/server/sonar-web/src/main/js/apps/projectQualityProfiles/components/__tests__/SetQualityProfileModal-test.tsx @@ -32,48 +32,43 @@ it('should render correctly', () => { }); it('should render select options correctly', () => { - return new Promise(resolve => { - const wrapper = shallowRender(); - const render = wrapper.find(Select).props().optionRenderer; - if (render) { - expect(render({ value: 'bar', label: 'Profile 1' })).toMatchSnapshot('default'); - resolve(); - } - }); + const wrapper = shallowRender(); + const render = wrapper.find(Select).props().optionRenderer; + + expect(render).toBeDefined(); + + expect(render!({ value: 'bar', label: 'Profile 1' })).toMatchSnapshot('default'); }); it('should correctly handle changes', () => { - return new Promise(resolve => { - const onSubmit = jest.fn(); - const wrapper = shallowRender({ onSubmit }, false); + const onSubmit = jest.fn(); + const wrapper = shallowRender({ onSubmit }, false); - diveIntoSimpleModal(wrapper) - .find(Radio) - .at(0) - .props() - .onCheck(''); - submitSimpleModal(wrapper); - expect(onSubmit).toHaveBeenLastCalledWith(undefined, 'foo'); + diveIntoSimpleModal(wrapper) + .find(Radio) + .at(0) + .props() + .onCheck(''); + submitSimpleModal(wrapper); + expect(onSubmit).toHaveBeenLastCalledWith(undefined, 'foo'); + + diveIntoSimpleModal(wrapper) + .find(Radio) + .at(1) + .props() + .onCheck(''); + submitSimpleModal(wrapper); + expect(onSubmit).toHaveBeenLastCalledWith('foo', 'foo'); - diveIntoSimpleModal(wrapper) - .find(Radio) - .at(1) - .props() - .onCheck(''); - submitSimpleModal(wrapper); - expect(onSubmit).toHaveBeenLastCalledWith('foo', 'foo'); + const change = diveIntoSimpleModal(wrapper) + .find(Select) + .props().onChange; - const change = diveIntoSimpleModal(wrapper) - .find(Select) - .props().onChange; - if (change) { - change({ value: 'bar' }); - submitSimpleModal(wrapper); - expect(onSubmit).toHaveBeenLastCalledWith('bar', 'foo'); + expect(change).toBeDefined(); - resolve(); - } - }); + change!({ value: 'bar' }); + submitSimpleModal(wrapper); + expect(onSubmit).toHaveBeenLastCalledWith('bar', 'foo'); }); function diveIntoSimpleModal(wrapper: ShallowWrapper) { 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 59588af0b39..529ff1d70fc 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 @@ -50,7 +50,7 @@ jest.mock('../PageSidebar', () => ({ })); jest.mock('../../utils', () => { - const utils = require.requireActual('../../utils'); + const utils = jest.requireActual('../../utils'); utils.fetchProjects = jest.fn(() => Promise.resolve({ projects: [] })); return utils; }); 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 e5bdaaff22d..195587df404 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 @@ -50,20 +50,18 @@ interface Props { type?: string; } -function renderFirstLine(props: Props) { +function renderFirstLine(project: Props['project'], handleFavorite: Props['handleFavorite']) { const { - project: { - analysisDate, - tags, - qualifier, - isFavorite, - key, - name, - measures, - needIssueSync, - visibility - } - } = props; + analysisDate, + tags, + qualifier, + isFavorite, + key, + name, + measures, + needIssueSync, + visibility + } = project; return (
@@ -73,7 +71,7 @@ function renderFirstLine(props: Props) { className="spacer-right" component={key} favorite={isFavorite} - handleFavorite={props.handleFavorite} + handleFavorite={handleFavorite} qualifier={qualifier} /> )} @@ -134,10 +132,12 @@ function renderFirstLine(props: Props) { ); } -function renderSecondLine(props: Props, isNewCode: boolean) { - const { - project: { measures } - } = props; +function renderSecondLine( + currentUser: Props['currentUser'], + project: Props['project'], + isNewCode: boolean +) { + const { measures } = project; return (
- {renderMeasures(props, isNewCode)} + {renderMeasures(currentUser, project, isNewCode)}
{isNewCode @@ -187,11 +187,12 @@ function renderSecondLine(props: Props, isNewCode: boolean) { ); } -function renderMeasures(props: Props, isNewCode: boolean) { - const { - currentUser, - project: { measures, needIssueSync, analysisDate, leakPeriodDate, qualifier, key } - } = props; +function renderMeasures( + currentUser: Props['currentUser'], + project: Props['project'], + isNewCode: boolean +) { + const { measures, needIssueSync, analysisDate, leakPeriodDate, qualifier, key } = project; if (analysisDate && (!isNewCode || leakPeriodDate)) { return ( @@ -202,44 +203,40 @@ function renderMeasures(props: Props, isNewCode: boolean) { newCodeStartingDate={leakPeriodDate} /> ); - } else { - return ( -
- - {isNewCode && analysisDate - ? translate('projects.no_new_code_period', qualifier) - : translate('projects.not_analyzed', qualifier)} - - {qualifier !== ComponentQualifier.Application && - !analysisDate && - isLoggedIn(currentUser) && - !needIssueSync && ( - - {translate('projects.configure_analysis')} - - )} -
- ); } + + return ( +
+ + {isNewCode && analysisDate + ? translate('projects.no_new_code_period', qualifier) + : translate('projects.not_analyzed', qualifier)} + + {qualifier !== ComponentQualifier.Application && + !analysisDate && + isLoggedIn(currentUser) && + !needIssueSync && ( + + {translate('projects.configure_analysis')} + + )} +
+ ); } export default function ProjectCard(props: Props) { - const { - height, - type, - project: { needIssueSync, key } - } = props; + const { currentUser, height, type, project } = props; const isNewCode = type === 'leak'; return (
- {renderFirstLine(props)} - {renderSecondLine(props, isNewCode)} + {renderFirstLine(project, props.handleFavorite)} + {renderSecondLine(currentUser, project, isNewCode)}
); } diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/ChangelogContainer-test.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/ChangelogContainer-test.tsx index ef0577c733e..3a5f0c36159 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/ChangelogContainer-test.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/changelog/__tests__/ChangelogContainer-test.tsx @@ -27,9 +27,7 @@ import { ChangelogContainer } from '../ChangelogContainer'; beforeEach(() => jest.clearAllMocks()); jest.mock('../../../../api/quality-profiles', () => { - const { mockQualityProfileChangelogEvent } = require.requireActual( - '../../../../helpers/testMocks' - ); + const { mockQualityProfileChangelogEvent } = jest.requireActual('../../../../helpers/testMocks'); return { getProfileChangelog: jest.fn().mockResolvedValue({ events: [ diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/ProfilePermissionsFormSelect-test.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/ProfilePermissionsFormSelect-test.tsx index a34e5703e25..3097591015b 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/ProfilePermissionsFormSelect-test.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/__tests__/ProfilePermissionsFormSelect-test.tsx @@ -22,7 +22,7 @@ import * as React from 'react'; import ProfilePermissionsFormSelect from '../ProfilePermissionsFormSelect'; jest.mock('lodash', () => { - const lodash = require.requireActual('lodash'); + const lodash = jest.requireActual('lodash'); lodash.debounce = (fn: Function) => (...args: any[]) => fn(...args); return lodash; }); diff --git a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotOpenInIdeButton-test.tsx.snap b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotOpenInIdeButton-test.tsx.snap index c8e8a39851d..7a96eec6c18 100644 --- a/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotOpenInIdeButton-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/security-hotspots/components/__tests__/__snapshots__/HotspotOpenInIdeButton-test.tsx.snap @@ -6,7 +6,7 @@ exports[`HotspotOpenInIdeButton should handle several IDE 1`] = ` open={false} overlay={ - @@ -31,7 +31,7 @@ exports[`HotspotOpenInIdeButton should handle several IDE: dropdown open 1`] = ` open={true} overlay={ - - @@ -86,4 +86,4 @@ exports[`HotspotOpenInIdeButton should render correctly 1`] = ` /> -`; \ No newline at end of file +`; diff --git a/server/sonar-web/src/main/js/apps/settings/components/__tests__/EmailForm-test.tsx b/server/sonar-web/src/main/js/apps/settings/components/__tests__/EmailForm-test.tsx index 14724260582..a0ae6b993d6 100644 --- a/server/sonar-web/src/main/js/apps/settings/components/__tests__/EmailForm-test.tsx +++ b/server/sonar-web/src/main/js/apps/settings/components/__tests__/EmailForm-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { change, submit, waitAndUpdate } from 'sonar-ui-common/helpers/testUtils'; diff --git a/server/sonar-web/src/main/js/apps/system/__tests__/utils-test.ts b/server/sonar-web/src/main/js/apps/system/__tests__/utils-test.ts index 5290647c0af..331497b902d 100644 --- a/server/sonar-web/src/main/js/apps/system/__tests__/utils-test.ts +++ b/server/sonar-web/src/main/js/apps/system/__tests__/utils-test.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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { mockClusterSysInfo, mockStandaloneSysInfo } from '../../../helpers/testMocks'; import { SystemUpgrade } from '../../../types/system'; import * as u from '../utils'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx index 918f8d2cec9..d300da764ec 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/SourceViewerBase.tsx @@ -223,9 +223,9 @@ export default class SourceViewerBase extends React.PureComponent const firstLine = sources[0]; const lastList = sources[sources.length - 1]; return lineNumber < firstLine.line || lineNumber > lastList.line; - } else { - return true; } + + return true; } fetchComponent() { @@ -383,10 +383,9 @@ export default class SourceViewerBase extends React.PureComponent // request one additional line to define `hasSourcesAfter` to++; - return this.propsLoadSources(this.props.component, from, to, this.props.branchLike).then( - sources => resolve(sources), - onFailLoadSources - ); + this.propsLoadSources(this.props.component, from, to, this.props.branchLike).then(sources => { + resolve(sources); + }, onFailLoadSources); }); }; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerBase-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerBase-test.tsx index 316faf2c5ca..eea4cbd8247 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerBase-test.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/__tests__/SourceViewerBase-test.tsx @@ -146,6 +146,13 @@ it('should load sources after', async () => { expect(wrapper.state().issues).toHaveLength(2); }); +it('should handle no sources when checking ranges', () => { + const wrapper = shallowRender(); + + wrapper.setState({ sources: undefined }); + expect(wrapper.instance().isLineOutsideOfRange(12)).toBe(true); +}); + function shallowRender(overrides: Partial = {}) { return shallow( diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineSCM-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineSCM-test.tsx index aa69190a747..a1493b031e6 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineSCM-test.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/LineSCM-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { LineSCM, LineSCMProps } from '../LineSCM'; diff --git a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/SCMPopup-test.tsx b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/SCMPopup-test.tsx index 9db75c86dc2..c8a5daff578 100644 --- a/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/SCMPopup-test.tsx +++ b/server/sonar-web/src/main/js/components/SourceViewer/components/__tests__/SCMPopup-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { SCMPopup, SCMPopupProps } from '../SCMPopup'; diff --git a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsHistory-test.tsx b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsHistory-test.tsx index be789d1176a..ad83117996c 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsHistory-test.tsx +++ b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsHistory-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { parseDate } from 'sonar-ui-common/helpers/dates'; diff --git a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltips-test.tsx b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltips-test.tsx index 85cdb305288..98d8bf9d83c 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltips-test.tsx +++ b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltips-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { parseDate } from 'sonar-ui-common/helpers/dates'; diff --git a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltipsContentCoverage-test.tsx b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltipsContentCoverage-test.tsx index 190ba4f0844..f088d70aadc 100644 --- a/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltipsContentCoverage-test.tsx +++ b/server/sonar-web/src/main/js/components/activity-graph/__tests__/GraphsTooltipsContentCoverage-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { shallow } from 'enzyme'; import * as React from 'react'; import { parseDate } from 'sonar-ui-common/helpers/dates'; 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 83d28c9e19c..d9f53bc3ef8 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 @@ -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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import * as dates from 'sonar-ui-common/helpers/dates'; import { MetricKey } from '../../../types/metrics'; import { GraphType, Serie } from '../../../types/project-activity'; diff --git a/server/sonar-web/src/main/js/components/common/BranchStatus.tsx b/server/sonar-web/src/main/js/components/common/BranchStatus.tsx index 5ebe12fe6ea..91d80dab3e3 100644 --- a/server/sonar-web/src/main/js/components/common/BranchStatus.tsx +++ b/server/sonar-web/src/main/js/components/common/BranchStatus.tsx @@ -23,13 +23,16 @@ import Level from 'sonar-ui-common/components/ui/Level'; import { getBranchStatusByBranchLike, Store } from '../../store/rootReducer'; import { BranchLike } from '../../types/branch-like'; -interface Props { +interface ExposedProps { branchLike: BranchLike; component: string; +} + +interface BranchStatusProps { status?: string; } -export function BranchStatus({ status }: Props) { +export function BranchStatus({ status }: BranchStatusProps) { if (!status) { return null; } @@ -37,7 +40,8 @@ export function BranchStatus({ status }: Props) { return ; } -const mapStateToProps = (state: Store, { branchLike, component }: Props) => { +const mapStateToProps = (state: Store, props: ExposedProps) => { + const { branchLike, component } = props; const { status } = getBranchStatusByBranchLike(state, component, branchLike); return { status }; }; diff --git a/server/sonar-web/src/main/js/components/common/__tests__/AnalysisWarningsModal-test.tsx b/server/sonar-web/src/main/js/components/common/__tests__/AnalysisWarningsModal-test.tsx index 9f34d4ed538..6514e28297a 100644 --- a/server/sonar-web/src/main/js/components/common/__tests__/AnalysisWarningsModal-test.tsx +++ b/server/sonar-web/src/main/js/components/common/__tests__/AnalysisWarningsModal-test.tsx @@ -59,29 +59,24 @@ it('should fetch task warnings if it has to', async () => { expect(getTask).toBeCalledWith('abcd1234', ['warnings']); }); -it('should correctly handle dismissing warnings', () => { - return new Promise(resolve => { - const onWarningDismiss = jest.fn(); - const wrapper = shallowRender({ - componentKey: 'foo', - onWarningDismiss, - warnings: [mockTaskWarning({ key: 'bar', dismissable: true })] - }); - - const click = wrapper.find('ButtonLink.link-base-color').props().onClick; - if (click) { - click(mockEvent()); - - waitAndUpdate(wrapper).then( - () => { - expect(dismissAnalysisWarning).toBeCalledWith('foo', 'bar'); - expect(onWarningDismiss).toBeCalled(); - resolve(); - }, - () => {} - ); - } +it('should correctly handle dismissing warnings', async () => { + const onWarningDismiss = jest.fn(); + const wrapper = shallowRender({ + componentKey: 'foo', + onWarningDismiss, + warnings: [mockTaskWarning({ key: 'bar', dismissable: true })] }); + + const click = wrapper.find('ButtonLink.link-base-color').props().onClick; + + expect(click).toBeDefined(); + + click!(mockEvent()); + + await waitAndUpdate(wrapper); + + expect(dismissAnalysisWarning).toBeCalledWith('foo', 'bar'); + expect(onWarningDismiss).toBeCalled(); }); it('should correctly handle updates', async () => { diff --git a/server/sonar-web/src/main/js/components/common/__tests__/BranchStatus-test.tsx b/server/sonar-web/src/main/js/components/common/__tests__/BranchStatus-test.tsx index 2072a60faad..8f20cc14cfe 100644 --- a/server/sonar-web/src/main/js/components/common/__tests__/BranchStatus-test.tsx +++ b/server/sonar-web/src/main/js/components/common/__tests__/BranchStatus-test.tsx @@ -19,7 +19,6 @@ */ import { shallow } from 'enzyme'; import * as React from 'react'; -import { mockBranch } from '../../../helpers/mocks/branch-like'; import { BranchStatus } from '../BranchStatus'; it('should render correctly', () => { @@ -29,5 +28,5 @@ it('should render correctly', () => { }); function shallowRender(status?: string) { - return shallow(); + return shallow(); } diff --git a/server/sonar-web/src/main/js/components/docs/DocCollapsibleBlock.tsx b/server/sonar-web/src/main/js/components/docs/DocCollapsibleBlock.tsx index eda55b285b5..9af17ff06a6 100644 --- a/server/sonar-web/src/main/js/components/docs/DocCollapsibleBlock.tsx +++ b/server/sonar-web/src/main/js/components/docs/DocCollapsibleBlock.tsx @@ -38,6 +38,7 @@ export default class DocCollapsibleBlock extends React.PureComponent<{}, State>
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 d2eb9298eef..e49cf8710df 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 @@ -45,17 +45,17 @@ Risus placerat, efficitur enim ut, pellentesque sem. Mauris non lorem auctor, co `; jest.mock('remark', () => { - const remark = require.requireActual('remark'); + const remark = jest.requireActual('remark'); return { default: remark }; }); jest.mock('remark-react', () => { - const remarkReact = require.requireActual('remark-react'); + const remarkReact = jest.requireActual('remark-react'); return { default: remarkReact }; }); jest.mock('lodash', () => { - const lodash = require.requireActual('lodash'); + const lodash = jest.requireActual('lodash'); lodash.debounce = (fn: any) => fn; return lodash; }); diff --git a/server/sonar-web/src/main/js/components/docs/__tests__/__snapshots__/DocCollapsibleBlock-test.tsx.snap b/server/sonar-web/src/main/js/components/docs/__tests__/__snapshots__/DocCollapsibleBlock-test.tsx.snap index 11bc4d073e2..7d1afc88f86 100644 --- a/server/sonar-web/src/main/js/components/docs/__tests__/__snapshots__/DocCollapsibleBlock-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/docs/__tests__/__snapshots__/DocCollapsibleBlock-test.tsx.snap @@ -12,6 +12,7 @@ exports[`should render a collapsible block 1`] = ` className="link-no-underline" href="#" onClick={[Function]} + role="button" > { - const measures = require.requireActual('../../../helpers/measures'); + const measures = jest.requireActual('../../../helpers/measures'); measures.getRatingTooltip = jest.fn(() => 'tooltip'); return measures; }); diff --git a/server/sonar-web/src/main/js/components/tutorials/components/RenderOptions.tsx b/server/sonar-web/src/main/js/components/tutorials/components/RenderOptions.tsx index e6fee8deee3..84659248d5b 100644 --- a/server/sonar-web/src/main/js/components/tutorials/components/RenderOptions.tsx +++ b/server/sonar-web/src/main/js/components/tutorials/components/RenderOptions.tsx @@ -32,6 +32,7 @@ export interface RenderOptionsProps { export default function RenderOptions({ checked, + name, onCheck, optionLabelKey, options, diff --git a/server/sonar-web/src/main/js/components/tutorials/components/__tests__/__snapshots__/RenderOptions-test.tsx.snap b/server/sonar-web/src/main/js/components/tutorials/components/__tests__/__snapshots__/RenderOptions-test.tsx.snap index 535f9f58721..cbfa048a20c 100644 --- a/server/sonar-web/src/main/js/components/tutorials/components/__tests__/__snapshots__/RenderOptions-test.tsx.snap +++ b/server/sonar-web/src/main/js/components/tutorials/components/__tests__/__snapshots__/RenderOptions-test.tsx.snap @@ -6,7 +6,7 @@ exports[`should render correctly: default 1`] = ` > ({ - ...require.requireActual('../branches'), + ...jest.requireActual('../branches'), registerBranchStatusAction: jest.fn() })); jest.mock('../../api/quality-gates', () => { - const { mockQualityGateProjectStatus } = require.requireActual( - '../../helpers/mocks/quality-gates' - ); + const { mockQualityGateProjectStatus } = jest.requireActual('../../helpers/mocks/quality-gates'); return { getQualityGateProjectStatus: jest.fn().mockResolvedValue( mockQualityGateProjectStatus({ diff --git a/server/sonar-web/src/main/js/store/__tests__/rootReducers-test.tsx b/server/sonar-web/src/main/js/store/__tests__/rootReducers-test.tsx index 92730bcf321..9829ef6c19d 100644 --- a/server/sonar-web/src/main/js/store/__tests__/rootReducers-test.tsx +++ b/server/sonar-web/src/main/js/store/__tests__/rootReducers-test.tsx @@ -23,7 +23,7 @@ import { getBranchStatusByBranchLike, Store } from '../rootReducer'; jest.mock('../branches', () => { return { - ...require.requireActual('../branches'), + ...jest.requireActual('../branches'), getBranchStatusByBranchLike: jest.fn() }; }); diff --git a/server/sonar-web/src/main/js/store/__tests__/users-test.tsx b/server/sonar-web/src/main/js/store/__tests__/users-test.tsx index d8c5b32f9fe..cf2615fd0ab 100644 --- a/server/sonar-web/src/main/js/store/__tests__/users-test.tsx +++ b/server/sonar-web/src/main/js/store/__tests__/users-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. */ -/* eslint-disable sonarjs/no-duplicate-string */ + import { mockCurrentUser, mockLoggedInUser, mockUser } from '../../helpers/testMocks'; import reducer, { getCurrentUser, diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index 6c38e645f1e..bb069729456 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -1069,10 +1069,10 @@ "@babel/plugin-transform-react-jsx-self" "^7.8.3" "@babel/plugin-transform-react-jsx-source" "^7.8.3" -"@babel/runtime-corejs3@^7.8.3": - version "7.8.7" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime-corejs3/-/runtime-corejs3-7.8.7.tgz#8209d9dff2f33aa2616cb319c83fe159ffb07b8c" - integrity sha1-ggnZ3/LzOqJhbLMZyD/hWf+we4w= +"@babel/runtime-corejs3@^7.10.2": + version "7.12.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime-corejs3/-/runtime-corejs3-7.12.5.tgz#ffee91da0eb4c6dae080774e94ba606368e414f4" + integrity sha1-/+6R2g60xtrggHdOlLpgY2jkFPQ= dependencies: core-js-pure "^3.0.0" regenerator-runtime "^0.13.4" @@ -1084,6 +1084,13 @@ dependencies: regenerator-runtime "^0.13.2" +"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2": + version "7.12.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime/-/runtime-7.12.5.tgz#410e7e487441e1b360c29be715d870d9b985882e" + integrity sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4= + dependencies: + regenerator-runtime "^0.13.4" + "@babel/runtime@^7.3.4": version "7.7.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime/-/runtime-7.7.7.tgz#194769ca8d6d7790ec23605af9ee3e42a0aa79cf" @@ -1098,7 +1105,7 @@ dependencies: regenerator-runtime "^0.13.2" -"@babel/runtime@^7.4.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.6.3", "@babel/runtime@^7.8.4": version "7.8.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/@babel/runtime/-/runtime-7.8.7.tgz#8fefce9802db54881ba59f90bb28719b4996324d" integrity sha1-j+/OmALbVIgbpZ+Quyhxm0mWMk0= @@ -1319,6 +1326,22 @@ resolved "https://repox.jfrog.io/repox/api/npm/npm/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" integrity sha1-ju2YLi7m9/TkTCU+EpYpgHke/UY= +"@eslint/eslintrc@^0.2.2": + version "0.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@eslint/eslintrc/-/eslintrc-0.2.2.tgz#d01fc791e2fc33e88a29d6f3dc7e93d0cd784b76" + integrity sha1-0B/HkeL8M+iKKdbz3H6T0M14S3Y= + dependencies: + ajv "^6.12.4" + debug "^4.1.1" + espree "^7.3.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.2.1" + js-yaml "^3.13.1" + lodash "^4.17.19" + minimatch "^3.0.4" + strip-json-comments "^3.1.1" + "@istanbuljs/load-nyc-config@^1.0.0": version "1.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz#10602de5570baea82f8afbfa2630b24e7a8cfe5b" @@ -1500,6 +1523,27 @@ dependencies: unist-util-visit "^1.3.0" +"@nodelib/fs.scandir@2.1.4": + version "2.1.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69" + integrity sha1-1LNUml213iaD4MEHGrTxQJBLv2k= + dependencies: + "@nodelib/fs.stat" "2.0.4" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.4", "@nodelib/fs.stat@^2.0.2": + version "2.0.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz#a3f2dd61bab43b8db8fa108a121cfffe4c676655" + integrity sha1-o/LdYbq0O424+hCKEhz//kxnZlU= + +"@nodelib/fs.walk@^1.2.3": + version "1.2.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz#cce9396b30aa5afe9e3756608f5831adcb53d063" + integrity sha1-zOk5azCqWv6eN1Zgj1gxrctT0GM= + dependencies: + "@nodelib/fs.scandir" "2.1.4" + fastq "^1.6.0" + "@samverschueren/stream-to-observable@^0.3.0": version "0.3.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz#ecdf48d532c58ea477acfcab80348424f8d0662f" @@ -1603,11 +1647,6 @@ "@types/cheerio" "*" "@types/react" "*" -"@types/eslint-visitor-keys@^1.0.0": - version "1.0.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" - integrity sha1-HuMNeVRMqE1o1LPNsK9PIFZj3S0= - "@types/events@*": version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" @@ -1669,6 +1708,11 @@ resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" integrity sha1-vf1p1h5GTcyBslFZwnDXWnPBpjY= +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= + "@types/keymaster@1.6.28": version "1.6.28" resolved "https://repox.jfrog.io/repox/api/npm/npm/@types/keymaster/-/keymaster-1.6.28.tgz#093fc6fe49deff4ee17d36935a49230edb1c935f" @@ -1808,60 +1852,77 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/experimental-utils@2.24.0": - version "2.24.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.24.0.tgz#a5cb2ed89fedf8b59638dc83484eb0c8c35e1143" - integrity sha1-pcsu2J/t+LWWONyDSE6wyMNeEUM= +"@typescript-eslint/eslint-plugin@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.13.0.tgz#5f580ea520fa46442deb82c038460c3dd3524bb6" + integrity sha1-X1gOpSD6RkQt64LAOEYMPdNSS7Y= dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.24.0" - eslint-scope "^5.0.0" + "@typescript-eslint/experimental-utils" "4.13.0" + "@typescript-eslint/scope-manager" "4.13.0" + debug "^4.1.1" + functional-red-black-tree "^1.0.1" + lodash "^4.17.15" + regexpp "^3.0.0" + semver "^7.3.2" + tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@^2.5.0": - version "2.23.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-2.23.0.tgz#5d2261c8038ec1698ca4435a8da479c661dc9242" - integrity sha1-XSJhyAOOwWmMpENajaR5xmHckkI= +"@typescript-eslint/experimental-utils@4.13.0", "@typescript-eslint/experimental-utils@^4.0.1": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/experimental-utils/-/experimental-utils-4.13.0.tgz#9dc9ab375d65603b43d938a0786190a0c72be44e" + integrity sha1-ncmrN11lYDtD2TigeGGQoMcr5E4= dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.23.0" + "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/typescript-estree" "4.13.0" eslint-scope "^5.0.0" + eslint-utils "^2.0.0" -"@typescript-eslint/parser@2.24.0": - version "2.24.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/parser/-/parser-2.24.0.tgz#2cf0eae6e6dd44d162486ad949c126b887f11eb8" - integrity sha1-LPDq5ubdRNFiSGrZScEmuIfxHrg= +"@typescript-eslint/parser@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/parser/-/parser-4.13.0.tgz#c413d640ea66120cfcc37f891e8cb3fd1c9d247d" + integrity sha1-xBPWQOpmEgz8w3+JHoyz/RydJH0= dependencies: - "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "2.24.0" - "@typescript-eslint/typescript-estree" "2.24.0" - eslint-visitor-keys "^1.1.0" + "@typescript-eslint/scope-manager" "4.13.0" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/typescript-estree" "4.13.0" + debug "^4.1.1" -"@typescript-eslint/typescript-estree@2.23.0": - version "2.23.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.23.0.tgz#d355960fab96bd550855488dcc34b9a4acac8d36" - integrity sha1-01WWD6uWvVUIVUiNzDS5pKysjTY= +"@typescript-eslint/scope-manager@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/scope-manager/-/scope-manager-4.13.0.tgz#5b45912a9aa26b29603d8fa28f5e09088b947141" + integrity sha1-W0WRKpqiaylgPY+ij14JCIuUcUE= dependencies: - debug "^4.1.1" - eslint-visitor-keys "^1.1.0" - glob "^7.1.6" - is-glob "^4.0.1" - lodash "^4.17.15" - semver "^6.3.0" - tsutils "^3.17.1" + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/visitor-keys" "4.13.0" + +"@typescript-eslint/types@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/types/-/types-4.13.0.tgz#6a7c6015a59a08fbd70daa8c83dfff86250502f8" + integrity sha1-anxgFaWaCPvXDaqMg9//hiUFAvg= -"@typescript-eslint/typescript-estree@2.24.0": - version "2.24.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-2.24.0.tgz#38bbc8bb479790d2f324797ffbcdb346d897c62a" - integrity sha1-OLvIu0eXkNLzJHl/+82zRtiXxio= +"@typescript-eslint/typescript-estree@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/typescript-estree/-/typescript-estree-4.13.0.tgz#cf6e2207c7d760f5dfd8d18051428fadfc37b45e" + integrity sha1-z24iB8fXYPXf2NGAUUKPrfw3tF4= dependencies: + "@typescript-eslint/types" "4.13.0" + "@typescript-eslint/visitor-keys" "4.13.0" debug "^4.1.1" - eslint-visitor-keys "^1.1.0" - glob "^7.1.6" + globby "^11.0.1" is-glob "^4.0.1" lodash "^4.17.15" - semver "^6.3.0" + semver "^7.3.2" tsutils "^3.17.1" +"@typescript-eslint/visitor-keys@4.13.0": + version "4.13.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/@typescript-eslint/visitor-keys/-/visitor-keys-4.13.0.tgz#9acb1772d3b3183182b6540d3734143dce9476fe" + integrity sha1-mssXctOzGDGCtlQNNzQUPc6Udv4= + dependencies: + "@typescript-eslint/types" "4.13.0" + eslint-visitor-keys "^2.0.0" + "@webassemblyjs/ast@1.8.5": version "1.8.5" resolved "https://repox.jfrog.io/repox/api/npm/npm/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359" @@ -2044,10 +2105,10 @@ acorn-globals@^4.3.2: acorn "^6.0.1" acorn-walk "^6.0.1" -acorn-jsx@^5.2.0: - version "5.2.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe" - integrity sha1-TGYGkXPW/daO2FI5/CViJhgrLr4= +acorn-jsx@^5.3.1: + version "5.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn-jsx/-/acorn-jsx-5.3.1.tgz#fc8661e11b7ac1539c47dbfea2e72b3af34d267b" + integrity sha1-/IZh4Rt6wVOcR9v+oucrOvNNJns= acorn-walk@^6.0.1: version "6.2.0" @@ -2074,6 +2135,11 @@ acorn@^7.1.0, acorn@^7.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn/-/acorn-7.1.1.tgz#e35668de0b402f359de515c5482a1ab9f89a69bf" integrity sha1-41Zo3gtALzWd5RXFSCoaufiaab8= +acorn@^7.4.0: + version "7.4.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo= + address@1.0.2: version "1.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/address/-/address-1.0.2.tgz#480081e82b587ba319459fef512f516fe03d58af" @@ -2120,7 +2186,7 @@ ajv-keywords@^3.4.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da" integrity sha1-75FuJxxkrBIXH9g4TqrmsjRYVNo= -ajv@^6.1.0, ajv@^6.5.5, ajv@^6.9.1: +ajv@^6.1.0, ajv@^6.5.5: version "6.10.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1" integrity sha1-kNDVRDnaWHzX6EO/twRfUL0ivfE= @@ -2140,6 +2206,26 @@ ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.0: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^6.12.4: + version "6.12.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ= + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^7.0.2: + version "7.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ajv/-/ajv-7.0.3.tgz#13ae747eff125cafb230ac504b2406cf371eece2" + integrity sha1-E650fv8SXK+yMKxQSyQGzzce7OI= + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + alphanum-sort@^1.0.0: version "1.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/alphanum-sort/-/alphanum-sort-1.0.2.tgz#97a1119649b211ad33691d9f9f486a8ec9fbe0a3" @@ -2160,6 +2246,11 @@ ansi-colors@^3.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" integrity sha1-46PaS/uubIapwoViXeEkojQCb78= +ansi-colors@^4.1.1: + version "4.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" + integrity sha1-y7muJWv3UK8eqzRPIpqif+lLo0g= + ansi-escapes@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" @@ -2263,13 +2354,13 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -aria-query@^3.0.0: - version "3.0.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/aria-query/-/aria-query-3.0.0.tgz#65b3fcc1ca1155a8c9ae64d6eee297f15d5133cc" - integrity sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w= +aria-query@^4.2.2: + version "4.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" + integrity sha1-DSymyazrVriXfp/tau1+FbvS+Ds= dependencies: - ast-types-flow "0.0.7" - commander "^2.11.0" + "@babel/runtime" "^7.10.2" + "@babel/runtime-corejs3" "^7.10.2" arr-diff@^4.0.0: version "4.0.0" @@ -2311,14 +2402,6 @@ array-flatten@^2.1.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" integrity sha1-JO+AoowaiTYX4hSbDG0NeIKTsJk= -array-includes@^3.0.3: - version "3.0.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" - integrity sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0= - dependencies: - define-properties "^1.1.2" - es-abstract "^1.7.0" - array-includes@^3.1.1: version "3.1.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/array-includes/-/array-includes-3.1.1.tgz#cdd67e6852bdf9c1215460786732255ed2459348" @@ -2328,6 +2411,17 @@ array-includes@^3.1.1: es-abstract "^1.17.0" is-string "^1.0.5" +array-includes@^3.1.2: + version "3.1.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/array-includes/-/array-includes-3.1.2.tgz#a8db03e0b88c8c6aeddc49cb132f9bcab4ebf9c8" + integrity sha1-qNsD4LiMjGrt3EnLEy+byrTr+cg= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + get-intrinsic "^1.0.1" + is-string "^1.0.5" + array-map@~0.0.0: version "0.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662" @@ -2345,6 +2439,11 @@ array-union@^1.0.1: dependencies: array-uniq "^1.0.1" +array-union@^2.1.0: + version "2.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha1-t5hCCtvrHego2ErNii4j0+/oXo0= + array-uniq@^1.0.1: version "1.0.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" @@ -2363,7 +2462,7 @@ array.prototype.find@^2.1.0: define-properties "^1.1.3" es-abstract "^1.17.4" -array.prototype.flat@^1.2.1, array.prototype.flat@^1.2.3: +array.prototype.flat@^1.2.3: version "1.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz#0de82b426b0318dbfdb940089e38b043d37f6c7b" integrity sha1-DegrQmsDGNv9uUAInjiwQ9N/bHs= @@ -2371,6 +2470,16 @@ array.prototype.flat@^1.2.1, array.prototype.flat@^1.2.3: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" +array.prototype.flatmap@^1.2.3: + version "1.2.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz#94cfd47cc1556ec0747d97f7c7738c58122004c9" + integrity sha1-lM/UfMFVbsB0fZf3x3OMWBIgBMk= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + function-bind "^1.1.1" + asap@~2.0.3: version "2.0.6" resolved "https://repox.jfrog.io/repox/api/npm/npm/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" @@ -2410,7 +2519,7 @@ assign-symbols@^1.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c= -ast-types-flow@0.0.7, ast-types-flow@^0.0.7: +ast-types-flow@^0.0.7: version "0.0.7" resolved "https://repox.jfrog.io/repox/api/npm/npm/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad" integrity sha1-9wtzXGvKGlycItmCw+Oef+ujva0= @@ -2420,6 +2529,11 @@ astral-regex@^1.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" integrity sha1-bIw/uCfdQ+45GPJ7gngqt2WKb9k= +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha1-SDFDxWeu7UeFdZwIZXhtx319LjE= + async-each@^1.0.1: version "1.0.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" @@ -2470,12 +2584,15 @@ aws4@^1.8.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" integrity sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8= -axobject-query@^2.0.2: - version "2.0.2" - resolved "https://repox.jfrog.io/repox/api/npm/npm/axobject-query/-/axobject-query-2.0.2.tgz#ea187abe5b9002b377f925d8bf7d1c561adf38f9" - integrity sha1-6hh6vluQArN3+SXYv30cVhrfOPk= - dependencies: - ast-types-flow "0.0.7" +axe-core@^4.0.2: + version "4.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/axe-core/-/axe-core-4.1.1.tgz#70a7855888e287f7add66002211a423937063eaf" + integrity sha1-cKeFWIjih/et1mACIRpCOTcGPq8= + +axobject-query@^2.2.0: + version "2.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" + integrity sha1-lD1H4QwLcEqkInXiDt83ImSJib4= babel-code-frame@6.22.0: version "6.22.0" @@ -2953,6 +3070,14 @@ cache-base@^1.0.1: union-value "^1.0.0" unset-value "^1.0.0" +call-bind@^1.0.0: + version "1.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha1-sdTonmiBGcPJqQOtMKuy9qkZvjw= + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + caller-callsite@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" @@ -3051,7 +3176,7 @@ chalk@3.0.0, chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.0.1, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2: version "2.4.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ= @@ -3060,6 +3185,14 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4 escape-string-regexp "^1.0.5" supports-color "^5.3.0" +chalk@^4.0.0: + version "4.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" + integrity sha1-ThSHCmGNni7dl92DRf2dncMVZGo= + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + character-entities-html4@^1.0.0: version "1.1.4" resolved "https://repox.jfrog.io/repox/api/npm/npm/character-entities-html4/-/character-entities-html4-1.1.4.tgz#0e64b0a3753ddbf1fdc044c5fd01d0199a02e125" @@ -3085,11 +3218,6 @@ chardet@^0.4.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" integrity sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I= -chardet@^0.7.0: - version "0.7.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha1-kAlISfCTfy7twkJdDSip5fDLrZ4= - check-types@^8.0.3: version "8.0.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/check-types/-/check-types-8.0.3.tgz#3356cca19c889544f2d7a95ed49ce508a0ecf552" @@ -3206,13 +3334,6 @@ cli-cursor@^2.0.0, cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha1-JkMFp65JDR0Dvwybp8kl0XU68wc= - dependencies: - restore-cursor "^3.1.0" - cli-truncate@^0.2.1: version "0.2.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" @@ -3357,7 +3478,7 @@ commander@2.17.x: resolved "https://repox.jfrog.io/repox/api/npm/npm/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" integrity sha1-vXerfebelCBc6sxy8XFtKfIKd78= -commander@^2.11.0, commander@^2.14.1, commander@^2.18.0, commander@^2.19.0, commander@^2.9.0: +commander@^2.14.1, commander@^2.18.0, commander@^2.19.0, commander@^2.9.0: version "2.20.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422" integrity sha1-1YuytcHuj4ew00ACfp6U4iLFpCI= @@ -3620,7 +3741,7 @@ cross-spawn@5.1.0, cross-spawn@^5.0.1: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-spawn@^6.0.0: version "6.0.5" resolved "https://repox.jfrog.io/repox/api/npm/npm/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha1-Sl7Hxk364iw6FBJNus3uhG2Ay8Q= @@ -3640,6 +3761,15 @@ cross-spawn@^7.0.0: shebang-command "^2.0.0" which "^2.0.1" +cross-spawn@^7.0.2: + version "7.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha1-9zqFudXUHQRVUcF34ogtSshXKKY= + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + crypto-browserify@^3.11.0: version "3.12.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -3991,10 +4121,10 @@ d3-zoom@1.8.3: d3-selection "1" d3-transition "1" -damerau-levenshtein@^1.0.4: - version "1.0.5" - resolved "https://repox.jfrog.io/repox/api/npm/npm/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz#780cf7144eb2e8dbd1c3bb83ae31100ccc31a414" - integrity sha1-eAz3FE6y6NvRw7uDrjEQDMwxpBQ= +damerau-levenshtein@^1.0.6: + version "1.0.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz#143c1641cb3d85c60c32329e26899adea8701791" + integrity sha1-FDwWQcs9hcYMMjKeJoma3qhwF5E= dashdash@^1.12.0: version "1.14.1" @@ -4068,7 +4198,7 @@ deep-extend@^0.6.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw= -deep-is@~0.1.3: +deep-is@^0.1.3, deep-is@~0.1.3: version "0.1.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= @@ -4220,6 +4350,13 @@ dir-glob@^2.0.0: dependencies: path-type "^3.0.0" +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha1-Vtv3PZkqSpO6FYT0U0Bj/S5BcX8= + dependencies: + path-type "^4.0.0" + discontinuous-range@1.0.0: version "1.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a" @@ -4420,16 +4557,16 @@ elliptic@^6.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-6.1.1.tgz#c6cd0ec1b0642e2a3c67a1137efc5e796da4f88e" integrity sha1-xs0OwbBkLio8Z6ETfvxeeW2k+I4= -emoji-regex@^7.0.1, emoji-regex@^7.0.2: - version "7.0.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" - integrity sha1-kzoEBShgyF6DwSJHnEdIqOTHIVY= - emoji-regex@^8.0.0: version "8.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc= +emoji-regex@^9.0.0: + version "9.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/emoji-regex/-/emoji-regex-9.2.0.tgz#a26da8e832b16a9753309f25e35e3c0efb9a066a" + integrity sha1-om2o6DKxapdTMJ8l4148DvuaBmo= + emojis-list@^2.0.0: version "2.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" @@ -4472,6 +4609,13 @@ enhanced-resolve@^4.0.0, enhanced-resolve@^4.1.0: memory-fs "^0.4.0" tapable "^1.0.0" +enquirer@^2.3.5: + version "2.3.6" + resolved "https://repox.jfrog.io/repox/api/npm/npm/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha1-Kn/l3WNKHkElqXXsmU/1RW3Dc00= + dependencies: + ansi-colors "^4.1.1" + entities@^1.1.1, entities@~1.1.1: version "1.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" @@ -4562,7 +4706,7 @@ error-ex@^1.2.0, error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" -es-abstract@^1.12.0, es-abstract@^1.5.1, es-abstract@^1.7.0: +es-abstract@^1.12.0, es-abstract@^1.5.1: version "1.13.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/es-abstract/-/es-abstract-1.13.0.tgz#ac86145fdd5099d8dd49558ccba2eaf9b88e24e9" integrity sha1-rIYUX91QmdjdSVWMy6Lq+biOJOk= @@ -4591,6 +4735,24 @@ es-abstract@^1.17.0, es-abstract@^1.17.0-next.1, es-abstract@^1.17.4: string.prototype.trimleft "^2.1.1" string.prototype.trimright "^2.1.1" +es-abstract@^1.18.0-next.1: + version "1.18.0-next.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/es-abstract/-/es-abstract-1.18.0-next.1.tgz#6e3a0a4bda717e5023ab3b8e90bec36108d22c68" + integrity sha1-bjoKS9pxflAjqzuOkL7DYQjSLGg= + dependencies: + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + is-callable "^1.2.2" + is-negative-zero "^2.0.0" + is-regex "^1.1.1" + object-inspect "^1.8.0" + object-keys "^1.1.1" + object.assign "^4.1.1" + string.prototype.trimend "^1.0.1" + string.prototype.trimstart "^1.0.1" + es-to-primitive@^1.2.0: version "1.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377" @@ -4636,99 +4798,96 @@ escodegen@^1.11.1: optionalDependencies: source-map "~0.6.1" -eslint-config-sonarqube@0.6.1: - version "0.6.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-config-sonarqube/-/eslint-config-sonarqube-0.6.1.tgz#6779dfd643341e9688c4181800403bd26544d584" - integrity sha1-Z3nf1kM0HpaIxBgYAEA70mVE1YQ= +eslint-config-sonarqube@1.0.0: + version "1.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-config-sonarqube/-/eslint-config-sonarqube-1.0.0.tgz#bed57fd4c4684e1094ca9799ecee2ed58493eeda" + integrity sha1-vtV/1MRoThCUypeZ7O4u1YST7to= -eslint-import-resolver-node@^0.3.2: - version "0.3.2" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a" - integrity sha1-WPFfuDm40FdsqYBBNHaqskcttmo= +eslint-import-resolver-node@^0.3.3: + version "0.3.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz#85ffa81942c25012d8231096ddf679c03042c717" + integrity sha1-hf+oGULCUBLYIxCW3fZ5wDBCxxc= dependencies: debug "^2.6.9" - resolve "^1.5.0" + resolve "^1.13.1" -eslint-module-utils@^2.4.1: - version "2.5.2" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz#7878f7504824e1b857dd2505b59a8e5eda26a708" - integrity sha1-eHj3UEgk4bhX3SUFtZqOXtompwg= +eslint-module-utils@^2.6.0: + version "2.6.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz#579ebd094f56af7797d19c9866c9c9486629bfa6" + integrity sha1-V569CU9Wr3eX0ZyYZsnJSGYpv6Y= dependencies: debug "^2.6.9" pkg-dir "^2.0.0" -eslint-plugin-import@2.20.1: - version "2.20.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz#802423196dcb11d9ce8435a5fc02a6d3b46939b3" - integrity sha1-gCQjGW3LEdnOhDWl/AKm07RpObM= +eslint-plugin-import@2.22.0: + version "2.22.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-import/-/eslint-plugin-import-2.22.0.tgz#92f7736fe1fde3e2de77623c838dd992ff5ffb7e" + integrity sha1-kvdzb+H94+Led2I8g43Zkv9f+34= dependencies: - array-includes "^3.0.3" - array.prototype.flat "^1.2.1" + array-includes "^3.1.1" + array.prototype.flat "^1.2.3" contains-path "^0.1.0" debug "^2.6.9" doctrine "1.5.0" - eslint-import-resolver-node "^0.3.2" - eslint-module-utils "^2.4.1" + eslint-import-resolver-node "^0.3.3" + eslint-module-utils "^2.6.0" has "^1.0.3" minimatch "^3.0.4" - object.values "^1.1.0" + object.values "^1.1.1" read-pkg-up "^2.0.0" - resolve "^1.12.0" + resolve "^1.17.0" + tsconfig-paths "^3.9.0" -eslint-plugin-jest@23.8.2: - version "23.8.2" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jest/-/eslint-plugin-jest-23.8.2.tgz#6f28b41c67ef635f803ebd9e168f6b73858eb8d4" - integrity sha1-byi0HGfvY1+APr2eFo9rc4WOuNQ= +eslint-plugin-jest@24.1.0: + version "24.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jest/-/eslint-plugin-jest-24.1.0.tgz#6708037d7602e5288ce877fd0103f329dc978361" + integrity sha1-ZwgDfXYC5SiM6Hf9AQPzKdyXg2E= dependencies: - "@typescript-eslint/experimental-utils" "^2.5.0" + "@typescript-eslint/experimental-utils" "^4.0.1" -eslint-plugin-jsx-a11y@6.2.3: - version "6.2.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa" - integrity sha1-uHKgnV3lGvcKl9se6n3JMwQ3CKo= +eslint-plugin-jsx-a11y@6.4.0: + version "6.4.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.0.tgz#64485c4d8392cb21086dbb08030505accc041158" + integrity sha1-ZEhcTYOSyyEIbbsIAwUFrMwEEVg= dependencies: - "@babel/runtime" "^7.4.5" - aria-query "^3.0.0" - array-includes "^3.0.3" + "@babel/runtime" "^7.11.2" + aria-query "^4.2.2" + array-includes "^3.1.1" ast-types-flow "^0.0.7" - axobject-query "^2.0.2" - damerau-levenshtein "^1.0.4" - emoji-regex "^7.0.2" + axe-core "^4.0.2" + axobject-query "^2.2.0" + damerau-levenshtein "^1.0.6" + emoji-regex "^9.0.0" has "^1.0.3" - jsx-ast-utils "^2.2.1" + jsx-ast-utils "^3.0.0" + language-tags "^1.0.5" eslint-plugin-promise@4.2.1: version "4.2.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz#845fd8b2260ad8f82564c1222fce44ad71d9418a" integrity sha1-hF/YsiYK2PglZMEiL85ErXHZQYo= -eslint-plugin-react-hooks@2.5.0: - version "2.5.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.0.tgz#c50ab7ca5945ce6d1cf8248d9e185c80b54171b6" - integrity sha1-xQq3yllFzm0c+CSNnhhcgLVBcbY= +eslint-plugin-react-hooks@4.2.0: + version "4.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" + integrity sha1-jCKcJo1GiVYzTJQ7tF/IYCgPVVY= -eslint-plugin-react@7.19.0: - version "7.19.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz#6d08f9673628aa69c5559d33489e855d83551666" - integrity sha1-bQj5ZzYoqmnFVZ0zSJ6FXYNVFmY= +eslint-plugin-react@7.22.0: + version "7.22.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-react/-/eslint-plugin-react-7.22.0.tgz#3d1c542d1d3169c45421c1215d9470e341707269" + integrity sha1-PRxULR0xacRUIcEhXZRw40Fwcmk= dependencies: array-includes "^3.1.1" + array.prototype.flatmap "^1.2.3" doctrine "^2.1.0" has "^1.0.3" - jsx-ast-utils "^2.2.3" - object.entries "^1.1.1" + jsx-ast-utils "^2.4.1 || ^3.0.0" + object.entries "^1.1.2" object.fromentries "^2.0.2" object.values "^1.1.1" prop-types "^15.7.2" - resolve "^1.15.1" - semver "^6.3.0" + resolve "^1.18.1" string.prototype.matchall "^4.0.2" - xregexp "^4.3.0" - -eslint-plugin-sonarjs@0.5.0: - version "0.5.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-plugin-sonarjs/-/eslint-plugin-sonarjs-0.5.0.tgz#ce17b2daba65a874c2862213a9e38e8986ad7d7d" - integrity sha1-zhey2rplqHTChiITqeOOiYatfX0= eslint-scope@^4.0.3: version "4.0.3" @@ -4746,10 +4905,18 @@ eslint-scope@^5.0.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-utils@^1.4.3: - version "1.4.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" - integrity sha1-dP7HxU0Hdrb2fgJRBAtYBlZOmB8= +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha1-54blmmbLkrP2wfsNUIqrF0hI9Iw= + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-utils@^2.0.0, eslint-utils@^2.1.0: + version "2.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha1-0t5eA0JOcH3BDHQGjd7a5wh0Gyc= dependencies: eslint-visitor-keys "^1.1.0" @@ -4758,69 +4925,79 @@ eslint-visitor-keys@^1.1.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2" integrity sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI= -eslint@6.8.0: - version "6.8.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" - integrity sha1-YiYtZylzn5J1cjgkMC+yJ8jJP/s= +eslint-visitor-keys@^1.3.0: + version "1.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha1-MOvR73wv3/AcOk8VEESvJfqwUj4= + +eslint-visitor-keys@^2.0.0: + version "2.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" + integrity sha1-If3I+82ceVzAMh8FY3AglXUVEag= + +eslint@7.17.0: + version "7.17.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/eslint/-/eslint-7.17.0.tgz#4ccda5bf12572ad3bf760e6f195886f50569adb0" + integrity sha1-TM2lvxJXKtO/dg5vGViG9QVprbA= dependencies: "@babel/code-frame" "^7.0.0" + "@eslint/eslintrc" "^0.2.2" ajv "^6.10.0" - chalk "^2.1.0" - cross-spawn "^6.0.5" + chalk "^4.0.0" + cross-spawn "^7.0.2" debug "^4.0.1" doctrine "^3.0.0" - eslint-scope "^5.0.0" - eslint-utils "^1.4.3" - eslint-visitor-keys "^1.1.0" - espree "^6.1.2" - esquery "^1.0.1" + enquirer "^2.3.5" + eslint-scope "^5.1.1" + eslint-utils "^2.1.0" + eslint-visitor-keys "^2.0.0" + espree "^7.3.1" + esquery "^1.2.0" esutils "^2.0.2" - file-entry-cache "^5.0.1" + file-entry-cache "^6.0.0" functional-red-black-tree "^1.0.1" glob-parent "^5.0.0" globals "^12.1.0" ignore "^4.0.6" import-fresh "^3.0.0" imurmurhash "^0.1.4" - inquirer "^7.0.0" is-glob "^4.0.0" js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.3.0" - lodash "^4.17.14" + levn "^0.4.1" + lodash "^4.17.19" minimatch "^3.0.4" - mkdirp "^0.5.1" natural-compare "^1.4.0" - optionator "^0.8.3" + optionator "^0.9.1" progress "^2.0.0" - regexpp "^2.0.1" - semver "^6.1.2" - strip-ansi "^5.2.0" - strip-json-comments "^3.0.1" - table "^5.2.3" + regexpp "^3.1.0" + semver "^7.2.1" + strip-ansi "^6.0.0" + strip-json-comments "^3.1.0" + table "^6.0.4" text-table "^0.2.0" v8-compile-cache "^2.0.3" -espree@^6.1.2: - version "6.2.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" - integrity sha1-d/xy4f10SiBSwg84pbV1gy6Cc0o= +espree@^7.3.0, espree@^7.3.1: + version "7.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" + integrity sha1-8t8zC3Usb1UBn4vYm3ZgA5wbu7Y= dependencies: - acorn "^7.1.1" - acorn-jsx "^5.2.0" - eslint-visitor-keys "^1.1.0" + acorn "^7.4.0" + acorn-jsx "^5.3.1" + eslint-visitor-keys "^1.3.0" esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha1-E7BM2z5sXRnfkatph6hpVhmwqnE= -esquery@^1.0.1: - version "1.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" - integrity sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg= +esquery@^1.2.0: + version "1.3.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/esquery/-/esquery-1.3.1.tgz#b78b5828aa8e214e29fb74c4d5b752e1c033da57" + integrity sha1-t4tYKKqOIU4p+3TE1bdS4cAz2lc= dependencies: - estraverse "^4.0.0" + estraverse "^5.1.0" esrecurse@^4.1.0: version "4.2.1" @@ -4829,11 +5006,23 @@ esrecurse@^4.1.0: dependencies: estraverse "^4.1.0" -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha1-eteWTWeauyi+5yzsY3WLHF0smSE= + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" integrity sha1-De4/7TH81GlhjOc0IJn8GvoL2xM= +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha1-MH30JUfmzHMk088DwVXVzbjFOIA= + esutils@^2.0.0, esutils@^2.0.2: version "2.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" @@ -5035,15 +5224,6 @@ external-editor@^2.0.4: iconv-lite "^0.4.17" tmp "^0.0.33" -external-editor@^3.0.3: - version "3.0.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" - integrity sha1-WGbbKal4Jtvkvzr9JAcOrZ6kOic= - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - extglob@^2.0.4: version "2.0.4" resolved "https://repox.jfrog.io/repox/api/npm/npm/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" @@ -5078,16 +5258,35 @@ fast-deep-equal@^3.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz#545145077c501491e33b15ec408c294376e94ae4" integrity sha1-VFFFB3xQFJHjOxXsQIwpQ3bpSuQ= +fast-glob@^3.1.1: + version "3.2.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3" + integrity sha1-0grvv5lXk4Pn88xmUpFYybmFVNM= + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.0" + merge2 "^1.3.0" + micromatch "^4.0.2" + picomatch "^2.2.1" + fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I= -fast-levenshtein@~2.0.4, fast-levenshtein@~2.0.6: +fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.4: version "2.0.6" resolved "https://repox.jfrog.io/repox/api/npm/npm/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= +fastq@^1.6.0: + version "1.10.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/fastq/-/fastq-1.10.0.tgz#74dbefccade964932cdf500473ef302719c652bb" + integrity sha1-dNvvzK3pZJMs31AEc+8wJxnGUrs= + dependencies: + reusify "^1.0.4" + faye-websocket@^0.10.0: version "0.10.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" @@ -5142,19 +5341,12 @@ figures@^2.0.0: dependencies: escape-string-regexp "^1.0.5" -figures@^3.0.0: - version "3.2.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha1-YlwYvSk8YE3EqN2y/r8MiDQXRq8= - dependencies: - escape-string-regexp "^1.0.5" - -file-entry-cache@^5.0.1: - version "5.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" - integrity sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w= +file-entry-cache@^6.0.0: + version "6.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/file-entry-cache/-/file-entry-cache-6.0.0.tgz#7921a89c391c6d93efec2169ac6bf300c527ea0a" + integrity sha1-eSGonDkcbZPv7CFprGvzAMUn6go= dependencies: - flat-cache "^2.0.1" + flat-cache "^3.0.4" filesize@3.5.10: version "3.5.10" @@ -5242,19 +5434,18 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -flat-cache@^2.0.1: - version "2.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" - integrity sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA= +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha1-YbAzgwKy/p+Vfcwy/CqH8cMEixE= dependencies: - flatted "^2.0.0" - rimraf "2.6.3" - write "1.0.3" + flatted "^3.1.0" + rimraf "^3.0.2" -flatted@^2.0.0: - version "2.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08" - integrity sha1-aeV8qo8OrLwoHS4stFjUb9tEngg= +flatted@^3.1.0: + version "3.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/flatted/-/flatted-3.1.0.tgz#a5d06b4a8b01e3a63771daa5cb7a1903e2e57067" + integrity sha1-pdBrSosB46Y3cdqly3oZA+LlcGc= flush-write-stream@^1.0.0: version "1.1.1" @@ -5418,6 +5609,15 @@ get-caller-file@^2.0.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha1-T5RBKoLbMvNuOwuXQfipf+sDH34= +get-intrinsic@^1.0.1, get-intrinsic@^1.0.2: + version "1.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/get-intrinsic/-/get-intrinsic-1.0.2.tgz#6820da226e50b24894e08859469dc68361545d49" + integrity sha1-aCDaIm5QskiU4IhZRp3Gg2FUXUk= + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + get-own-enumerable-property-symbols@^3.0.0: version "3.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203" @@ -5476,6 +5676,13 @@ glob-parent@^5.0.0: dependencies: is-glob "^4.0.1" +glob-parent@^5.1.0: + version "5.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" + integrity sha1-tsHvQXxOVmPqSY8cRa+saRa7wik= + dependencies: + is-glob "^4.0.1" + glob-promise@3.4.0: version "3.4.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/glob-promise/-/glob-promise-3.4.0.tgz#b6b8f084504216f702dc2ce8c9bc9ac8866fdb20" @@ -5483,7 +5690,7 @@ glob-promise@3.4.0: dependencies: "@types/glob" "*" -glob@7.1.6, glob@^7.1.6: +glob@7.1.6: version "7.1.6" resolved "https://repox.jfrog.io/repox/api/npm/npm/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" integrity sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY= @@ -5539,6 +5746,18 @@ globals@^12.1.0: dependencies: type-fest "^0.8.1" +globby@^11.0.1: + version "11.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/globby/-/globby-11.0.2.tgz#1af538b766a3b540ebfb58a32b2e2d5897321d83" + integrity sha1-GvU4t2ajtUDr+1ijKy4tWJcyHYM= + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.1.1" + ignore "^5.1.4" + merge2 "^1.3.0" + slash "^3.0.0" + globby@^6.1.0: version "6.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" @@ -6042,7 +6261,7 @@ human-signals@^1.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3" integrity sha1-xbHNFPUK6uCatsWf5jujOV/k36M= -iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://repox.jfrog.io/repox/api/npm/npm/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs= @@ -6083,6 +6302,11 @@ ignore@^4.0.6: resolved "https://repox.jfrog.io/repox/api/npm/npm/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw= +ignore@^5.1.4: + version "5.1.8" + resolved "https://repox.jfrog.io/repox/api/npm/npm/ignore/-/ignore-5.1.8.tgz#f150a8b50a34289b33e22f5889abd4d8016f0e57" + integrity sha1-8VCotQo0KJsz4i9YiavU2AFvDlc= + import-cwd@^2.0.0: version "2.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -6106,6 +6330,14 @@ import-fresh@^3.0.0: parent-module "^1.0.0" resolve-from "^4.0.0" +import-fresh@^3.2.1: + version "3.3.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha1-NxYsJfy566oublPVtNiM4X2eDCs= + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + import-from@^2.1.0: version "2.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" @@ -6222,25 +6454,6 @@ inquirer@3.3.0: strip-ansi "^4.0.0" through "^2.3.6" -inquirer@^7.0.0: - version "7.1.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/inquirer/-/inquirer-7.1.0.tgz#1298a01859883e17c7264b82870ae1034f92dd29" - integrity sha1-EpigGFmIPhfHJkuChwrhA0+S3Sk= - dependencies: - ansi-escapes "^4.2.1" - chalk "^3.0.0" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.4.0" - rxjs "^6.5.3" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - internal-ip@^4.3.0: version "4.3.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/internal-ip/-/internal-ip-4.3.0.tgz#845452baad9d2ca3b69c635a137acb9a0dad0907" @@ -6398,6 +6611,11 @@ is-callable@^1.1.5: resolved "https://repox.jfrog.io/repox/api/npm/npm/is-callable/-/is-callable-1.1.5.tgz#f7e46b596890456db74e7f6e976cb3273d06faab" integrity sha1-9+RrWWiQRW23Tn9ul2yzJz0G+qs= +is-callable@^1.2.2: + version "1.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-callable/-/is-callable-1.2.2.tgz#c7c6715cd22d4ddb48d3e19970223aceabb080d9" + integrity sha1-x8ZxXNItTdtI0+GZcCI6zquwgNk= + is-ci@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" @@ -6417,6 +6635,13 @@ is-color-stop@^1.0.0: rgb-regex "^1.0.1" rgba-regex "^1.0.0" +is-core-module@^2.1.0: + version "2.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a" + integrity sha1-lwN+89UiJNhRY/VZeytj2a/tmBo= + dependencies: + has "^1.0.3" + is-data-descriptor@^0.1.4: version "0.1.4" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" @@ -6522,6 +6747,11 @@ is-hexadecimal@^1.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" integrity sha1-zDXJdYjaS9Saju3WvECC1E3LI6c= +is-negative-zero@^2.0.0: + version "2.0.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-negative-zero/-/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24" + integrity sha1-PedGwY3aIxkkGlNnWQjY92bxHCQ= + is-number-object@^1.0.4: version "1.0.4" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-number-object/-/is-number-object-1.0.4.tgz#36ac95e741cf18b283fc1ddf5e83da798e3ec197" @@ -6606,6 +6836,13 @@ is-regex@^1.0.5: dependencies: has "^1.0.3" +is-regex@^1.1.1: + version "1.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/is-regex/-/is-regex-1.1.1.tgz#c6f98aacc546f6cec5468a07b7b153ab564a57b9" + integrity sha1-xvmKrMVG9s7FRooHt7FTq1ZKV7k= + dependencies: + has-symbols "^1.0.1" + is-regexp@^1.0.0: version "1.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" @@ -7209,6 +7446,11 @@ json-schema-traverse@^0.4.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha1-afaofZUTq4u4/mO9sJecRI5oRmA= +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha1-rnvLNlard6c7pcSb9lTzjmtoYOI= + json-schema@0.2.3: version "0.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" @@ -7263,13 +7505,13 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -jsx-ast-utils@^2.2.1, jsx-ast-utils@^2.2.3: - version "2.2.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz#8a9364e402448a3ce7f14d357738310d9248054f" - integrity sha1-ipNk5AJEijzn8U01dzgxDZJIBU8= +"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.0.0: + version "3.2.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz#41108d2cec408c3453c1bbe8a4aae9e1e2bd8f82" + integrity sha1-QRCNLOxAjDRTwbvopKrp4eK9j4I= dependencies: - array-includes "^3.0.3" - object.assign "^4.1.0" + array-includes "^3.1.2" + object.assign "^4.1.2" keymaster@1.6.2: version "1.6.2" @@ -7310,6 +7552,18 @@ kleur@^3.0.2: resolved "https://repox.jfrog.io/repox/api/npm/npm/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4= +language-subtag-registry@~0.3.2: + version "0.3.21" + resolved "https://repox.jfrog.io/repox/api/npm/npm/language-subtag-registry/-/language-subtag-registry-0.3.21.tgz#04ac218bea46f04cb039084602c6da9e788dd45a" + integrity sha1-BKwhi+pG8EywOQhGAsbanniN1Fo= + +language-tags@^1.0.5: + version "1.0.5" + resolved "https://repox.jfrog.io/repox/api/npm/npm/language-tags/-/language-tags-1.0.5.tgz#d321dbc4da30ba8bf3024e040fa5c14661f9193a" + integrity sha1-0yHbxNowuovzAk4ED6XBRmH5GTo= + dependencies: + language-subtag-registry "~0.3.2" + lcid@^2.0.0: version "2.0.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf" @@ -7334,7 +7588,15 @@ levenary@^1.1.1: dependencies: leven "^3.1.0" -levn@^0.3.0, levn@~0.3.0: +levn@^0.4.1: + version "0.4.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha1-rkViwAdHO5MqYgDUAyaN0v/8at4= + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +levn@~0.3.0: version "0.3.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= @@ -7518,7 +7780,7 @@ lodash.uniq@^4.5.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.17.20: +lodash@4.17.20, lodash@^4.17.19, lodash@^4.17.20: version "4.17.20" resolved "https://repox.jfrog.io/repox/api/npm/npm/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52" integrity sha1-tEqbYpe8tpjxxRo1RaKzs2jVnFI= @@ -7595,6 +7857,13 @@ lru-cache@^5.1.1: dependencies: yallist "^3.0.2" +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha1-bW/mVw69lqr5D8rR2vo7JWbbOpQ= + dependencies: + yallist "^4.0.0" + lunr@2.3.8: version "2.3.8" resolved "https://repox.jfrog.io/repox/api/npm/npm/lunr/-/lunr-2.3.8.tgz#a8b89c31f30b5a044b97d2d28e2da191b6ba2072" @@ -7783,6 +8052,11 @@ merge-stream@^2.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A= +merge2@^1.3.0: + version "1.4.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4= + methods@~1.1.2: version "1.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" @@ -7995,11 +8269,6 @@ mute-stream@0.0.7: resolved "https://repox.jfrog.io/repox/api/npm/npm/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= -mute-stream@0.0.8: - version "0.0.8" - resolved "https://repox.jfrog.io/repox/api/npm/npm/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha1-FjDEKyJR/4HiooPelqVJfqkuXg0= - nan@^2.12.1: version "2.14.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" @@ -8316,6 +8585,11 @@ object-inspect@^1.7.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/object-inspect/-/object-inspect-1.7.0.tgz#f4f6bd181ad77f006b5ece60bd0b6f398ff74a67" integrity sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc= +object-inspect@^1.8.0: + version "1.9.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object-inspect/-/object-inspect-1.9.0.tgz#c90521d74e1127b67266ded3394ad6116986533a" + integrity sha1-yQUh104RJ7ZyZt7TOUrWEWmGUzo= + object-is@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6" @@ -8348,6 +8622,16 @@ object.assign@^4.1.0: has-symbols "^1.0.0" object-keys "^1.0.11" +object.assign@^4.1.1, object.assign@^4.1.2: + version "4.1.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" + integrity sha1-DtVKNC7Os3s4/3brgxoOeIy2OUA= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + has-symbols "^1.0.1" + object-keys "^1.1.1" + object.entries@^1.1.0: version "1.1.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519" @@ -8368,6 +8652,16 @@ object.entries@^1.1.1: function-bind "^1.1.1" has "^1.0.3" +object.entries@^1.1.2: + version "1.1.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/object.entries/-/object.entries-1.1.3.tgz#c601c7f168b62374541a07ddbd3e2d5e4f7711a6" + integrity sha1-xgHH8Wi2I3RUGgfdvT4tXk93EaY= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + es-abstract "^1.18.0-next.1" + has "^1.0.3" + object.fromentries@^2.0.2: version "2.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/object.fromentries/-/object.fromentries-2.0.2.tgz#4a09c9b9bb3843dd0f89acdb517a794d4f355ac9" @@ -8489,17 +8783,17 @@ optionator@^0.8.1: type-check "~0.3.2" wordwrap "~1.0.0" -optionator@^0.8.3: - version "0.8.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha1-hPodA2/p08fiHZmIS2ARZ+yPtJU= +optionator@^0.9.1: + version "0.9.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" + integrity sha1-TyNqY3Pa4FZqbUPhMmZ09QwpFJk= dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.3" original@>=0.0.5, original@^1.0.0: version "1.0.2" @@ -8797,6 +9091,11 @@ path-type@^3.0.0: dependencies: pify "^3.0.0" +path-type@^4.0.0: + version "4.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha1-hO0BwKe6OAr+CdkKjBgNzZ0DBDs= + pbkdf2@^3.0.3: version "3.0.17" resolved "https://repox.jfrog.io/repox/api/npm/npm/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6" @@ -8818,6 +9117,11 @@ picomatch@^2.0.4, picomatch@^2.0.5: resolved "https://repox.jfrog.io/repox/api/npm/npm/picomatch/-/picomatch-2.2.1.tgz#21bac888b6ed8601f831ce7816e335bc779f0a4a" integrity sha1-IbrIiLbthgH4Mc54FuM1vHefCko= +picomatch@^2.2.1: + version "2.2.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" + integrity sha1-IfMz6ba46v8CRo9RRupAbTRfTa0= + pify@^2.0.0: version "2.3.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -9288,6 +9592,11 @@ postcss@^7.0.16, postcss@^7.0.17, postcss@^7.0.23, postcss@^7.0.26, postcss@^7.0 source-map "^0.6.1" supports-color "^6.1.0" +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha1-3rxkidem5rDnYRiIzsiAM30xY5Y= + prelude-ls@~1.1.2: version "1.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -9985,10 +10294,10 @@ regexp.prototype.flags@^1.3.0: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -regexpp@^2.0.1: - version "2.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" - integrity sha1-jRnTHPYySCtYkEn4KB+T28uk0H8= +regexpp@^3.0.0, regexpp@^3.1.0: + version "3.1.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" + integrity sha1-IG0K0KVkjP+9uK5GQ489xRyfeOI= regexpu-core@^4.7.0: version "4.7.0" @@ -10197,6 +10506,11 @@ require-directory@^2.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://repox.jfrog.io/repox/api/npm/npm/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha1-iaf92TgmEmcxjq/hT5wy5ZjDaQk= + require-main-filename@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" @@ -10264,18 +10578,19 @@ resolve@1.1.7: resolved "https://repox.jfrog.io/repox/api/npm/npm/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.5.0: +resolve@1.x, resolve@^1.10.0, resolve@^1.3.2: version "1.11.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/resolve/-/resolve-1.11.1.tgz#ea10d8110376982fef578df8fc30b9ac30a07a3e" integrity sha1-6hDYEQN2mC/vV434/DC5rDCgej4= dependencies: path-parse "^1.0.6" -resolve@^1.12.0, resolve@^1.15.1: - version "1.15.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" - integrity sha1-J73N7/6vLWJEuVuw+fS0ZTRR8+g= +resolve@^1.13.1, resolve@^1.17.0, resolve@^1.18.1: + version "1.19.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c" + integrity sha1-GvW/YwQJc0oGfK4pMYqsf6KaJnw= dependencies: + is-core-module "^2.1.0" path-parse "^1.0.6" restore-cursor@^2.0.0: @@ -10286,14 +10601,6 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha1-OfZ8VLOnpYzqUjbZXPADQjljH34= - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - ret@~0.1.10: version "0.1.15" resolved "https://repox.jfrog.io/repox/api/npm/npm/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -10304,6 +10611,11 @@ retry@^0.12.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs= +reusify@^1.0.4: + version "1.0.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha1-kNo4Kx4SbvwCFG6QhFqI2xKSXXY= + rgb-regex@^1.0.1: version "1.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/rgb-regex/-/rgb-regex-1.0.1.tgz#c0e0d6882df0e23be254a475e8edd41915feaeb1" @@ -10314,14 +10626,14 @@ rgba-regex@^1.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= -rimraf@2.6.3, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3: +rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3: version "2.6.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" integrity sha1-stEE/g2Psnz54KHNqCYt04M8bKs= dependencies: glob "^7.1.3" -rimraf@^3.0.0: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha1-8aVAK6YiCtUswSgrrBrjqkn9Bho= @@ -10356,12 +10668,10 @@ run-async@^2.2.0: dependencies: is-promise "^2.1.0" -run-async@^2.4.0: - version "2.4.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/run-async/-/run-async-2.4.0.tgz#e59054a5b86876cfae07f431d18cbaddc594f1e8" - integrity sha1-5ZBUpbhods+uB/Qx0Yy63cWU8eg= - dependencies: - is-promise "^2.1.0" +run-parallel@^1.1.9: + version "1.1.10" + resolved "https://repox.jfrog.io/repox/api/npm/npm/run-parallel/-/run-parallel-1.1.10.tgz#60a51b2ae836636c81377df16cb107351bcd13ef" + integrity sha1-YKUbKug2Y2yBN33xbLEHNRvNE+8= run-queue@^1.0.0, run-queue@^1.0.3: version "1.0.3" @@ -10389,13 +10699,6 @@ rxjs@^6.3.3: dependencies: tslib "^1.9.0" -rxjs@^6.5.3: - version "6.5.4" - resolved "https://repox.jfrog.io/repox/api/npm/npm/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" - integrity sha1-4Hd/4NGEzseHLfFH8wNXLUFOIRw= - dependencies: - tslib "^1.9.0" - safe-buffer@5.1.2, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" @@ -10515,7 +10818,7 @@ semver@^6.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db" integrity sha1-TYE9lZCq+KkZJpPWyFuTRN5ZAds= -semver@^6.1.2, semver@^6.3.0: +semver@^6.3.0: version "6.3.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0= @@ -10525,6 +10828,13 @@ semver@^7.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-7.1.3.tgz#e4345ce73071c53f336445cfc19efb1c311df2a6" integrity sha1-5DRc5zBxxT8zZEXPwZ77HDEd8qY= +semver@^7.2.1, semver@^7.3.2: + version "7.3.4" + resolved "https://repox.jfrog.io/repox/api/npm/npm/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha1-J6qn0uTKdkUvmNOt0JOnLJQ+3Jc= + dependencies: + lru-cache "^6.0.0" + send@0.17.1: version "0.17.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8" @@ -10699,14 +11009,14 @@ slice-ansi@0.0.4: resolved "https://repox.jfrog.io/repox/api/npm/npm/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" integrity sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU= -slice-ansi@^2.1.0: - version "2.1.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" - integrity sha1-ys12k0YaY3pXiNkqfdT7oGjoFjY= +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha1-UA6N0P1VsFgVCGJVsxla3ypF/ms= dependencies: - ansi-styles "^3.2.0" - astral-regex "^1.0.0" - is-fullwidth-code-point "^2.0.0" + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" snapdragon-node@^2.0.1: version "2.1.1" @@ -11057,15 +11367,6 @@ string-width@^1.0.1: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string-width@^3.0.0: - version "3.1.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" - integrity sha1-InZ74htirxCBV0MG9prFG2IgOWE= - dependencies: - emoji-regex "^7.0.1" - is-fullwidth-code-point "^2.0.0" - strip-ansi "^5.1.0" - string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" @@ -11096,6 +11397,14 @@ string.prototype.trim@^1.2.1: es-abstract "^1.17.0-next.1" function-bind "^1.1.1" +string.prototype.trimend@^1.0.1: + version "1.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz#a22bd53cca5c7cf44d7c9d5c732118873d6cd18b" + integrity sha1-oivVPMpcfPRNfJ1ccyEYhz1s0Ys= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + string.prototype.trimleft@^2.1.1: version "2.1.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz#9bdb8ac6abd6d602b17a4ed321870d2f8dcefc74" @@ -11112,6 +11421,14 @@ string.prototype.trimright@^2.1.1: define-properties "^1.1.3" function-bind "^1.1.1" +string.prototype.trimstart@^1.0.1: + version "1.0.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz#9b4cb590e123bb36564401d59824298de50fd5aa" + integrity sha1-m0y1kOEjuzZWRAHVmCQpjeUP1ao= + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + string_decoder@^1.0.0, string_decoder@^1.1.1: version "1.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/string_decoder/-/string_decoder-1.2.0.tgz#fe86e738b19544afe70469243b2a1ee9240eae8d" @@ -11160,7 +11477,7 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^5.1.0, strip-ansi@^5.2.0: +strip-ansi@^5.2.0: version "5.2.0" resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" integrity sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4= @@ -11194,10 +11511,10 @@ strip-final-newline@^2.0.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0= -strip-json-comments@^3.0.1: - version "3.0.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7" - integrity sha1-hXE5dakfuHvxswXMp3OV5A0qZKc= +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://repox.jfrog.io/repox/api/npm/npm/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha1-MfEoGzgyYwQ0gxwxDAHMzajL4AY= strip-json-comments@~2.0.1: version "2.0.1" @@ -11299,15 +11616,15 @@ symbol-tree@^3.2.2: resolved "https://repox.jfrog.io/repox/api/npm/npm/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha1-QwY30ki6d+B4iDlR+5qg7tfGP6I= -table@^5.2.3: - version "5.4.1" - resolved "https://repox.jfrog.io/repox/api/npm/npm/table/-/table-5.4.1.tgz#0691ae2ebe8259858efb63e550b6d5f9300171e8" - integrity sha1-BpGuLr6CWYWO+2PlULbV+TABceg= +table@^6.0.4: + version "6.0.7" + resolved "https://repox.jfrog.io/repox/api/npm/npm/table/-/table-6.0.7.tgz#e45897ffbcc1bcf9e8a87bf420f2c9e5a7a52a34" + integrity sha1-5FiX/7zBvPnoqHv0IPLJ5aelKjQ= dependencies: - ajv "^6.9.1" - lodash "^4.17.11" - slice-ansi "^2.1.0" - string-width "^3.0.0" + ajv "^7.0.2" + lodash "^4.17.20" + slice-ansi "^4.0.0" + string-width "^4.2.0" tapable@^1.0.0, tapable@^1.1.3: version "1.1.3" @@ -11563,6 +11880,16 @@ ts-loader@6.2.1: micromatch "^4.0.0" semver "^6.0.0" +tsconfig-paths@^3.9.0: + version "3.9.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz#098547a6c4448807e8fcb8eae081064ee9a3c90b" + integrity sha1-CYVHpsREiAfo/Ljq4IEGTumjyQs= + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.1" + minimist "^1.2.0" + strip-bom "^3.0.0" + tslib@^1.8.1: version "1.11.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" @@ -11597,6 +11924,13 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: resolved "https://repox.jfrog.io/repox/api/npm/npm/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha1-B7ggO/pwVsBlcFDjzNLDdzC6uPE= + dependencies: + prelude-ls "^1.2.1" + type-check@~0.3.2: version "0.3.2" resolved "https://repox.jfrog.io/repox/api/npm/npm/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" @@ -11639,10 +11973,10 @@ typedarray@^0.0.6: resolved "https://repox.jfrog.io/repox/api/npm/npm/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= -typescript@3.8.3: - version "3.8.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" - integrity sha1-QJ64VE6gM1cRIFhp7EWKsQnuEGE= +typescript@4.1.3: + version "4.1.3" + resolved "https://repox.jfrog.io/repox/api/npm/npm/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" + integrity sha1-UZ1YK9lMugz4k0x9joRn5HP1O7c= ua-parser-js@^0.7.18: version "0.7.20" @@ -12247,7 +12581,7 @@ wide-align@^1.1.0: dependencies: string-width "^1.0.2 || 2" -word-wrap@~1.2.3: +word-wrap@^1.2.3: version "1.2.3" resolved "https://repox.jfrog.io/repox/api/npm/npm/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" integrity sha1-YQY29rH3A4kb00dxzLF/uTtHB5w= @@ -12304,13 +12638,6 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write@1.0.3: - version "1.0.3" - resolved "https://repox.jfrog.io/repox/api/npm/npm/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" - integrity sha1-CADhRSO5I6OH5BUSPIZWFqrg9cM= - dependencies: - mkdirp "^0.5.1" - ws@^6.0.0, ws@^6.2.1: version "6.2.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/ws/-/ws-6.2.1.tgz#442fdf0a47ed64f59b6a5d8ff130f4748ed524fb" @@ -12333,13 +12660,6 @@ xmlchars@^2.1.1: resolved "https://repox.jfrog.io/repox/api/npm/npm/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" integrity sha1-Bg/hvLf5x2/ioX24apvDq4lCEMs= -xregexp@^4.3.0: - version "4.3.0" - resolved "https://repox.jfrog.io/repox/api/npm/npm/xregexp/-/xregexp-4.3.0.tgz#7e92e73d9174a99a59743f67a4ce879a04b5ae50" - integrity sha1-fpLnPZF0qZpZdD9npM6HmgS1rlA= - dependencies: - "@babel/runtime-corejs3" "^7.8.3" - xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1: version "4.0.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" @@ -12360,6 +12680,11 @@ yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3: resolved "https://repox.jfrog.io/repox/api/npm/npm/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" integrity sha1-tLBJ4xS+VF486AIjbWzSLNkcPek= +yallist@^4.0.0: + version "4.0.0" + resolved "https://repox.jfrog.io/repox/api/npm/npm/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha1-m7knkNnA7/7GO+c1GeEaNQGaOnI= + yargs-parser@^11.1.1: version "11.1.1" resolved "https://repox.jfrog.io/repox/api/npm/npm/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4" -- 2.39.5