Socket
Socket
Sign inDemoInstall

nigel

Package Overview
Dependencies
2
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

10

lib/index.js

@@ -85,8 +85,8 @@ 'use strict';

const matches = [];
for (let last = start; last !== -1 && last < haystack.length;) {
for (let i = start; i !== -1 && i < haystack.length;) {
last = exports.horspool(haystack, needle, last);
if (last !== -1) {
matches.push(last);
last += needle.length;
i = exports.horspool(haystack, needle, i);
if (i !== -1) {
matches.push(i);
i += needle.length;
}

@@ -93,0 +93,0 @@ }

{
"name": "nigel",
"description": "BoyerMooreHorspool algorithms",
"version": "2.0.0",
"version": "2.0.1",
"repository": "git://github.com/hapijs/nigel",

@@ -18,3 +18,3 @@ "main": "lib/index.js",

"dependencies": {
"hoek": "3.x.x",
"hoek": "4.x.x",
"vise": "2.x.x"

@@ -24,3 +24,3 @@ },

"code": "2.x.x",
"lab": "7.x.x"
"lab": "10.x.x"
},

@@ -27,0 +27,0 @@ "scripts": {

@@ -5,4 +5,4 @@ #nigel

[![Build Status](https://secure.travis-ci.org/hapijs/nigel.png)](http://travis-ci.org/hapijs/nigel)
[![Build Status](https://secure.travis-ci.org/hapijs/nigel.svg)](http://travis-ci.org/hapijs/nigel)
Lead Maintainer - [Eran Hammer](https://github.com/hueniverse)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc