<!DOCTYPE html>
<html lang="en">

<head>
  <style>
    .metatable {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    color: inherit;
    font-feature-settings: "pnum";
    box-sizing: border-box;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    outline: none;
    padding: 0;
    text-align: left;
    text-decoration: none;
    vertical-align: baseline;
    z-index: auto;
    margin-top: 12px;
    border-collapse: collapse;
    border-spacing: 0;
    font-variant-numeric: tabular-nums;
    max-width: 51.75em;
  }

  tbody {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    color: inherit;
    font-feature-settings: "pnum";
    border-collapse: collapse;
    border-spacing: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    outline: none;
    padding: 0;
    text-align: left;
    text-decoration: none;
    vertical-align: baseline;
    z-index: auto;
    display: flex;
    flex-wrap: wrap;
  }

  .meta-row {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    color: inherit;
    font-feature-settings: "pnum";
    border-collapse: collapse;
    border-spacing: 0;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 100%;
    outline: none;
    text-align: left;
    text-decoration: none;
    vertical-align: baseline;
    z-index: auto;
    display: flex;
    align-items: start;
    border-top: 1px solid #d3d3d9;
    padding: 8px 0 0 0;
    border-bottom: none;
    margin: 8px;
    width: 47.75%;
  }

  .meta-row-label {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    font-feature-settings: "pnum";
    border-collapse: collapse;
    border-spacing: 0;
    color: #4c4a73;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    font: inherit;
    margin: 0;
    outline: none;
    text-decoration: none;
    z-index: auto;
    align-self: start;
    flex: 1;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0;
    text-align: left;
    vertical-align: top;
    text-transform: none;
    letter-spacing: 0;
  }

  .meta-row-value {
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-box-direction: normal;
    color: inherit;
    font-feature-settings: "pnum";
    border-collapse: collapse;
    border-spacing: 0;
    word-break: break-word;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 100%;
    margin: 0;
    outline: none;
    padding: 0;
    text-align: right;
    text-decoration: none;
    vertical-align: baseline;
    z-index: auto;
  }
  /* Style the tab */
    .tab {
      overflow: hidden;
      border: 0x;
      background-color: inherit;
    }

    /* Style the buttons that are used to open the tab content */
    .tab button {
      background-color: inherit;
      color: #777;
      border: none;
      outline: none;
      cursor: pointer;
      font-weight: bold;
      padding: 14px 16px;
    }

    /* Change background color of buttons on hover */
    .tab button:hover {
      background-color: #ddd;
      color: black;
    }

    /* Create an active/current tablink class */
    .tab button.active {
      background-color: inherit;
      font-weight: bold;
      color: black;
    }

    /* Style the tab content */
    .tabcontent {
      display: none;
      border: 1px solid #ccc;
      border-top: none;
    }

    /* DivTable.com */
    .divTable{
    	display: table;
      border: 1px solid #777;
      border-radius: 5px 5px 0 0;
    	width: 100%;
    }

    .divTableRow {
    	display: table-row;
      border-bottom: 0px solid #ccc;
      background-color: #fff;
    }
    .divTableHeaderRow {
    	display: table-row;
      border-bottom: 1px solid #ccc;
      background-color:#4b45a9;
      color: #fff;
      font-weight: bold;
    }

    .divTableHeading {
    	background-color: #000;
    	display: table-header-group;
      border-radius: 5px;
    }

    .divTableCell, .divTableHead {
    	border-bottom: 1px solid #999999;
    	display: table-cell;
    	padding: 3px 10px;
      padding-bottom: 5px;
      padding-top: 18px;
      vertical-align: middle;
    }

    .divTableHeaderCell {
    	border-bottom: 1px solid #999999;
    	display: table-cell;
    	padding: 3px 10px;
      padding-bottom: 5px;
      vertical-align: middle;
      text-align: center;
    }

    .divTableHeading {
    	background-color: #EEE;
    	display: table-header-group;
    	font-weight: bold;
      border-radius: 5px;
    }

    .divTableFoot {
    	background-color: #EEE;
    	display: table-footer-group;
    	font-weight: bold;
    }

    .divTableBody {
    	display: table-row-group;
      font-size: 10pt;
      border-radius: 5px;
    }

    #cvssScoreHeader {
       width: 80px;
    }

    #cveHeader {
       width: 160px;
    }

    #disclosureDate, #publicationDate {
      width: 75px;
    }

    #snykLink {
      border-radius: 0 5px 0 0;
    }

    #snykSeverity {
      border-radius: 5px 0 0 0;
    }

    body {
      -moz-font-feature-settings: "pnum";
      -webkit-font-feature-settings: "pnum";
      font-variant-numeric: proportional-nums;
      display: flex;
      flex-direction: column;
      font-feature-settings: "pnum";
      font-size: 100%;
      line-height: 1.5;
      min-height: 100vh;
      -webkit-text-size-adjust: 100%;
      margin: 0;
      padding: 0;
      background-color: #F5F5F5;
      font-family: 'Arial', 'Helvetica', Calibri, sans-serif;
    }

    h1,h2,h3,h4,h5,h6 {
      font-weight: 500;
    }

    a,
    a:link,
    a:visited {
      border-bottom: 1px solid #4b45a9;
      text-decoration: none;
      color: #4b45a9;
    }

    a:hover,
    a:focus,
    a:active {
      border-bottom: 1px solid #4b45a9;
    }

    hr {
      border: none;
      margin: 1em 0;
      border-top: 1px solid #c5c5c5;
    }

    ul {
      padding: 0 1em;
      margin: 1em 0;
    }

    code {
      background-color: #EEE;
      color: #333;
      padding: 0.25em 0.5em;
      border-radius: 0.25em;
    }

    pre {
      background-color: #333;
      font-family: monospace;
      padding: 0.5em 1em 0.75em;
      border-radius: 0.25em;
      font-size: 14px;
    }

    pre code {
      padding: 0;
      background-color: transparent;
      color: #fff;
    }

    a code {
      border-radius: .125rem .125rem 0 0;
      padding-bottom: 0;
      color: #4b45a9;
    }

    a[href^="http://"]:after,
    a[href^="https://"]:after {
      background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20112%20109%22%3E%3Cg%20id%3D%22Page-1%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20id%3D%22link-external%22%3E%3Cg%20id%3D%22arrow%22%3E%3Cpath%20id%3D%22Line%22%20stroke%3D%22%234B45A9%22%20stroke-width%3D%2215%22%20d%3D%22M88.5%2021l-43%2042.5%22%20stroke-linecap%3D%22square%22%2F%3E%3Cpath%20id%3D%22Triangle%22%20fill%3D%22%234B45A9%22%20d%3D%22M111.2%200v50L61%200z%22%2F%3E%3C%2Fg%3E%3Cpath%20id%3D%22square%22%20fill%3D%22%234B45A9%22%20d%3D%22M66%2015H0v94h94V44L79%2059v35H15V30h36z%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");
      background-repeat: no-repeat;
      background-size: .75rem;
      content: "";
      display: inline-block;
      height: .75rem;
      margin-left: .25rem;
      width: .75rem;
    }


