@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.
@@ -26,11 +26,11 @@ const cliPath = join(__dirname, 'index.js');
26
26
 
27
27
  const nodeArgs = ['--no-deprecation'];
28
28
 
29
- // Add --use-system-ca flag only for Node.js version 22.20.0 or above
29
+ // --use-system-ca is available in v22.20.0+ and v23.8.0+ (and all v24+)
30
30
  const supportsSystemCA =
31
- majorVersion > 22 ||
32
- (majorVersion === 22 && minorVersion > 20) ||
33
- (majorVersion === 22 && minorVersion === 20 && patchVersion >= 0);
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');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/duo-cli",
3
- "version": "8.64.0",
3
+ "version": "8.66.0",
4
4
  "description": "GitLab Duo for your command line",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",