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

marsdb

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marsdb - npm Package Compare versions

Comparing version 0.6.10 to 0.6.11

10

dist/cursor-processors/joinObj.js

@@ -121,12 +121,13 @@ 'use strict';

var resIdMap = {};
var initKeyparts = joinPath.split('.');
(0, _forEach2.default)(res, function (v) {
return resIdMap[v._id] = v;
});
var keyparts = joinPath.split('.');
var field = keyparts[keyparts.length - 1];
(0, _forEach2.default)(docsWrapped, function (wrap) {
(0, _forEach2.default)(wrap.lookupResult, function (branch) {
if (branch.value) {
// `findModTarget` will modify `keyparts`. So, it should
// be copied each time.
var keyparts = initKeyparts.slice();
var target = (0, _DocumentModifier.findModTarget)(wrap.doc, keyparts, {

@@ -137,2 +138,3 @@ noCreate: false,

});
var field = keyparts[keyparts.length - 1];

@@ -139,0 +141,0 @@ if (_checkTypes2.default.array(branch.value)) {

1

dist/Random.js

@@ -255,3 +255,2 @@ 'use strict';

exports.default = Random;
exports.default = Random;

@@ -78,10 +78,11 @@ import _check from 'check-types';

const resIdMap = {};
const initKeyparts = joinPath.split('.');
_each(res, v => resIdMap[v._id] = v);
const keyparts = joinPath.split('.');
const field = keyparts[keyparts.length - 1];
_each(docsWrapped, wrap => {
_each(wrap.lookupResult, branch => {
if (branch.value) {
// `findModTarget` will modify `keyparts`. So, it should
// be copied each time.
const keyparts = initKeyparts.slice();
const target = findModTarget(wrap.doc, keyparts, {

@@ -92,2 +93,3 @@ noCreate: false,

});
const field = keyparts[keyparts.length - 1];

@@ -94,0 +96,0 @@ if (_check.array(branch.value)) {

@@ -35,3 +35,3 @@ import _each from 'fast.js/forEach';

BasicCursor.prototype[procName] = v.method;
});
});n

@@ -38,0 +38,0 @@

@@ -243,3 +243,1 @@ import _try from 'fast.js/function/try';

}
export default Random;
{
"name": "marsdb",
"version": "0.6.10",
"version": "0.6.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

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