cmd-helper
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -13,3 +13,2 @@ # css | ||
## css.parse(code) | ||
@@ -16,0 +15,0 @@ |
@@ -112,3 +112,3 @@ # iduri | ||
Find `name` in `pkg.spm.alias`. | ||
Find `name` in `pkg.alias`. | ||
@@ -119,3 +119,3 @@ ## iduri.isAlias(pkg, name) | ||
## iduri.idFromPackage(pkg, filename, format) | ||
## iduri.idFromPackage(pkg, format) | ||
@@ -125,3 +125,3 @@ Generate id from package with the format. Default format is: | ||
``` | ||
'{{ family }}/{{ name }}/{{ version }}/{{ filename }}' | ||
{{ family }}/{{ name }}/{{ version }}/{{ filename }} | ||
``` | ||
@@ -128,0 +128,0 @@ |
@@ -253,5 +253,8 @@ /* | ||
// if name empty return null | ||
if (!name) return null; | ||
// if family and name not exist return null | ||
if (!family && !name) return null; | ||
// if family not exist set name as family | ||
if (!family) family = name; | ||
// return result | ||
@@ -258,0 +261,0 @@ return { |
{ | ||
"name": "cmd-helper", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
33835
772