mongodb-memory-server-core 8.15.1 → 9.0.0-beta.2
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/MongoMemoryReplSet.d.ts +4 -20
- package/lib/MongoMemoryReplSet.d.ts.map +1 -1
- package/lib/MongoMemoryReplSet.js +283 -294
- package/lib/MongoMemoryReplSet.js.map +1 -1
- package/lib/MongoMemoryServer.d.ts +13 -26
- package/lib/MongoMemoryServer.d.ts.map +1 -1
- package/lib/MongoMemoryServer.js +340 -332
- package/lib/MongoMemoryServer.js.map +1 -1
- package/lib/util/DryMongoBinary.d.ts +2 -2
- package/lib/util/DryMongoBinary.d.ts.map +1 -1
- package/lib/util/DryMongoBinary.js +158 -172
- package/lib/util/DryMongoBinary.js.map +1 -1
- package/lib/util/MongoBinary.js +85 -85
- package/lib/util/MongoBinary.js.map +1 -1
- package/lib/util/MongoBinaryDownload.d.ts +2 -11
- package/lib/util/MongoBinaryDownload.d.ts.map +1 -1
- package/lib/util/MongoBinaryDownload.js +210 -262
- package/lib/util/MongoBinaryDownload.js.map +1 -1
- package/lib/util/MongoBinaryDownloadUrl.d.ts +3 -5
- package/lib/util/MongoBinaryDownloadUrl.d.ts.map +1 -1
- package/lib/util/MongoBinaryDownloadUrl.js +70 -100
- package/lib/util/MongoBinaryDownloadUrl.js.map +1 -1
- package/lib/util/MongoInstance.d.ts +3 -1
- package/lib/util/MongoInstance.d.ts.map +1 -1
- package/lib/util/MongoInstance.js +125 -126
- package/lib/util/MongoInstance.js.map +1 -1
- package/lib/util/errors.d.ts +10 -9
- package/lib/util/errors.d.ts.map +1 -1
- package/lib/util/errors.js +16 -27
- package/lib/util/errors.js.map +1 -1
- package/lib/util/getos/index.d.ts +1 -1
- package/lib/util/getos/index.d.ts.map +1 -1
- package/lib/util/getos/index.js +53 -59
- package/lib/util/getos/index.js.map +1 -1
- package/lib/util/getport/index.d.ts +34 -0
- package/lib/util/getport/index.d.ts.map +1 -0
- package/lib/util/getport/index.js +108 -0
- package/lib/util/getport/index.js.map +1 -0
- package/lib/util/lockfile.d.ts.map +1 -1
- package/lib/util/lockfile.js +155 -169
- package/lib/util/lockfile.js.map +1 -1
- package/lib/util/postinstallHelper.js +15 -18
- package/lib/util/postinstallHelper.js.map +1 -1
- package/lib/util/resolveConfig.d.ts +1 -1
- package/lib/util/resolveConfig.d.ts.map +1 -1
- package/lib/util/resolveConfig.js +10 -9
- package/lib/util/resolveConfig.js.map +1 -1
- package/lib/util/utils.d.ts +20 -4
- package/lib/util/utils.d.ts.map +1 -1
- package/lib/util/utils.js +135 -118
- package/lib/util/utils.js.map +1 -1
- package/package.json +9 -12
package/lib/util/MongoBinary.js
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MongoBinary = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const os_1 =
|
|
6
|
-
const path_1 =
|
|
7
|
-
const MongoBinaryDownload_1 =
|
|
8
|
-
const resolveConfig_1 =
|
|
9
|
-
const debug_1 =
|
|
10
|
-
const semver =
|
|
5
|
+
const os_1 = tslib_1.__importDefault(require("os"));
|
|
6
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
|
+
const MongoBinaryDownload_1 = tslib_1.__importDefault(require("./MongoBinaryDownload"));
|
|
8
|
+
const resolveConfig_1 = tslib_1.__importStar(require("./resolveConfig"));
|
|
9
|
+
const debug_1 = tslib_1.__importDefault(require("debug"));
|
|
10
|
+
const semver = tslib_1.__importStar(require("semver"));
|
|
11
11
|
const utils_1 = require("./utils");
|
|
12
12
|
const child_process_1 = require("child_process");
|
|
13
13
|
const lockfile_1 = require("./lockfile");
|
|
@@ -22,40 +22,38 @@ class MongoBinary {
|
|
|
22
22
|
* @param options Options Configuring which binary to download and to which path
|
|
23
23
|
* @returns The BinaryPath the binary has been downloaded to
|
|
24
24
|
*/
|
|
25
|
-
static download(options) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
DryMongoBinary_1.DryMongoBinary.binaryCache.set(version, yield downloader.getMongodPath());
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
finally {
|
|
49
|
-
log('download: Removing Download lock');
|
|
50
|
-
// remove lock
|
|
51
|
-
yield lock.unlock();
|
|
52
|
-
log('download: Download lock removed');
|
|
25
|
+
static async download(options) {
|
|
26
|
+
log('download');
|
|
27
|
+
const { downloadDir, version } = options;
|
|
28
|
+
// create downloadDir
|
|
29
|
+
await (0, utils_1.mkdir)(downloadDir);
|
|
30
|
+
/** Lockfile path */
|
|
31
|
+
const lockfile = path_1.default.resolve(downloadDir, `${version}.lock`);
|
|
32
|
+
log(`download: Waiting to acquire Download lock for file "${lockfile}"`);
|
|
33
|
+
// wait to get a lock
|
|
34
|
+
// downloading of binaries may be quite long procedure
|
|
35
|
+
// that's why we are using so big wait/stale periods
|
|
36
|
+
const lock = await lockfile_1.LockFile.lock(lockfile);
|
|
37
|
+
log('download: Download lock acquired');
|
|
38
|
+
// this is to ensure that the lockfile gets removed in case of an error
|
|
39
|
+
try {
|
|
40
|
+
// check cache if it got already added to the cache
|
|
41
|
+
if (!DryMongoBinary_1.DryMongoBinary.binaryCache.has(version)) {
|
|
42
|
+
log(`download: Adding version ${version} to cache`);
|
|
43
|
+
const downloader = new MongoBinaryDownload_1.default(options);
|
|
44
|
+
DryMongoBinary_1.DryMongoBinary.binaryCache.set(version, await downloader.getMongodPath());
|
|
53
45
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(
|
|
57
|
-
|
|
58
|
-
|
|
46
|
+
}
|
|
47
|
+
finally {
|
|
48
|
+
log('download: Removing Download lock');
|
|
49
|
+
// remove lock
|
|
50
|
+
await lock.unlock();
|
|
51
|
+
log('download: Download lock removed');
|
|
52
|
+
}
|
|
53
|
+
const cachePath = DryMongoBinary_1.DryMongoBinary.binaryCache.get(version);
|
|
54
|
+
// ensure that "path" exists, so the return type does not change
|
|
55
|
+
(0, utils_1.assertion)(typeof cachePath === 'string', new Error(`No Cache Path for version "${version}" found (and download failed silently?)`));
|
|
56
|
+
return cachePath;
|
|
59
57
|
}
|
|
60
58
|
/**
|
|
61
59
|
* Probe all supported paths for an binary and return the binary path
|
|
@@ -63,57 +61,59 @@ class MongoBinary {
|
|
|
63
61
|
* @throws {Error} if no valid BinaryPath has been found
|
|
64
62
|
* @returns The first found BinaryPath
|
|
65
63
|
*/
|
|
66
|
-
static getPath(opts = {}) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
//
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
64
|
+
static async getPath(opts = {}) {
|
|
65
|
+
log('getPath');
|
|
66
|
+
// "||" is still used here, because it should default if the value is false-y (like an empty string)
|
|
67
|
+
const options = {
|
|
68
|
+
...(await DryMongoBinary_1.DryMongoBinary.generateOptions(opts)),
|
|
69
|
+
platform: opts.platform || (0, resolveConfig_1.default)(resolveConfig_1.ResolveConfigVariables.PLATFORM) || os_1.default.platform(),
|
|
70
|
+
checkMD5: opts.checkMD5 || (0, resolveConfig_1.envToBool)((0, resolveConfig_1.default)(resolveConfig_1.ResolveConfigVariables.MD5_CHECK)),
|
|
71
|
+
};
|
|
72
|
+
log(`getPath: MongoBinary options:`, JSON.stringify(options, null, 2));
|
|
73
|
+
let binaryPath = await DryMongoBinary_1.DryMongoBinary.locateBinary(options);
|
|
74
|
+
// check if the system binary has the same version as requested
|
|
75
|
+
if (!!options.systemBinary) {
|
|
76
|
+
// this case should actually never be false, because if "SYSTEM_BINARY" is set, "locateBinary" will run "getSystemPath" which tests the path for permissions
|
|
77
|
+
if (!(0, utils_1.isNullOrUndefined)(binaryPath)) {
|
|
78
|
+
log(`getPath: Spawning binaryPath "${binaryPath}" to get version`);
|
|
79
|
+
const spawnOutput = (0, child_process_1.spawnSync)(binaryPath, ['--version'])
|
|
80
|
+
.stdout.toString()
|
|
81
|
+
// this regex is to match the first line of the "mongod --version" output "db version v4.0.25" OR "db version v4.2.19-11-ge2f2736"
|
|
82
|
+
.match(/^\s*db\s+version\s+v?(\d+\.\d+\.\d+)(-\d*)?(-[a-zA-Z0-9].*)?\s*$/im);
|
|
83
|
+
(0, utils_1.assertion)(!(0, utils_1.isNullOrUndefined)(spawnOutput), new Error('Couldnt find an version from system binary output!'));
|
|
84
|
+
// dont warn if the versions dont match if "SYSTEM_BINARY_VERSION_CHECK" is false, but still test the binary if it is available to be executed
|
|
85
|
+
if ((0, resolveConfig_1.envToBool)((0, resolveConfig_1.default)(resolveConfig_1.ResolveConfigVariables.SYSTEM_BINARY_VERSION_CHECK))) {
|
|
86
|
+
log('getPath: Checking & Warning about version conflicts');
|
|
87
|
+
const binaryVersion = spawnOutput[1];
|
|
88
|
+
if (semver.neq(options.version, binaryVersion)) {
|
|
89
|
+
// we will log the version number of the system binary and the version requested so the user can see the difference
|
|
90
|
+
console.warn('getPath: MongoMemoryServer: Possible version conflict\n' +
|
|
91
|
+
` SystemBinary version: "${binaryVersion}"\n` +
|
|
92
|
+
` Requested version: "${options.version}"\n\n` +
|
|
93
|
+
' Using SystemBinary!');
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
else {
|
|
97
|
-
throw new Error('Option "SYSTEM_BINARY" was set, but binaryPath was empty! (system binary could not be found?) [This Error should normally not be thrown, please report this]');
|
|
98
|
-
}
|
|
99
96
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
97
|
+
else {
|
|
98
|
+
throw new Error('Option "SYSTEM_BINARY" was set, but binaryPath was empty! (system binary could not be found?) [This Error should normally not be thrown, please report this]');
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
(0, utils_1.assertion)(typeof options.version === 'string', new Error('"MongoBinary.options.version" is not an string!'));
|
|
102
|
+
if (!binaryPath) {
|
|
103
|
+
if ((0, resolveConfig_1.envToBool)((0, resolveConfig_1.default)(resolveConfig_1.ResolveConfigVariables.RUNTIME_DOWNLOAD))) {
|
|
104
|
+
log('getPath: "RUNTIME_DOWNLOAD" is "true", trying to download');
|
|
105
|
+
binaryPath = await this.download(options);
|
|
109
106
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
throw new Error(`MongoBinary.getPath: could not find an valid binary path! (Got: "${binaryPath}", RUNTIME_DOWNLOAD: "${runtimeDownload}")`);
|
|
107
|
+
else {
|
|
108
|
+
log('getPath: "RUNTIME_DOWNLOAD" is "false", not downloading');
|
|
113
109
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
110
|
+
}
|
|
111
|
+
if (!binaryPath) {
|
|
112
|
+
const runtimeDownload = (0, resolveConfig_1.envToBool)((0, resolveConfig_1.default)(resolveConfig_1.ResolveConfigVariables.RUNTIME_DOWNLOAD));
|
|
113
|
+
throw new Error(`MongoBinary.getPath: could not find an valid binary path! (Got: "${binaryPath}", RUNTIME_DOWNLOAD: "${runtimeDownload}")`);
|
|
114
|
+
}
|
|
115
|
+
log(`getPath: Mongod binary path: "${binaryPath}"`);
|
|
116
|
+
return binaryPath;
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
exports.MongoBinary = MongoBinary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MongoBinary.js","sourceRoot":"","sources":["../../src/util/MongoBinary.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"MongoBinary.js","sourceRoot":"","sources":["../../src/util/MongoBinary.ts"],"names":[],"mappings":";;;;AAAA,oDAAoB;AACpB,wDAAwB;AACxB,wFAAwD;AACxD,yEAAmF;AACnF,0DAA0B;AAC1B,uDAAiC;AACjC,mCAA8D;AAC9D,iDAA0C;AAC1C,yCAAsC;AACtC,qDAA6E;AAE7E,MAAM,GAAG,GAAG,IAAA,eAAK,EAAC,qBAAqB,CAAC,CAAC;AAMzC;;GAEG;AACH,MAAa,WAAW;IACtB;;;;OAIG;IACH,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,OAAkC;QACtD,GAAG,CAAC,UAAU,CAAC,CAAC;QAChB,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QACzC,qBAAqB;QACrB,MAAM,IAAA,aAAK,EAAC,WAAW,CAAC,CAAC;QAEzB,oBAAoB;QACpB,MAAM,QAAQ,GAAG,cAAI,CAAC,OAAO,CAAC,WAAW,EAAE,GAAG,OAAO,OAAO,CAAC,CAAC;QAC9D,GAAG,CAAC,wDAAwD,QAAQ,GAAG,CAAC,CAAC;QACzE,qBAAqB;QACrB,sDAAsD;QACtD,oDAAoD;QACpD,MAAM,IAAI,GAAG,MAAM,mBAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3C,GAAG,CAAC,kCAAkC,CAAC,CAAC;QAExC,uEAAuE;QACvE,IAAI;YACF,mDAAmD;YACnD,IAAI,CAAC,+BAAc,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;gBAC5C,GAAG,CAAC,4BAA4B,OAAO,WAAW,CAAC,CAAC;gBACpD,MAAM,UAAU,GAAG,IAAI,6BAAmB,CAAC,OAAO,CAAC,CAAC;gBACp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,OAAO,CAAC,CAAC;aAC3C;iBAAM;gBACL,GAAG,CAAC,yDAAyD,CAAC,CAAC;aAChE;SACF;QAED,IAAI,CAAC,UAAU,EAAE;YACf,MAAM,eAAe,GAAG,IAAA,yBAAS,EAAC,IAAA,uBAAa,EAAC,sCAAsB,CAAC,gBAAgB,CAAC,CAAC,CAAC;YAC1F,MAAM,IAAI,KAAK,CACb,oEAAoE,UAAU,yBAAyB,eAAe,IAAI,CAC3H,CAAC;SACH;QAED,GAAG,CAAC,iCAAiC,UAAU,GAAG,CAAC,CAAC;QAEpD,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AAhID,kCAgIC;AAED,kBAAe,WAAW,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
/// <reference types="node" />
|
|
2
3
|
import { URL } from 'url';
|
|
3
4
|
import { MongoBinaryOpts } from './MongoBinary';
|
|
4
5
|
import { RequestOptions } from 'https';
|
|
@@ -13,19 +14,9 @@ export interface MongoBinaryDownloadProgress {
|
|
|
13
14
|
*/
|
|
14
15
|
export declare class MongoBinaryDownload {
|
|
15
16
|
dlProgress: MongoBinaryDownloadProgress;
|
|
16
|
-
_downloadingUrl?: string;
|
|
17
|
+
protected _downloadingUrl?: string;
|
|
17
18
|
/** These options are kind of raw, they are not run through DryMongoBinary.generateOptions */
|
|
18
19
|
binaryOpts: Required<MongoBinaryOpts>;
|
|
19
|
-
get checkMD5(): boolean;
|
|
20
|
-
set checkMD5(val: boolean);
|
|
21
|
-
get downloadDir(): string;
|
|
22
|
-
set downloadDir(val: string);
|
|
23
|
-
get arch(): string;
|
|
24
|
-
set arch(val: string);
|
|
25
|
-
get version(): string;
|
|
26
|
-
set version(val: string);
|
|
27
|
-
get platform(): string;
|
|
28
|
-
set platform(val: string);
|
|
29
20
|
constructor(opts: MongoBinaryOpts);
|
|
30
21
|
/**
|
|
31
22
|
* Get the full path with filename
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MongoBinaryDownload.d.ts","sourceRoot":"","sources":["../../src/util/MongoBinaryDownload.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MongoBinaryDownload.d.ts","sourceRoot":"","sources":["../../src/util/MongoBinaryDownload.ts"],"names":[],"mappings":";;AACA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAa1B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,UAAU,EAAE,2BAA2B,CAAC;IACxC,SAAS,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAEnC,6FAA6F;IAC7F,UAAU,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC;gBAE1B,IAAI,EAAE,eAAe;IA2BjC;;;OAGG;cACa,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC;IAS1C;;;OAGG;IACG,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAqBtC;;;OAGG;IACG,aAAa,IAAI,OAAO,CAAC,MAAM,CAAC;IAyBtC;;;;;;;;OAQG;IACG,YAAY,CAChB,kBAAkB,EAAE,MAAM,EAC1B,cAAc,EAAE,MAAM,GACrB,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;IAyB/B;;;;OAIG;IACG,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAuDpD;;;;OAIG;IACG,OAAO,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAgCtD;;;;;OAKG;IACG,YAAY,CAChB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,M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