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

storeit

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storeit - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

4

lib/Storeit.js

@@ -5,3 +5,2 @@ "use strict";

var pubit = require("pubit-as-promised");
var publishLogger = require("./utils").publishLogger;
var whatsDifferent = require("./utils").whatsDifferent;

@@ -29,3 +28,3 @@ var isObject = require("./utils").isObject;

function Storeit(namespace, storageProvider, logger) {
function Storeit(namespace, storageProvider) {
var that = this;

@@ -44,3 +43,2 @@ var cache = {};

var publish = pubit.makeEmitter(that, events); // Mixin `on`, `off`, `once`.
publish = publishLogger(publish, logger || _.noop, namespace); // Make the logger function optional.
var originalPublish = publish;

@@ -47,0 +45,0 @@

@@ -5,10 +5,2 @@ "use strict";

exports.publishLogger = function publishLogger(publish, logger, message) {
return function() {
var args = Array.prototype.slice.call(arguments, 0);
logger(message, args);
publish.apply(null, args);
};
};
function isObject(object) {

@@ -15,0 +7,0 @@ return !!object && typeof object === "object" && !(object instanceof Array) && !(object instanceof Date);

{
"name": "storeit",
"version": "1.0.6",
"version": "1.0.7",
"description": "A key/value storage system that publishes events.",

@@ -41,3 +41,3 @@ "main": "./lib/Storeit.js",

"dependencies": {
"pubit-as-promised": "~1.0.1",
"pubit-as-promised": "~1.1.0",
"underscore": "~1.7.0"

@@ -44,0 +44,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