Socket
Socket
Sign inDemoInstall

@typegoose/typegoose

Package Overview
Dependencies
226
Maintainers
1
Versions
217
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 11.0.1 to 11.0.2

12

lib/types.d.ts

@@ -637,1 +637,13 @@ import type * as mongoose from 'mongoose';

}
/**
* Get all keys from "T" that are a function
* does NOT filter out getters / setters
*/
export type GetFunctionKeys<T extends object> = {
[K in keyof T]: T[K] extends (...args: any) => any ? K : never;
}[keyof T];
/**
* Remove all properties from "T" that are a function
* does NOT filter out getters / setters
*/
export type FilterOutFunctionKeys<T extends object> = Omit<T, GetFunctionKeys<T>>;

2

package.json
{
"name": "@typegoose/typegoose",
"version": "11.0.1",
"version": "11.0.2",
"description": "Define Mongoose models using TypeScript classes",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc