@gitlab/duo-cli 8.64.0 → 8.66.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/README.md +50 -1
- package/dist/index.js +772 -737
- package/dist/index.js.map +47 -37
- package/dist/version-guard.cjs +4 -4
- package/package.json +1 -1
package/dist/version-guard.cjs
CHANGED
|
@@ -26,11 +26,11 @@ const cliPath = join(__dirname, 'index.js');
|
|
|
26
26
|
|
|
27
27
|
const nodeArgs = ['--no-deprecation'];
|
|
28
28
|
|
|
29
|
-
//
|
|
29
|
+
// --use-system-ca is available in v22.20.0+ and v23.8.0+ (and all v24+)
|
|
30
30
|
const supportsSystemCA =
|
|
31
|
-
majorVersion
|
|
32
|
-
(majorVersion ===
|
|
33
|
-
(majorVersion === 22 && minorVersion
|
|
31
|
+
majorVersion >= 24 ||
|
|
32
|
+
(majorVersion === 23 && minorVersion >= 8) ||
|
|
33
|
+
(majorVersion === 22 && minorVersion >= 20);
|
|
34
34
|
|
|
35
35
|
if (supportsSystemCA) {
|
|
36
36
|
nodeArgs.push('--use-system-ca');
|