node-srt
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -34,3 +34,3 @@ 'use strict'; | ||
// nothing of interests, return early | ||
if (parts.length === 0) { | ||
if (parts.length === 0 || input === '') { | ||
return { valid: true, strict, cues: [], errors: [] }; | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "node-srt", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "SRT parser, compiler, and segmenter with HLS support", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
27133