Comparing version 5.9.0 to 5.9.1
@@ -0,1 +1,5 @@ | ||
## 5.9.1 | ||
* Fixes for uri parsing and protocol handling in `tilelive.auto()` | ||
## 5.9.0 | ||
@@ -2,0 +6,0 @@ |
@@ -99,3 +99,3 @@ var tilelive = exports; | ||
tilelive.auto = function(uri) { | ||
uri = url.parse(uri); | ||
uri = url.parse(uri, true); | ||
uri.pathname = qs.unescape(uri.pathname); | ||
@@ -105,3 +105,3 @@ | ||
var keyword = uri.protocol | ||
? uri.protocol.replace(':', '') | ||
? uri.protocol.replace(':', '').split('+')[0] | ||
: path.extname(uri.pathname).replace('.', ''); | ||
@@ -108,0 +108,0 @@ uri.protocol = uri.protocol || keyword + ':'; |
{ | ||
"name": "tilelive", | ||
"version": "5.9.0", | ||
"version": "5.9.1", | ||
"main": "./lib/tilelive.js", | ||
@@ -47,4 +47,3 @@ "description": "API for various map tile backends", | ||
"tape": "2.13.3", | ||
"tilejson": "~0.8.0", | ||
"tilelive-http": "^0.3.0" | ||
"tilejson": "~1.0.0" | ||
}, | ||
@@ -51,0 +50,0 @@ "bin": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
66489
7
0