docker-parse-image
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -23,4 +23,4 @@ module.exports = function(image) { | ||
registry = registry ? registry+'/' : '' | ||
namespace = namespace ? namespace+'/' : '' | ||
tag = result.tag ? ':'+result.tag : '' | ||
namespace = namespace && namespace !== 'library' ? namespace+'/' : '' | ||
tag = tag && tag !== 'latest' ? ':'+tag : '' | ||
@@ -27,0 +27,0 @@ result.name = registry + namespace + repository + tag |
{ | ||
"name": "docker-parse-image", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Parse docker image urls", | ||
@@ -5,0 +5,0 @@ "main": "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
5596