Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-cross-cursor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-cross-cursor - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

README.md

28

dist/index.js

@@ -22,11 +22,25 @@ "use strict";

session.endSession();
const cmd = yield db.command({
const symbolsProperties = Object.getOwnPropertySymbols(castedFind);
const kFilter = symbolsProperties.find(symbol => symbol.description === "filter");
const kBuiltOptions = symbolsProperties.find(symbol => symbol.description === "builtOptions");
const filter = castedFind[kFilter];
const builtOptions = castedFind[kBuiltOptions];
const _commandOptions = {
find: cloned.namespace.collection,
filter: cloned.filter,
filter: filter,
batchSize: 0,
hint: cloned.hint,
sort: cloned.sort,
skip: cloned.skip,
limit: cloned.limit
}, {
};
if (builtOptions.hint) {
_commandOptions.hint = builtOptions.hint;
}
if (builtOptions.sort) {
_commandOptions.sort = builtOptions.sort;
}
if (builtOptions.skip) {
_commandOptions.skip = builtOptions.skip;
}
if (builtOptions.limit) {
_commandOptions.limit = builtOptions.limit;
}
const cmd = yield db.command(_commandOptions, {
session: (0, utils_1.fakeSessionBuilder)(sessionId)

@@ -33,0 +47,0 @@ });

{
"name": "mongodb-cross-cursor",
"version": "1.0.5",
"version": "1.0.6",
"author": "Baptiste Jamin <baptiste@crisp.chat> (https://crisp.chat)",

@@ -5,0 +5,0 @@ "description": "A mongodb driver extension allowing to consume MongoDB cursors accross multiple instances",

Sorry, the diff of this file is not supported yet

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