longest-streak
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -11,3 +11,3 @@ 'use strict'; | ||
var maximum = 0; | ||
var expected = 0; | ||
var expected; | ||
var index; | ||
@@ -20,3 +20,3 @@ | ||
value = String(value); | ||
index = value.indexOf(character, expected); | ||
expected = index = value.indexOf(character); | ||
@@ -23,0 +23,0 @@ while (index !== -1) { |
{ | ||
"name": "longest-streak", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Count the longest repeating streak of a character", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"esmangle": "^1.0.0", | ||
"nyc": "^8.4.0", | ||
"nyc": "^10.0.0", | ||
"remark-cli": "^2.1.0", | ||
@@ -30,0 +30,0 @@ "remark-preset-wooorm": "^1.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4556