/*   Layout */

    [class*=layout-container] {
      margin: 0 auto;
      max-width: 71.25em;
      padding: 1.9em 1.3em;
      position: relative;
    }
    .layout-container--short {
      padding-top: 0;
      padding-bottom: 0;
      max-width: 48.75em;
    }

    .layout-container--short:after {
      display: block;
      content: "";
      clear: both;
    }

/*   Header */

    .header {
      padding-bottom: 1px;
    }

    .paths {
      margin-left: 8px;
    }
    .header-wrap {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding-top: 2em;
    }
    .project__header {
      background-color: #030328;
      color: #fff;
      margin-bottom: -10px;
      padding-top: 1em;
      padding-bottom: 0.25em;
      border-bottom: 0px solid #BBB;
    }

    .project__header__title {
      overflow-wrap: break-word;
      word-wrap: break-word;
      word-break: break-all;
      margin-bottom: .1em;
      margin-top: 0;
    }

    .timestamp {
      float: right;
      clear: none;
      margin-bottom: 0;
    }

    .meta-counts {
      clear: both;
      display: block;
      flex-wrap: wrap;
      justify-content: space-between;
      margin: 0 0 1.5em;
      color: #fff;
      clear: both;
      font-size: 1.1em;
    }

    .meta-count {
      display: block;
      flex-basis: 100%;
      margin: 0 1em 1em 0;
      float: left;
      padding-right: 1em;
      border-right: 2px solid #fff;
    }

    .meta-count:last-child {
      border-right: 0;
      padding-right: 0;
      margin-right: 0;
    }

    .layout-stacked {
      border: 0px;
    }

    .layout-stacked__header {
      border: 0px;
      margin-bottom: 0px;
    }

