assetgraph
Advanced tools
@@ -707,6 +707,5 @@ const pathModule = require('path'); | ||
const urlObj = new urlModule.URL(nonInlineAncestor.url); | ||
const slashes = nonInlineAncestor.url.startsWith(`${urlObj.protocol}//`); | ||
if (urlObj) { | ||
return ( | ||
urlObj.protocol + (urlObj.slashes ? '//' : '') + (urlObj.host || '') | ||
); | ||
return urlObj.protocol + (slashes ? '//' : '') + (urlObj.host || ''); | ||
} | ||
@@ -713,0 +712,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"repository": "git://github.com/assetgraph/assetgraph.git", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"license": "BSD-3-Clause", | ||
@@ -8,0 +8,0 @@ "maintainers": [ |
807484
0.01%23563
0