Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ancient-refs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ancient-refs - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

doc/fonts/OpenSans-Bold-webfont.eot

6

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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"
}
}

@@ -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 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc