Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

type-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-mongodb - npm Package Compare versions

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

4

lib/repository/Repository.js

@@ -266,3 +266,5 @@ "use strict";

}, () => __awaiter(this, void 0, void 0, function* () {
return this.collection.replaceOne(filter, this.toDB(model), opts);
const doc = this.toDB(model);
delete doc._id;
return this.collection.replaceOne(filter, doc, opts);
}));

@@ -269,0 +271,0 @@ });

{
"name": "type-mongodb",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "A simple decorator based MongoDB ODM.",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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