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

quickmongo

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quickmongo - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

.jsdoc.json

1

index.js
module.exports = {
Base: require("./src/Base"),
Database: require("./src/Main"),
Error: require("./src/Error"),
MemoryStorage: require("./src/Cache"),

@@ -6,0 +5,0 @@ Schema: require("./src/Schema"),

{
"name": "quickmongo",
"version": "1.0.9",
"version": "1.1.0",
"description": "Quick mongodb wrapper for beginners.",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": [
{
"require": "./index.js",
"import": "./esm/index.mjs"
},
"./index.js"
],
"./esm": "./esm/index.mjs"
},
"scripts": {

@@ -7,0 +18,0 @@ "docsgen": "jsdoc --configure .jsdoc.json --verbose",

@@ -7,3 +7,3 @@ # QuickMongo

# Documentation
**[QuickMongo](https://quickmongo.snowflakedev.xyz)**
**[QuickMongo](https://quickmongo.js.org)**

@@ -10,0 +10,0 @@ # Features

@@ -281,3 +281,3 @@ const Base = require("./Base");

if (!Array.isArray(data)) throw new Error("Data type must be Array.", "DataTypeError");
if (data.length < 1) return [];
if (data.length < 1) return;
let start = Date.now();

@@ -284,0 +284,0 @@ this.emit("debug", `Queued ${data.length} entries!`);

@@ -61,3 +61,3 @@ const _ = require("lodash");

let arb = data.filter(i => i.ID.startsWith(key));
if (ops.sort && typeof ops.sort === 'string') {
if (ops && ops.sort && typeof ops.sort === 'string') {
if (ops.sort.startsWith('.')) ops.sort = ops.sort.slice(1);

@@ -64,0 +64,0 @@ ops.sort = ops.sort.split('.');

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