Comparing version 2.0.0 to 2.0.1
@@ -6,3 +6,3 @@ 'use strict'; | ||
if (typeof str !== 'string') { | ||
throw new Error('Expected a string'); | ||
throw new TypeError(`Expected a string, got ${typeof str}`); | ||
} | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "file-url", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3078