Socket
Socket
Sign inDemoInstall

@andrewscwei/mongodb-odm

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@andrewscwei/mongodb-odm - npm Package Compare versions

Comparing version 0.26.0 to 0.27.0

2

build/core/Model.d.ts

@@ -15,3 +15,3 @@ /**

*/
schema: Schema<T>;
readonly schema: Schema<T>;
/**

@@ -18,0 +18,0 @@ * Gets the MongoDB collection associated with this model.

@@ -18,3 +18,3 @@ import { ObjectID } from 'mongodb';

new (): {};
schema: Schema<BarProps>;
readonly schema: Schema<BarProps>;
getCollection(): Promise<import("mongodb").Collection<any>>;

@@ -21,0 +21,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<BarProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<BarProps>>>;

@@ -13,3 +13,3 @@ /// <reference types="mongodb" />

new (): {};
schema: Schema<BazProps>;
readonly schema: Schema<BazProps>;
getCollection(): Promise<import("mongodb").Collection<any>>;

@@ -16,0 +16,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<BazProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<BazProps>>>;

@@ -12,3 +12,3 @@ import { ObjectID } from 'mongodb';

new (): {};
schema: Schema<FooProps>;
readonly schema: Schema<FooProps>;
getCollection(): Promise<import("mongodb").Collection<any>>;

@@ -15,0 +15,0 @@ randomFields(fixedFields?: Partial<import("../../types").Document<FooProps>>, { includeOptionals }?: import("../../types").ModelRandomFieldsOptions): Promise<Partial<import("../../types").Document<FooProps>>>;

{
"name": "@andrewscwei/mongodb-odm",
"version": "0.26.0",
"version": "0.27.0",
"description": "ODM for MongoDB",

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

Sorry, the diff of this file is not supported yet

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