chi-datapackage
Advanced tools
Comparing version 5.0.4 to 5.0.5
@@ -9,2 +9,5 @@ CHANGELOG | ||
## 5.0.5 (2016-12-01) | ||
* Fix loaded datapackages lose version | ||
## 5.0.4 (2016-11-01) | ||
@@ -11,0 +14,0 @@ * Update dependencies |
@@ -44,3 +44,7 @@ 'use strict'; | ||
} | ||
return identifier.parse(url); | ||
var id = identifier.parse(url); | ||
if (id.version === '') { | ||
delete id.version; | ||
} | ||
return id; | ||
} | ||
@@ -47,0 +51,0 @@ |
{ | ||
"name": "chi-datapackage", | ||
"version": "5.0.4", | ||
"version": "5.0.5", | ||
"description": "Normalize datapackage and datapackage resources", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -45,3 +45,7 @@ 'use strict'; | ||
} | ||
return identifier.parse(url); | ||
const id = identifier.parse(url); | ||
if (id.version === '') { | ||
delete id.version; | ||
} | ||
return id; | ||
} | ||
@@ -48,0 +52,0 @@ |
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
78583
2147