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

shared-store

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shared-store - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

### 2.0.3
* Apply latest nlm generator & upgrade to bluebird 3.x - **[@i-tier-bot](https://github.com/i-tier-bot)** [#28](https://github.com/groupon/shared-store/pull/28)
- [`55b3a28`](https://github.com/groupon/shared-store/commit/55b3a2878c6a6aacef08c8f94b23c5b7dc978e04) **chore:** Apply latest nlm generator
- [`cac9301`](https://github.com/groupon/shared-store/commit/cac9301c64169aefea505a957fba036f0dc54ce9) **fix:** Changes for bluebird 3
### 2.0.2

@@ -2,0 +9,0 @@

10

lib/safe-merge.js

@@ -34,6 +34,6 @@

'use strict';
var filter, max, merge, pluck, reduce, ref, safeMerge, sourceList, toArray,
var filter, map, max, merge, reduce, ref, safeMerge, sourceList, toArray,
slice = [].slice;
ref = require('lodash'), merge = ref.merge, pluck = ref.pluck, max = ref.max, reduce = ref.reduce, filter = ref.filter;
ref = require('lodash'), merge = ref.merge, map = ref.map, max = ref.max, reduce = ref.reduce, filter = ref.filter;

@@ -58,5 +58,5 @@ toArray = function(value) {

args = 1 <= arguments.length ? slice.call(arguments, 0) : [];
data = merge.apply(null, [{}].concat(slice.call(pluck(args, 'data'))));
time = max(filter(pluck(args, 'time')));
source = reduce(pluck(args, 'source'), sourceList);
data = merge.apply(null, [{}].concat(slice.call(map(args, 'data'))));
time = max(filter(map(args, 'time')));
source = reduce(map(args, 'source'), sourceList);
return {

@@ -63,0 +63,0 @@ data: data,

@@ -78,2 +78,5 @@

this._temp = path.resolve(temp);
if (this._temp === '/') {
throw new Error("Refusing to use / as a tmp directory");
}
this._createStream = (function(_this) {

@@ -80,0 +83,0 @@ return function() {

{
"name": "shared-store",
"version": "2.0.2",
"version": "2.0.3",
"description": "Keeping config data in sync",

@@ -30,7 +30,7 @@ "license": "BSD-3-Clause",

"dependencies": {
"bluebird": "^2.6.2",
"bluebird": "^3.3.3",
"cson-parser": "^1.0.8",
"debug": "^2.1.1",
"deep-freeze": "0.0.1",
"lodash": "^2.4.1",
"lodash": "^4.6.1",
"mkdirp": "^0.5.0",

@@ -37,0 +37,0 @@ "rx": "^2.3.22"

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