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

mongot

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongot - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

npm-shrinkwrap.json
{
"name": "mongot",
"version": "1.4.0",
"version": "1.4.1",
"dependencies": {

@@ -5,0 +5,0 @@ "@types/mongodb": {

{
"name": "mongot",
"version": "1.4.0",
"version": "1.4.1",
"description": "MongoT is a modern ODM library for MongoDb.",

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

@@ -14,6 +14,7 @@ import * as MongoDb from 'mongodb';

export { Repository };
export { Connection };
export { Collection };
export * from './connection';
export * from './collection';
export * from './collection/helpers';
export * from './document';
export * from './schema';
export * from './cursor';

@@ -7,5 +7,2 @@ "use strict";

const connection_1 = require("./connection");
exports.Connection = connection_1.Connection;
const collection_1 = require("./collection");
exports.Collection = collection_1.Collection;
class Repository {

@@ -19,6 +16,9 @@ constructor(uri, options) {

destroy() {
return this.state.then(connection => connection.disconnect(), error => error);
return this.state.then((connection) => connection.disconnect(), error => error);
}
}
exports.Repository = Repository;
__export(require("./connection"));
__export(require("./collection"));
__export(require("./collection/helpers"));
__export(require("./document"));

@@ -25,0 +25,0 @@ __export(require("./schema"));

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