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

wingbot-mongodb

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wingbot-mongodb - npm Package Compare versions

Comparing version 2.21.2 to 2.21.3-beta.1

.nyc_output/8cd701fd-7d02-4d21-90bc-0f9eafe331ec.json

2

.nyc_output/processinfo/index.json

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

{"processes":{"32821199-22af-42bd-8e0d-c255510f3efa":{"parent":null,"children":[]}},"files":{"/Users/david/Downloads/wingbot-mongodb/src/AttachmentCache.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/AuditLogStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/BaseStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/BotConfigStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/BotTokenStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/tokenFactory.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/ChatLogStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/NotificationsStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"],"/Users/david/Downloads/wingbot-mongodb/src/StateStorage.js":["32821199-22af-42bd-8e0d-c255510f3efa"]},"externalIds":{}}
{"processes":{"8cd701fd-7d02-4d21-90bc-0f9eafe331ec":{"parent":null,"children":[]}},"files":{"/Users/david/Development/wingbot-mongodb/src/AttachmentCache.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/AuditLogStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/BaseStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/BotConfigStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/BotTokenStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/tokenFactory.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/ChatLogStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/NotificationsStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"],"/Users/david/Development/wingbot-mongodb/src/StateStorage.js":["8cd701fd-7d02-4d21-90bc-0f9eafe331ec"]},"externalIds":{}}
{
"name": "wingbot-mongodb",
"version": "2.21.2",
"version": "2.21.3-beta.1",
"description": "MongoDB storage for wingbot.ai",

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

@@ -12,2 +12,3 @@ /*

const SEARCH = 'search-text';
const NAME = 'name_1';

@@ -52,4 +53,9 @@ /**

if (!isCosmo) {
if (isCosmo) {
this.addIndex(
{ name: 1 },
{ name: NAME }
);
} else {
this.addIndex(
{ '$**': 'text' },

@@ -161,4 +167,8 @@ { name: SEARCH }

if (this._isCosmo) {
const $regex = `^${condition.search}`.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&');
Object.assign(useCondition, {
name: { $regex: condition.search, $options: 'i' }
$or: [
{ senderId: { $regex } },
{ name: { $regex } }
]
});

@@ -165,0 +175,0 @@ } else {

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