multipasta
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -118,3 +118,3 @@ "use strict"; | ||
function end() { | ||
if (state.previousChunk !== undefined) { | ||
if (state.previousChunk !== undefined && state.previousChunk !== seed) { | ||
callback(state.matchIndex, state.previousChunk); | ||
@@ -121,0 +121,0 @@ } |
@@ -112,3 +112,3 @@ function makeState(needle_) { | ||
function end() { | ||
if (state.previousChunk !== undefined) { | ||
if (state.previousChunk !== undefined && state.previousChunk !== seed) { | ||
callback(state.matchIndex, state.previousChunk); | ||
@@ -115,0 +115,0 @@ } |
{ | ||
"name": "multipasta", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -170,3 +170,3 @@ interface SearchState { | ||
function end(): void { | ||
if (state.previousChunk !== undefined) { | ||
if (state.previousChunk !== undefined && state.previousChunk !== seed) { | ||
callback(state.matchIndex, state.previousChunk) | ||
@@ -173,0 +173,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
150793