New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ts-mongoose

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-mongoose - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

10

dist/commonjs/Type.d.ts

@@ -5,13 +5,13 @@ import { SchemaTypeOpts, Types } from 'mongoose';

string: (options?: SchemaTypeOpts<string>) => string;
optionalString: (options?: SchemaTypeOpts<string>) => string;
optionalString: (options?: SchemaTypeOpts<string>) => string | null;
number: (options?: SchemaTypeOpts<number>) => number;
optionalNumber: (options?: SchemaTypeOpts<number>) => number;
optionalNumber: (options?: SchemaTypeOpts<number>) => number | null;
boolean: (options?: SchemaTypeOpts<boolean>) => boolean;
optionalBoolean: (options?: SchemaTypeOpts<boolean>) => boolean;
optionalBoolean: (options?: SchemaTypeOpts<boolean>) => boolean | null;
date: (options?: SchemaTypeOpts<Date>) => Date;
optionalDate: (options?: SchemaTypeOpts<Date>) => Date;
optionalDate: (options?: SchemaTypeOpts<Date>) => Date | null;
mixed: (options?: SchemaTypeOpts<any>) => any;
optionalMixed: (options?: SchemaTypeOpts<any>) => any;
objectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId;
optionalObjectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId;
optionalObjectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId | null;
object: (options?: SchemaTypeOpts<object>) => {

@@ -18,0 +18,0 @@ of<T>(schema: T): T;

@@ -5,13 +5,13 @@ import { SchemaTypeOpts, Types } from 'mongoose';

string: (options?: SchemaTypeOpts<string>) => string;
optionalString: (options?: SchemaTypeOpts<string>) => string;
optionalString: (options?: SchemaTypeOpts<string>) => string | null;
number: (options?: SchemaTypeOpts<number>) => number;
optionalNumber: (options?: SchemaTypeOpts<number>) => number;
optionalNumber: (options?: SchemaTypeOpts<number>) => number | null;
boolean: (options?: SchemaTypeOpts<boolean>) => boolean;
optionalBoolean: (options?: SchemaTypeOpts<boolean>) => boolean;
optionalBoolean: (options?: SchemaTypeOpts<boolean>) => boolean | null;
date: (options?: SchemaTypeOpts<Date>) => Date;
optionalDate: (options?: SchemaTypeOpts<Date>) => Date;
optionalDate: (options?: SchemaTypeOpts<Date>) => Date | null;
mixed: (options?: SchemaTypeOpts<any>) => any;
optionalMixed: (options?: SchemaTypeOpts<any>) => any;
objectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId;
optionalObjectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId;
optionalObjectId: (options?: SchemaTypeOpts<Types.ObjectId>) => Types.ObjectId | null;
object: (options?: SchemaTypeOpts<object>) => {

@@ -18,0 +18,0 @@ of<T>(schema: T): T;

{
"name": "ts-mongoose",
"version": "0.0.6",
"version": "0.0.7",
"description": "",

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

@@ -18,3 +18,3 @@ import { SchemaTypeOpts, Schema, Types } from 'mongoose';

type,
} as any) as T;
} as any) as T | null;
};

@@ -21,0 +21,0 @@

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