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

@discue/mongodb-resource-client

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

@discue/mongodb-resource-client - npm Package Compare versions

Comparing version 0.28.0 to 0.29.0

2

lib/locks.js

@@ -54,2 +54,4 @@ const { createTracer } = require('@discue/open-telemetry-tracing')

})
}).catch((e) => {
console.error(`[mongodb-resource-client] Unable to create index for collection ${collectionName} in db ${databaseName}`, e)
})

@@ -56,0 +58,0 @@ }

2

lib/simple-resource-storage.d.ts

@@ -15,3 +15,3 @@ /// <reference types="node" />

_collectionName: string;
_eventEmitter: import("events");
_eventEmitter: import("events")<[never]>;
_emitUsageEventEnabled: boolean;

@@ -18,0 +18,0 @@ _emitUsageEvent: ({ context, resourceIds, before, after }: {

@@ -99,2 +99,4 @@ const { MongoClient, Timestamp } = require('mongodb')

})
}).catch((e) => {
console.error(`[mongodb-resource-client] Unable to create index for collection ${this._collectionName} in db ${this._databaseName}`, e)
})

@@ -101,0 +103,0 @@ }

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "0.28.0",
"version": "0.29.0",
"description": "Simple wrapper around mongodb client allowing easier managing of resources",

@@ -60,10 +60,10 @@ "main": "lib/index",

"@types/mocha": "^10.0.6",
"@types/node": "^20.11.17",
"@types/node": "^20.11.24",
"chai": "^4.3.10",
"documentation": "^14.0.3",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"mocha": "^10.3.0",
"mongodb": "^6.3.0",
"mongodb": "^6.4.0",
"mongodb-memory-server": "^9.1.6",
"nodemon": "^3.0.3",
"nodemon": "^3.1.0",
"standard-version": "^9.5.0",

@@ -70,0 +70,0 @@ "typescript": "^5.3.3"

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