@jscpd/tokenizer
Advanced tools
Comparing version 3.3.17 to 3.3.20
@@ -65,3 +65,3 @@ "use strict"; | ||
const result = token; | ||
const lines = result.value.split('\n'); | ||
const lines = result.value && result.value.split ? result.value.split('\n') : []; | ||
const newLines = lines.length - 1; | ||
@@ -68,0 +68,0 @@ const start = { |
{ | ||
"name": "@jscpd/tokenizer", | ||
"version": "3.3.17", | ||
"version": "3.3.20", | ||
"description": "tokenizer of source code for jscpd", | ||
@@ -40,3 +40,3 @@ "author": "Andrey Kucherenko <kucherenko.andrey@gmail.com>", | ||
}, | ||
"gitHead": "d536e882e1a80f3b2abaf0243b94c3080fe99939" | ||
"gitHead": "2814be7cd41288d7b72663d17b96cb56a1a93c05" | ||
} |
Sorry, the diff of this file is not supported yet
62078