diff-sequences
Advanced tools
Comparing version 26.3.0 to 26.5.0
@@ -691,6 +691,4 @@ 'use strict'; | ||
const validateLength = (name, arg) => { | ||
const type = typeof arg; | ||
if (type !== 'number') { | ||
throw new TypeError(`${pkg}: ${name} typeof ${type} is not a number`); | ||
if (typeof arg !== 'number') { | ||
throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`); | ||
} | ||
@@ -697,0 +695,0 @@ |
{ | ||
"name": "diff-sequences", | ||
"version": "26.3.0", | ||
"version": "26.5.0", | ||
"repository": { | ||
@@ -34,3 +34,3 @@ "type": "git", | ||
}, | ||
"gitHead": "3a7e06fe855515a848241bb06a6f6e117847443d" | ||
"gitHead": "68d1b1b638bc7464c2794a957c1b894de7da2ee3" | ||
} |
52658
847