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 0.0.19 to 0.0.20

5

js/src/XMongoModel.js

@@ -40,7 +40,2 @@ "use strict";

/**
* Model Data
* @type {ObjectCollection}
*/
this.$data = new object_collection_1.default;
/**
* Model Original Data

@@ -47,0 +42,0 @@ * @type {*}

2

package.json
{
"name": "xpress-mongo",
"version": "0.0.19",
"version": "0.0.20",
"description": "Light Weight ODM for mongoDb",

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

@@ -47,3 +47,3 @@ import {

*/
public $data: ObjectCollection = new ObjectCollection;
public $data: ObjectCollection | undefined;

@@ -636,6 +636,6 @@ /**

return this.$data;
return <ObjectCollection>this.$data;
}
return this.$data;
return <ObjectCollection>this.$data;
};

@@ -642,0 +642,0 @@

@@ -32,8 +32,5 @@ import XMongoModel = require('./XMongoModel');

data: import("./CustomTypes").StringToAnyObject;
$data: import("object-collection");
$data: import("object-collection") | undefined;
original: import("./CustomTypes").StringToAnyObject;
schema: import("./CustomTypes").StringToAnyObject; /**
* Use Database
* @param name
*/
schema: import("./CustomTypes").StringToAnyObject;
schemaStore: import("./CustomTypes").StringToAnyObject;

@@ -40,0 +37,0 @@ loadedRelationships: string[];

@@ -21,3 +21,3 @@ import { ObjectID, Collection, UpdateWriteOpResult, InsertOneWriteOpResult, DeleteWriteOpResultObject, Cursor, FindOneOptions, UpdateOneOptions, CollectionInsertOneOptions, CollectionAggregationOptions } from 'mongodb';

*/
$data: ObjectCollection;
$data: ObjectCollection | undefined;
/**

@@ -24,0 +24,0 @@ * Model Original Data

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