Socket
Socket
Sign inDemoInstall

nigel

Package Overview
Dependencies
2
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.1.1

LICENSE.md

7

lib/index.js
'use strict';
// Load modules
const Stream = require('stream');
const Stream = require('stream');
const Hoek = require('hoek');

@@ -10,4 +9,2 @@ const Vise = require('vise');

// Declare internals
const internals = {};

@@ -26,3 +23,3 @@

length: needle.length,
badCharShift: new Buffer(256) // Lookup table of how many characters can be skipped for each match
badCharShift: Buffer.alloc(256) // Lookup table of how many characters can be skipped for each match
};

@@ -29,0 +26,0 @@

{
"name": "nigel",
"description": "BoyerMooreHorspool algorithms",
"version": "2.0.2",
"version": "2.1.1",
"repository": "git://github.com/hapijs/nigel",
"engines": {
"node": ">=6.0.0"
},
"main": "lib/index.js",

@@ -14,5 +17,2 @@ "keywords": [

],
"engines": {
"node": ">=4.0.0"
},
"dependencies": {

@@ -23,10 +23,10 @@ "hoek": "4.x.x",

"devDependencies": {
"code": "3.x.x",
"lab": "10.x.x"
"code": "4.x.x",
"lab": "14.x.x"
},
"scripts": {
"test": "lab -a code -t 100 -L",
"test-cov-html": "lab -a code -r html -o coverage.html"
"test": "lab -a code -t 100 -L -l",
"test-cov-html": "lab -a code -r html -o coverage.html -l"
},
"license": "BSD-3-Clause"
"license": "SEE LICENSE IN LICENSE.md"
}

@@ -1,7 +0,5 @@

#nigel
# nigel
Boyer-Moore-Horspool algorithms.
[![Build Status](https://secure.travis-ci.org/hapijs/nigel.svg)](http://travis-ci.org/hapijs/nigel)
Lead Maintainer - [Eran Hammer](https://github.com/hueniverse)
[![Build Status](https://travis-ci.org/hapijs/nigel.svg?branch=v2-commercial)](https://travis-ci.org/hapijs/nigel)

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