Socket
Socket
Sign inDemoInstall

longest-streak

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

longest-streak - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc