shared-store
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -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 @@ |
@@ -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" |
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
52796
1008
+ Addedbluebird@3.7.2(transitive)
+ Addedlodash@4.17.21(transitive)
- Removedbluebird@2.11.0(transitive)
- Removedlodash@2.4.2(transitive)
Updatedbluebird@^3.3.3
Updatedlodash@^4.6.1