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

@mongosh/service-provider-server

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-server - npm Package Compare versions

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

7

lib/compass-service-provider.d.ts
import CliServiceProvider from './cli-service-provider';
import { MongoClient } from 'mongodb';
interface DataService {
client: {
client: MongoClient;
};
}
declare class CompassServiceProvider extends CliServiceProvider {
static fromDataService(dataService: DataService): CompassServiceProvider;
}
export default CompassServiceProvider;

@@ -20,2 +20,3 @@ "use strict";

var cli_service_provider_1 = __importDefault(require("./cli-service-provider"));
var mongosh_transport_server_1 = require("mongosh-transport-server");
var CompassServiceProvider = (function (_super) {

@@ -26,2 +27,7 @@ __extends(CompassServiceProvider, _super);

}
CompassServiceProvider.fromDataService = function (dataService) {
var mongoClient = dataService.client.client;
var nodeTransport = new mongosh_transport_server_1.NodeTransport(mongoClient);
return new CompassServiceProvider(nodeTransport);
};
return CompassServiceProvider;

@@ -28,0 +34,0 @@ }(cli_service_provider_1.default));

9

package.json
{
"name": "@mongosh/service-provider-server",
"version": "0.0.1-alpha.15",
"version": "0.0.1-alpha.17",
"description": "MongoDB Shell Server Service Provider Package",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"config": {

@@ -42,4 +41,4 @@ "unsafe-perm": true

"dependencies": {
"@mongosh/errors": "^0.0.1-alpha.15",
"@mongosh/service-provider-core": "^0.0.1-alpha.15",
"@mongosh/errors": "^0.0.1-alpha.17",
"@mongosh/service-provider-core": "^0.0.1-alpha.17",
"@types/sinon": "^7.5.1",

@@ -49,3 +48,3 @@ "@types/sinon-chai": "^3.2.3",

},
"gitHead": "7a03e706a3ec26c8d93425b90feaadab6dcf3cdd"
"gitHead": "10b9bc6848810960819cb863ffe6c6d7ca7f8027"
}

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