From f26d933e1ecbd9ca104a6e1e0eb251462056aca8 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 12 Dec 2017 10:58:10 +0100 Subject: [PATCH] update react to 16.2.0, use react fragments --- server/sonar-web/package.json | 20 +- .../component/ComponentNavBranchesMenu.tsx | 47 ++- .../nav/component/ComponentNavMeta.tsx | 43 +-- .../ComponentNavBranchesMenu-test.tsx.snap | 364 ++++++++++-------- .../ComponentNavMeta-test.tsx.snap | 12 +- .../__snapshots__/AssigneeFacet-test.js.snap | 3 - .../apps/projects/components/PageSidebar.tsx | 135 +++---- .../__snapshots__/PageSidebar-test.tsx.snap | 188 +++++---- .../projectsManagement/ProjectRowActions.tsx | 3 +- .../ProjectRowActions-test.tsx.snap | 4 - .../compare/ComparisonResults.tsx | 149 +++---- .../quality-profiles/details/ProfileRules.tsx | 1 - .../__snapshots__/ProfileRules-test.tsx.snap | 1 - .../__snapshots__/SysInfoItem-test.tsx.snap | 1 - .../OrganizationStep-test.js.snap | 17 - .../__snapshots__/TokenStep-test.js.snap | 18 - .../js/apps/users/components/UserActions.tsx | 54 +-- .../__snapshots__/UserActions-test.tsx.snap | 37 +- .../__snapshots__/BubbleChart-test.js.snap | 22 -- server/sonar-web/yarn.lock | 78 ++-- 20 files changed, 556 insertions(+), 641 deletions(-) diff --git a/server/sonar-web/package.json b/server/sonar-web/package.json index 1ba78887fc8..1610cd1f0bf 100644 --- a/server/sonar-web/package.json +++ b/server/sonar-web/package.json @@ -26,8 +26,8 @@ "lodash": "4.17.4", "prop-types": "15.6.0", "rc-tooltip": "3.5.0", - "react": "16.0.0", - "react-dom": "16.0.0", + "react": "16.2.0", + "react-dom": "16.2.0", "react-draggable": "3.0.3", "react-helmet": "5.2.0", "react-intl": "2.4.0", @@ -47,14 +47,14 @@ "@types/clipboard": "1.5.35", "@types/d3-array": "1.2.1", "@types/d3-scale": "1.0.10", - "@types/enzyme": "3.1.1", + "@types/enzyme": "3.1.5", "@types/escape-html": "0.0.20", - "@types/jest": "21.1.5", + "@types/jest": "21.1.8", "@types/jquery": "3.2.11", "@types/lodash": "4.14.80", "@types/prop-types": "15.5.2", - "@types/react": "16.0.19", - "@types/react-dom": "16.0.2", + "@types/react": "16.0.29", + "@types/react-dom": "16.0.3", "@types/react-helmet": "5.0.3", "@types/react-intl": "2.3.2", "@types/react-modal": "2.2.2", @@ -77,9 +77,9 @@ "babel-preset-react": "^6.22.0", "chalk": "2.3.0", "css-loader": "0.28.7", - "enzyme": "3.1.0", - "enzyme-adapter-react-16": "1.0.2", - "enzyme-to-json": "3.1.4", + "enzyme": "3.2.0", + "enzyme-adapter-react-16": "1.1.0", + "enzyme-to-json": "3.3.0", "eslint": "4.9.0", "eslint-plugin-import": "2.8.0", "eslint-plugin-jsx-a11y": "6.0.2", @@ -98,7 +98,7 @@ "postcss-loader": "2.0.8", "prettier": "1.7.4", "react-error-overlay": "1.0.7", - "react-test-renderer": "16.0.0", + "react-test-renderer": "16.2.0", "rimraf": "2.6.2", "style-loader": "0.19.0", "ts-jest": "21.1.4", diff --git a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranchesMenu.tsx b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranchesMenu.tsx index 07f7e0508cd..df39999d149 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranchesMenu.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBranchesMenu.tsx @@ -166,36 +166,35 @@ export default class ComponentNavBranchesMenu extends React.PureComponent{translate('no_results')}; } - const menu: JSX.Element[] = []; - branches.forEach((branch, index) => { + const items = branches.map((branch, index) => { const isOrphan = isShortLivingBranch(branch) && branch.isOrphan; const previous = index > 0 ? branches[index - 1] : null; const isPreviousOrphan = isShortLivingBranch(previous) ? previous.isOrphan : false; - if (isLongLivingBranch(branch) || (isOrphan && !isPreviousOrphan)) { - menu.push(
  • ); - } - if (isOrphan && !isPreviousOrphan) { - menu.push( -
  • - {translate('branches.orphan_branches')} - - - -
  • - ); - } - menu.push( - + const showDivider = isLongLivingBranch(branch) || (isOrphan && !isPreviousOrphan); + const showOrphanHeader = isOrphan && !isPreviousOrphan; + return ( + + {showDivider &&
  • } + {showOrphanHeader && ( +
  • + {translate('branches.orphan_branches')} + + + +
  • + )} + +
    ); }); - return
      {menu}
    ; + return
      {items}
    ; }; render() { diff --git a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMeta.tsx b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMeta.tsx index 1a2b4bd1cd8..0e157ebe219 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMeta.tsx +++ b/server/sonar-web/src/main/js/app/components/nav/component/ComponentNavMeta.tsx @@ -31,34 +31,29 @@ interface Props { } export default function ComponentNavMeta(props: Props) { - const metaList = []; const shortBranch = props.branch && isShortLivingBranch(props.branch); - - if (props.component.analysisDate) { - metaList.push( -
  • - -
  • - ); - } - - if (props.component.version && !shortBranch) { - metaList.push( -
  • - - - {translate('version')} {props.component.version} - - -
  • - ); - } + const showVersion = props.component.version && !shortBranch; return (
    -
      {metaList}
    +
      + {props.component.analysisDate && ( +
    • + +
    • + )} + {showVersion && ( +
    • + + + {translate('version')} {props.component.version} + + +
    • + )} +
    {shortBranch && (
    diff --git a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranchesMenu-test.tsx.snap b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranchesMenu-test.tsx.snap index 6f39c721b9d..6946e02b328 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranchesMenu-test.tsx.snap +++ b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavBranchesMenu-test.tsx.snap @@ -18,151 +18,166 @@ exports[`renders list 1`] = `
      - -
    • -
    • - branches.orphan_branches - - - -
    • - + + - +
    • +
    • + branches.orphan_branches + + + +
    • + +
      + -
    • - + + + -
    • -
    • - branches.orphan_branches - - - -
    • - + +
      + + > +
    • +
    • + branches.orphan_branches + + + +
    • + +
    `; @@ -185,51 +200,58 @@ exports[`searches 1`] = `
      - -
    • - + + + + > +
    • + +
    `; diff --git a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMeta-test.tsx.snap b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMeta-test.tsx.snap index dea4abcd294..a1dd339dfce 100644 --- a/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMeta-test.tsx.snap +++ b/server/sonar-web/src/main/js/app/components/nav/component/__tests__/__snapshots__/ComponentNavMeta-test.tsx.snap @@ -7,16 +7,12 @@ exports[`renders meta for long-living branch 1`] = `
      -
    • +
    • -
    • +
    • -
    • +
    • diff --git a/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/__snapshots__/AssigneeFacet-test.js.snap b/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/__snapshots__/AssigneeFacet-test.js.snap index 28442511ef4..d384037257b 100644 --- a/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/__snapshots__/AssigneeFacet-test.js.snap +++ b/server/sonar-web/src/main/js/apps/issues/sidebar/__tests__/__snapshots__/AssigneeFacet-test.js.snap @@ -14,7 +14,6 @@ exports[`should render 1`] = ` active={false} disabled={false} halfWidth={false} - key="" name="unassigned" onClick={[Function]} stat="5" @@ -101,7 +100,6 @@ exports[`should select unassigned 1`] = ` active={true} disabled={false} halfWidth={false} - key="" name="unassigned" onClick={[Function]} stat="5" @@ -164,7 +162,6 @@ exports[`should select user 1`] = ` active={false} disabled={false} halfWidth={false} - key="" name="unassigned" onClick={[Function]} stat="5" diff --git a/server/sonar-web/src/main/js/apps/projects/components/PageSidebar.tsx b/server/sonar-web/src/main/js/apps/projects/components/PageSidebar.tsx index 19c51033dac..d22864bc006 100644 --- a/server/sonar-web/src/main/js/apps/projects/components/PageSidebar.tsx +++ b/server/sonar-web/src/main/js/apps/projects/components/PageSidebar.tsx @@ -81,77 +81,70 @@ export default function PageSidebar(props: Props) {

      {translate('filters')}

      - {!isLeakView && [ - , - , - , - , - , - - ]} - {isLeakView && [ - , - , - , - , - , - - ]} + {!isLeakView && ( + + + + + + + + + )} + {isLeakView && ( + + + + + + + + + )} - + - + - + - + - + - + + /> + - + - - + - + - + - + + /> + + const { hasAccess } = this.state; return ( - + {hasAccess === true && ( {translate('edit_permissions')} @@ -120,7 +120,6 @@ export default class ProjectRowActions extends React.PureComponent {this.state.restoreAccessModal && ( { if (this.props.inLeft.length === 0) { return null; } - const header = ( - - -
      - {translateWithParameters( - 'quality_profiles.x_rules_only_in', - this.props.inLeft.length - )}{' '} - {this.props.left.name} -
      - -   - + return ( + + + +
      + {translateWithParameters( + 'quality_profiles.x_rules_only_in', + this.props.inLeft.length + )}{' '} + {this.props.left.name} +
      + +   + + {this.props.inLeft.map(rule => ( + + {this.renderRule(rule, rule.severity)} +   + + ))} +
      ); - const rows = this.props.inLeft.map(rule => ( - - {this.renderRule(rule, rule.severity)} -   - - )); - return [header, ...rows]; } renderRight() { if (this.props.inRight.length === 0) { return null; } - const header = ( - -   - -
      - {translateWithParameters( - 'quality_profiles.x_rules_only_in', - this.props.inRight.length - )}{' '} - {this.props.right.name} -
      - - + return ( + + +   + +
      + {translateWithParameters( + 'quality_profiles.x_rules_only_in', + this.props.inRight.length + )}{' '} + {this.props.right.name} +
      + + + {this.props.inRight.map(rule => ( + +   + {this.renderRule(rule, rule.severity)} + + ))} +
      ); - const rows = this.props.inRight.map(rule => ( - -   - {this.renderRule(rule, rule.severity)} - - )); - return [header, ...rows]; } renderModified() { if (this.props.modified.length === 0) { return null; } - const header = ( - - -
      - {translateWithParameters( - 'quality_profiles.x_rules_have_different_configuration', - this.props.modified.length - )} -
      - - - ); - const secondHeader = ( - - -
      {this.props.left.name}
      - - -
      {this.props.right.name}
      - - + return ( + + + +
      + {translateWithParameters( + 'quality_profiles.x_rules_have_different_configuration', + this.props.modified.length + )} +
      + + + + +
      {this.props.left.name}
      + + +
      {this.props.right.name}
      + + + {this.props.modified.map(rule => ( + + + {this.renderRule(rule, rule.left.severity)} + {this.renderParameters(rule.left.params)} + + + {this.renderRule(rule, rule.right.severity)} + {this.renderParameters(rule.right.params)} + + + ))} +
      ); - const rows = this.props.modified.map(rule => ( - - - {this.renderRule(rule, rule.left.severity)} - {this.renderParameters(rule.left.params)} - - - {this.renderRule(rule, rule.right.severity)} - {this.renderParameters(rule.right.params)} - - - )); - return [header, secondHeader, ...rows]; } render() { diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRules.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRules.tsx index facde0a4a34..4fec4cb33e9 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRules.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/details/ProfileRules.tsx @@ -164,7 +164,6 @@ export default class ProfileRules extends React.PureComponent {
      { renderActions = () => { const { user } = this.props; return ( - + {translate('update_details')} @@ -75,39 +75,23 @@ export default class UserActions extends React.PureComponent { const { openForm } = this.state; const { isCurrentUser, onUpdateUsers, user } = this.props; - if (openForm === 'deactivate') { - return [ - this.renderActions(), - - ]; - } - if (openForm === 'password') { - return [ - this.renderActions(), - - ]; - } - if (openForm === 'update') { - return [ - this.renderActions(), - - ]; - } - return this.renderActions(); + return ( + + {this.renderActions()} + {openForm === 'deactivate' && ( + + )} + {openForm === 'password' && ( + + )} + {openForm === 'update' && ( + + )} + + ); } } diff --git a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserActions-test.tsx.snap b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserActions-test.tsx.snap index 6328daaf8e0..0fd31e7f6ae 100644 --- a/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserActions-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/users/components/__tests__/__snapshots__/UserActions-test.tsx.snap @@ -1,23 +1,24 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`should render correctly 1`] = ` - - + - update_details - - - - users.deactivate - - + + update_details + + + + users.deactivate + + + `; diff --git a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap index acc3eec0736..e5854e7792f 100644 --- a/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap +++ b/server/sonar-web/src/main/js/components/charts/__tests__/__snapshots__/BubbleChart-test.js.snap @@ -2,18 +2,13 @@ exports[`should display bubbles 1`] = ` @@ -74,7 +61,6 @@ exports[`should render bubble links 1`] = ` > @@ -111,7 +94,6 @@ exports[`should render bubble links 2`] = ` > @@ -154,12 +134,10 @@ exports[`should render bubbles with click handlers 1`] = ` exports[`should render bubbles with click handlers 2`] = ` diff --git a/server/sonar-web/yarn.lock b/server/sonar-web/yarn.lock index ef3096db9fb..79a4fa67c81 100644 --- a/server/sonar-web/yarn.lock +++ b/server/sonar-web/yarn.lock @@ -28,9 +28,9 @@ version "1.0.7" resolved "https://registry.yarnpkg.com/@types/d3-time/-/d3-time-1.0.7.tgz#4266d7c9be15fa81256a88d1d052d61cd8dc572c" -"@types/enzyme@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@types/enzyme/-/enzyme-3.1.1.tgz#102ebd9aa33fa15fd11477b6f701cde18cbe7de0" +"@types/enzyme@3.1.5": + version "3.1.5" + resolved "https://registry.yarnpkg.com/@types/enzyme/-/enzyme-3.1.5.tgz#6cc31d7f7e552209e244a45d89279f4def4aaade" dependencies: "@types/cheerio" "*" "@types/react" "*" @@ -43,9 +43,9 @@ version "3.2.2" resolved "https://registry.yarnpkg.com/@types/history/-/history-3.2.2.tgz#b6affa240cb10b5f841c6443d8a24d7f3fc8bb0c" -"@types/jest@21.1.5": - version "21.1.5" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-21.1.5.tgz#3db93d069d12602ca115d3604550e15131d8eb7a" +"@types/jest@21.1.8": + version "21.1.8" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-21.1.8.tgz#d497213725684f1e5a37900b17a47c9c018f1a97" "@types/jquery@3.2.11": version "3.2.11" @@ -67,9 +67,9 @@ version "15.5.2" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.5.2.tgz#3c6b8dceb2906cc87fe4358e809f9d20c8d59be1" -"@types/react-dom@16.0.2": - version "16.0.2" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.0.2.tgz#2da9de21fd83f0140b64794ad9c47930230aedae" +"@types/react-dom@16.0.3": + version "16.0.3" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.0.3.tgz#8accad7eabdab4cca3e1a56f5ccb57de2da0ff64" dependencies: "@types/node" "*" "@types/react" "*" @@ -110,9 +110,9 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@16.0.19": - version "16.0.19" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.19.tgz#f804a0fcd6d94c17df92cf2fd46671bbbc862329" +"@types/react@*", "@types/react@16.0.29": + version "16.0.29" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.0.29.tgz#4eea6a8de9f40ca71d580ae7a9f3b4b77b368de8" abab@^1.0.3: version "1.0.4" @@ -2411,45 +2411,46 @@ entities@^1.1.1, entities@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" -enzyme-adapter-react-16@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.0.2.tgz#8c6f431f17c69e1e9eeb25ca4bd92f31971eb2dd" +enzyme-adapter-react-16@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.1.0.tgz#86c5db7c10f0be6ec25d54ca41b59f2abb397cf4" dependencies: - enzyme-adapter-utils "^1.0.0" + enzyme-adapter-utils "^1.1.0" lodash "^4.17.4" object.assign "^4.0.4" object.values "^1.0.4" prop-types "^15.5.10" react-test-renderer "^16.0.0-0" -enzyme-adapter-utils@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.0.1.tgz#fcd81223339a55a312f7552641e045c404084009" +enzyme-adapter-utils@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/enzyme-adapter-utils/-/enzyme-adapter-utils-1.2.0.tgz#7f4471ee0a70b91169ec8860d2bf0a6b551664b2" dependencies: lodash "^4.17.4" object.assign "^4.0.4" prop-types "^15.5.10" -enzyme-to-json@3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.1.4.tgz#a4a85a8f7b561cb8c9c0d728ad1b619a3fed7df2" +enzyme-to-json@3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/enzyme-to-json/-/enzyme-to-json-3.3.0.tgz#553e23a09ffb4b0cf09287e2edf9c6539fddaa84" dependencies: lodash "^4.17.4" -enzyme@3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.1.0.tgz#d8ca84085790fbcec6ed40badd14478faee4c25a" +enzyme@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.2.0.tgz#998bdcda0fc71b8764a0017f7cc692c943f54a7a" dependencies: cheerio "^1.0.0-rc.2" function.prototype.name "^1.0.3" + has "^1.0.1" is-subset "^0.1.1" lodash "^4.17.4" object-is "^1.0.1" object.assign "^4.0.4" object.entries "^1.0.4" object.values "^1.0.4" - raf "^3.3.2" - rst-selector-parser "^2.2.2" + raf "^3.4.0" + rst-selector-parser "^2.2.3" errno@^0.1.3, errno@^0.1.4: version "0.1.4" @@ -5952,7 +5953,7 @@ querystringify@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-1.0.0.tgz#6286242112c5b712fa654e526652bf6a13ff05cb" -raf@^3.3.2: +raf@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/raf/-/raf-3.4.0.tgz#a28876881b4bc2ca9117d4138163ddb80f781575" dependencies: @@ -6072,9 +6073,9 @@ react-dev-utils@^3.0.0: strip-ansi "3.0.1" text-table "0.2.0" -react-dom@16.0.0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.0.0.tgz#9cc3079c3dcd70d4c6e01b84aab2a7e34c303f58" +react-dom@16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044" dependencies: fbjs "^0.8.16" loose-envify "^1.1.0" @@ -6169,12 +6170,13 @@ react-side-effect@^1.1.0: exenv "^1.2.1" shallowequal "^1.0.1" -react-test-renderer@16.0.0, react-test-renderer@^16.0.0-0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.0.0.tgz#9fe7b8308f2f71f29fc356d4102086f131c9cb15" +react-test-renderer@16.2.0, react-test-renderer@^16.0.0-0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.2.0.tgz#bddf259a6b8fcd8555f012afc8eacc238872a211" dependencies: fbjs "^0.8.16" object-assign "^4.1.1" + prop-types "^15.6.0" react-virtualized@9.12.0: version "9.12.0" @@ -6186,9 +6188,9 @@ react-virtualized@9.12.0: loose-envify "^1.3.0" prop-types "^15.5.4" -react@16.0.0: - version "16.0.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.0.0.tgz#ce7df8f1941b036f02b2cca9dbd0cb1f0e855e2d" +react@16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba" dependencies: fbjs "^0.8.16" loose-envify "^1.1.0" @@ -6547,7 +6549,7 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^2.0.0" inherits "^2.0.1" -rst-selector-parser@^2.2.2: +rst-selector-parser@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91" dependencies: -- 2.39.5