/*   Card */

    .card {
      background-color: #fff;
      border: 1px solid #c5c5c5;
      border-radius: .25rem;
      margin: 0 0 2em 0;
      position: relative;
      min-height: 40px;
      padding: 1.5em;
    }

    .card .label {
      background-color: #767676;
      border: 2px solid #767676;
      color: white;
      padding: 0.25rem 0.75rem;
      font-size: 0.875rem;
      text-transform: uppercase;
      display: inline-block;
      margin: 0;
      border-radius: 0.25rem;
    }

    .card .label__text {
      vertical-align: text-top;
      font-weight: bold;
    }

    .card .label--critical {
      background-color: #AB1A1A;
      border-color: #AB1A1A;
    }
    .card .label--high {
      background-color: #CE5019;
      border-color: #CE5019;
    }

    .card .label--medium {
      background-color: #D68000;
      border-color: #D68000;
    }

    .card .label--low {
      background-color: #88879E;
      border-color: #88879E;
    }

    .severity--low {
      border-color: #88879E;
    }

    .severity--medium {
      border-color: #D68000;
    }

    .severity--high {
      border-color: #CE5019;
    }

    .severity--critical {
      border-color: #AB1A1A;
    }

    .card--vuln {
      padding-top: 4em;
    }

    .card--vuln .label {
      left: 0;
      position: absolute;
      top: 1.1em;
      padding-left: 1.9em;
      padding-right: 1.9em;
      border-radius: 0 0.25rem 0.25rem 0;
    }

    .card--vuln .card__section h2 {
      font-size: 22px;
      margin-bottom: 0.5em;
    }

    .card--vuln .card__section p {
      margin: 0 0 0.5em 0;
    }

    .card--vuln .card__meta {
      padding: 0 0 0 1em;
      margin: 0;
      font-size: 1.1em;
    }

    .card .card__meta__paths {
      font-size: 0.9em;
    }

    .card--vuln .card__title {
      font-size: 28px;
      margin-top: 0;
    }

    .card--vuln .card__cta p {
      margin: 0;
      text-align: right;
    }

    .source-panel {
      clear: both;
      display: flex;
      justify-content: flex-start;
      flex-direction: column;
      align-items: flex-start;
      padding: 0.5em 0;
      width: fit-content;
    }
  </style>
  <script>
    function loadTab(evt, tabName) {
      // Declare all variables
      var i, tabContent, tabLinks;

      // Get all elements with class="tab_content" and hide them
      tabContent = document.getElementsByClassName("tab_content");
      for (i = 0; i < tabContent.length; i++) {
        tabContent[i].style.display = "none";
      }

      // Get all elements with class="tab_links" and remove the class "active"
      tabLinks = document.getElementsByClassName("tab_links");
      for (i = 0; i < tabLinks.length; i++) {
        tabLinks[i].className = tabLinks[i].className.replace(" active", "");
      }

      // Show the current tab, and add an "active" class to the button that opened the tab
      document.getElementById(tabName).style.display = "inline";
      evt.currentTarget.className += " active";
    }
  </script>

  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <meta http-equiv="Content-Language" content="en-us">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Snyk Test Report</title>
  <meta name="description" content="{{uniqueCount}} known vulnerabilities found in {{summary}}.">
  <base target="_blank">
  <link rel="icon" type="image/png" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.png"
    sizes="194x194">
  <link rel="shortcut icon" href="https://res.cloudinary.com/snyk/image/upload/v1468845142/favicon/favicon.ico">
</head>

