Socket
Socket
Sign inDemoInstall

mongo-collections

Package Overview
Dependencies
18
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

dist/DatabaseCollection.d.ts

@@ -1,4 +0,4 @@

import MongoDatabaseClient from './MongoDatabaseClient';
import { MongoDatabaseClient } from './MongoDatabaseClient';
import { Collection } from 'mongodb';
export default class DatabaseCollection {
export declare class DatabaseCollection {
private _client;

@@ -5,0 +5,0 @@ readonly name: string;

@@ -17,3 +17,3 @@ "use strict";

}
exports.default = DatabaseCollection;
exports.DatabaseCollection = DatabaseCollection;
//# sourceMappingURL=DatabaseCollection.js.map
import { Db, MongoClient } from 'mongodb';
export default class MongoDatabaseClient {
export declare class MongoDatabaseClient {
private static _instance;

@@ -4,0 +4,0 @@ private readonly _endpoint;

@@ -29,2 +29,3 @@ "use strict";

}
// @ts-ignore
connectIfNotConnected() {

@@ -50,3 +51,3 @@ return tslib_1.__awaiter(this, void 0, void 0, function* () {

}
exports.default = MongoDatabaseClient;
exports.MongoDatabaseClient = MongoDatabaseClient;
//# sourceMappingURL=MongoDatabaseClient.js.map

@@ -1,2 +0,2 @@

import MongoDatabaseClient from './MongoDatabaseClient';
import {MongoDatabaseClient} from './MongoDatabaseClient';
import {Collection} from 'mongodb';

@@ -3,0 +3,0 @@

{
"name": "mongo-collections",
"version": "1.0.0",
"version": "1.0.1",
"author": "Uldis Jansons <uj@mobilly.lv>",

@@ -5,0 +5,0 @@ "repository": {

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc