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

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 2.9.3 to 2.9.4

2

package.json
{
"name": "xpress-mongo",
"version": "2.9.3",
"version": "2.9.4",
"description": "Light Weight ODM for mongoDb NodeJs",

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

@@ -178,4 +178,8 @@ import ObjectCollection from "object-collection";

private $setOriginal;
private $appendData;
/**
* Appends static `appends` to the model
* @param append
*/
$appendData(append?: string[]): this;
/**
* Set multiple schemas and use them at anytime using `.setSchema`

@@ -182,0 +186,0 @@ * @param {string} name

@@ -237,3 +237,3 @@ "use strict";

static make(data = {}) {
return new this().set(data).$appendData();
return new this().set(data);
}

@@ -275,2 +275,6 @@ /**

}
/**
* Appends static `appends` to the model
* @param append
*/
$appendData(append) {

@@ -277,0 +281,0 @@ // Get Append

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