@pnp/cli-microsoft365 7.0.0-beta.aa2d71e → 7.0.0-beta.af1793c

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.
Files changed (34) hide show
  1. package/README.md +4 -4
  2. package/dist/m365/aad/commands/group/group-get.js +4 -4
  3. package/dist/m365/aad/commands/group/group-list.js +1 -23
  4. package/dist/m365/aad/commands/m365group/m365group-add.js +12 -9
  5. package/dist/m365/pa/commands/app/app-export.js +7 -7
  6. package/dist/m365/spfx/commands/project/project-doctor/{doctor-1.18.0-beta.5.js → doctor-1.18.0-rc.1.js} +2 -2
  7. package/dist/m365/spfx/commands/project/project-doctor.js +1 -1
  8. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js +13 -0
  9. package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.18.0-beta.5.js → upgrade-1.18.0-rc.1.js} +35 -27
  10. package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
  11. package/dist/m365/spfx/commands/spfx-doctor.js +3 -3
  12. package/dist/m365/spo/commands/file/file-get.js +9 -6
  13. package/dist/m365/spo/commands/listitem/listitem-add.js +1 -0
  14. package/dist/m365/spo/commands/listitem/listitem-set.js +3 -2
  15. package/dist/m365/spo/commands/page/page-get.js +1 -0
  16. package/dist/m365/spo/commands/page/page-list.js +4 -3
  17. package/dist/m365/spo/commands/site/site-list.js +5 -7
  18. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-list.js +3 -2
  19. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +3 -2
  20. package/dist/m365/teams/commands/team/team-list.js +94 -30
  21. package/dist/utils/aadGroup.js +2 -2
  22. package/dist/utils/powerPlatform.js +1 -1
  23. package/docs/docs/cmd/aad/group/group-get.mdx +5 -5
  24. package/docs/docs/cmd/aad/group/group-list.mdx +0 -11
  25. package/docs/docs/cmd/pa/app/app-export.mdx +5 -5
  26. package/docs/docs/cmd/spo/listitem/listitem-add.mdx +2 -5
  27. package/docs/docs/cmd/spo/listitem/listitem-set.mdx +2 -5
  28. package/docs/docs/cmd/spo/page/page-get.mdx +0 -1
  29. package/docs/docs/cmd/spo/page/page-list.mdx +0 -1
  30. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +2 -4
  31. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +2 -4
  32. package/docs/docs/cmd/teams/team/team-list.mdx +47 -22
  33. package/npm-shrinkwrap.json +24 -24
  34. package/package.json +7 -12
package/README.md CHANGED
@@ -20,9 +20,9 @@
20
20
  alt="Discord" />
21
21
  </a>
22
22
 
23
- <a href="https://twitter.com/climicrosoft365">
24
- <img src="https://img.shields.io/badge/Twitter-%40climicrosoft365-blue?style=flat-square"
25
- alt="Twitter" />
23
+ <a href="https://x.com/climicrosoft365">
24
+ <img src="https://img.shields.io/badge/X-%40climicrosoft365-blue?style=flat-square"
25
+ alt="X" />
26
26
  </a>
27
27
  </p>
28
28
 
@@ -101,7 +101,7 @@
101
101
  - Upgrade your projects
102
102
  - Check your environment compatibility
103
103
 
104
- > Follow our [Twitter](https://twitter.com/climicrosoft365) account to keep yourself updated about new features, improvements, and bug fixes.
104
+ > Follow our [X](https://x.com/climicrosoft365) account to keep yourself updated about new features, improvements, and bug fixes.
105
105
 
106
106
  ## Install
107
107
 
@@ -30,7 +30,7 @@ class AadGroupGetCommand extends GraphCommand {
30
30
  group = await aadGroup.getGroupById(args.options.id);
31
31
  }
32
32
  else {
33
- group = await aadGroup.getGroupByDisplayName(args.options.title);
33
+ group = await aadGroup.getGroupByDisplayName(args.options.displayName);
34
34
  }
35
35
  await logger.log(group);
36
36
  }
@@ -43,7 +43,7 @@ _AadGroupGetCommand_instances = new WeakSet(), _AadGroupGetCommand_initOptions =
43
43
  this.options.unshift({
44
44
  option: '-i, --id [id]'
45
45
  }, {
46
- option: '-t, --title [title]'
46
+ option: '-n, --displayName [displayName]'
47
47
  });
48
48
  }, _AadGroupGetCommand_initValidators = function _AadGroupGetCommand_initValidators() {
49
49
  this.validators.push(async (args) => {
@@ -53,12 +53,12 @@ _AadGroupGetCommand_instances = new WeakSet(), _AadGroupGetCommand_initOptions =
53
53
  return true;
54
54
  });
55
55
  }, _AadGroupGetCommand_initOptionSets = function _AadGroupGetCommand_initOptionSets() {
56
- this.optionSets.push({ options: ['id', 'title'] });
56
+ this.optionSets.push({ options: ['id', 'displayName'] });
57
57
  }, _AadGroupGetCommand_initTelemetry = function _AadGroupGetCommand_initTelemetry() {
58
58
  this.telemetry.push((args) => {
59
59
  Object.assign(this.telemetryProperties, {
60
60
  id: typeof args.options.id !== 'undefined',
61
- title: typeof args.options.title !== 'undefined'
61
+ displayName: typeof args.options.displayName !== 'undefined'
62
62
  });
63
63
  });
64
64
  };
@@ -1,9 +1,3 @@
1
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
- };
6
- var _AadGroupListCommand_instances, _AadGroupListCommand_initTelemetry, _AadGroupListCommand_initOptions;
7
1
  import { Cli } from '../../../../cli/Cli.js';
8
2
  import { odata } from '../../../../utils/odata.js';
9
3
  import GraphCommand from '../../../base/GraphCommand.js';
