Socket
Socket
Sign inDemoInstall

@mongosh/service-provider-core

Package Overview
Dependencies
Maintainers
7
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mongosh/service-provider-core - npm Package Compare versions

Comparing version 0.0.1-alpha.14 to 0.0.1-alpha.15

2

lib/cursor.d.ts

@@ -25,3 +25,2 @@ import Document from './document';

projection(spec: Document): Cursor;
readPref(preference: string): Cursor;
returnKey(enabled: boolean): Cursor;

@@ -32,2 +31,3 @@ size(): Promise<number>;

tailable(): Cursor;
readPref(mode: string, tagSet?: Document[]): Cursor;
toArray(): Promise<Document[]>;

@@ -34,0 +34,0 @@ explain(verbosity: string): Promise<any>;

@@ -14,3 +14,2 @@ import Document from './document';

getTopology(): any;
listDatabases(database: string): Promise<Result>;
isCapped(database: string, collection: string, dbOptions?: DatabaseOptions): Promise<Result>;

@@ -17,0 +16,0 @@ getIndexes(database: string, collection: string, dbOptions?: DatabaseOptions): Promise<Result>;

{
"name": "@mongosh/service-provider-core",
"version": "0.0.1-alpha.14",
"version": "0.0.1-alpha.15",
"description": "MongoDB Shell Core Service Provider Package",

@@ -37,3 +37,3 @@ "main": "lib/index.js",

},
"gitHead": "d505622df7589da25592a1abfe62cb76de702b3b"
"gitHead": "7a03e706a3ec26c8d93425b90feaadab6dcf3cdd"
}

@@ -68,2 +68,3 @@ import Document from './document';

forEach(f): Promise<void>;

@@ -161,11 +162,2 @@

/**
* Set the read preference.
*
* @param {string} preference - The read preference.
*
* @returns {Cursor} The cursor.
*/
readPref(preference: string): Cursor;
/**
* Set the cursor to return the index field.

@@ -207,2 +199,11 @@ *

/**
* Set read preference for the cursor.
*
* @param {string} mode - the read preference mode
* @param {Document[]} [tagSet] - the tag set
* @returns {Cursor}
*/
readPref(mode: string, tagSet?: Document[]): Cursor;
/**
* Get the documents from the cursor as an array of objects.

@@ -209,0 +210,0 @@ */

@@ -145,11 +145,2 @@ import Document from './document';

/**
* list databases.
*
* @param {String} database - The database name.
*
* @returns {Promise} The promise of command results.
*/
listDatabases(database: string): Promise<Result>;
/**
* Is the collection capped?

@@ -156,0 +147,0 @@ *

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