Socket
Socket
Sign inDemoInstall

@mongez/mongodb

Package Overview
Dependencies
235
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.60 to 1.0.61

2

cjs/model/model.js

@@ -516,6 +516,6 @@ "use strict";

case "date": {
if (isEmpty) return null;
if (value instanceof Date) {
return timeWizard.toUTC(value);
}
if (isEmpty) return null;
if (dayjs__default.default.isDayjs(value)) {

@@ -522,0 +522,0 @@ return timeWizard.toUTC(value.toDate());

@@ -513,6 +513,6 @@ import {

case "date": {
if (isEmpty) return null;
if (value instanceof Date) {
return toUTC(value);
}
if (isEmpty) return null;
if (dayjs.isDayjs(value)) {

@@ -519,0 +519,0 @@ return toUTC(value.toDate());

{
"name": "@mongez/mongodb",
"version": "1.0.60",
"version": "1.0.61",
"description": "Powerful Mongodb Database Manager for Node Js",

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

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