@mongodb-js/mongodb-downloader
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -41,3 +41,3 @@ "use strict"; | ||
const downloadTarget = path_1.default.resolve(tmpdir, `mongodb-${process.platform}-${process.env.DISTRO_ID || 'none'}-${process.arch}-${version}`.replace(/[^a-zA-Z0-9_-]/g, '')); | ||
return (downloadPromises[downloadTarget] ??= (async () => { | ||
return (downloadPromises[downloadTarget] ?? (downloadPromises[downloadTarget] = (async () => { | ||
const bindir = path_1.default.resolve(downloadTarget, isCryptLibrary && process.platform !== 'win32' ? 'lib' : 'bin'); | ||
@@ -85,4 +85,4 @@ try { | ||
return bindir; | ||
})()); | ||
})())); | ||
} | ||
//# sourceMappingURL=index.js.map |
@@ -16,3 +16,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/devtools-shared", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"repository": { | ||
@@ -74,3 +74,3 @@ "type": "git", | ||
}, | ||
"gitHead": "9c41f233d529e7b5cac1849a0a07ca2076fcdbb0" | ||
"gitHead": "874b7b9810c54d7786644e9fd0f6191ce283a42c" | ||
} |
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
20756