streamsearch
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ "name": "streamsearch", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "Brian White <mscdex@mscdex.net>", | ||
@@ -4,0 +4,0 @@ "description": "Streaming Boyer-Moore-Horspool searching for node.js", |
@@ -48,3 +48,6 @@ /* | ||
SBMH.prototype.push = function(chunk, pos) { | ||
var r, chlen = chunk.length; | ||
var r, chlen; | ||
if (!Buffer.isBuffer(chunk)) | ||
chunk = new Buffer(chunk, 'binary'); | ||
chlen = chunk.length; | ||
if (!chunk.bmhpos) | ||
@@ -51,0 +54,0 @@ chunk.bmhpos = pos || 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
10168
182