New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-log-writer

Package Overview
Dependencies
Maintainers
30
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-log-writer - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

3

lib/index.js

@@ -191,3 +191,4 @@ "use strict";

continue;
if (new bson_1.ObjectId(id).generationTime < (Date.now() / 1000) - this._options.retentionDays * 86400) {
if (+new bson_1.ObjectId(id).getTimestamp() / 1000 <
(Date.now() / 1000) - this._options.retentionDays * 86400) {
const toUnlink = path_1.default.join(dir, dirent.name);

@@ -194,0 +195,0 @@ try {

{
"name": "mongodb-log-writer",
"version": "1.1.4",
"version": "1.1.5",
"description": "A library for writing MongoDB logv2 messages",

@@ -40,3 +40,3 @@ "keywords": [

"dependencies": {
"bson": "^4.5.1"
"bson": "^4.5.1 || ^5.0.0"
},

@@ -43,0 +43,0 @@ "devDependencies": {

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