Socket
Socket
Sign inDemoInstall

type-mongodb

Package Overview
Dependencies
159
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.4 to 2.0.0-beta.5

2

lib/repository/Repository.d.ts

@@ -38,3 +38,3 @@ import { BulkWriteOptions, Collection, Db, DeleteOptions, DeleteResult, Filter, FindCursor, FindOneAndDeleteOptions, FindOneAndReplaceOptions, FindOneAndUpdateOptions, FindOptions, InsertManyResult, InsertOneOptions, InsertOneResult, ModifyResult, OptionalId, UpdateOptions, UpdateQuery, UpdateResult } from 'mongodb';

findByIdAndUpdate(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<FindOneAndUpdateOptions>): Promise<T | null>;
findByIdAndUpdateOrFail(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<InternalOptions>): Promise<T>;
findByIdAndUpdateOrFail(id: any, update: UpdateQuery<T>, opts?: WithInternalOptions<FindOneAndUpdateOptions>): Promise<T>;
findOneAndReplace(filter: Filter<T | any>, props: PartialDeep<T>, opts?: WithInternalOptions<FindOneAndReplaceOptions>): Promise<T | null>;

@@ -41,0 +41,0 @@ findOneAndReplaceOrFail(filter: Filter<T | any>, props: PartialDeep<T>, opts?: WithInternalOptions<FindOneAndReplaceOptions>): Promise<T>;

{
"name": "type-mongodb",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"description": "A simple decorator based MongoDB ODM.",

@@ -35,3 +35,3 @@ "repository": "https://github.com/j/type-mongodb",

"release": "release-it",
"mongo-start": "MONGODB_VERSION=4.x.x npx mongodb-runner start --topology=replicaset",
"mongo-start": "MONGODB_VERSION=4.x.x npx mongodb-runner start --topology=replicaset --purge=false",
"mongo-stop": "npx mongodb-runner stop --topology=replicaset",

@@ -38,0 +38,0 @@ "test": "jest --runInBand --verbose --coverage",

Sorry, the diff of this file is not supported yet

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