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.1 to 2.0.2

3

index.js

@@ -19,3 +19,4 @@ 'use strict';

value = String(value);
expected = index = value.indexOf(character);
index = value.indexOf(character);
expected = index;

@@ -22,0 +23,0 @@ while (index !== -1) {

{
"name": "longest-streak",
"version": "2.0.1",
"version": "2.0.2",
"description": "Count the longest repeating streak of a character",

@@ -14,4 +14,4 @@ "license": "MIT",

],
"repository": "https://github.com/wooorm/afinn-111",
"bugs": "https://github.com/wooorm/afinn-111/issues",
"repository": "wooorm/longest-streak",
"bugs": "https://github.com/wooorm/longest-streak/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",

@@ -26,12 +26,12 @@ "contributors": [

"devDependencies": {
"browserify": "^13.0.0",
"browserify": "^14.0.0",
"esmangle": "^1.0.0",
"nyc": "^10.0.0",
"remark-cli": "^2.1.0",
"remark-preset-wooorm": "^1.0.0",
"nyc": "^11.0.0",
"remark-cli": "^4.0.0",
"remark-preset-wooorm": "^3.0.0",
"tape": "^4.6.2",
"xo": "^0.17.0"
"xo": "^0.18.0"
},
"scripts": {
"build-md": "remark . --quiet --frail",
"build-md": "remark . -qfo",
"build-bundle": "browserify index.js --bare -s longestStreak > longest-streak.js",

@@ -53,2 +53,3 @@ "build-mangle": "esmangle longest-streak.js > longest-streak.min.js",

"space": true,
"esnext": false,
"ignores": [

@@ -59,4 +60,6 @@ "longest-streak.js"

"remarkConfig": {
"presets": "wooorm"
"plugins": [
"preset-wooorm"
]
}
}
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