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.9 to 0.0.1-alpha.10

2

lib/readable.d.ts

@@ -16,3 +16,5 @@ import Document from './document';

getIndexes(database: string, collection: string, dbOptions?: Document): Promise<Result>;
listCollections(database: string, filter?: Document, options?: Document, dbOptions?: Document): Promise<Result>;
stats(database: string, collection: string, options?: Document, dbOptions?: Document): Promise<Result>;
}
export default Readable;

@@ -23,3 +23,4 @@ import Document from './document';

dropIndexes(database: string, collection: string, indexes: string | string[] | Document | Document[], options?: Document, dbOptions?: Document): Promise<Result>;
reIndex(database: string, collection: string, options?: Document, dbOptions?: Document): Promise<Result>;
}
export default Writable;

4

package.json
{
"name": "@mongosh/service-provider-core",
"version": "0.0.1-alpha.9",
"version": "0.0.1-alpha.10",
"description": "MongoDB Shell Core Service Provider Package",

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

},
"gitHead": "586dc6c544bedf0bf652784afc2c4f6bb14bfa20"
"gitHead": "72e9d284d6e622e9844b063ab5a11df66fa08aee"
}

@@ -170,4 +170,37 @@ import Document from './document';

dbOptions?: Document): Promise<Result>;
/**
* Returns an array of collection infos
*
* @param {String} database - The db name.
* @param {Document} filter - The filter.
* @param {Document} options - The command options.
* @param {Object} dbOptions - The database options
* (i.e. readConcern, writeConcern. etc).
*
* @return {Promise}
*/
listCollections(
database: string,
filter?: Document,
options?: Document,
dbOptions?: Document): Promise<Result>;
/*
* Get all the collection statistics.
*
* @param {String} database - The db name.
* @param {String} collection - The collection name.
* @param {Object} options - The count options.
* @param {Object} dbOptions - The database options
* @return {Promise} returns Promise
*/
stats(
database: string,
collection: string,
options?: Document,
dbOptions?: Document
): Promise<Result>
}
export default Readable;

@@ -310,4 +310,19 @@ import Document from './document';

dbOptions?: Document): Promise<Result>;
/**
* Reindex all indexes on the collection.
*
* @param {String} database - The db name.
* @param {String} collection - The collection name.
* @param {Object} options - The command options.
* @param {Object} dbOptions - The database options (i.e. readConcern, writeConcern. etc).
* @return {Promise}
*/
reIndex(
database: string,
collection: string,
options?: Document,
dbOptions?: Document): Promise<Result>;
}
export default Writable;
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