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.10 to 0.0.11

3

es/types.d.ts

@@ -6,3 +6,4 @@ import { Types } from 'mongoose';

declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare type ExcludeFromArray<T> = T extends Array<infer U> ? Array<Exclude<U, string | number | Types.ObjectId>> : T;
declare type ExcludeBaseType<T> = Exclude<T, string | number | Types.ObjectId>;
export declare type ExcludeFromArray<T> = T extends Array<infer U> ? Array<ExcludeBaseType<U>> : ExcludeBaseType<T>;
export declare type PopulateItem<T, P extends keyof T> = Omit<T, P> & {

@@ -9,0 +10,0 @@ [x in P]: ExcludeFromArray<T[x]>;

{
"name": "ts-mongoose",
"version": "0.0.10",
"version": "0.0.11",
"description": "",

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

@@ -6,3 +6,4 @@ import { Types } from 'mongoose';

declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare type ExcludeFromArray<T> = T extends Array<infer U> ? Array<Exclude<U, string | number | Types.ObjectId>> : T;
declare type ExcludeBaseType<T> = Exclude<T, string | number | Types.ObjectId>;
export declare type ExcludeFromArray<T> = T extends Array<infer U> ? Array<ExcludeBaseType<U>> : ExcludeBaseType<T>;
export declare type PopulateItem<T, P extends keyof T> = Omit<T, P> & {

@@ -9,0 +10,0 @@ [x in P]: ExcludeFromArray<T[x]>;

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