ancient-refs
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,3 +0,7 @@ | ||
#### 0.0.1 (2016-9-23) | ||
#### 0.0.2 (2016-9-29) | ||
##### New Features | ||
* **class:** Add id and collection. ([9fc229dc](https://github.com/AncientSouls/Refs/commit/9fc229dcc698276c2a6dd487287e68027159a6ac)) | ||
##### Bug Fixes | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "ancient-refs", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Multi-storage ids syntax, parse and get methods.", | ||
@@ -38,4 +38,4 @@ "keywords": [ | ||
"scripts": { | ||
"jsdoc": "git submodule update --init --recursive && cd ./doc && git checkout gh-pages && cd ../ && npm i && rm -r ./doc/*/ && find ./doc ! -name '.git' -type f -exec rm -rf {} + && jsdoc ./*.js ./README.md -r -d ./doc -t ./node_modules/minami -c ./jsdoc.conf.json" | ||
"jsdoc": "git submodule update --init --recursive --force && cd ./doc && git checkout -f gh-pages && cd ../ && npm i && rm -r ./doc/*/ && find ./doc ! -name '.git' -type f -exec rm -rf {} + && jsdoc ./*.js ./README.md -r -d ./doc -t ./node_modules/minami -c ./jsdoc.conf.json" | ||
} | ||
} |
12
refs.js
@@ -56,3 +56,15 @@ /** | ||
Refs.prototype.collection = Refs.prototype.storage; | ||
/** | ||
* @memberof Refs | ||
* @param {String} ref | ||
* @return {String} id | ||
*/ | ||
Refs.prototype.id = function(ref) { | ||
var _ref = this.parse(ref); | ||
return _ref&&_ref[1]?_ref[1]:undefined; | ||
}; | ||
/** | ||
* Callback from get method. | ||
@@ -59,0 +71,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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 14 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1456129
45
857
1
15