Comparing version 2.3.1 to 2.4.0
@@ -113,2 +113,7 @@ "use strict"; | ||
function setIndex() { | ||
var keys = Object.keys(cache); | ||
storageProvider.setMetadata(ikey("primary"), keys); | ||
} | ||
function removeKey(key) { | ||
@@ -173,2 +178,9 @@ if (has(key)) { | ||
function setSerializerName() { | ||
var data = { | ||
itemSerializer: storageProvider.itemSerializer | ||
}; | ||
storageProvider.setMetadata(namespace, data); | ||
} | ||
function setValue(key, value, metadata) { | ||
@@ -200,7 +212,2 @@ if (typeof key !== "string" && isObject(key)) { | ||
function setIndex() { | ||
var keys = Object.keys(cache); | ||
storageProvider.setMetadata(ikey("primary"), keys); | ||
} | ||
// Read in the base namespace key. | ||
@@ -217,9 +224,2 @@ function initializeItemSerializer(hasItems) { | ||
function setSerializerName() { | ||
var data = { | ||
itemSerializer: storageProvider.itemSerializer | ||
}; | ||
storageProvider.setMetadata(namespace, data); | ||
} | ||
function publishProxy() { | ||
@@ -226,0 +226,0 @@ publish.apply(null, arguments); |
{ | ||
"name": "storeit", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "A key/value storage system that publishes events.", | ||
"main": "./lib/Storeit.js", | ||
"homepage": "https://github.com/YuzuJS/storeit", | ||
"homepage": "https://github.com/donavon/storeit", | ||
"author": { | ||
"name": "YuzuJS" | ||
"name": "donavon" | ||
}, | ||
@@ -34,7 +34,7 @@ "keywords": [ | ||
"type": "MIT", | ||
"url": "http://github.com/YuzuJS/storeit/raw/master/LICENSE" | ||
"url": "http://github.com/donavon/storeit/raw/master/LICENSE" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/YuzuJS/storeit.git" | ||
"url": "git://github.com/donavon/storeit.git" | ||
}, | ||
@@ -47,5 +47,5 @@ "readmeFilename": "README.md", | ||
"dependencies": { | ||
"pubit-as-promised": "~1.1.1", | ||
"q": "~1.2.1", | ||
"underscore": "~1.7.0" | ||
"pubit-as-promised": "^1.1.1", | ||
"q": "^1.2.1", | ||
"underscore": "^1.7.0" | ||
}, | ||
@@ -52,0 +52,0 @@ "devDependencies": { |
Storeit! | ||
========== | ||
[![Build Status](https://travis-ci.org/YuzuJS/storeit.svg?branch=master)](https://travis-ci.org/YuzuJS/storeit) | ||
[![Build Status](https://travis-ci.org/donavon/storeit.svg?branch=master)](https://travis-ci.org/donavon/storeit) | ||
@@ -21,3 +21,3 @@ Storeit is a key/value storage system that publishes events. You can have multiple "stores". | ||
You can view the entire API spec | ||
[here](https://github.com/YuzuJS/storeit/wiki/API-Documentation). | ||
[here](https://github.com/donavon/storeit/wiki/API-Documentation). | ||
@@ -27,3 +27,3 @@ ## Plugins | ||
Storeit now support third part plugins! Yay! Check out how to write a plugin | ||
[here](https://github.com/YuzuJS/storeit/wiki/Plugins). | ||
[here](https://github.com/donavon/storeit/wiki/Plugins). | ||
@@ -36,2 +36,2 @@ You can see a list of all Storeit plugins here | ||
For use under [MIT license](http://github.com/YuzuJS/storeit/raw/master/LICENSE). | ||
For use under [MIT license](http://github.com/donavon/storeit/raw/master/LICENSE). |
Sorry, the diff of this file is not supported yet
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
44191
+ Addedq@1.5.1(transitive)
+ Addedunderscore@1.13.7(transitive)
- Removedq@1.2.1(transitive)
- Removedunderscore@1.7.0(transitive)
Updatedpubit-as-promised@^1.1.1
Updatedq@^1.2.1
Updatedunderscore@^1.7.0