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

@cocreate/mongodb

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocreate/mongodb - npm Package Compare versions

Comparing version 1.12.1 to 1.12.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.12.2](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.12.1...v1.12.2) (2023-11-18)
### Bug Fixes
* handling of $nin operator ([56cbd21](https://github.com/CoCreate-app/CoCreate-mongodb/commit/56cbd21d3ff2c52da3477eba4a9090372954be1e))
## [1.12.1](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.12.0...v1.12.1) (2023-11-12)

@@ -2,0 +9,0 @@

2

package.json
{
"name": "@cocreate/mongodb",
"version": "1.12.1",
"version": "1.12.2",
"description": "A simple mongodb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -700,5 +700,5 @@ const { MongoClient, ObjectId } = require('mongodb');

if (!Array.isArray(item.value))
query[key] = [item.value]
query[key][item.operator] = [item.value]
else
query[key] = { $in: item.value }
query[key] = { $nin: item.value }
break;

@@ -705,0 +705,0 @@ case '$or':

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