@@ -15,19 +9,12 @@ class AadGroupListCommand extends GraphCommand {
15
9
  get description() {
16
10
  return 'Lists all groups defined in Azure Active Directory.';
17
11
  }
18
- constructor() {
19
- super();
20
- _AadGroupListCommand_instances.add(this);
21
- __classPrivateFieldGet(this, _AadGroupListCommand_instances, "m", _AadGroupListCommand_initTelemetry).call(this);
22
- __classPrivateFieldGet(this, _AadGroupListCommand_instances, "m", _AadGroupListCommand_initOptions).call(this);
23
- }
24
12
  defaultProperties() {
25
13
  return ['id', 'displayName', 'groupType'];
26
14
  }
27
15
  async commandAction(logger, args) {
28
- const endpoint = args.options.deleted ? 'directory/deletedItems/microsoft.graph.group' : 'groups';
29
16
  try {
30
- const groups = await odata.getAllItems(`${this.resource}/v1.0/${endpoint}`);
17
+ const groups = await odata.getAllItems(`${this.resource}/v1.0/groups`);
31
18
  if (Cli.shouldTrimOutput(args.options.output)) {
32
19
  groups.forEach((group) => {
33
20
  if (group.groupTypes && group.groupTypes.length > 0 && group.groupTypes[0] === 'Unified') {
@@ -51,14 +38,5 @@ class AadGroupListCommand extends GraphCommand {
51
38
  }
52
39
  }
53
40
  }
54
- _AadGroupListCommand_instances = new WeakSet(), _AadGroupListCommand_initTelemetry = function _AadGroupListCommand_initTelemetry() {
55
- this.telemetry.push((args) => {
56
- Object.assign(this.telemetryProperties, {
57
- deleted: args.options.deleted
58
- });
59
- });
60
- }, _AadGroupListCommand_initOptions = function _AadGroupListCommand_initOptions() {
61
- this.options.unshift({ option: '-d, --deleted' });
62
- };
63
41
  export default new AadGroupListCommand();
64
42
  //# sourceMappingURL=group-list.js.map
@@ -33,19 +33,19 @@ class AadM365GroupAddCommand extends GraphCommand {
33
33
  let memberIds = [];
34
34
  const resourceBehaviorOptionsCollection = [];
35
35
  if (this.verbose) {
36
- await logger.logToStderr(`Creating Microsoft 365 Group...`);
36
+ await logger.logToStderr('Creating Microsoft 365 Group...');
37
37
  }
38
38
  if (args.options.allowMembersToPost) {
39
- resourceBehaviorOptionsCollection.push("allowMembersToPost");
39
+ resourceBehaviorOptionsCollection.push('AllowOnlyMembersToPost');
40
40
  }
41
41
  if (args.options.hideGroupInOutlook) {
42
- resourceBehaviorOptionsCollection.push("hideGroupInOutlook");
42
+ resourceBehaviorOptionsCollection.push('HideGroupInOutlook');
43
43
  }
44
44
  if (args.options.subscribeNewGroupMembers) {
45
- resourceBehaviorOptionsCollection.push("subscribeNewGroupMembers");
45
+ resourceBehaviorOptionsCollection.push('SubscribeNewGroupMembers');
46
46
  }
47
47
  if (args.options.welcomeEmailDisabled) {
48
- resourceBehaviorOptionsCollection.push("welcomeEmailDisabled");
48
+ resourceBehaviorOptionsCollection.push('WelcomeEmailDisabled');
49
49
  }
50
50
  const requestOptions = {
51
51
  url: `${this.resource}/v1.0/groups`,
@@ -186,10 +186,10 @@ _AadM365GroupAddCommand_instances = new WeakSet(), _AadM365GroupAddCommand_initT
186
186
  members: typeof args.options.members !== 'undefined',
187
187
  logoPath: typeof args.options.logoPath !== 'undefined',
188
188
  isPrivate: typeof args.options.isPrivate !== 'undefined',
189
- allowMembersToPost: args.options.allowMembersToPost,
190
- hideGroupInOutlook: args.options.hideGroupInOutlook,
191
- subscribeNewGroupMembers: args.options.subscribeNewGroupMembers,
192
- welcomeEmailDisabled: args.options.welcomeEmailDisabled
189
+ allowMembersToPost: !!args.options.allowMembersToPost,
190
+ hideGroupInOutlook: !!args.options.hideGroupInOutlook,
191
+ subscribeNewGroupMembers: !!args.options.subscribeNewGroupMembers,
192
+ welcomeEmailDisabled: !!args.options.welcomeEmailDisabled
193
193
  });
194
194
  });
195
195
  }, _AadM365GroupAddCommand_initOptions = function _AadM365GroupAddCommand_initOptions() {
@@ -240,6 +240,9 @@ _AadM365GroupAddCommand_instances = new WeakSet(), _AadM365GroupAddCommand_initT
240
240
  }
241
241
  }
242
242
  }
