Code Duplication    Length = 1-1 lines in 2 locations

node_modules/semver/semver.js 2 locations

@@ 977-977 (lines=1) @@
974
              ' <' + (+M + 1) + '.0.0';
975
    } else {
976
      debug('no pr');
977
      if (M === '0') {
978
        if (m === '0')
979
          ret = '>=' + M + '.' + m + '.' + p +
980
                ' <' + M + '.' + m + '.' + (+p + 1);
@@ 965-965 (lines=1) @@
962
      debug('replaceCaret pr', pr);
963
      if (pr.charAt(0) !== '-')
964
        pr = '-' + pr;
965
      if (M === '0') {
966
        if (m === '0')
967
          ret = '>=' + M + '.' + m + '.' + p + pr +
968
                ' <' + M + '.' + m + '.' + (+p + 1);