Comparing version 0.5.10 to 0.5.11
@@ -20,2 +20,6 @@ 'use strict'; | ||
var _values2 = require('fast.js/object/values'); | ||
var _values3 = _interopRequireDefault(_values2); | ||
var _map2 = require('fast.js/map'); | ||
@@ -257,7 +261,7 @@ | ||
if (!firstRun) { | ||
parentUpdatePromise = Promise.all((0, _map3.default)(this._parentCursors, function (v, k) { | ||
parentUpdatePromise = Promise.all((0, _values3.default)((0, _map3.default)(this._parentCursors, function (v, k) { | ||
if (v._propagateUpdate) { | ||
return v._propagateUpdate(false); | ||
} | ||
})); | ||
}))); | ||
} | ||
@@ -264,0 +268,0 @@ |
@@ -62,6 +62,6 @@ import _bind from 'fast.js/function/bind'; | ||
const docsLength = docs.length; | ||
return Promise.all(_map(docs, (x, i) => ( | ||
return Promise.all(_map(docs, (x, i) => | ||
PIPELINE_PROCESSORS[PIPELINE_TYPE.JoinAll](x, pipeObj, cursor, | ||
i, docsLength) | ||
))); | ||
)); | ||
}, | ||
@@ -68,0 +68,0 @@ [PIPELINE_TYPE.JoinAll]: (docs, pipeObj, cursor, i = 0, len = 1) => { |
import _bind from 'fast.js/function/bind'; | ||
import _check from 'check-types'; | ||
import _values from 'fast.js/object/values'; | ||
import _map from 'fast.js/map'; | ||
@@ -217,7 +218,7 @@ import Cursor from './Cursor'; | ||
parentUpdatePromise = Promise.all( | ||
_map(this._parentCursors, (v, k) => { | ||
_values(_map(this._parentCursors, (v, k) => { | ||
if (v._propagateUpdate) { | ||
return v._propagateUpdate(false); | ||
} | ||
}) | ||
})) | ||
); | ||
@@ -224,0 +225,0 @@ } |
{ | ||
"name": "marsdb", | ||
"version": "0.5.10", | ||
"version": "0.5.11", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Artem Artemev", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
931529
21756