oust
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -51,3 +51,3 @@ /*! | ||
function oust(src, type, raw) { | ||
if (!src || !type) { | ||
if (typeof src !== 'string' || !type) { | ||
throw new Error('`src` and `type` required'); | ||
@@ -54,0 +54,0 @@ } |
{ | ||
"name": "oust", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Addy Osmani <addyosmani@gmail.com> (https://addyosmani.com/)", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
17727