<body class="section-projects">
  <main class="layout-stacked">
   <div class="layout-stacked__header header">
      <header class="project__header">
        <div class="layout-container">
          <a class="brand" href="https://snyk.io" title="Snyk">
            <svg width="68px" height="35px" viewBox="0 0 68 35" version="1.1" xmlns="http://www.w3.org/2000/svg" role="img">
              <title>Snyk - Open Source Security</title>
              <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                <g fill="#fff">
                  <path d="M5.732,27.278 C3.445,27.278 1.589,26.885 0,26.124 L0.483,22.472 C2.163,23.296 4.056,23.689 5.643,23.689 C6.801,23.689 7.563,23.295 7.563,22.599 C7.563,20.594 0.333,21.076 0.333,15.839 C0.333,12.491 3.407,10.729 7.259,10.729 C9.179,10.729 11.161,11.249 12.444,11.704 L11.924,15.294 C10.577,14.774 8.747,14.291 7.222,14.291 C6.282,14.291 5.518,14.621 5.518,15.231 C5.518,17.208 12.903,16.815 12.903,21.925 C12.903,25.325 9.877,27.277 5.733,27.277 L5.732,27.278 Z M25.726,26.936 L25.726,17.894 C25.726,15.827 24.811,14.85 23.069,14.85 C22.219,14.85 21.329,15.09 20.719,15.46 L20.719,26.936 L15.352,26.936 L15.352,11.262 L20.602,10.83 L20.474,13.392 L20.652,13.392 C21.784,11.87 23.702,10.716 25.992,10.716 C28.736,10.716 31.112,12.416 31.112,16.436 L31.112,26.936 L25.724,26.936 L25.726,26.936 Z M61.175,26.936 L56.879,19.479 L56.446,19.479 L56.446,26.935 L51.082,26.935 L51.082,8.37 L56.447,0 L56.447,17.323 C57.515,16.017 61.112,11.059 61.112,11.059 L67.732,11.059 L61.454,17.689 L67.949,26.95 L61.175,26.95 L61.175,26.938 L61.175,26.936 Z M44.13,11.11 L41.93,18.262 C41.5,19.606 41.08,22.079 41.08,22.079 C41.08,22.079 40.75,19.516 40.292,18.172 L37.94,11.108 L31.928,11.108 L38.462,26.935 C37.572,29.04 36.199,30.815 34.369,30.815 C34.039,30.815 33.709,30.802 33.389,30.765 L31.255,34.061 C31.928,34.441 33.212,34.835 34.737,34.835 C38.703,34.835 41.359,31.627 43.215,26.885 L49.443,11.108 L44.132,11.108 L44.13,11.11 Z"></path>
                </g>
              </g>
            </svg>
          </a>
          <div class="header-wrap">
              <h1 class="project__header__title">Snyk test report</h1>
              <p class="timestamp">{{moment d "MMMM Do YYYY, h:mm:ss a (zZ)"}}</p>
          </div>
          {{#if paths}}
          <div class="source-panel">
            <span>Scanned the following paths:</span>
            <ul>
              {{#each paths}}<li class="paths">{{path}} ({{packageManager}})</li>{{/each}}
            </ul>
          </div>
          {{/if}}
          {{#if path}}
          <div class="source-panel">
            <span>Scanned the following path:</span>
            <ul>
              <li class="paths">{{path}} ({{packageManager}})</li>
            </ul>
          </div>
          {{/if}}

          <div class="meta-counts">
            <div class="meta-count"><span>{{uniqueCount}}</span> <span>known vulnerabilities</span></div>
            <div class="meta-count"><span>{{summary}}</span></div>
            <div class="meta-count"><span>{{dependencyCount}}</span> <span>dependencies</span></div>
          </div><!-- .meta-counts -->
        </div><!-- .layout-container--short -->
      </header><!-- .project__header -->
    </div><!-- .layout-stacked__header -->

    <section class="layout-container">
    <table class="metatable">
        <tbody>
        <tr class="meta-row"><th class="meta-row-label">Project</th> <td class="meta-row-value">{{projectName}}</td></tr>
        <tr class="meta-row"><th class="meta-row-label">Path</th> <td class="meta-row-value">{{path}}</td></tr>
        <tr class="meta-row"><th class="meta-row-label">Package Manager</th> <td class="meta-row-value">{{packageManager}}</td></tr>
        <tr class="meta-row"><th class="meta-row-label">Manifest</th> <td class="meta-row-value">{{displayTargetFile}}</td></tr>
        </tbody>
    </table>
</section>

    <div class="layout-container" style="padding-top: 5px;">
        <div class="tab">
            <button class="tab_links active" onclick="loadTab(event, 'cveSummary')">CVE Summary</button>
            <button class="tab_links" onclick="loadTab(event, 'vulnDetails')">Vulnerability Details</button>
        </div>
    <div id="cveSummary" class="tab_content" style="display: inline">
      {{#if vulnerabilities}}
      <!--<div class="cards--vuln filter--patch filter--ignore">-->
        <div class="divTable">
          <div class="divTableBody">
            <div class="divTableHeaderRow">
              <div class="divTableHeaderCell" id="snykSeverity">Snyk<br/>Severity</div>
              <div class="divTableHeaderCell" id="cvssScoreHeader">CVSSv3 Score</div>
              <div class="divTableHeaderCell" id="cveHeader">CVE</div>
              <div class="divTableHeaderCell">Description</div>
              <div class="divTableHeaderCell">Module</div>
              <div class="divTableHeaderCell" id="disclosureDate">Disclosed</div>
              <div class="divTableHeaderCell" id="publicationDate">Published</div>
              <div class="divTableHeaderCell" id="snykLink">Snyk</a></div>
            </div>
              {{#each vulnerabilities}}
                {{#unless metadata.license }}
                <div class="divTableRow">
                  <div class="divTableCell"
                     style="text-align: center;
                     {{#if_eq metadata.severity 'high'}} color: #CE5019
                     {{else if_eq metadata.severity 'medium'}} color: #D68000
                     {{else}} color: #767676
                     {{/if_eq}}">{{metadata.severity}}
                  </div>
                  <div class="divTableCell" style="text-align: center"><b>{{metadata.cvssScore}}</b></div>
                  <div class="divTableCell">{{{metadata.cveLineBreaks}}}</div>
                  <div class="divTableCell">{{metadata.title}}</div>
                  <div class="divTableCell">{{metadata.packageManager}}:{{metadata.name}}@{{metadata.version}}</div>
                  <div class="divTableCell">{{metadata.disclosureTime}}</div>
                  <div class="divTableCell">{{metadata.publicationTime}}</div>
                  <div class="divTableCell"><a href="https://snyk.io/vuln/{{metadata.id}}">...</a></div>
                </div>
                {{/unless}}
              {{/each}}
          </div>
        </div>
      <!--</div>--><!-- cards -->
    {{else}}
      No known vulnerabilities detected.
    {{/if}}
    </div>
    <div id="vulnDetails" class="tab_content" style="display: none;">
    {{#if vulnerabilities}}
      <div class="cards--vuln filter--patch filter--ignore">
        {{#each vulnerabilities}}
        <div class="card card--vuln  disclosure--not-new severity--{{metadata.severity}}" >
    <h2 class="card__title">{{metadata.title}}</h2>
    <div class="card__section">

        <div class="label label--{{metadata.severity}}">
            <span class="label__text">{{metadata.severity}} severity</span>
        </div>

        <hr/>

       {{#unless metadata.license}}
       <ul class="card__meta__item">
            <li>CVSS Score: <b>{{metadata.cvssScore}}</b></li>
            <li>CVEs: {{{metadata.cveSpaced}}}</li>
            <li>Disclosed: {{metadata.disclosureTime}}</li>
            <li>Published: {{metadata.publicationTime}}</li>
       </ul>

       <hr/>
       {{/unless}}

        <ul class="card__meta">
            <li class="card__meta__item">
                Package Manager: {{metadata.packageManager}}
            </li>
            <li class="card__meta__item">
                {{#if_eq list.0.type "license"}}
                    Module:
                {{else}}
                    Vulnerable module:
                {{/if_eq}}

                {{#if_eq metadata.type "npm"}}
                    <a href="/test/{{@root.project.type}}/{{metadata.name}}">{{metadata.name}}</a>
                {{else}}
                    {{metadata.name}}
                {{/if_eq}}
            </li>

            <li class="card__meta__item">Introduced through:
                {{#if_eq metadata.packageManager "npm"}}
                    {{#if_eq (count list.[0].from) 1}}
                        <a href="/test/{{@root.project.type}}/{{list.[0].from.[0]}}">
                            {{list.[0].from}}
                        </a>
                    {{/if_eq}}
                {{else}}
                    {{#if_eq (count list.[0].from) 1}}
                        {{list.[0].from}}
                    {{/if_eq}}
                {{/if_eq}}

                {{#if_eq @root.project.type "npm"}}
                    {{#if_eq (count list.[0].from) 2}}
                        <a href="/test/{{@root.project.type}}/{{list.[0].from.[0]}}">
                            {{list.[0].from.[0]}}
                        </a>
                        and
                        <a href="/test/{{@root.project.type}}/{{list.[0].from.[1]}}">
                            {{list.[0].from.[1]}}
                        </a>
                    {{/if_eq}}
                {{else}}
                    {{#if_eq (count list.[0].from) 2}}
                        {{list.[0].from.[0]}} and {{list.[0].from.[1]}}
                    {{/if_eq}}

                    {{#if_eq @root.project.type "npm"}}
                        {{#ifCond (count list.[0].from) '>=' 3}}
                            <a href="/test/{{@root.project.type}}/{{list.[0].from.[0]}}">{{list.[0].from.[0]}}</a>,
                            <a href="/test/{{@root.project.type}}/{{list.[0].from.[1]}}">{{list.[0].from.[1]}}</a> and others
                        {{/ifCond}}
                    {{else}}
                        {{#ifCond (count list.[0].from) '>=' 3}}
                            {{list.[0].from.[0]}}, {{list.[0].from.[1]}} and others
                        {{/ifCond}}
                    {{/if_eq}}
                {{/if_eq}}
            </li>
        </ul>

        <hr/>

        {{#unless showSummaryOnly}}

            {{#if_eq @root.project.type "npm"}}
                <h3 class="card__section__title">Detailed paths and remediation</h3>
            {{else}}
                <h3 class="card__section__title">Detailed paths</h3>
            {{/if_eq}}

            <ul class="card__meta__paths">
                {{#each list}}
                    {{#isDoubleArray from}}
                        {{#each .}}
                        <li class="list-paths__item">
                            <span class="list-paths__item__introduced"><em>Introduced through</em>:
                                {{#each .}}
                                    {{.}}
                                    {{#unless @last}} <span class="list-paths__item__arrow">›</span> {{/unless}}
                                {{/each}}
                            </span>
                        {{/each}}
                    {{else}}
                        <li>
                        <span class="list-paths__item__introduced"><em>Introduced through</em>:
                            {{#each .}}
                                {{.}}
                                {{#unless @last}} <span class="list-paths__item__arrow">›</span> {{/unless}}
                            {{/each}}
                        </span>
                    {{/isDoubleArray}}

                    {{#if_eq @root.project.type "npm"}}
                        <span class="list-paths__item__remediation">
                        <strong>Remediation:</strong>
                        {{#if_any isUpgradable isPatchable}}
                            {{#upgradeAvailable upgradePath}}{{!-- Direct dependency with upgrade. --}}
                                {{#if_eq upgradePath.[1] from.[1]}}{{!-- Dependencies are out of date. --}}
                                    Your dependencies are out of date, otherwise you would be using a newer {{name}} than {{name}}@{{version}}.
                                    Try deleting node_modules.
                                    If the problem persists, one of your dependencies may be bundling outdated modules.
                                {{else}}{{!-- Dependencies are not out of date. --}}
                                    Upgrade to {{#firstNonFalse upgradePath}}{{.}}{{/firstNonFalse}}.
                                {{/if_eq}}
                                {{else}}{{!-- This is not a direct dependency, but there is an upgrade --}}
                                  {{#if @root.isTest}}{{!-- This is a test page --}}
                                  No direct dependency upgrade can address this issue.
                                  If possible, manually upgrade to {{#firstNonFalse upgradePath}}{{.}}{{/firstNonFalse}},
                                  or run <code><a href="/docs/using-snyk/#monitor">snyk monitor</a></code> to get notified when an easier upgrade or a patch becomes available.
                                  {{else}}{{!-- This is a monitor page --}}
                                  No direct dependency upgrade can address this issue.
                                  If possible, manually upgrade to {{#firstNonFalse upgradePath}}{{.}}{{/firstNonFalse}}.
                                  We'll notify you when an easier upgrade or a patch is available.
                                  {{/if}}
                            {{/upgradeAvailable}}
                        {{else}}{{!-- There are no upgrades or patches --}}
                            No remediation path available.
                        {{/if_any}}
                        </span><!-- .list-paths__item__remediation -->
                    {{/if_eq}}
                    </li>
                {{/each}}
            </ul><!-- .list-paths -->
        {{/unless}}

    </div><!-- .card__section -->

    {{#unless showSummaryOnly}}
      <hr/>
      <!-- Overview -->
      {{{markdown metadata.description}}}
      <hr/>
    {{else}}
      {{#if metadata}}
        {{{getRemediation metadata.description metadata.fixedIn}}}
      {{/if}}
    {{/unless}}

    <div class="cta card__cta">
        <p><a href="https://snyk.io/vuln/{{metadata.id}}">More about this vulnerability</a></p>
    </div>

</div><!-- .card -->
        {{/each}}
      </div><!-- cards -->
    {{else}}
      No known vulnerabilities detected.
    {{/if}}
    </div>
    </div>
  </main><!-- .layout-stacked__content -->
</body>

</html>
