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

medici

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

medici - npm Package Compare versions

Comparing version 5.0.0-next.5 to 5.0.0-next.6

8

build/helper/parse/parseFilterQuery.js

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

const parseDateField_1 = require("./parseDateField");
const flattenObject_1 = require("../flattenObject");
/**

@@ -22,2 +23,3 @@ * Turn query into an object readable by MongoDB.

}
const meta = {};
for (const [key, value] of Object.entries(extra)) {

@@ -34,9 +36,7 @@ if ((0, isPrototypeAttribute_1.isPrototypeAttribute)(key))

else {
if (!filterQuery.meta)
filterQuery.meta = {};
filterQuery.meta[key] = newValue;
meta[key] = newValue;
}
}
return filterQuery;
return { ...filterQuery, ...(0, flattenObject_1.flattenObject)(meta, "meta") };
}
exports.parseFilterQuery = parseFilterQuery;
{
"name": "medici",
"version": "5.0.0-next.5",
"version": "5.0.0-next.6",
"description": "Simple double-entry accounting for Node + Mongoose",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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