243
+ if (args.options.mailNickname.indexOf(' ') !== -1) {
244
+ return 'The option mailNickname cannot contain spaces.';
245
+ }
243
246
  if (args.options.logoPath) {
244
247
  const fullPath = path.resolve(args.options.logoPath);
245
248
  if (!fs.existsSync(fullPath)) {
@@ -69,7 +69,7 @@ class PaAppExportCommand extends PowerPlatformCommand {
69
69
  },
70
70
  data: {
71
71
  baseResourceIds: [
72
- `/providers/Microsoft.PowerApps/apps/${args.options.id}`
72
+ `/providers/Microsoft.PowerApps/apps/${args.options.name}`
73
73
  ]
74
74
  },
75
75
  responseType: 'json'
@@ -82,7 +82,7 @@ class PaAppExportCommand extends PowerPlatformCommand {
82
82
  }
83
83
  async exportPackage(args, logger) {
84
84
  if (this.verbose) {
85
- await logger.logToStderr(`Initiating package export for Microsoft Power App ${args.options.id}...`);
85
+ await logger.logToStderr(`Initiating package export for Microsoft Power App ${args.options.name}...`);
86
86
  }
87
87
  const resources = await this.getPackageResources(args, logger);
88
88
  const requestOptions = {
@@ -93,7 +93,7 @@ class PaAppExportCommand extends PowerPlatformCommand {
93
93
  responseType: 'json',
94
94
  data: {
95
95
  includedResourceIds: [
96
- `/providers/Microsoft.PowerApps/apps/${args.options.id}`
96
+ `/providers/Microsoft.PowerApps/apps/${args.options.name}`
97
97
  ],
98
98
  details: {
99
99
  creator: args.options.packageCreatedBy,
@@ -148,11 +148,11 @@ _PaAppExportCommand_instances = new WeakSet(), _PaAppExportCommand_initTelemetry
148
148
  });
149
149
  }, _PaAppExportCommand_initOptions = function _PaAppExportCommand_initOptions() {
150
150
  this.options.unshift({
151
- option: '-i, --id <id>'
151
+ option: '-n, --name <name>'
152
152
  }, {
153
153
  option: '-e, --environmentName <environmentName>'
154
154
  }, {
155
- option: '-n, --packageDisplayName [packageDisplayName]'
155
+ option: '--packageDisplayName [packageDisplayName]'
156
156
  }, {
157
157
  option: '-d, --packageDescription [packageDescription]'
158
158
  }, {
@@ -164,8 +164,8 @@ _PaAppExportCommand_instances = new WeakSet(), _PaAppExportCommand_initTelemetry
164
164
  });
165
165
  }, _PaAppExportCommand_initValidators = function _PaAppExportCommand_initValidators() {
166
166
  this.validators.push(async (args) => {
167
- if (args.options.id && !validation.isValidGuid(args.options.id)) {
168
- return `${args.options.id} is not a valid GUID`;
167
+ if (!validation.isValidGuid(args.options.name)) {
168
+ return `${args.options.name} is not a valid GUID for option name`;
169
169
  }
170
170
  if (args.options.path && !fs.existsSync(path.dirname(args.options.path))) {
171
171
  return 'Specified path where to save the file does not exist';
@@ -16,6 +16,6 @@ export default [
16
16
  new FN002013_DEVDEP_types_webpack_env('~1.15.2'),
17
17
  new FN002015_DEVDEP_types_react('17'),
18
18
  new FN002016_DEVDEP_types_react_dom('17'),
19
- new FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.5'])
19
+ new FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.7'])
20
20
  ];
21
- //# sourceMappingURL=doctor-1.18.0-beta.5.js.map
21
+ //# sourceMappingURL=doctor-1.18.0-rc.1.js.map
@@ -67,7 +67,7 @@ class SpfxProjectDoctorCommand extends BaseProjectCommand {
67
67
  '1.17.2',
68
68
  '1.17.3',
69
69
  '1.17.4',
70
- '1.18.0-beta.5'
70
+ '1.18.0-rc.1'
71
71
  ];
72
72
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
73
73
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
@@ -0,0 +1,13 @@
1
+ import { DependencyRule } from "./DependencyRule.js";
2
+ export class FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7 extends DependencyRule {
3
+ constructor(packageVersion) {
4
+ super('@microsoft/rush-stack-compiler-4.7', packageVersion, true);
5
+ }
6
+ get id() {
7
+ return 'FN002028';
8
+ }
9
+ get supersedes() {
10
+ return ['FN002010', 'FN002011', 'FN002012', 'FN002017', 'FN002018', 'FN002020'];
11
+ }
12
+ }
13
+ //# sourceMappingURL=FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js.map
@@ -24,36 +24,44 @@ import { FN002001_DEVDEP_microsoft_sp_build_web } from './rules/FN002001_DEVDEP_
24
24
  import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
25
25
  import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
26
26
  import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
27
+ import { FN002026_DEVDEP_typescript } from './rules/FN002026_DEVDEP_typescript.js';
28
+ import { FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7 } from './rules/FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7.js';
27
29
  import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
28
30
  import { FN010010_YORC_sdkVersions_teams_js } from './rules/FN010010_YORC_sdkVersions_teams_js.js';
31
+ import { FN012017_TSC_extends } from './rules/FN012017_TSC_extends.js';
32
+ import { FN021003_PKG_engines_node } from './rules/FN021003_PKG_engines_node.js';
29
33
  export default [
30
- new FN001001_DEP_microsoft_sp_core_library('1.18.0-beta.5'),
31
- new FN001002_DEP_microsoft_sp_lodash_subset('1.18.0-beta.5'),
32
- new FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.18.0-beta.5'),
33
- new FN001004_DEP_microsoft_sp_webpart_base('1.18.0-beta.5'),
34
- new FN001011_DEP_microsoft_sp_dialog('1.18.0-beta.5'),
35
- new FN001012_DEP_microsoft_sp_application_base('1.18.0-beta.5'),
36
- new FN001014_DEP_microsoft_sp_listview_extensibility('1.18.0-beta.5'),
37
- new FN001021_DEP_microsoft_sp_property_pane('1.18.0-beta.5'),
34
+ new FN001001_DEP_microsoft_sp_core_library('1.18.0-rc.1'),
35
+ new FN001002_DEP_microsoft_sp_lodash_subset('1.18.0-rc.1'),
36
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.18.0-rc.1'),
37
+ new FN001004_DEP_microsoft_sp_webpart_base('1.18.0-rc.1'),
38
+ new FN001011_DEP_microsoft_sp_dialog('1.18.0-rc.1'),
39
+ new FN001012_DEP_microsoft_sp_application_base('1.18.0-rc.1'),
40
+ new FN001014_DEP_microsoft_sp_listview_extensibility('1.18.0-rc.1'),
41
+ new FN001021_DEP_microsoft_sp_property_pane('1.18.0-rc.1'),
38
42
  new FN001022_DEP_office_ui_fabric_react('', false),
39
- new FN001023_DEP_microsoft_sp_component_base('1.18.0-beta.5'),
40
- new FN001024_DEP_microsoft_sp_diagnostics('1.18.0-beta.5'),
41
- new FN001025_DEP_microsoft_sp_dynamic_data('1.18.0-beta.5'),
42
- new FN001026_DEP_microsoft_sp_extension_base('1.18.0-beta.5'),
43
- new FN001027_DEP_microsoft_sp_http('1.18.0-beta.5'),
44
- new FN001028_DEP_microsoft_sp_list_subscription('1.18.0-beta.5'),
45
- new FN001029_DEP_microsoft_sp_loader('1.18.0-beta.5'),
46
- new FN001030_DEP_microsoft_sp_module_interfaces('1.18.0-beta.5'),
47
- new FN001031_DEP_microsoft_sp_odata_types('1.18.0-beta.5'),
48
- new FN001032_DEP_microsoft_sp_page_context('1.18.0-beta.5'),
43
+ new FN001023_DEP_microsoft_sp_component_base('1.18.0-rc.1'),
44
+ new FN001024_DEP_microsoft_sp_diagnostics('1.18.0-rc.1'),
45
+ new FN001025_DEP_microsoft_sp_dynamic_data('1.18.0-rc.1'),
46
+ new FN001026_DEP_microsoft_sp_extension_base('1.18.0-rc.1'),
47
+ new FN001027_DEP_microsoft_sp_http('1.18.0-rc.1'),
48
+ new FN001028_DEP_microsoft_sp_list_subscription('1.18.0-rc.1'),
49
+ new FN001029_DEP_microsoft_sp_loader('1.18.0-rc.1'),
50
+ new FN001030_DEP_microsoft_sp_module_interfaces('1.18.0-rc.1'),
51
+ new FN001031_DEP_microsoft_sp_odata_types('1.18.0-rc.1'),
52
+ new FN001032_DEP_microsoft_sp_page_context('1.18.0-rc.1'),
49
53
  new FN001035_DEP_fluentui_react('8.106.4'),
50
- new FN001013_DEP_microsoft_decorators('1.18.0-beta.5'),
51
- new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.18.0-beta.5'),
52
- new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.18.0-beta.5'),
53
- new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.18.0-beta.5'),
54
- new FN002001_DEVDEP_microsoft_sp_build_web('1.18.0-beta.5'),
55
- new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.18.0-beta.5'),
56
- new FN010001_YORC_version('1.18.0-beta.5'),
57
- new FN010010_YORC_sdkVersions_teams_js('2.12.0')
54
+ new FN001013_DEP_microsoft_decorators('1.18.0-rc.1'),
55
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.18.0-rc.1'),
56
+ new FN002001_DEVDEP_microsoft_sp_build_web('1.18.0-rc.1'),
57
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces('1.18.0-rc.1'),
58
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.18.0-rc.1'),
59
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx('1.18.0-rc.1'),
60
+ new FN002026_DEVDEP_typescript('4.7.4'),
61
+ new FN002028_DEVDEP_microsoft_rush_stack_compiler_4_7('0.1.0'),
62
+ new FN010001_YORC_version('1.18.0-rc.1'),
63
+ new FN010010_YORC_sdkVersions_teams_js('2.12.0'),
64
+ new FN012017_TSC_extends('./node_modules/@microsoft/rush-stack-compiler-4.7/includes/tsconfig-web.json'),
65
+ new FN021003_PKG_engines_node('>=16.13.0 <17.0.0 || >=18.17.1 <19.0.0')
58
66
  ];
59
- //# sourceMappingURL=upgrade-1.18.0-beta.5.js.map
67
+ //# sourceMappingURL=upgrade-1.18.0-rc.1.js.map
@@ -71,7 +71,7 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
71
71
  '1.17.2',
72
72
  '1.17.3',
73
73
  '1.17.4',
74
- '1.18.0-beta.5'
74
+ '1.18.0-rc.1'
75
75
  ];
76
76
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
77
77
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
@@ -524,14 +524,14 @@ class SpfxDoctorCommand extends BaseProjectCommand {
524
524
  fix: 'npm i -g yo@4'
525
525
  }
526
526
  },
527
- '1.18.0-beta.5': {
527
+ '1.18.0-rc.1': {
528
528
  gulpCli: {
529
529
  range: '^1 || ^2',
530
530
  fix: 'npm i -g gulp-cli@2'
531
531
  },
532
532
  node: {
533
- range: '>=16.14.0 <17.0.0',
534
- fix: 'Install Node.js >=16.14.0 <17.0.0'
533
+ range: '>=16.13.0 <17.0.0 || >=18.17.1 <19.0.0',
534
+ fix: 'Install Node.js >=16.13.0 <17.0.0 || >=18.17.1 <19.0.0'
535
535
  },
536
536
  sp: SharePointVersion.SPO,
537
537
  yo: {
@@ -103,6 +103,9 @@ class SpoFileGetCommand extends SpoCommand {
103
103
  fileProperties.ListItemAllFields.RoleAssignments = response.value;
104
104
  }
105
105
  }
106
+ if (args.options.asListItem) {
107
+ delete fileProperties.ListItemAllFields.ID;
108
+ }
106
109
  await logger.log(args.options.asListItem ? fileProperties.ListItemAllFields : fileProperties);
107
110
  }
108
111
  }
@@ -115,12 +118,12 @@ class SpoFileGetCommand extends SpoCommand {
115
118
  _SpoFileGetCommand_instances = new WeakSet(), _SpoFileGetCommand_initTelemetry = function _SpoFileGetCommand_initTelemetry() {
116
119
  this.telemetry.push((args) => {
117
120
  Object.assign(this.telemetryProperties, {
118
- id: (!(!args.options.id)).toString(),
119
- url: (!(!args.options.url)).toString(),
120
- asString: args.options.asString || false,
121
- asListItem: args.options.asListItem || false,
122
- asFile: args.options.asFile || false,
123
- path: (!(!args.options.path)).toString(),
121
+ id: typeof args.options.id !== 'undefined',
122
+ url: typeof args.options.url !== 'undefined',
123
+ asString: !!args.options.asString,
124
+ asListItem: !!args.options.asListItem,
125
+ asFile: !!args.options.asFile,
126
+ path: typeof args.options.path !== 'undefined',
124
127
  withPermissions: !!args.options.withPermissions
125
128
  });
126
129
  });
@@ -148,6 +148,7 @@ class SpoListItemAddCommand extends SpoCommand {
148
148
  responseType: 'json'
149
149
  };
150
150
  const item = await request.get(requestOptions);
151
+ delete item.ID;
151
152
  await logger.log(item);
152
153
  }
153
154
  catch (err) {
@@ -188,8 +188,9 @@ class SpoListItemSetCommand extends SpoCommand {
188
188
  },
189
189
  responseType: 'json'
190
190
  };
191
- const itemsResponse = await request.get(requestOptionsItems);
192
- await logger.log(itemsResponse);
191
+ const item = await request.get(requestOptionsItems);
192
+ delete item.ID;
193
+ await logger.log(item);
193
194
  }
194
195
  catch (err) {
195
196
  this.handleRejectedODataJsonPromise(err);
@@ -72,6 +72,7 @@ class SpoPageGetCommand extends SpoCommand {
72
72
  pageItemData.numSections = sections.length;
73
73
  }
74
74
  }
75
+ delete pageItemData.ListItemAllFields.ID;
75
76
  await logger.log(pageItemData);
76
77
  }
77
78
  catch (err) {
@@ -34,9 +34,9 @@ class SpoPageListCommand extends SpoCommand {
34
34
  if (pagesList && pagesList.length > 0) {
35
35
  pages = pagesList;
36
36
  }
37
- const res = await odata.getAllItems(`${args.options.webUrl}/_api/web/lists/SitePages/rootfolder/files?$expand=ListItemAllFields/ClientSideApplicationId&$orderby=Name`);
38
- if (res && res.length > 0) {
39
- const clientSidePages = res.filter(p => p.ListItemAllFields.ClientSideApplicationId === 'b6917cb1-93a0-4b97-a84d-7cf49975d4ec');
37
+ const files = await odata.getAllItems(`${args.options.webUrl}/_api/web/lists/SitePages/rootfolder/files?$expand=ListItemAllFields/ClientSideApplicationId&$orderby=Name`);
38
+ if (files?.length > 0) {
39
+ const clientSidePages = files.filter(f => f.ListItemAllFields.ClientSideApplicationId === 'b6917cb1-93a0-4b97-a84d-7cf49975d4ec');
40
40
  pages = pages.map(p => {
41
41
  const clientSidePage = clientSidePages.find(cp => cp && cp.ListItemAllFields && cp.ListItemAllFields.Id === p.Id);
42
42
  if (clientSidePage) {
@@ -47,6 +47,7 @@ class SpoPageListCommand extends SpoCommand {
47
47
  }
48
48
  return p;
49
49
  });
50
+ pages.filter(p => p.ListItemAllFields).forEach(page => delete page.ListItemAllFields.ID);
50
51
  await logger.log(pages);
51
52
  }
52
53
  }
@@ -54,16 +54,14 @@ class SpoSiteListCommand extends SpoCommand {
54
54
  },
55
55
  data: requestBody
56
56
  };
57
- const res1 = await request.post(requestOptions);
58
- const json = JSON.parse(res1);
59
- const response = json[0];
60
- logger.log(response);
61
- if (response.ErrorInfo) {
62
- throw response.ErrorInfo.ErrorMessage;
57
+ const response = await request.post(requestOptions);
58
+ const json = JSON.parse(response);
59
+ const responseContent = json[0];
60
+ if (responseContent.ErrorInfo) {
61
+ throw responseContent.ErrorInfo.ErrorMessage;
63
62
  }
64
63
  else {
65
64
  const sites = json[json.length - 1];
66
- logger.log(sites);
67
65
  this.allSites.push(...sites._Child_Items_);
68
66
  if (sites.NextStartIndexFromSharePoint) {
69
67
  await this.getAllSites(spoAdminUrl, filter, sites.NextStartIndexFromSharePoint, personalSite, webTemplate, formDigest, logger);
@@ -22,8 +22,9 @@ class SpoTenantApplicationCustomizerListCommand extends SpoCommand {
22
22
  }
23
23
  const listServerRelativeUrl = urlUtil.getServerRelativePath(appCatalogUrl, '/lists/TenantWideExtensions');
24
24
  try {
25
- const response = await odata.getAllItems(`${appCatalogUrl}/_api/web/GetList('${formatting.encodeQueryParameter(listServerRelativeUrl)}')/items?$filter=TenantWideExtensionLocation eq 'ClientSideExtension.ApplicationCustomizer'`);
26
- await logger.log(response);
25
+ const listItems = await odata.getAllItems(`${appCatalogUrl}/_api/web/GetList('${formatting.encodeQueryParameter(listServerRelativeUrl)}')/items?$filter=TenantWideExtensionLocation eq 'ClientSideExtension.ApplicationCustomizer'`);
26
+ listItems.forEach(i => delete i.ID);
27
+ await logger.log(listItems);
27
28
  }
28
29
  catch (err) {
29
30
  this.handleRejectedODataJsonPromise(err);
@@ -25,8 +25,9 @@ class SpoTenantCommandSetListCommand extends SpoCommand {
25
25
  }
26
26
  const listServerRelativeUrl = urlUtil.getServerRelativePath(appCatalogUrl, '/lists/TenantWideExtensions');
27
27
  try {
28
- const response = await odata.getAllItems(`${appCatalogUrl}/_api/web/GetList('${formatting.encodeQueryParameter(listServerRelativeUrl)}')/items?$filter=startswith(TenantWideExtensionLocation, 'ClientSideExtension.ListViewCommandSet')`);
29
- await logger.log(response);
28
+ const listItems = await odata.getAllItems(`${appCatalogUrl}/_api/web/GetList('${formatting.encodeQueryParameter(listServerRelativeUrl)}')/items?$filter=startswith(TenantWideExtensionLocation, 'ClientSideExtension.ListViewCommandSet')`);
29
+ listItems.forEach(i => delete i.ID);
30
+ await logger.log(listItems);
30
31
  }
31
32
  catch (err) {
32
33
  this.handleRejectedODataJsonPromise(err);
@@ -3,11 +3,13 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
3
3
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
- var _TeamsTeamListCommand_instances, _TeamsTeamListCommand_initTelemetry, _TeamsTeamListCommand_initOptions;
6
+ var _TeamsTeamListCommand_instances, _TeamsTeamListCommand_initTelemetry, _TeamsTeamListCommand_initOptions, _TeamsTeamListCommand_initValidators, _TeamsTeamListCommand_initOptionSets, _TeamsTeamListCommand_initTypes;
7
7
  import request from '../../../../request.js';
8
8
  import { odata } from '../../../../utils/odata.js';
9
9
  import GraphCommand from '../../../base/GraphCommand.js';
10
10
  import commands from '../../commands.js';
11
+ import { validation } from '../../../../utils/validation.js';
12
+ import { formatting } from '../../../../utils/formatting.js';
11
13
  class TeamsTeamListCommand extends GraphCommand {
12
14
  get name() {
13
15
  return commands.TEAM_LIST;
@@ -23,64 +25,126 @@ class TeamsTeamListCommand extends GraphCommand {
23
25
  _TeamsTeamListCommand_instances.add(this);
24
26
  __classPrivateFieldGet(this, _TeamsTeamListCommand_instances, "m", _TeamsTeamListCommand_initTelemetry).call(this);
25
27
  __classPrivateFieldGet(this, _TeamsTeamListCommand_instances, "m", _TeamsTeamListCommand_initOptions).call(this);
28
+ __classPrivateFieldGet(this, _TeamsTeamListCommand_instances, "m", _TeamsTeamListCommand_initValidators).call(this);
29
+ __classPrivateFieldGet(this, _TeamsTeamListCommand_instances, "m", _TeamsTeamListCommand_initOptionSets).call(this);
30
+ __classPrivateFieldGet(this, _TeamsTeamListCommand_instances, "m", _TeamsTeamListCommand_initTypes).call(this);
26
31
  }
27
32
  async commandAction(logger, args) {
28
- let endpoint = `${this.resource}/v1.0/groups?$select=id,displayName,description,resourceProvisioningOptions`;
29
- if (args.options.joined) {
30
- endpoint = `${this.resource}/v1.0/me/joinedTeams`;
33
+ if (this.verbose) {
34
+ if (!args.options.joined && !args.options.associated) {
35
+ await logger.logToStderr(`Retrieving Microsoft Teams in the tenant...`);
36
+ }
37
+ else {
38
+ const user = args.options.userId || args.options.userName || 'me';
39
+ await logger.logToStderr(`Retrieving Microsoft Teams ${args.options.joined ? 'joined by' : 'associated with'} ${user}...`);
40
+ }
31
41
  }
32
42
  try {
33
- const items = await odata.getAllItems(endpoint);
34
- if (args.options.joined) {
35
- await logger.log(items);
43
+ let endpoint = `${this.resource}/v1.0`;
44
+ if (args.options.joined || args.options.associated) {
45
+ endpoint += args.options.userId || args.options.userName ? `/users/${args.options.userId || formatting.encodeQueryParameter(args.options.userName)}` : '/me';
46
+ endpoint += args.options.joined ? '/joinedTeams' : '/teamwork/associatedTeams';
47
+ endpoint += '?$select=id';
36
48
  }
37
49
  else {
38
- const teamItems = await Promise.all(items.filter((e) => {
39
- return e.resourceProvisioningOptions.indexOf('Team') > -1;
40
- }).map(g => this.getTeamFromGroup(g)));
41
- await logger.log(teamItems);
50
+ // Get all team groups within the tenant
51
+ endpoint += `/groups?$select=id&$filter=resourceProvisioningOptions/Any(x:x eq 'Team')`;
42
52
  }
53
+ const groupResponse = await odata.getAllItems(endpoint);
54
+ const groupIds = groupResponse.map(g => g.id);
55
+ if (this.verbose) {
56
+ await logger.logToStderr(`Retrieved ${groupIds.length} Microsoft Teams, getting additional information...`);
57
+ }
58
+ let teams = await this.getAllTeams(groupIds);
59
+ // Sort teams by display name
60
+ teams = teams.sort((x, y) => x.displayName.localeCompare(y.displayName));
61
+ await logger.log(teams);
43
62
  }
44
63
  catch (err) {
45
64
  this.handleRejectedODataJsonPromise(err);
46
65
  }
47
66
  }
48
- async getTeamFromGroup(group) {
67
+ async getAllTeams(groupIds) {
68
+ const groupBatches = [];
69
+ for (let i = 0; groupIds.length > i; i += 20) {
70
+ groupBatches.push(groupIds.slice(i, i + 20));
71
+ }
72
+ const promises = groupBatches.map(g => this.getTeamsBatch(g));
73
+ const teams = await Promise.all(promises);
74
+ const result = teams.reduce((prev, val) => prev.concat(val), []);
75
+ return result;
76
+ }
77
+ async getTeamsBatch(groupIds) {
49
78
  const requestOptions = {
50
- url: `${this.resource}/v1.0/teams/${group.id}`,
79
+ url: `${this.resource}/v1.0/$batch`,
51
80
  headers: {
52
- accept: 'application/json;odata.metadata=none'
81
+ accept: 'application/json;odata.metadata=none',
82
+ 'content-type': 'application/json'
53
83
  },
54
- responseType: 'json'
55
- };
56
- try {
57
- return await request.get(requestOptions);
58
- }
59
- catch (err) {
60
- if (err.statusCode === 403) {
61
- return {
62
- id: group.id,
63
- displayName: group.displayName,
64
- description: group.description,
65
- isArchived: undefined
66
- };
84
+ responseType: 'json',
85
+ data: {
86
+ requests: groupIds.map((id, index) => ({
87
+ id: index.toString(),
88
+ method: 'GET',
89
+ headers: {
90
+ accept: 'application/json;odata.metadata=none'
91
+ },
92
+ url: `/teams/${id}`
93
+ }))
67
94
  }
68
- else {
69
- throw err;
95
+ };
96
+ const response = await request.post(requestOptions);
97
+ // Throw error if any of the requests failed
98
+ for (const item of response.responses) {
99
+ if (item.status !== 200) {
100
+ throw item.body;
70
101
  }
71
102
  }
103
+ return response.responses.map(r => r.body);
72
104
  }
73
105
  }
74
106
  _TeamsTeamListCommand_instances = new WeakSet(), _TeamsTeamListCommand_initTelemetry = function _TeamsTeamListCommand_initTelemetry() {
75
107
  this.telemetry.push((args) => {
76
108
  Object.assign(this.telemetryProperties, {
77
- joined: args.options.joined
109
+ joined: !!args.options.joined,
110
+ associated: !!args.options.associated,
111
+ userId: typeof args.options.userId !== 'undefined',
112
+ userName: typeof args.options.userName !== 'undefined'
78
113
  });
79
114
  });
80
115
  }, _TeamsTeamListCommand_initOptions = function _TeamsTeamListCommand_initOptions() {
81
116
  this.options.unshift({
82
117
  option: '-j, --joined'
118
+ }, {
119
+ option: '-a, --associated'
120
+ }, {
121
+ option: '--userId [userId]'
122
+ }, {
123
+ option: '--userName [userName]'
124
+ });
125
+ }, _TeamsTeamListCommand_initValidators = function _TeamsTeamListCommand_initValidators() {
126
+ this.validators.push(async (args) => {
127
+ if (args.options.userId && !validation.isValidGuid(args.options.userId)) {
128
+ return `${args.options.userId} is not a valid GUID for userId.`;
129
+ }
130
+ if (args.options.userName && !validation.isValidUserPrincipalName(args.options.userName)) {
131
+ return `${args.options.userId} is not a valid UPN for userName.`;
132
+ }
133
+ if ((args.options.userId || args.options.userName) && !args.options.joined && !args.options.associated) {
134
+ return 'You must specify either joined or associated when specifying userId or userName.';
135
+ }
136
+ return true;
137
+ });
138
+ }, _TeamsTeamListCommand_initOptionSets = function _TeamsTeamListCommand_initOptionSets() {
139
+ this.optionSets.push({
140
+ options: ['joined', 'associated'],
141
+ runsWhen: (args) => !!args.options.joined || !!args.options.associated
142
+ }, {
143
+ options: ['userId', 'userName'],
144
+ runsWhen: (args) => typeof args.options.userId !== 'undefined' || typeof args.options.userName !== 'undefined'
83
145
  });
146
+ }, _TeamsTeamListCommand_initTypes = function _TeamsTeamListCommand_initTypes() {
147
+ this.types.string.push('userId', 'userName');
84
148
  };
85
149
  export default new TeamsTeamListCommand();
86
150
  //# sourceMappingURL=team-list.js.map
@@ -7,7 +7,7 @@ export const aadGroup = {
7
7
  * Retrieve a single group.
8
8
  * @param id Group ID.
9
9
  */
10
- getGroupById(id) {
10
+ async getGroupById(id) {
11
11
  const requestOptions = {
12
12
  url: `${graphResource}/v1.0/groups/${id}`,
13
13
  headers: {
@@ -21,7 +21,7 @@ export const aadGroup = {
21
21
  * Get a list of groups by display name.
22
22
  * @param displayName Group display name.
23
23
  */
24
- getGroupsByDisplayName(displayName) {
24
+ async getGroupsByDisplayName(displayName) {
25
25
  return odata.getAllItems(`${graphResource}/v1.0/groups?$filter=displayName eq '${formatting.encodeQueryParameter(displayName)}'`);
26
26
  },
27
27
  /**
@@ -19,7 +19,7 @@ export const powerPlatform = {
19
19
  };
20
20
  try {
21
21
  const response = await request.get(requestOptions);
22
- return Promise.resolve(response.properties.linkedEnvironmentMetadata.instanceApiUrl);
22
+ return response.properties.linkedEnvironmentMetadata.instanceApiUrl;
23
23
  }
24
24
  catch (ex) {
25
25
  throw Error(`The environment '${environment}' could not be retrieved. See the inner exception for more details: ${ex.message}`);
@@ -16,10 +16,10 @@ m365 aad group get [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-i, --id [id]`
19
- : The object Id of the Azure AD group. Specify either `id` or `title` but not both
19
+ : The object Id of the Azure AD group. Specify either `id` or `displayName` but not both.
20
20
 
21
- `-t, --title [title]`
22
- : The display name of the Azure AD group. Specify either `id` or `title` but not both
21
+ `-n, --displayName [displayName]`
22
+ : The display name of the Azure AD group. Specify either `id` or `displayName` but not both.
23
23
  ```
24
24
 
25
25
  <Global />
@@ -32,10 +32,10 @@ Get information about an Azure AD Group by id
32
32
  m365 aad group get --id 1caf7dcd-7e83-4c3a-94f7-932a1299c844
33
33
  ```
34
34
 
35
- Get information about an Azure AD Group by title
35
+ Get information about an Azure AD Group by its display name
36
36
 
37
37
  ```sh
38
- m365 aad group get --title "Finance"
38
+ m365 aad group get --displayName Finance
39
39
  ```
40
40
 
41
41
  ## Response
@@ -14,11 +14,6 @@ m365 aad group list [options]
14
14
 
15
15
  ## Options
16
16
 
17
- ```md definition-list
18
- `-d, --deleted`
19
- : Use to retrieve deleted groups
20
- ```
21
-
22
17
  <Global />
23
18
 
24
19
  ## Examples
@@ -29,12 +24,6 @@ Lists all groups defined in Azure Active Directory.
29
24
  m365 aad group list
30
25
  ```
31
26
 
32
- List all recently deleted groups in the tenant
33
-
34
- ```sh
35
- m365 aad group list --deleted
36
- ```
37
-
38
27
  ## Response
39
28
 
40
29
  <Tabs>
@@ -13,13 +13,13 @@ m365 pa app export [options]
13
13
  ## Options
14
14
 
15
15
  ```md definition-list
16
- `-i, --id <id>`
17
- : The id of the Power App to export
16
+ `-n, --name <name>`
17
+ : The name (GUID) of the Power Apps app to export
18
18
 
19
19
  `-e, --environmentName <environmentName>`
20
20
  : The name of the environment for which to export the app
21
21
 
22
- `-n, --packageDisplayName [packageDisplayName]`
22
+ `--packageDisplayName [packageDisplayName]`
23
23
  : The display name to use in the exported package
24
24
 
25
25
  `-d, --packageDescription [packageDescription]`
@@ -42,13 +42,13 @@ m365 pa app export [options]
42
42
  Export the specified Power App as a ZIP file
43
43
 
44
44
  ```sh
45
- m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
45
+ m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp"
46
46
  ```
47
47
 
48
48
  Export the specified Power App as a ZIP file with the package displayname, package description, the one who created it, the package source environment and the path
49
49
 
50
50
  ```sh
51
- m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --id 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
51
+ m365 pa app export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name 3989cb59-ce1a-4a5c-bb78-257c5c39381d --packageDisplayName "PowerApp" --packageDescription "Power App Description" --packageCreatedBy "John Doe" --packageSourceEnvironment "Contoso" --path "C:/Users/John/Documents"
52
52
  ```
53
53
 
54
54
  ## Response
@@ -111,7 +111,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
111
111
  "Id": 234,
112
112
  "ServerRedirectedEmbedUri": null,
113
113
  "ServerRedirectedEmbedUrl": "",
114
- "ID": 234,
115
114
  "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
116
115
  "Title": "Test",
117
116
  "Modified": "2022-11-16T20:55:45Z",
@@ -138,7 +137,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
138
137
  EditorId : 10
139
138
  FileSystemObjectType : 0
140
139
  GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
141
- ID : 236
142
140
  Id : 236
143
141
  Modified : 2022-11-16T20:56:31Z
144
142
  OData__UIVersionString : 1.0
@@ -152,8 +150,8 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
152
150
  <TabItem value="CSV">
153
151
 
154
152
  ```csv
155
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
156
- 0,235,,,235,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
153
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
154
+ 0,235,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Test,2022-11-16T20:56:09Z,2022-11-16T20:56:09Z,10,10,1.0,,7aa8f3bd-a0a2-4974-81c8-2ac7ddc8e2d8,,
157
155
  ```
158
156
 
159
157
  </TabItem>
@@ -176,7 +174,6 @@ m365 spo listitem add --listTitle "Demo List" --webUrl https://contoso.sharepoin
176
174
  Title | Test
177
175
  ComplianceAssetId | null
178
176
  FieldName1 | null
179
- ID | 234
180
177
  Modified | 2022-11-16T20:55:45Z
181
178
  Created | 2022-11-16T20:55:45Z
182
179
  AuthorId | 10
@@ -108,7 +108,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
108
108
  "Id": 236,
109
109
  "ServerRedirectedEmbedUri": null,
110
110
  "ServerRedirectedEmbedUrl": "",
111
- "ID": 236,
112
111
  "ContentTypeId": "0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803",
113
112
  "Title": "Updated Title",
114
113
  "Modified": "2022-11-16T21:10:06Z",
@@ -135,7 +134,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
135
134
  EditorId : 10
136
135
  FileSystemObjectType : 0
137
136
  GUID : cac57513-e870-4e7a-9f23-f4ea10e14f4e
138
- ID : 236
139
137
  Id : 236
140
138
  Modified : 2022-11-16T21:10:37Z
141
139
  OData__UIVersionString : 8.0
@@ -149,8 +147,8 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
149
147
  <TabItem value="CSV">
150
148
 
151
149
  ```csv
152
- FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
153
- 0,236,,,236,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
150
+ FileSystemObjectType,Id,ServerRedirectedEmbedUri,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,ComplianceAssetId,OData__vti_ItemDeclaredRecord
151
+ 0,236,,,0x01003CDBEB7138618C47A98D56499135D6EE0004C0F5794DEBCC4BAC981AC4AE1BD803,Updated Title,2022-11-16T21:10:55Z,2022-11-16T20:56:31Z,10,10,9.0,1,cac57513-e870-4e7a-9f23-f4ea10e14f4e,,
154
152
  ```
155
153
 
156
154
  </TabItem>
@@ -173,7 +171,6 @@ m365 spo listitem set --listTitle "Demo List" --id 147 --webUrl https://contoso.
173
171
  Title | Updated Title
174
172
  ComplianceAssetId | null
175
173
  FieldName1 | null
176
- ID | 236
177
174
  Modified | 2022-11-16T21:10:06Z
178
175
  Created | 2022-11-16T20:56:31Z
179
176
  AuthorId | 10
@@ -85,7 +85,6 @@ m365 spo page get --webUrl https://contoso.sharepoint.com/sites/team-a --name ho
85
85
  "OData__OriginalSourceItemId": null,
86
86
  "OData__SPCallToAction": null,
87
87
  "OData__ModerationStatus": 3,
88
- "ID": 21,
89
88
  "Created": "2022-11-26T01:51:46",
90
89
  "AuthorId": 7,
91
90
  "Modified": "2022-11-26T01:55:47",
@@ -89,7 +89,6 @@ m365 spo page list --webUrl https://contoso.sharepoint.com/sites/team-a
89
89
  "OData__OriginalSourceItemId": null,
90
90
  "OData__SPCallToAction": null,
91
91
  "OData__ModerationStatus": 0,
92
- "ID": 10,
93
92
  "Created": "2020-09-06T02:18:55-07:00",
94
93
  "AuthorId": 1073741823,
95
94
  "Modified": "2020-09-06T02:18:55-07:00",
@@ -36,7 +36,6 @@ m365 spo tenant applicationcustomizer list
36
36
  "Id": 8,
37
37
  "ServerRedirectedEmbedUri": null,
38
38
  "ServerRedirectedEmbedUrl": "",
39
- "ID": 8,
40
39
  "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
41
40
  "Title": "HelloWorld",
42
41
  "Modified": "2023-05-21T14:31:30Z",
@@ -73,8 +72,8 @@ m365 spo tenant applicationcustomizer list
73
72
  <TabItem value="CSV">
74
73
 
75
74
  ```csv
76
- FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
77
- 0,8,,8,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
75
+ FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
76
+ 0,8,,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-21T14:31:30Z,2023-05-21T14:31:30Z,9,9,1.0,,23951a41-f613-440e-8119-8f1e87df1d1a,d54e75e7-af4d-455f-9101-a5d906692ecd,"{""testMessage"":""Test message""}",0,ClientSideExtension.ApplicationCustomizer,0,
78
77
  ```
79
78
 
80
79
  </TabItem>
@@ -92,7 +91,6 @@ m365 spo tenant applicationcustomizer list
92
91
  FileSystemObjectType | 0
93
92
  Id | 8
94
93
  ServerRedirectedEmbedUrl |
95
- ID | 8
96
94
  ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
97
95
  Title | HelloWorld
98
96
  Modified | 2023-05-21T14:31:30Z
@@ -36,7 +36,6 @@ m365 spo tenant commandset list
36
36
  "Id": 9,
37
37
  "ServerRedirectedEmbedUri": null,
38
38
  "ServerRedirectedEmbedUrl": "",
39
- "ID": 9,
40
39
  "ContentTypeId": "0x00693E2C487575B448BD420C12CEAE7EFE",
41
40
  "Title": "HelloWorld",
42
41
  "Modified": "2023-05-25T12:11:21Z",
@@ -73,8 +72,8 @@ m365 spo tenant commandset list
73
72
  <TabItem value="CSV">
74
73
 
75
74
  ```csv
76
- FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ID,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
77
- 0,9,,9,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-25T12:11:21Z,2023-05-25T12:11:21Z,9,9,1.0,,6c47dd94-f5d5-4ea8-8b39-920385a56c37,f61d4ae8-3480-4541-930b-d641233c4fea,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",100,ClientSideExtension.ListViewCommandSet.CommandBar,0,
75
+ FileSystemObjectType,Id,ServerRedirectedEmbedUrl,ContentTypeId,Title,Modified,Created,AuthorId,EditorId,OData__UIVersionString,Attachments,GUID,TenantWideExtensionComponentId,TenantWideExtensionComponentProperties,TenantWideExtensionListTemplate,TenantWideExtensionLocation,TenantWideExtensionSequence,TenantWideExtensionDisabled
76
+ 0,9,,0x00693E2C487575B448BD420C12CEAE7EFE,HelloWorld,2023-05-25T12:11:21Z,2023-05-25T12:11:21Z,9,9,1.0,,6c47dd94-f5d5-4ea8-8b39-920385a56c37,f61d4ae8-3480-4541-930b-d641233c4fea,"{""sampleTextOne"":""One item is selected in the list."", ""sampleTextTwo"":""This command is always visible.""}",100,ClientSideExtension.ListViewCommandSet.CommandBar,0,
78
77
  ```
79
78
 
80
79
  </TabItem>
@@ -92,7 +91,6 @@ m365 spo tenant commandset list
92
91
  FileSystemObjectType | 0
93
92
  Id | 9
94
93
  ServerRedirectedEmbedUrl |
95
- ID | 9
96
94
  ContentTypeId | 0x00693E2C487575B448BD420C12CEAE7EFE
97
95
  Title | HelloWorld
98
96
  Modified | 2023-05-25T12:11:21Z
@@ -16,29 +16,62 @@ m365 teams team list [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-j, --joined`
19
- : Show only joined teams.
19
+ : Show only teams that the user is a direct member of. Specify either `joined` or `associated` but not both.
20
+
21
+ `-a, --associated`
22
+ : Show only teams that the user is associated with. This includes teams with direct membership and shared channels. Specify either `joined` or `associated` but not both.
23
+
24
+ `--userId [userId]`
25
+ : The ID of the user. Specify either `userId` or `userName` but not both. Specify only when using `joined` or `associated` options.
26
+
27
+ `--userName [userName]`
28
+ : The user principal name of the user. Specify either `userId` or `userName` but not both. Specify only when using `joined` or `associated` options.
20
29
  ```
21
30
 
22
31
  <Global />
23
32
 
24
33
  ## Remarks
25
34
 
35
+ :::note
36
+
37
+ To list `joined` or `associated` teams of another user, you have to be a Teams Administrator or use application permissions.
38
+
39
+ :::
40
+
26
41
  You can only see the details or archived status of the Microsoft Teams you are a member of.
27
42
 
28
43
  ## Examples
29
44
 
30
- List all Microsoft Teams in the tenant.
45
+ List all Microsoft Teams in the tenant
31
46
 
32
47
  ```sh
33
48
  m365 teams team list
34
49
  ```
35
50
 
36
- List all Microsoft Teams in the tenant you are a member of.
51
+ List all Microsoft Teams teams you are a direct member of
37
52
 
38
53
  ```sh
39
54
  m365 teams team list --joined
40
55
  ```
41
56
 
57
+ List all Microsoft Teams teams you are a direct member of or are associated with via a shared channel
58
+
59
+ ```sh
60
+ m365 teams team list --associated
61
+ ```
62
+
63
+ List all Microsoft Teams teams another user is member of
64
+
65
+ ```sh
66
+ m365 teams team list --joined --userName john.doe@contoso.com
67
+ ```
68
+
69
+ List all Microsoft Teams teams where another user is a direct member of or is associated with via a shared channel
70
+
71
+ ```sh
72
+ m365 teams team list --associated --userId e3aca2a8-625a-449b-bb86-cfa84c5d08de
73
+ ```
74
+
42
75
  ## Response
43
76
 
44
77
  <Tabs>
@@ -99,17 +132,17 @@ m365 teams team list --joined
99
132
  <TabItem value="Text">
100
133
 
101
134
  ```text
102
- id displayName isArchived description
103
- ------------------------------------ ---------------- ---------- ---------------------------------------
104
- 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3 Architecture false Architecture Discussion
135
+ id displayName isArchived description
136
+ ------------------------------------ ------------ ---------- -----------------------
137
+ 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3 Architecture false Architecture Discussion
105
138
  ```
106
139
 
107
140
  </TabItem>
108
141
  <TabItem value="CSV">
109
142
 
110
143
  ```csv
111
- id,displayName,isArchived,description
112
- 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3,Architecture,,Architecture Discussion
144
+ id,createdDateTime,displayName,description,internalId,specialization,visibility,webUrl,isArchived,isMembershipLimitedToOwners
145
+ 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3,2022-12-08T09:17:55.039Z,Architecture,Architecture Discussion,19:pLknmKPPkvgeaG0FtegLfjoDINeY3gvmitMkNG9H3X41@thread.tacv2,none,public,https://teams.microsoft.com/l/team/19:a5c6eccad3fb401997756a1501d561aa%40thread.skype/conversations?groupId=8090c93e-ba7c-433e-9f39-08c7ba07c0b3&tenantId=dcd219dd-bc68-4b9b-bf0b-4a33a796be35,,
113
146
  ```
114
147
 
115
148
  </TabItem>
@@ -125,23 +158,15 @@ m365 teams team list --joined
125
158
  Property | Value
126
159
  ---------|-------
127
160
  id | 5dc7ba76-b9aa-4fdd-9e91-9fe7d0e8dca3
128
- createdDateTime | null
161
+ createdDateTime | 2022-12-08T09:17:55.039Z
129
162
  displayName | Architecture
130
163
  description | Architecture Discussion
131
- internalId | null
132
- classification | null
133
- specialization | null
134
- visibility | null
135
- webUrl | null
164
+ internalId | 19:pLknmKPPkvgeaG0FtegLfjoDINeY3gvmitMkNG9H3X41@thread.tacv2
165
+ specialization | none
166
+ visibility | public
167
+ webUrl | https://teams.microsoft.com/l/team/19:a5c6eccad3fb401997756a1501d561aa%40thread.skype/conversations?groupId=8090c93e-ba7c-433e-9f39-08c7ba07c0b3&tenantId=dcd219dd-bc68-4b9b-bf0b-4a33a796be35
136
168
  isArchived | false
137
- tenantId | 92e59666-257b-49c3-b1fa-1bae8107f6ba
138
- isMembershipLimitedToOwners | null
139
- memberSettings | null
140
- guestSettings | null
141
- messagingSettings | null
142
- funSettings | null
143
- discoverySettings | null
144
- summary | null
169
+ isMembershipLimitedToOwners | false
145
170
  ```
146
171
 
147
172
  </TabItem>
@@ -17,7 +17,7 @@
17
17
  "adaptivecards-templating": "^2.3.1",
18
18
  "adm-zip": "^0.5.10",
19
19
  "applicationinsights": "^2.7.0",
20
- "axios": "^1.3.4",
20
+ "axios": "^1.5.0",
21
21
  "chalk": "^5.2.0",
22
22
  "clipboardy": "^3.0.0",
23
23
  "configstore": "^6.0.0",
@@ -36,7 +36,7 @@
36
36
  "typescript": "^5.0.2",
37
37
  "update-notifier": "^6.0.2",
38
38
  "uuid": "^9.0.0",
39
- "yaml": "^2.3.1"
39
+ "yaml": "^2.3.2"
40
40
  },
41
41
  "bin": {
42
42
  "m365": "dist/index.js",
@@ -52,13 +52,13 @@
52
52
  "@types/json-to-ast": "^2.1.2",
53
53
  "@types/minimist": "^1.2.2",
54
54
  "@types/mocha": "^10.0.1",
55
- "@types/node": "^18.17.4",
55
+ "@types/node": "^18.17.14",
56
56
  "@types/node-forge": "^1.3.4",
57
57
  "@types/omelette": "^0.4.2",
58
- "@types/semver": "^7.5.0",
58
+ "@types/semver": "^7.5.1",
59
59
  "@types/sinon": "^10.0.16",
60
- "@types/update-notifier": "^6.0.2",
61
- "@types/uuid": "^9.0.2",
60
+ "@types/update-notifier": "^6.0.5",
61
+ "@types/uuid": "^9.0.3",
62
62
  "@typescript-eslint/eslint-plugin": "^5.62.0",
63
63
  "@typescript-eslint/parser": "^5.62.0",
64
64
  "c8": "^7.14.0",
@@ -704,9 +704,9 @@
704
704
  "dev": true
705
705
  },
706
706
  "node_modules/@types/node": {
707
- "version": "18.17.11",
708
- "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.11.tgz",
709
- "integrity": "sha512-r3hjHPBu+3LzbGBa8DHnr/KAeTEEOrahkcL+cZc4MaBMTM+mk8LtXR+zw+nqfjuDZZzYTYgTcpHuP+BEQk069g==",
707
+ "version": "18.17.14",
708
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.14.tgz",
709
+ "integrity": "sha512-ZE/5aB73CyGqgQULkLG87N9GnyGe5TcQjv34pwS8tfBs1IkCh0ASM69mydb2znqd6v0eX+9Ytvk6oQRqu8T1Vw==",
710
710
  "dev": true
711
711
  },
712
712
  "node_modules/@types/node-forge": {
@@ -725,9 +725,9 @@
725
725
  "dev": true
726
726
  },
727
727
  "node_modules/@types/semver": {
728
- "version": "7.5.0",
729
- "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.0.tgz",
730
- "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==",
728
+ "version": "7.5.1",
729
+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.1.tgz",
730
+ "integrity": "sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==",
731
731
  "dev": true
732
732
  },
733
733
  "node_modules/@types/shimmer": {
@@ -760,9 +760,9 @@
760
760
  }
761
761
  },
762
762
  "node_modules/@types/update-notifier": {
763
- "version": "6.0.4",
764
- "resolved": "https://registry.npmjs.org/@types/update-notifier/-/update-notifier-6.0.4.tgz",
765
- "integrity": "sha512-CiKJPSmt/3F4sVnkQTjnP/onKtTJxRkib6Gvw4XESM8FNsHlvRnBNqU5qL0IQmqjtKnz5e9E6Y7xChOpvxFzKg==",
763
+ "version": "6.0.5",
764
+ "resolved": "https://registry.npmjs.org/@types/update-notifier/-/update-notifier-6.0.5.tgz",
765
+ "integrity": "sha512-uUOhxsJ3edPHu06r3k4I2yJ4eoyqBt+53ra9+caXEx0ruoPwqNHTlkq75CUvI4yWsrCA5+31tih+opunLCYnXw==",
766
766
  "dev": true,
767
767
  "dependencies": {
768
768
  "@types/configstore": "*",
@@ -770,9 +770,9 @@
770
770
  }
771
771
  },
772
772
  "node_modules/@types/uuid": {
773
- "version": "9.0.2",
774
- "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.2.tgz",
775
- "integrity": "sha512-kNnC1GFBLuhImSnV7w4njQkUiJi0ZXUycu1rUaouPqiKlXkh77JKgdRnTAp1x5eBwcIwbtI+3otwzuIDEuDoxQ==",
773
+ "version": "9.0.3",
774
+ "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.3.tgz",
775
+ "integrity": "sha512-taHQQH/3ZyI3zP8M/puluDEIEvtQHVYcC6y3N8ijFtAd28+Ey/G4sg1u2gB01S8MwybLOKAp9/yCMu/uR5l3Ug==",
776
776
  "dev": true
777
777
  },
778
778
  "node_modules/@types/xmldom": {
@@ -1293,9 +1293,9 @@
1293
1293
  "integrity": "sha512-LEeSAWeh2Gfa2FtlQE1shxQ8zi5F9GHarrGKz08TMdODD5T4eH6BMsvtnhbWZ+XQn+Gb6om/917ucvRu7l7ukw=="
1294
1294
  },
1295
1295
  "node_modules/axios": {
1296
- "version": "1.4.0",
1297
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.4.0.tgz",
1298
- "integrity": "sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA==",
1296
+ "version": "1.5.0",
1297
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.0.tgz",
1298
+ "integrity": "sha512-D4DdjDo5CY50Qms0qGQTTw6Q44jl7zRwY7bthds06pUGfChBCTcQs+N743eFWGEd6pRTMd6A+I87aWyFV5wiZQ==",
1299
1299
  "dependencies": {
1300
1300
  "follow-redirects": "^1.15.0",
1301
1301
  "form-data": "^4.0.0",
@@ -5194,9 +5194,9 @@
5194
5194
  "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="
5195
5195
  },
5196
5196
  "node_modules/yaml": {
5197
- "version": "2.3.1",
5198
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",
5199
- "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==",
5197
+ "version": "2.3.2",
5198
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.2.tgz",
5199
+ "integrity": "sha512-N/lyzTPaJasoDmfV7YTrYCI0G/3ivm/9wdG0aHuheKowWQwGTsK0Eoiw6utmzAnI6pkJa0DUVygvp3spqqEKXg==",
5200
5200
  "engines": {
5201
5201
  "node": ">= 14"
5202
5202
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "7.0.0-beta.aa2d71e",
3
+ "version": "7.0.0-beta.af1793c",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",
@@ -64,11 +64,6 @@
64
64
  "email": "appie@digiwijs.nl",
65
65
  "web": "https://www.cloudappie.nl/"
66
66
  },
67
- {
68
- "name": "Rabia Williams",
69
- "email": "rabiawilliams@gmail.com",
70
- "web": "https://rabiawilliams.com/"
71
- },
72
67
  {
73
68
  "name": "Patrick Lamber",
74
69
  "email": "patrick@nubo.eu",
@@ -236,7 +231,7 @@
236
231
  "adaptivecards-templating": "^2.3.1",
237
232
  "adm-zip": "^0.5.10",
238
233
  "applicationinsights": "^2.7.0",
239
- "axios": "^1.3.4",
234
+ "axios": "^1.5.0",
240
235
  "chalk": "^5.2.0",
241
236
  "clipboardy": "^3.0.0",
242
237
  "configstore": "^6.0.0",
@@ -255,7 +250,7 @@
255
250
  "typescript": "^5.0.2",
256
251
  "update-notifier": "^6.0.2",
257
252
  "uuid": "^9.0.0",
258
- "yaml": "^2.3.1"
253
+ "yaml": "^2.3.2"
259
254
  },
260
255
  "devDependencies": {
261
256
  "@microsoft/microsoft-graph-types": "^2.38.0",
@@ -265,13 +260,13 @@
265
260
  "@types/json-to-ast": "^2.1.2",
266
261
  "@types/minimist": "^1.2.2",
267
262
  "@types/mocha": "^10.0.1",
268
- "@types/node": "^18.17.4",
263
+ "@types/node": "^18.17.14",
269
264
  "@types/node-forge": "^1.3.4",
270
265
  "@types/omelette": "^0.4.2",
271
- "@types/semver": "^7.5.0",
266
+ "@types/semver": "^7.5.1",
272
267
  "@types/sinon": "^10.0.16",
273
- "@types/update-notifier": "^6.0.2",
274
- "@types/uuid": "^9.0.2",
268
+ "@types/update-notifier": "^6.0.5",
269
+ "@types/uuid": "^9.0.3",
275
270
  "@typescript-eslint/eslint-plugin": "^5.62.0",
276
271
  "@typescript-eslint/parser": "^5.62.0",
277
272
  "c8": "^7.14.0",