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

to
1.4.7

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [1.4.7](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.4.6...v1.4.7) (2023-06-11)
### Bug Fixes
* renamed db to storage ([5eaa2bb](https://github.com/CoCreate-app/CoCreate-mongodb/commit/5eaa2bb4c5dbfb2470185a4e075b419c8529e1d7))
* renamed hosts to host. the value can be a string or an array of strings ([3dcbd95](https://github.com/CoCreate-app/CoCreate-mongodb/commit/3dcbd9501b9078324e536f550281c1708a0ff357))
## [1.4.6](https://github.com/CoCreate-app/CoCreate-mongodb/compare/v1.4.5...v1.4.6) (2023-06-10)

@@ -2,0 +10,0 @@

2

CoCreate.config.js

@@ -13,3 +13,3 @@ module.exports = {

"src": "{{./docs/index.html}}",
"hosts": [
"host": [
"cocreate.app",

@@ -16,0 +16,0 @@ "general.cocreate.app"

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

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

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

if (isMatch) {
doc.db = 'mongodb'
doc.storage = 'mongodb'
doc.database = database

@@ -756,3 +756,3 @@ doc.collection = collection

if (typeof error == 'object')
error['db'] = 'mongodb'
error['storage'] = 'mongodb'
else

@@ -759,0 +759,0 @@ error = { db: 'mongodb', message: error }