@pnp/cli-microsoft365 9.1.0-beta.94ae9ed → 9.1.0-beta.9a7d76f

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/dist/Command.js CHANGED
@@ -522,7 +522,10 @@ class Command {
522
522
  quote: cli.getConfig().get(settingsNames.csvQuote),
523
523
  quoted: cli.getSettingWithDefaultValue(settingsNames.csvQuoted, false),
524
524
  // eslint-disable-next-line camelcase
525
- quoted_empty: cli.getSettingWithDefaultValue(settingsNames.csvQuotedEmpty, false)
525
+ quoted_empty: cli.getSettingWithDefaultValue(settingsNames.csvQuotedEmpty, false),
526
+ cast: {
527
+ boolean: (value) => value ? '1' : '0'
528
+ }
526
529
  });
527
530
  }
528
531
  getMdOutput(logStatement, command, options) {
@@ -101,7 +101,7 @@ class LoginCommand extends Command {
101
101
  auth.connection.authType = AuthType.Certificate;
102
102
  auth.connection.certificate = getCertificate(args.options);
103
103
  auth.connection.thumbprint = args.options.thumbprint;
104
- auth.connection.password = args.options.password || cli.getConfig().get(settingsNames.clientCertificatePassword);
104
+ auth.connection.password = args.options.password ?? cli.getConfig().get(settingsNames.clientCertificatePassword);
105
105
  break;
106
106
  case 'identity':
107
107
  auth.connection.authType = AuthType.Identity;
package/dist/utils/zod.js CHANGED
@@ -60,7 +60,7 @@ function parseDefault(def, _options, currentOption) {
60
60
  function parseEnum(def, _options, currentOption) {
61
61
  if (currentOption) {
62
62
  currentOption.type = 'string';
63
- currentOption.autocomplete = def.values;
63
+ currentOption.autocomplete = [...def.values];
64
64
  }
65
65
  return;
66
66
  }