mongodb-memory-server-core
Advanced tools
Comparing version 5.1.4 to 5.1.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.1.5](https://github.com/nodkz/mongodb-memory-server/compare/v5.1.4...v5.1.5) (2019-06-18) | ||
### Bug Fixes | ||
* re-initialise configuration using INIT_CWD in postinstall.js ([9641bf4](https://github.com/nodkz/mongodb-memory-server/commit/9641bf4)) | ||
## [5.1.4](https://github.com/nodkz/mongodb-memory-server/compare/v5.1.3...v5.1.4) (2019-06-11) | ||
@@ -8,0 +19,0 @@ |
export declare function setDefaultValue(key: string, value: string): void; | ||
export declare function reInitializePackageJson(): void; | ||
export declare function reInitializePackageJson(directory?: string): void; | ||
export default function resolveConfig(variableName: string): string | undefined; | ||
//# sourceMappingURL=resolve-config.d.ts.map |
@@ -10,4 +10,4 @@ "use strict"; | ||
var defaultValues = new Map(); | ||
function getPackageJson() { | ||
var pjIterator = find_package_json_1.default(process.cwd()); | ||
function getPackageJson(directory) { | ||
var pjIterator = find_package_json_1.default(directory); | ||
return pjIterator.next().value; | ||
@@ -20,4 +20,4 @@ } | ||
var packageJson; | ||
function reInitializePackageJson() { | ||
packageJson = getPackageJson(); | ||
function reInitializePackageJson(directory) { | ||
packageJson = getPackageJson(directory || process.cwd()); | ||
} | ||
@@ -24,0 +24,0 @@ exports.reInitializePackageJson = reInitializePackageJson; |
{ | ||
"name": "mongodb-memory-server-core", | ||
"version": "5.1.4", | ||
"version": "5.1.5", | ||
"description": "MongoDB Server for testing (core package, without autodownload). The server will allow you to connect your favourite ODM or client library to the MongoDB Server and run parallel integration tests isolated from each other.", | ||
@@ -56,3 +56,3 @@ "main": "lib/index", | ||
}, | ||
"gitHead": "2834df017632c00dd0277a790fabf95e9d80e14c" | ||
"gitHead": "35f755b0eac38510088d7bfb6b525a27f47e5ef3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
162801