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.56 to 0.0.57

2

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

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

@@ -40,3 +40,3 @@ import XMongoDataType = require("./XMongoDataType");

Array(def?: () => Array<any>): XMongoDataType
Boolean(def?: boolean): XMongoDataType
Boolean(def?: boolean | (() => boolean)): XMongoDataType
CustomValidator(

@@ -48,8 +48,8 @@ validator: (value: any) => boolean,

InArray(list: any[], def?: any): XMongoDataType
Number(def?: number | number[]): XMongoDataType
Number(def?: number | number[] | (() => number | number[])): XMongoDataType
Object(def?: () => StringToAnyObject): XMongoDataType
ObjectId(): XMongoDataType
String(def?: string | string[]): XMongoDataType
String(def?: string | string[] | (() => string | string[])): XMongoDataType
Types(types: XMongoDataType[]): XMongoDataType
Uuid(version: number, options?: UuidOptions): XMongoDataType
}

@@ -34,3 +34,3 @@ import XMongoDataType = require("./XMongoDataType");

Array(def?: () => Array<any>): XMongoDataType;
Boolean(def?: boolean): XMongoDataType;
Boolean(def?: boolean | (() => boolean)): XMongoDataType;
CustomValidator(validator: (value: any) => boolean, error?: string | {

@@ -41,6 +41,6 @@ (key: string): string;

InArray(list: any[], def?: any): XMongoDataType;
Number(def?: number | number[]): XMongoDataType;
Number(def?: number | number[] | (() => number | number[])): XMongoDataType;
Object(def?: () => StringToAnyObject): XMongoDataType;
ObjectId(): XMongoDataType;
String(def?: string | string[]): XMongoDataType;
String(def?: string | string[] | (() => string | string[])): XMongoDataType;
Types(types: XMongoDataType[]): XMongoDataType;

@@ -47,0 +47,0 @@ Uuid(version: number, options?: UuidOptions): XMongoDataType;

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