Comparing version 1.1.1 to 1.1.2
@@ -21,3 +21,3 @@ "use strict"; | ||
// test 1: it's a file | ||
if (options.files && protocol === "file:///" && encoded.substr(protocol.length).split(/\/|\\/).length - 1) { | ||
if (options.files && protocol === "file:///" && encoded.split(/\/|\\/).length - 1) { | ||
urlObj = { | ||
@@ -24,0 +24,0 @@ reason: "file", |
{ | ||
"name": "anchorme", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A library to convert URLs to a clickable HTML anchor elements", | ||
@@ -5,0 +5,0 @@ "main": "./dist-node/index.js", |
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
35699