Socket
Socket
Sign inDemoInstall

@mongosh/service-provider-core

Package Overview
Dependencies
Maintainers
10
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 1.5.4 to 1.6.0

2

lib/admin.d.ts
import ShellAuthOptions from './shell-auth-options';
import type { MongoClientOptions, ReadConcern, ReadPreference, WriteConcern, Document, CreateCollectionOptions, ClientSession, DbOptions, ClientSessionOptions, ListDatabasesOptions, AutoEncryptionOptions } from './all-transport-types';
import type { bson as BSON } from './index';
import { ReplPlatform } from './platform';
import type { ReplPlatform } from './platform';
import { FLE } from './all-fle-types';

@@ -6,0 +6,0 @@ export default interface Admin {

import './textencoder-polyfill';
import ServiceProvider, { ServiceProviderCore } from './service-provider';
import getConnectInfo, { ConnectInfo } from './connect-info';
import { ReplPlatform } from './platform';
import type { ReplPlatform } from './platform';
declare const DEFAULT_DB = "test";

@@ -6,0 +6,0 @@ import { ObjectId, DBRef, MaxKey, MinKey, Timestamp, BSONSymbol, Code, Decimal128, Int32, Long, Binary, calculateObjectSize, Double, EJSON, BSONRegExp } from 'bson';

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.bsonStringifiers = exports.bson = exports.ServiceProviderCore = exports.DEFAULT_DB = exports.ReplPlatform = exports.getConnectInfo = void 0;
exports.bsonStringifiers = exports.bson = exports.ServiceProviderCore = exports.DEFAULT_DB = exports.getConnectInfo = void 0;
require("./textencoder-polyfill");

@@ -27,4 +27,2 @@ const service_provider_1 = require("./service-provider");

exports.getConnectInfo = connect_info_1.default;
const platform_1 = require("./platform");
Object.defineProperty(exports, "ReplPlatform", { enumerable: true, get: function () { return platform_1.ReplPlatform; } });
const DEFAULT_DB = 'test';

@@ -31,0 +29,0 @@ exports.DEFAULT_DB = DEFAULT_DB;

@@ -1,6 +0,1 @@

export declare enum ReplPlatform {
Compass = 0,
Browser = 1,
CLI = 2,
JavaShell = 3
}
export declare type ReplPlatform = 'CLI' | 'Browser' | 'Compass' | 'JavaShell';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReplPlatform = void 0;
var ReplPlatform;
(function (ReplPlatform) {
ReplPlatform[ReplPlatform["Compass"] = 0] = "Compass";
ReplPlatform[ReplPlatform["Browser"] = 1] = "Browser";
ReplPlatform[ReplPlatform["CLI"] = 2] = "CLI";
ReplPlatform[ReplPlatform["JavaShell"] = 3] = "JavaShell";
})(ReplPlatform = exports.ReplPlatform || (exports.ReplPlatform = {}));
//# sourceMappingURL=platform.js.map
{
"name": "@mongosh/service-provider-core",
"version": "1.5.4",
"version": "1.6.0",
"description": "MongoDB Shell Core Service Provider Package",

@@ -40,10 +40,10 @@ "main": "lib/index.js",

"dependencies": {
"@mongosh/errors": "1.5.4",
"bson": "^4.6.5",
"mongodb": "^4.8.1",
"@mongosh/errors": "1.6.0",
"bson": "^4.7.0",
"mongodb": "^4.10.0",
"mongodb-build-info": "^1.2.0",
"mongodb-client-encryption": "^2.2.0-alpha.6"
"mongodb-client-encryption": "^2.2.1"
},
"optionalDependencies": {
"mongodb-client-encryption": "^2.2.0-alpha.6"
"mongodb-client-encryption": "^2.2.1"
},

@@ -61,3 +61,3 @@ "dependency-check": {

},
"gitHead": "92fc4d6ce4b4eed4d8d29bc0d38a9eb50831d14e"
"gitHead": "fbbf54a08fb315ae5fde693a98d439b9aa3285f8"
}

@@ -16,3 +16,3 @@ import ShellAuthOptions from './shell-auth-options';

import type { bson as BSON } from './index';
import { ReplPlatform } from './platform';
import type { ReplPlatform } from './platform';
import { FLE } from './all-fle-types';

@@ -19,0 +19,0 @@

import './textencoder-polyfill'; // for mongodb-connection-string-url in the java-shell
import ServiceProvider, { ServiceProviderCore } from './service-provider';
import getConnectInfo, { ConnectInfo } from './connect-info';
import { ReplPlatform } from './platform';
import type { ReplPlatform } from './platform';
const DEFAULT_DB = 'test';

@@ -6,0 +6,0 @@ import {

@@ -1,6 +0,1 @@

export enum ReplPlatform {
Compass,
Browser,
CLI,
JavaShell
}
export type ReplPlatform = 'CLI' | 'Browser' | 'Compass' | 'JavaShell';

Sorry, the diff of this file is not supported yet

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