@mongosh/service-provider-core 1.5.4 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/admin.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -3
- package/lib/index.js.map +1 -1
- package/lib/platform.d.ts +1 -6
- package/lib/platform.js +0 -8
- package/lib/platform.js.map +1 -1
- package/package.json +7 -7
- package/src/admin.ts +1 -1
- package/src/index.ts +1 -1
- package/src/platform.ts +1 -6
package/lib/admin.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import ShellAuthOptions from './shell-auth-options';
|
|
2
2
|
import type { MongoClientOptions, ReadConcern, ReadPreference, WriteConcern, Document, CreateCollectionOptions, ClientSession, DbOptions, ClientSessionOptions, ListDatabasesOptions, AutoEncryptionOptions } from './all-transport-types';
|
|
3
3
|
import type { bson as BSON } from './index';
|
|
4
|
-
import { ReplPlatform } from './platform';
|
|
4
|
+
import type { ReplPlatform } from './platform';
|
|
5
5
|
import { FLE } from './all-fle-types';
|
|
6
6
|
export default interface Admin {
|
|
7
7
|
platform: ReplPlatform;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './textencoder-polyfill';
|
|
2
2
|
import ServiceProvider, { ServiceProviderCore } from './service-provider';
|
|
3
3
|
import getConnectInfo, { ConnectInfo } from './connect-info';
|
|
4
|
-
import { ReplPlatform } from './platform';
|
|
4
|
+
import type { ReplPlatform } from './platform';
|
|
5
5
|
declare const DEFAULT_DB = "test";
|
|
6
6
|
import { ObjectId, DBRef, MaxKey, MinKey, Timestamp, BSONSymbol, Code, Decimal128, Int32, Long, Binary, calculateObjectSize, Double, EJSON, BSONRegExp } from 'bson';
|
|
7
7
|
import { bsonStringifiers } from './printable-bson';
|
package/lib/index.js
CHANGED
|
@@ -17,14 +17,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.bsonStringifiers = exports.bson = exports.ServiceProviderCore = exports.DEFAULT_DB = exports.
|
|
20
|
+
exports.bsonStringifiers = exports.bson = exports.ServiceProviderCore = exports.DEFAULT_DB = exports.getConnectInfo = void 0;
|
|
21
21
|
require("./textencoder-polyfill");
|
|
22
22
|
const service_provider_1 = require("./service-provider");
|
|
23
23
|
Object.defineProperty(exports, "ServiceProviderCore", { enumerable: true, get: function () { return service_provider_1.ServiceProviderCore; } });
|
|
24
24
|
const connect_info_1 = __importDefault(require("./connect-info"));
|
|
25
25
|
exports.getConnectInfo = connect_info_1.default;
|
|
26
|
-
const platform_1 = require("./platform");
|
|
27
|
-
Object.defineProperty(exports, "ReplPlatform", { enumerable: true, get: function () { return platform_1.ReplPlatform; } });
|
|
28
26
|
const DEFAULT_DB = 'test';
|
|
29
27
|
exports.DEFAULT_DB = DEFAULT_DB;
|
|
30
28
|
const bson_1 = require("bson");
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAA0E;AAoDxE,oGApDwB,sCAAmB,OAoDxB;AAnDrB,kEAA6D;AAgD3D,yBAhDK,sBAAc,CAgDL;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,kCAAgC;AAChC,yDAA0E;AAoDxE,oGApDwB,sCAAmB,OAoDxB;AAnDrB,kEAA6D;AAgD3D,yBAhDK,sBAAc,CAgDL;AA9ChB,MAAM,UAAU,GAAG,MAAM,CAAC;AAgDxB,gCAAU;AA/CZ,+BAiBc;AACd,qDAAoD;AAgClD,iGAhCO,iCAAgB,OAgCP;AA9BlB,wDAAsC;AACtC,kDAAgC;AAEhC,MAAM,IAAI,GAAG;IACX,QAAQ,EAAR,eAAQ;IACR,KAAK,EAAL,YAAK;IACL,MAAM,EAAN,aAAM;IACN,MAAM,EAAN,aAAM;IACN,SAAS,EAAT,gBAAS;IACT,UAAU,EAAV,iBAAU;IACV,IAAI,EAAJ,WAAI;IACJ,UAAU,EAAV,iBAAU;IACV,KAAK,EAAL,YAAK;IACL,IAAI,EAAJ,WAAI;IACJ,MAAM,EAAN,aAAM;IACN,GAAG,EAAH,UAAG;IACH,mBAAmB,EAAnB,0BAAmB;IACnB,MAAM,EAAN,aAAM;IACN,KAAK,EAAL,YAAK;IACL,UAAU,EAAV,iBAAU;CACX,CAAC;AASA,oBAAI"}
|
package/lib/platform.d.ts
CHANGED
package/lib/platform.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ReplPlatform = void 0;
|
|
4
|
-
var ReplPlatform;
|
|
5
|
-
(function (ReplPlatform) {
|
|
6
|
-
ReplPlatform[ReplPlatform["Compass"] = 0] = "Compass";
|
|
7
|
-
ReplPlatform[ReplPlatform["Browser"] = 1] = "Browser";
|
|
8
|
-
ReplPlatform[ReplPlatform["CLI"] = 2] = "CLI";
|
|
9
|
-
ReplPlatform[ReplPlatform["JavaShell"] = 3] = "JavaShell";
|
|
10
|
-
})(ReplPlatform = exports.ReplPlatform || (exports.ReplPlatform = {}));
|
|
11
3
|
//# sourceMappingURL=platform.js.map
|
package/lib/platform.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mongosh/service-provider-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "MongoDB Shell Core Service Provider Package",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@mongosh/errors": "1.
|
|
41
|
-
"bson": "^4.
|
|
42
|
-
"mongodb": "^4.
|
|
40
|
+
"@mongosh/errors": "1.6.0",
|
|
41
|
+
"bson": "^4.7.0",
|
|
42
|
+
"mongodb": "^4.10.0",
|
|
43
43
|
"mongodb-build-info": "^1.2.0",
|
|
44
|
-
"mongodb-client-encryption": "^2.2.
|
|
44
|
+
"mongodb-client-encryption": "^2.2.1"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"mongodb-client-encryption": "^2.2.
|
|
47
|
+
"mongodb-client-encryption": "^2.2.1"
|
|
48
48
|
},
|
|
49
49
|
"dependency-check": {
|
|
50
50
|
"entries": [
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"encoding"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "fbbf54a08fb315ae5fde693a98d439b9aa3285f8"
|
|
61
61
|
}
|
package/src/admin.ts
CHANGED
|
@@ -13,7 +13,7 @@ import type {
|
|
|
13
13
|
AutoEncryptionOptions
|
|
14
14
|
} from './all-transport-types';
|
|
15
15
|
import type { bson as BSON } from './index';
|
|
16
|
-
import { ReplPlatform } from './platform';
|
|
16
|
+
import type { ReplPlatform } from './platform';
|
|
17
17
|
import { FLE } from './all-fle-types';
|
|
18
18
|
|
|
19
19
|
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './textencoder-polyfill'; // for mongodb-connection-string-url in the java-shell
|
|
2
2
|
import ServiceProvider, { ServiceProviderCore } from './service-provider';
|
|
3
3
|
import getConnectInfo, { ConnectInfo } from './connect-info';
|
|
4
|
-
import { ReplPlatform } from './platform';
|
|
4
|
+
import type { ReplPlatform } from './platform';
|
|
5
5
|
const DEFAULT_DB = 'test';
|
|
6
6
|
import {
|
|
7
7
|
ObjectId,
|