Comparing version 1.10.1 to 1.10.2
@@ -147,3 +147,3 @@ var foreign = require('foreign'), | ||
if(typeof fn !== 'function'){ | ||
throw 'No task function passed to righto'; | ||
throw new Error('No task function passed to righto'); | ||
} | ||
@@ -159,3 +159,3 @@ | ||
if(typeof callback !== 'function'){ | ||
throw "Callback must be a function"; | ||
throw new Error('Callback must be a function'); | ||
} | ||
@@ -312,3 +312,3 @@ | ||
if(typeof Proxy === 'undefined'){ | ||
throw 'This environment does not support Proxy\'s'; | ||
throw new Error('This environment does not support Proxy\'s'); | ||
} | ||
@@ -315,0 +315,0 @@ |
{ | ||
"name": "righto", | ||
"version": "1.10.1", | ||
"version": "1.10.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "directories": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60055