Socket
Socket
Sign inDemoInstall

@oridune/epic-odm

Package Overview
Dependencies
3
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

2

package.json
{
"name": "@oridune/epic-odm",
"version": "1.1.4",
"version": "1.1.5",
"description": "Install 1 ODM and code once with any database driver.",

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

@@ -495,10 +495,10 @@ "use strict";

], { session: connection, allowDiskUse: true });
// Add Limit
// Add Limit & Offset
if (typeof aggregate.range === "number")
Cursor.limit(aggregate.range);
else if (aggregate.range instanceof Array) {
if (typeof aggregate.range[1] === "number")
Cursor.skip(aggregate.range[1]);
if (typeof aggregate.range[0] === "number")
Cursor.limit(aggregate.range[0]);
if (typeof aggregate.range[1] === "number")
Cursor.skip(aggregate.range[1]);
}

@@ -505,0 +505,0 @@ return Cursor.toArray();

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc