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

@payloadcms/db-mongodb

Package Overview
Dependencies
Maintainers
9
Versions
423
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payloadcms/db-mongodb - npm Package Compare versions

Comparing version 3.2.3-canary.2d2e7d5 to 3.2.3-canary.3e78927

1

dist/create.js

@@ -17,2 +17,3 @@ import { handleError } from './utilities/handleError.js';

try {
;
[doc] = await Model.create([

@@ -19,0 +20,0 @@ sanitizedData

@@ -53,2 +53,7 @@ import { Types } from 'mongoose';

}
},
{
updatedAt: {
$lt: new Date(doc.updatedAt)
}
}

@@ -55,0 +60,0 @@ ]

@@ -34,4 +34,6 @@ import { buildJoinAggregation } from './utilities/buildJoinAggregation.js';

if (aggregate) {
;
[doc] = await Model.aggregate(aggregate, options);
} else {
;
options.projection = projection;

@@ -38,0 +40,0 @@ doc = await Model.findOne(query, {}, options);

@@ -165,2 +165,3 @@ import { Types } from 'mongoose';

} else {
;
(Array.isArray(field.relationTo) ? field.relationTo : [

@@ -167,0 +168,0 @@ field.relationTo

@@ -313,5 +313,7 @@ import { Types } from 'mongoose';

if (Array.isArray(formattedValue)) {
;
[lng, lat, maxDistance, minDistance] = formattedValue;
}
if (typeof formattedValue === 'string') {
;
[lng, lat, maxDistance, minDistance] = createArrayFromCommaDelineated(formattedValue);

@@ -318,0 +320,0 @@ }

6

package.json
{
"name": "@payloadcms/db-mongodb",
"version": "3.2.3-canary.2d2e7d5",
"version": "3.2.3-canary.3e78927",
"description": "The officially supported MongoDB database adapter for Payload",

@@ -52,6 +52,6 @@ "homepage": "https://payloadcms.com",

"@payloadcms/eslint-config": "3.0.0",
"payload": "3.2.3-canary.2d2e7d5"
"payload": "3.2.3-canary.3e78927"
},
"peerDependencies": {
"payload": "3.2.3-canary.2d2e7d5"
"payload": "3.2.3-canary.3e78927"
},

@@ -58,0 +58,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc