@pnp/cli-microsoft365 12.0.0-beta.d654135 → 12.0.0-beta.e3af9f8

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 (241) hide show
  1. package/.devproxy/generate-openapi-spec.json +1 -1
  2. package/allCommands.json +1 -1
  3. package/allCommandsFull.json +1 -1
  4. package/dist/Auth.js +19 -2
  5. package/dist/cli/cli.js +3 -0
  6. package/dist/googleAnalytics.js +96 -0
  7. package/dist/m365/cli/commands/cli-consent.js +9 -2
  8. package/dist/m365/entra/commands/m365group/m365group-add.js +52 -97
  9. package/dist/m365/entra/commands/m365group/m365group-conversation-list.js +20 -33
  10. package/dist/m365/entra/commands/m365group/m365group-conversation-post-list.js +20 -39
  11. package/dist/m365/entra/commands/m365group/m365group-get.js +20 -41
  12. package/dist/m365/entra/commands/m365group/m365group-list.js +11 -31
  13. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-clear.js +8 -22
  14. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-list.js +9 -25
  15. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-remove.js +21 -43
  16. package/dist/m365/entra/commands/m365group/m365group-recyclebinitem-restore.js +21 -41
  17. package/dist/m365/entra/commands/m365group/m365group-remove.js +25 -46
  18. package/dist/m365/entra/commands/m365group/m365group-renew.js +19 -32
  19. package/dist/m365/entra/commands/m365group/m365group-set.js +86 -141
  20. package/dist/m365/entra/commands/m365group/m365group-teamify.js +20 -43
  21. package/dist/m365/entra/commands/m365group/m365group-user-add.js +44 -77
  22. package/dist/m365/entra/commands/m365group/m365group-user-list.js +28 -55
  23. package/dist/m365/entra/commands/m365group/m365group-user-remove.js +37 -74
  24. package/dist/m365/entra/commands/m365group/m365group-user-set.js +45 -77
  25. package/dist/m365/spe/commands/container/container-permission-remove.js +94 -0
  26. package/dist/m365/spe/commands.js +1 -0
  27. package/dist/m365/spfx/commands/SpfxCompatibilityMatrix.js +15 -0
  28. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.24.0.js +19 -0
  29. package/dist/m365/spfx/commands/project/project-doctor.js +2 -1
  30. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012021_TSC_excludeDirectories.js +43 -0
  31. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027002_OVERRIDES_qs.js +33 -0
  32. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN027003_OVERRIDES_uuid.js +33 -0
  33. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.24.0.js +77 -0
  34. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  35. package/dist/m365/spo/commands/app/app-add.js +35 -56
  36. package/dist/m365/spo/commands/app/app-deploy.js +41 -59
  37. package/dist/m365/spo/commands/app/app-get.js +40 -56
  38. package/dist/m365/spo/commands/app/app-install.js +20 -41
  39. package/dist/m365/spo/commands/app/app-instance-list.js +12 -24
  40. package/dist/m365/spo/commands/app/app-list.js +26 -44
  41. package/dist/m365/spo/commands/app/app-remove.js +32 -52
  42. package/dist/m365/spo/commands/app/app-retract.js +32 -51
  43. package/dist/m365/spo/commands/app/app-teamspackage-download.js +35 -54
  44. package/dist/m365/spo/commands/app/app-uninstall.js +21 -44
  45. package/dist/m365/spo/commands/app/app-upgrade.js +20 -41
  46. package/dist/m365/spo/commands/commandset/commandset-add.js +17 -59
  47. package/dist/m365/spo/commands/commandset/commandset-get.js +24 -62
  48. package/dist/m365/spo/commands/commandset/commandset-list.js +11 -34
  49. package/dist/m365/spo/commands/commandset/commandset-remove.js +21 -54
  50. package/dist/m365/spo/commands/commandset/commandset-set.js +30 -83
  51. package/dist/m365/spo/commands/feature/feature-disable.js +20 -50
  52. package/dist/m365/spo/commands/feature/feature-enable.js +22 -50
  53. package/dist/m365/spo/commands/feature/feature-list.js +11 -36
  54. package/dist/m365/spo/commands/field/field-add.js +33 -62
  55. package/dist/m365/spo/commands/field/field-get.js +30 -57
  56. package/dist/m365/spo/commands/field/field-list.js +21 -46
  57. package/dist/m365/spo/commands/field/field-remove.js +32 -63
  58. package/dist/m365/spo/commands/field/field-set.js +34 -66
  59. package/dist/m365/spo/commands/file/file-get.js +4 -3
  60. package/dist/m365/spo/commands/folder/folder-unarchive.js +90 -0
  61. package/dist/m365/spo/commands/hubsite/hubsite-connect.js +38 -63
  62. package/dist/m365/spo/commands/hubsite/hubsite-data-get.js +11 -27
  63. package/dist/m365/spo/commands/hubsite/hubsite-disconnect.js +25 -47
  64. package/dist/m365/spo/commands/hubsite/hubsite-get.js +25 -37
  65. package/dist/m365/spo/commands/hubsite/hubsite-list.js +12 -24
  66. package/dist/m365/spo/commands/hubsite/hubsite-register.js +10 -18
  67. package/dist/m365/spo/commands/hubsite/hubsite-rights-grant.js +14 -32
  68. package/dist/m365/spo/commands/hubsite/hubsite-rights-revoke.js +12 -29
  69. package/dist/m365/spo/commands/hubsite/hubsite-set.js +19 -46
  70. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +11 -27
  71. package/dist/m365/spo/commands/listitem/listitem-add.js +27 -55
  72. package/dist/m365/spo/commands/listitem/listitem-attachment-add.js +30 -58
  73. package/dist/m365/spo/commands/listitem/listitem-attachment-get.js +27 -52
  74. package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +26 -50
  75. package/dist/m365/spo/commands/listitem/listitem-attachment-remove.js +28 -55
  76. package/dist/m365/spo/commands/listitem/listitem-attachment-set.js +30 -57
  77. package/dist/m365/spo/commands/listitem/listitem-batch-add.js +36 -58
  78. package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +68 -92
  79. package/dist/m365/spo/commands/listitem/listitem-batch-set.js +37 -57
  80. package/dist/m365/spo/commands/listitem/listitem-get.js +45 -79
  81. package/dist/m365/spo/commands/listitem/listitem-isrecord.js +31 -55
  82. package/dist/m365/spo/commands/listitem/listitem-list.js +47 -81
  83. package/dist/m365/spo/commands/listitem/listitem-record-declare.js +37 -60
  84. package/dist/m365/spo/commands/listitem/listitem-record-lock.js +30 -52
  85. package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +31 -52
  86. package/dist/m365/spo/commands/listitem/listitem-record-unlock.js +30 -52
  87. package/dist/m365/spo/commands/listitem/listitem-remove.js +33 -61
  88. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-ensure.js +46 -67
  89. package/dist/m365/spo/commands/listitem/listitem-retentionlabel-remove.js +33 -56
  90. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +55 -98
  91. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +48 -74
  92. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +33 -56
  93. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +31 -53
  94. package/dist/m365/spo/commands/listitem/listitem-set.js +33 -58
  95. package/dist/m365/spo/commands/navigation/navigation-node-add.js +74 -120
  96. package/dist/m365/spo/commands/navigation/navigation-node-get.js +4 -13
  97. package/dist/m365/spo/commands/navigation/navigation-node-set.js +53 -114
  98. package/dist/m365/spo/commands/page/page-unpublish.js +53 -0
  99. package/dist/m365/spo/commands/sitescript/sitescript-add.js +22 -37
  100. package/dist/m365/spo/commands/sitescript/sitescript-get.js +9 -26
  101. package/dist/m365/spo/commands/sitescript/sitescript-list.js +5 -0
  102. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +9 -33
  103. package/dist/m365/spo/commands/sitescript/sitescript-set.js +29 -56
  104. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-add.js +8 -1
  105. package/dist/m365/spo/commands/tenant/tenant-commandset-add.js +8 -1
  106. package/dist/m365/spo/commands.js +3 -1
  107. package/dist/m365/spp/commands/contentcenter/contentcenter-list.js +5 -0
  108. package/dist/m365/spp/commands/model/model-get.js +25 -45
  109. package/dist/m365/spp/commands/model/model-list.js +12 -23
  110. package/dist/m365/spp/commands/model/model-remove.js +25 -45
  111. package/dist/m365/teams/commands/channel/channel-add.js +46 -57
  112. package/dist/m365/teams/commands/channel/channel-get.js +41 -48
  113. package/dist/m365/teams/commands/channel/channel-list.js +28 -42
  114. package/dist/m365/teams/commands/channel/channel-member-add.js +53 -54
  115. package/dist/m365/teams/commands/channel/channel-member-list.js +47 -55
  116. package/dist/m365/teams/commands/channel/channel-member-remove.js +62 -62
  117. package/dist/m365/teams/commands/channel/channel-member-set.js +61 -65
  118. package/dist/m365/teams/commands/channel/channel-remove.js +47 -49
  119. package/dist/m365/teams/commands/channel/channel-set.js +47 -54
  120. package/dist/m365/teams/commands/chat/chat-get.js +30 -45
  121. package/dist/m365/teams/commands/chat/chat-list.js +22 -42
  122. package/dist/m365/teams/commands/chat/chat-member-add.js +43 -64
  123. package/dist/m365/teams/commands/chat/chat-member-list.js +10 -23
  124. package/dist/m365/teams/commands/chat/chat-member-remove.js +28 -50
  125. package/dist/m365/teams/commands/chat/chat-message-send.js +32 -55
  126. package/dist/m365/teams/commands/meeting/meeting-add.js +57 -68
  127. package/dist/m365/teams/commands/meeting/meeting-attendancereport-get.js +33 -58
  128. package/dist/m365/teams/commands/meeting/meeting-attendancereport-list.js +14 -38
  129. package/dist/m365/teams/commands/meeting/meeting-get.js +14 -38
  130. package/dist/m365/teams/commands/meeting/meeting-list.js +34 -59
  131. package/dist/m365/teams/commands/meeting/meeting-transcript-get.js +34 -58
  132. package/dist/m365/teams/commands/meeting/meeting-transcript-list.js +29 -50
  133. package/dist/m365/teams/commands/message/message-get.js +19 -30
  134. package/dist/m365/teams/commands/message/message-list.js +26 -43
  135. package/dist/m365/teams/commands/message/message-remove.js +43 -58
  136. package/dist/m365/teams/commands/message/message-reply-list.js +19 -30
  137. package/dist/m365/teams/commands/message/message-restore.js +40 -50
  138. package/dist/m365/teams/commands/message/message-send.js +19 -30
  139. package/dist/m365/teams/commands/report/report-deviceusagedistributionusercounts.js +10 -0
  140. package/dist/m365/teams/commands/report/report-deviceusageusercounts.js +10 -0
  141. package/dist/m365/teams/commands/report/report-deviceusageuserdetail.js +22 -0
  142. package/dist/m365/teams/commands/report/report-directroutingcalls.js +19 -39
  143. package/dist/m365/teams/commands/report/report-pstncalls.js +19 -39
  144. package/dist/m365/teams/commands/report/report-useractivitycounts.js +10 -0
  145. package/dist/m365/teams/commands/report/report-useractivityusercounts.js +10 -0
  146. package/dist/m365/teams/commands/report/report-useractivityuserdetail.js +22 -0
  147. package/dist/m365/teams/commands/tab/tab-add.js +23 -49
  148. package/dist/m365/teams/commands/tab/tab-get.js +55 -56
  149. package/dist/m365/teams/commands/tab/tab-list.js +17 -28
  150. package/dist/m365/teams/commands/tab/tab-remove.js +23 -42
  151. package/dist/m365/teams/commands/team/team-add.js +76 -114
  152. package/dist/m365/teams/commands/team/team-app-list.js +23 -36
  153. package/dist/m365/teams/commands/team/team-archive.js +24 -39
  154. package/dist/m365/teams/commands/team/team-clone.js +28 -62
  155. package/dist/m365/teams/commands/team/team-get.js +23 -36
  156. package/dist/m365/teams/commands/team/team-list.js +43 -57
  157. package/dist/m365/teams/commands/team/team-remove.js +24 -37
  158. package/dist/m365/teams/commands/team/team-set.js +23 -52
  159. package/dist/m365/teams/commands/team/team-unarchive.js +23 -28
  160. package/dist/m365/teams/commands/user/user-app-add.js +40 -49
  161. package/dist/m365/teams/commands/user/user-app-list.js +26 -39
  162. package/dist/m365/teams/commands/user/user-app-remove.js +37 -49
  163. package/dist/m365/teams/commands/user/user-app-upgrade.js +36 -52
  164. package/dist/m365/teams/commands/user/user-list.js +17 -39
  165. package/dist/m365/tenant/commands/report/report-activeusercounts.js +2 -1
  166. package/dist/m365/tenant/commands/report/report-activeuserdetail.js +2 -1
  167. package/dist/m365/tenant/commands/report/report-office365activationcounts.js +9 -0
  168. package/dist/m365/tenant/commands/report/report-office365activationsusercounts.js +9 -0
  169. package/dist/m365/tenant/commands/report/report-office365activationsuserdetail.js +9 -0
  170. package/dist/m365/tenant/commands/report/report-servicesusercounts.js +2 -1
  171. package/dist/m365/tenant/commands/report/report-settings-get.js +5 -0
  172. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-get.js +9 -20
  173. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +8 -20
  174. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-get.js +8 -15
  175. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-healthissue-list.js +8 -15
  176. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-get.js +12 -26
  177. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-message-list.js +8 -22
  178. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -28
  179. package/dist/telemetry.js +7 -11
  180. package/dist/utils/spo.js +40 -3
  181. package/dist/utils/urlUtil.js +2 -2
  182. package/dist/utils/zod.js +4 -4
  183. package/docs/docs/cmd/login.mdx +15 -2
  184. package/docs/docs/cmd/spe/container/container-permission-remove.mdx +78 -0
  185. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  186. package/docs/docs/cmd/spo/file/file-archive.mdx +1 -1
  187. package/docs/docs/cmd/spo/file/file-checkin.mdx +2 -2
  188. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +1 -1
  189. package/docs/docs/cmd/spo/file/file-checkout.mdx +2 -2
  190. package/docs/docs/cmd/spo/file/file-copy.mdx +2 -2
  191. package/docs/docs/cmd/spo/file/file-get.mdx +6 -6
  192. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  193. package/docs/docs/cmd/spo/file/file-retentionlabel-remove.mdx +1 -1
  194. package/docs/docs/cmd/spo/file/file-roleassignment-add.mdx +1 -1
  195. package/docs/docs/cmd/spo/file/file-roleassignment-remove.mdx +1 -1
  196. package/docs/docs/cmd/spo/file/file-roleinheritance-break.mdx +3 -3
  197. package/docs/docs/cmd/spo/file/file-roleinheritance-reset.mdx +2 -2
  198. package/docs/docs/cmd/spo/file/file-sharinginfo-get.mdx +2 -2
  199. package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +22 -1
  200. package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +24 -1
  201. package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +22 -1
  202. package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +22 -1
  203. package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +24 -1
  204. package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +22 -1
  205. package/docs/docs/cmd/spo/file/file-unarchive.mdx +1 -1
  206. package/docs/docs/cmd/spo/file/file-version-clear.mdx +1 -1
  207. package/docs/docs/cmd/spo/file/file-version-get.mdx +1 -1
  208. package/docs/docs/cmd/spo/file/file-version-keep.mdx +1 -1
  209. package/docs/docs/cmd/spo/file/file-version-list.mdx +1 -1
  210. package/docs/docs/cmd/spo/file/file-version-remove.mdx +1 -1
  211. package/docs/docs/cmd/spo/file/file-version-restore.mdx +1 -1
  212. package/docs/docs/cmd/spo/folder/folder-archive.mdx +1 -1
  213. package/docs/docs/cmd/spo/folder/folder-copy.mdx +1 -1
  214. package/docs/docs/cmd/spo/folder/folder-get.mdx +2 -2
  215. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  216. package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +1 -1
  217. package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +22 -1
  218. package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +23 -0
  219. package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +21 -0
  220. package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +22 -1
  221. package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +24 -1
  222. package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +21 -0
  223. package/docs/docs/cmd/spo/folder/folder-unarchive.mdx +76 -0
  224. package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -6
  225. package/docs/docs/cmd/spo/navigation/navigation-node-add.mdx +45 -30
  226. package/docs/docs/cmd/spo/navigation/navigation-node-get.mdx +64 -42
  227. package/docs/docs/cmd/spo/navigation/navigation-node-set.mdx +10 -8
  228. package/docs/docs/cmd/spo/page/page-unpublish.mdx +63 -0
  229. package/docs/docs/cmd/spp/model/model-get.mdx +1 -1
  230. package/docs/docs/cmd/spp/model/model-remove.mdx +1 -1
  231. package/docs/docs/cmd/teams/tab/tab-add.mdx +19 -0
  232. package/docs/docs/cmd/teams/tab/tab-get.mdx +19 -0
  233. package/docs/docs/cmd/teams/tab/tab-list.mdx +19 -0
  234. package/docs/docs/cmd/teams/tab/tab-remove.mdx +21 -0
  235. package/docs/docs/cmd/viva/engage/engage-message-add.mdx +17 -0
  236. package/docs/docs/cmd/viva/engage/engage-message-get.mdx +17 -0
  237. package/docs/docs/cmd/viva/engage/engage-message-list.mdx +17 -0
  238. package/docs/docs/cmd/viva/engage/engage-message-remove.mdx +19 -0
  239. package/npm-shrinkwrap.json +324 -3116
  240. package/package.json +18 -35
  241. package/dist/appInsights.js +0 -43
@@ -1,10 +1,6 @@
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 _EntraM365GroupUserRemoveCommand_instances, _EntraM365GroupUserRemoveCommand_initTelemetry, _EntraM365GroupUserRemoveCommand_initOptions, _EntraM365GroupUserRemoveCommand_initValidators, _EntraM365GroupUserRemoveCommand_initOptionSets, _EntraM365GroupUserRemoveCommand_initTypes;
1
+ import { z } from 'zod';
7
2
  import { cli } from '../../../../cli/cli.js';
3
+ import { globalOptionsZod } from '../../../../Command.js';
8
4
  import request from '../../../../request.js';
9
5
  import { entraGroup } from '../../../../utils/entraGroup.js';
10
6
  import { entraUser } from '../../../../utils/entraUser.js';
@@ -12,6 +8,22 @@ import { formatting } from '../../../../utils/formatting.js';
12
8
  import { validation } from '../../../../utils/validation.js';
13
9
  import GraphCommand from '../../../base/GraphCommand.js';
14
10
  import commands from '../../commands.js';
11
+ export const options = z.strictObject({
12
+ ...globalOptionsZod.shape,
13
+ teamId: z.uuid().optional(),
14
+ teamName: z.string().optional(),
15
+ groupId: z.uuid().optional().alias('i'),
16
+ groupName: z.string().optional(),
17
+ ids: z.string()
18
+ .refine(ids => validation.isValidGuidArray(ids) === true, {
19
+ error: e => `The following GUIDs are invalid for the option 'ids': ${validation.isValidGuidArray(e.input)}.`
20
+ }).optional(),
21
+ userNames: z.string()
22
+ .refine(names => validation.isValidUserPrincipalNameArray(names) === true, {
23
+ error: e => `The following user principal names are invalid for the option 'userNames': ${validation.isValidUserPrincipalNameArray(e.input)}.`
24
+ }).optional(),
25
+ force: z.boolean().optional().alias('f')
26
+ });
15
27
  class EntraM365GroupUserRemoveCommand extends GraphCommand {
16
28
  get name() {
17
29
  return commands.M365GROUP_USER_REMOVE;
@@ -19,14 +31,25 @@ class EntraM365GroupUserRemoveCommand extends GraphCommand {
19
31
  get description() {
20
32
  return 'Removes the specified user from specified Microsoft 365 Group or Microsoft Teams team';
21
33
  }
22
- constructor() {
23
- super();
24
- _EntraM365GroupUserRemoveCommand_instances.add(this);
25
- __classPrivateFieldGet(this, _EntraM365GroupUserRemoveCommand_instances, "m", _EntraM365GroupUserRemoveCommand_initTelemetry).call(this);
26
- __classPrivateFieldGet(this, _EntraM365GroupUserRemoveCommand_instances, "m", _EntraM365GroupUserRemoveCommand_initOptions).call(this);
27
- __classPrivateFieldGet(this, _EntraM365GroupUserRemoveCommand_instances, "m", _EntraM365GroupUserRemoveCommand_initValidators).call(this);
28
- __classPrivateFieldGet(this, _EntraM365GroupUserRemoveCommand_instances, "m", _EntraM365GroupUserRemoveCommand_initOptionSets).call(this);
29
- __classPrivateFieldGet(this, _EntraM365GroupUserRemoveCommand_instances, "m", _EntraM365GroupUserRemoveCommand_initTypes).call(this);
34
+ get schema() {
35
+ return options;
36
+ }
37
+ getRefinedSchema(schema) {
38
+ return schema
39
+ .refine(opts => [opts.groupId, opts.teamId, opts.groupName, opts.teamName].filter(o => o !== undefined).length === 1, {
40
+ error: 'Use one of the following options: groupId, teamId, groupName or teamName.',
41
+ params: {
42
+ customCode: 'optionSet',
43
+ options: ['groupId', 'teamId', 'groupName', 'teamName']
44
+ }
45
+ })
46
+ .refine(opts => [opts.ids, opts.userNames].filter(o => o !== undefined).length === 1, {
47
+ error: 'Use one of the following options: ids or userNames.',
48
+ params: {
49
+ customCode: 'optionSet',
50
+ options: ['ids', 'userNames']
51
+ }
52
+ });
30
53
  }
31
54
  async commandAction(logger, args) {
32
55
  const removeUser = async () => {
@@ -94,65 +117,5 @@ class EntraM365GroupUserRemoveCommand extends GraphCommand {
94
117
  }
95
118
  }
96
119
  }
97
- _EntraM365GroupUserRemoveCommand_instances = new WeakSet(), _EntraM365GroupUserRemoveCommand_initTelemetry = function _EntraM365GroupUserRemoveCommand_initTelemetry() {
98
- this.telemetry.push((args) => {
99
- Object.assign(this.telemetryProperties, {
100
- force: !!args.options.force,
101
- teamId: typeof args.options.teamId !== 'undefined',
102
- groupId: typeof args.options.groupId !== 'undefined',
103
- teamName: typeof args.options.teamName !== 'undefined',
104
- groupName: typeof args.options.groupName !== 'undefined',
105
- ids: typeof args.options.ids !== 'undefined',
106
- userNames: typeof args.options.userNames !== 'undefined'
107
- });
108
- });
109
- }, _EntraM365GroupUserRemoveCommand_initOptions = function _EntraM365GroupUserRemoveCommand_initOptions() {
110
- this.options.unshift({
111
- option: '-i, --groupId [groupId]'
112
- }, {
113
- option: '--groupName [groupName]'
114
- }, {
115
- option: '--teamId [teamId]'
116
- }, {
117
- option: '--teamName [teamName]'
118
- }, {
119
- option: '--ids [ids]'
120
- }, {
121
- option: '--userNames [userNames]'
122
- }, {
123
- option: '-f, --force'
124
- });
125
- }, _EntraM365GroupUserRemoveCommand_initValidators = function _EntraM365GroupUserRemoveCommand_initValidators() {
126
- this.validators.push(async (args) => {
127
- if (args.options.teamId && !validation.isValidGuid(args.options.teamId)) {
128
- return `${args.options.teamId} is not a valid GUID for option 'teamId'.`;
129
- }
130
- if (args.options.groupId && !validation.isValidGuid(args.options.groupId)) {
131
- return `${args.options.groupId} is not a valid GUID for option 'groupId'.`;
132
- }
133
- if (args.options.ids) {
134
- const isValidGUIDArrayResult = validation.isValidGuidArray(args.options.ids);
135
- if (isValidGUIDArrayResult !== true) {
136
- return `The following GUIDs are invalid for the option 'ids': ${isValidGUIDArrayResult}.`;
137
- }
138
- }
139
- if (args.options.userNames) {
140
- const isValidUPNArrayResult = validation.isValidUserPrincipalNameArray(args.options.userNames);
141
- if (isValidUPNArrayResult !== true) {
142
- return `The following user principal names are invalid for the option 'userNames': ${isValidUPNArrayResult}.`;
143
- }
144
- }
145
- return true;
146
- });
147
- }, _EntraM365GroupUserRemoveCommand_initOptionSets = function _EntraM365GroupUserRemoveCommand_initOptionSets() {
148
- this.optionSets.push({
149
- options: ['groupId', 'teamId', 'groupName', 'teamName']
150
- }, {
151
- options: ['ids', 'userNames']
152
- });
153
- }, _EntraM365GroupUserRemoveCommand_initTypes = function _EntraM365GroupUserRemoveCommand_initTypes() {
154
- this.types.string.push('groupId', 'groupName', 'teamId', 'teamName', 'ids', 'userNames');
155
- this.types.boolean.push('force');
156
- };
157
120
  export default new EntraM365GroupUserRemoveCommand();
158
121
  //# sourceMappingURL=m365group-user-remove.js.map
@@ -1,16 +1,33 @@
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 _EntraM365GroupUserSetCommand_instances, _EntraM365GroupUserSetCommand_initTelemetry, _EntraM365GroupUserSetCommand_initOptions, _EntraM365GroupUserSetCommand_initValidators, _EntraM365GroupUserSetCommand_initOptionSets, _EntraM365GroupUserSetCommand_initTypes;
1
+ import { z } from 'zod';
2
+ import { globalOptionsZod } from '../../../../Command.js';
7
3
  import request from '../../../../request.js';
8
- import { validation } from '../../../../utils/validation.js';
4
+ import { entraGroup } from '../../../../utils/entraGroup.js';
5
+ import { entraUser } from '../../../../utils/entraUser.js';
9
6
  import { formatting } from '../../../../utils/formatting.js';
7
+ import { validation } from '../../../../utils/validation.js';
10
8
  import GraphCommand from '../../../base/GraphCommand.js';
11
9
  import commands from '../../commands.js';
12
- import { entraGroup } from '../../../../utils/entraGroup.js';
13
- import { entraUser } from '../../../../utils/entraUser.js';
10
+ import { zod } from '../../../../utils/zod.js';
11
+ const RoleEnum = {
12
+ owner: 'owner',
13
+ member: 'member'
14
+ };
15
+ export const options = z.strictObject({
16
+ ...globalOptionsZod.shape,
17
+ ids: z.string()
18
+ .refine(ids => validation.isValidGuidArray(ids) === true, {
19
+ error: e => `The following GUIDs are invalid for the option 'ids': ${validation.isValidGuidArray(e.input)}.`
20
+ }).optional(),
21
+ userNames: z.string()
22
+ .refine(names => validation.isValidUserPrincipalNameArray(names) === true, {
23
+ error: e => `The following user principal names are invalid for the option 'userNames': ${validation.isValidUserPrincipalNameArray(e.input)}.`
24
+ }).optional(),
25
+ groupId: z.uuid().optional().alias('i'),
26
+ groupName: z.string().optional(),
27
+ teamId: z.uuid().optional(),
28
+ teamName: z.string().optional(),
29
+ role: zod.coercedEnum(RoleEnum).alias('r')
30
+ });
14
31
  class EntraM365GroupUserSetCommand extends GraphCommand {
15
32
  get name() {
16
33
  return commands.M365GROUP_USER_SET;
@@ -18,15 +35,25 @@ class EntraM365GroupUserSetCommand extends GraphCommand {
18
35
  get description() {
19
36
  return 'Updates role of the specified user in the specified Microsoft 365 Group or Microsoft Teams team';
20
37
  }
21
- constructor() {
22
- super();
23
- _EntraM365GroupUserSetCommand_instances.add(this);
24
- this.allowedRoles = ['owner', 'member'];
25
- __classPrivateFieldGet(this, _EntraM365GroupUserSetCommand_instances, "m", _EntraM365GroupUserSetCommand_initTelemetry).call(this);
26
- __classPrivateFieldGet(this, _EntraM365GroupUserSetCommand_instances, "m", _EntraM365GroupUserSetCommand_initOptions).call(this);
27
- __classPrivateFieldGet(this, _EntraM365GroupUserSetCommand_instances, "m", _EntraM365GroupUserSetCommand_initValidators).call(this);
28
- __classPrivateFieldGet(this, _EntraM365GroupUserSetCommand_instances, "m", _EntraM365GroupUserSetCommand_initOptionSets).call(this);
29
- __classPrivateFieldGet(this, _EntraM365GroupUserSetCommand_instances, "m", _EntraM365GroupUserSetCommand_initTypes).call(this);
38
+ get schema() {
39
+ return options;
40
+ }
41
+ getRefinedSchema(schema) {
42
+ return schema
43
+ .refine(opts => [opts.groupId, opts.groupName, opts.teamId, opts.teamName].filter(o => o !== undefined).length === 1, {
44
+ error: 'Use one of the following options: groupId, groupName, teamId or teamName.',
45
+ params: {
46
+ customCode: 'optionSet',
47
+ options: ['groupId', 'groupName', 'teamId', 'teamName']
48
+ }
49
+ })
50
+ .refine(opts => [opts.ids, opts.userNames].filter(o => o !== undefined).length === 1, {
51
+ error: 'Use one of the following options: ids or userNames.',
52
+ params: {
53
+ customCode: 'optionSet',
54
+ options: ['ids', 'userNames']
55
+ }
56
+ });
30
57
  }
31
58
  async commandAction(logger, args) {
32
59
  try {
@@ -159,64 +186,5 @@ class EntraM365GroupUserSetCommand extends GraphCommand {
159
186
  return requestOptions;
160
187
  }
161
188
  }
162
- _EntraM365GroupUserSetCommand_instances = new WeakSet(), _EntraM365GroupUserSetCommand_initTelemetry = function _EntraM365GroupUserSetCommand_initTelemetry() {
163
- this.telemetry.push((args) => {
164
- Object.assign(this.telemetryProperties, {
165
- teamId: typeof args.options.teamId !== 'undefined',
166
- teamName: typeof args.options.teamName !== 'undefined',
167
- groupId: typeof args.options.groupId !== 'undefined',
168
- groupName: typeof args.options.groupName !== 'undefined',
169
- ids: typeof args.options.ids !== 'undefined',
170
- userNames: typeof args.options.userNames !== 'undefined'
171
- });
172
- });
173
- }, _EntraM365GroupUserSetCommand_initOptions = function _EntraM365GroupUserSetCommand_initOptions() {
174
- this.options.unshift({
175
- option: '--ids [ids]'
176
- }, {
177
- option: '--userNames [userNames]'
178
- }, {
179
- option: '-i, --groupId [groupId]'
180
- }, {
181
- option: '--groupName [groupName]'
182
- }, {
183
- option: '--teamId [teamId]'
184
- }, {
185
- option: '--teamName [teamName]'
186
- }, {
187
- option: '-r, --role <role>',
188
- autocomplete: this.allowedRoles
189
- });
190
- }, _EntraM365GroupUserSetCommand_initValidators = function _EntraM365GroupUserSetCommand_initValidators() {
191
- this.validators.push(async (args) => {
192
- if (args.options.teamId && !validation.isValidGuid(args.options.teamId)) {
193
- return `'${args.options.teamId}' is not a valid GUID for option 'teamId'.`;
194
- }
195
- if (args.options.groupId && !validation.isValidGuid(args.options.groupId)) {
196
- return `'${args.options.groupId}' is not a valid GUID for option 'groupId'.`;
197
- }
198
- if (args.options.ids) {
199
- const isValidGUIDArrayResult = validation.isValidGuidArray(args.options.ids);
200
- if (isValidGUIDArrayResult !== true) {
201
- return `The following GUIDs are invalid for the option 'ids': ${isValidGUIDArrayResult}.`;
202
- }
203
- }
204
- if (args.options.userNames) {
205
- const isValidUPNArrayResult = validation.isValidUserPrincipalNameArray(args.options.userNames);
206
- if (isValidUPNArrayResult !== true) {
207
- return `The following user principal names are invalid for the option 'userNames': ${isValidUPNArrayResult}.`;
208
- }
209
- }
210
- if (args.options.role && !this.allowedRoles.some(role => role.toLowerCase() === args.options.role.toLowerCase())) {
211
- return `'${args.options.role}' is not a valid role. Allowed values are: ${this.allowedRoles.join(',')}`;
212
- }
213
- return true;
214
- });
215
- }, _EntraM365GroupUserSetCommand_initOptionSets = function _EntraM365GroupUserSetCommand_initOptionSets() {
216
- this.optionSets.push({ options: ['groupId', 'groupName', 'teamId', 'teamName'] });
217
- this.optionSets.push({ options: ['ids', 'userNames'] });
218
- }, _EntraM365GroupUserSetCommand_initTypes = function _EntraM365GroupUserSetCommand_initTypes() {
219
- this.types.string.push('ids', 'userNames', 'groupId', 'groupName', 'teamId', 'teamName', 'role');
220
- };
221
189
  export default new EntraM365GroupUserSetCommand();
222
190
  //# sourceMappingURL=m365group-user-set.js.map
@@ -0,0 +1,94 @@
1
+ import { z } from 'zod';
2
+ import { globalOptionsZod } from '../../../../Command.js';
3
+ import commands from '../../commands.js';
4
+ import GraphCommand from '../../../base/GraphCommand.js';
5
+ import { spe } from '../../../../utils/spe.js';
6
+ import request from '../../../../request.js';
7
+ import { formatting } from '../../../../utils/formatting.js';
8
+ import { cli } from '../../../../cli/cli.js';
9
+ export const options = z.strictObject({
10
+ ...globalOptionsZod.shape,
11
+ id: z.string().alias('i'),
12
+ containerId: z.string().optional(),
13
+ containerName: z.string().alias('n').optional(),
14
+ containerTypeId: z.uuid().optional(),
15
+ containerTypeName: z.string().optional(),
16
+ force: z.boolean().alias('f').optional()
17
+ });
18
+ class SpeContainerPermissionRemoveCommand extends GraphCommand {
19
+ get name() {
20
+ return commands.CONTAINER_PERMISSION_REMOVE;
21
+ }
22
+ get description() {
23
+ return 'Removes SharePoint Embedded Container permission';
24
+ }
25
+ get schema() {
26
+ return options;
27
+ }
28
+ getRefinedSchema(schema) {
29
+ return schema
30
+ .refine((options) => [options.containerId, options.containerName].filter(o => o !== undefined).length === 1, {
31
+ error: 'Use one of the following options: containerId or containerName.',
32
+ params: {
33
+ customCode: 'optionSet',
34
+ options: ['containerId', 'containerName']
35
+ }
36
+ })
37
+ .refine((options) => !options.containerName || [options.containerTypeId, options.containerTypeName].filter(o => o !== undefined).length === 1, {
38
+ error: 'Use one of the following options when specifying the container name: containerTypeId or containerTypeName.',
39
+ params: {
40
+ customCode: 'optionSet',
41
+ options: ['containerTypeId', 'containerTypeName']
42
+ }
43
+ })
44
+ .refine((options) => options.containerName || [options.containerTypeId, options.containerTypeName].filter(o => o !== undefined).length === 0, {
45
+ error: 'Options containerTypeId and containerTypeName are only required when removing permissions from a container by name.'
46
+ });
47
+ }
48
+ async commandAction(logger, args) {
49
+ if (!args.options.force) {
50
+ const result = await cli.promptForConfirmation({ message: `Are you sure you want to remove permission '${args.options.id}' from container '${args.options.containerId || args.options.containerName}'?` });
51
+ if (!result) {
52
+ return;
53
+ }
54
+ }
55
+ try {
56
+ const containerId = await this.getContainerId(args.options, logger);
57
+ if (this.verbose) {
58
+ await logger.logToStderr(`Removing permissions from container with ID '${containerId}'...`);
59
+ }
60
+ const requestOptions = {
61
+ url: `${this.resource}/v1.0/storage/fileStorage/containers/${formatting.encodeQueryParameter(containerId)}/permissions/${formatting.encodeQueryParameter(args.options.id)}`,
62
+ headers: {
63
+ accept: 'application/json;odata.metadata=none'
64
+ },
65
+ responseType: 'json'
66
+ };
67
+ await request.delete(requestOptions);
68
+ }
69
+ catch (err) {
70
+ this.handleRejectedODataJsonPromise(err);
71
+ }
72
+ }
73
+ async getContainerId(options, logger) {
74
+ if (options.containerId) {
75
+ return options.containerId;
76
+ }
77
+ const containerTypeId = await this.getContainerTypeId(options, logger);
78
+ if (this.verbose) {
79
+ await logger.logToStderr(`Getting container ID for container with name '${options.containerName}'...`);
80
+ }
81
+ return spe.getContainerIdByName(containerTypeId, options.containerName);
82
+ }
83
+ async getContainerTypeId(options, logger) {
84
+ if (options.containerTypeId) {
85
+ return options.containerTypeId;
86
+ }
87
+ if (this.verbose) {
88
+ await logger.logToStderr(`Getting container type with name '${options.containerTypeName}'...`);
89
+ }
90
+ return spe.getContainerTypeIdByName(options.containerTypeName);
91
+ }
92
+ }
93
+ export default new SpeContainerPermissionRemoveCommand();
94
+ //# sourceMappingURL=container-permission-remove.js.map
@@ -7,6 +7,7 @@ export default {
7
7
  CONTAINER_REMOVE: `${prefix} container remove`,
8
8
  CONTAINER_SET: `${prefix} container set`,
9
9
  CONTAINER_PERMISSION_LIST: `${prefix} container permission list`,
10
+ CONTAINER_PERMISSION_REMOVE: `${prefix} container permission remove`,
10
11
  CONTAINER_RECYCLEBINITEM_LIST: `${prefix} container recyclebinitem list`,
11
12
  CONTAINER_RECYCLEBINITEM_REMOVE: `${prefix} container recyclebinitem remove`,
12
13
  CONTAINER_RECYCLEBINITEM_RESTORE: `${prefix} container recyclebinitem restore`,
@@ -653,6 +653,21 @@ export const versions = {
653
653
  range: '^4 || ^5 || ^6 || ^7',
654
654
  fix: 'npm i -g yo@7'
655
655
  }
656
+ },
657
+ '1.24.0': {
658
+ heft: {
659
+ range: '^1',
660
+ fix: 'npm i -g @rushstack/heft@1'
661
+ },
662
+ node: {
663
+ range: '>=22.14.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0',
664
+ fix: 'Install Node.js >=22.14.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0'
665
+ },
666
+ sp: SharePointVersion.SPO,
667
+ yo: {
668
+ range: '^4 || ^5 || ^6 || ^7',
669
+ fix: 'npm i -g yo@7'
670
+ }
656
671
  }
657
672
  };
658
673
  //# sourceMappingURL=SpfxCompatibilityMatrix.js.map
@@ -0,0 +1,19 @@
1
+ import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
2
+ import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
3
+ import { FN001035_DEP_fluentui_react } from './rules/FN001035_DEP_fluentui_react.js';
4
+ import { FN002013_DEVDEP_types_webpack_env } from './rules/FN002013_DEVDEP_types_webpack_env.js';
5
+ import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
6
+ import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
7
+ import { FN002022_DEVDEP_typescript } from './rules/FN002022_DEVDEP_typescript.js';
8
+ import { FN021001_PKG_spfx_deps_versions_match_project_version } from './rules/FN021001_PKG_spfx_deps_versions_match_project_version.js';
9
+ export default [
10
+ new FN001008_DEP_react({ supportedRange: '18' }),
11
+ new FN001009_DEP_react_dom({ supportedRange: '18' }),
12
+ new FN001035_DEP_fluentui_react({ supportedRange: '^8.106.4' }),
13
+ new FN002013_DEVDEP_types_webpack_env({ supportedRange: '~1.15.2' }),
14
+ new FN002015_DEVDEP_types_react({ supportedRange: '18' }),
15
+ new FN002016_DEVDEP_types_react_dom({ supportedRange: '18' }),
16
+ new FN002022_DEVDEP_typescript({ supportedRange: '~5.8.0' }),
17
+ new FN021001_PKG_spfx_deps_versions_match_project_version({ includeDevDeps: true })
18
+ ];
19
+ //# sourceMappingURL=doctor-1.24.0.js.map
@@ -78,7 +78,8 @@ class SpfxProjectDoctorCommand extends BaseProjectCommand {
78
78
  '1.22.1',
79
79
  '1.22.2',
80
80
  '1.23.0',
81
- '1.23.2'
81
+ '1.23.2',
82
+ '1.24.0'
82
83
  ];
83
84
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
84
85
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
@@ -0,0 +1,43 @@
1
+ import { JsonRule } from '../../JsonRule.js';
2
+ export class FN012021_TSC_excludeDirectories extends JsonRule {
3
+ constructor(options) {
4
+ super();
5
+ this.directories = options.directories;
6
+ }
7
+ get id() {
8
+ return 'FN012021';
9
+ }
10
+ get title() {
11
+ return 'tsconfig.json watchOptions.excludeDirectories property';
12
+ }
13
+ get description() {
14
+ return `Update tsconfig.json watchOptions.excludeDirectories property`;
15
+ }
16
+ get resolution() {
17
+ return `{
18
+ "watchOptions": {
19
+ "excludeDirectories": ${JSON.stringify(this.directories)}
20
+ }
21
+ }`;
22
+ }
23
+ get resolutionType() {
24
+ return 'json';
25
+ }
26
+ get severity() {
27
+ return 'Required';
28
+ }
29
+ get file() {
30
+ return './tsconfig.json';
31
+ }
32
+ visit(project, findings) {
33
+ if (!project.tsConfigJson) {
34
+ return;
35
+ }
36
+ if (!project.tsConfigJson.watchOptions?.excludeDirectories ||
37
+ JSON.stringify(project.tsConfigJson.watchOptions.excludeDirectories) !== JSON.stringify(this.directories)) {
38
+ const node = this.getAstNodeFromFile(project.tsConfigJson, 'watchOptions.excludeDirectories');
39
+ this.addFindingWithPosition(findings, node);
40
+ }
41
+ }
42
+ }
43
+ //# sourceMappingURL=FN012021_TSC_excludeDirectories.js.map
@@ -0,0 +1,33 @@
1
+ import { DependencyRule } from "./DependencyRule.js";
2
+ export class FN027002_OVERRIDES_qs extends DependencyRule {
3
+ constructor(options) {
4
+ super({ packageName: 'qs', packageVersion: options.version, isOverride: true });
5
+ }
6
+ get id() {
7
+ return 'FN027002';
8
+ }
9
+ visit(project, findings) {
10
+ // If an override entry for the package already exists in package.json,
11
+ // emit an extra finding to remove the existing override first. This avoids
12
+ // having to use a separate remove-override rule (e.g. FN027002) in the upgrade scripts.
13
+ if (project.packageJson?.overrides?.[this.packageName] &&
14
+ project.packageJson.overrides[this.packageName] !== this.packageVersion) {
15
+ const node = this.getAstNodeFromFile(project.packageJson, `overrides.${this.packageName}`);
16
+ findings.push({
17
+ id: `${this.id}_REMOVE`,
18
+ title: this.packageName,
19
+ description: `Remove existing SharePoint Framework override dependency package ${this.packageName}`,
20
+ occurrences: [{
21
+ file: this.file,
22
+ resolution: `removeOverride overrides.${this.packageName}`,
23
+ position: this.getPositionFromNode(node)
24
+ }],
25
+ resolutionType: 'cmd',
26
+ severity: 'Required',
27
+ supersedes: []
28
+ });
29
+ }
30
+ super.visit(project, findings);
31
+ }
32
+ }
33
+ //# sourceMappingURL=FN027002_OVERRIDES_qs.js.map
@@ -0,0 +1,33 @@
1
+ import { DependencyRule } from "./DependencyRule.js";
2
+ export class FN027003_OVERRIDES_uuid extends DependencyRule {
3
+ constructor(options) {
4
+ super({ packageName: 'uuid', packageVersion: options.version, isOverride: true });
5
+ }
6
+ get id() {
7
+ return 'FN027003';
8
+ }
9
+ visit(project, findings) {
10
+ // If an override entry for the package already exists in package.json,
11
+ // emit an extra finding to remove the existing override first. This avoids
12
+ // having to use a separate remove-override rule (e.g. FN027003) in the upgrade scripts.
13
+ if (project.packageJson?.overrides?.[this.packageName] &&
14
+ project.packageJson.overrides[this.packageName] !== this.packageVersion) {
15
+ const node = this.getAstNodeFromFile(project.packageJson, `overrides.${this.packageName}`);
16
+ findings.push({
17
+ id: `${this.id}_REMOVE`,
18
+ title: this.packageName,
19
+ description: `Remove existing SharePoint Framework override dependency package ${this.packageName}`,
20
+ occurrences: [{
21
+ file: this.file,
22
+ resolution: `removeOverride overrides.${this.packageName}`,
23
+ position: this.getPositionFromNode(node)
24
+ }],
25
+ resolutionType: 'cmd',
26
+ severity: 'Required',
27
+ supersedes: []
28
+ });
29
+ }
30
+ super.visit(project, findings);
31
+ }
32
+ }
33
+ //# sourceMappingURL=FN027003_OVERRIDES_uuid.js.map
@@ -0,0 +1,77 @@
1
+ import { FN001001_DEP_microsoft_sp_core_library } from './rules/FN001001_DEP_microsoft_sp_core_library.js';
2
+ import { FN001002_DEP_microsoft_sp_lodash_subset } from './rules/FN001002_DEP_microsoft_sp_lodash_subset.js';
3
+ import { FN001003_DEP_microsoft_sp_office_ui_fabric_core } from './rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core.js';
4
+ import { FN001004_DEP_microsoft_sp_webpart_base } from './rules/FN001004_DEP_microsoft_sp_webpart_base.js';
5
+ import { FN001008_DEP_react } from './rules/FN001008_DEP_react.js';
6
+ import { FN001009_DEP_react_dom } from './rules/FN001009_DEP_react_dom.js';
7
+ import { FN001011_DEP_microsoft_sp_dialog } from './rules/FN001011_DEP_microsoft_sp_dialog.js';
8
+ import { FN001012_DEP_microsoft_sp_application_base } from './rules/FN001012_DEP_microsoft_sp_application_base.js';
9
+ import { FN001013_DEP_microsoft_decorators } from './rules/FN001013_DEP_microsoft_decorators.js';
10
+ import { FN001014_DEP_microsoft_sp_listview_extensibility } from './rules/FN001014_DEP_microsoft_sp_listview_extensibility.js';
11
+ import { FN001021_DEP_microsoft_sp_property_pane } from './rules/FN001021_DEP_microsoft_sp_property_pane.js';
12
+ import { FN001023_DEP_microsoft_sp_component_base } from './rules/FN001023_DEP_microsoft_sp_component_base.js';
13
+ import { FN001024_DEP_microsoft_sp_diagnostics } from './rules/FN001024_DEP_microsoft_sp_diagnostics.js';
14
+ import { FN001025_DEP_microsoft_sp_dynamic_data } from './rules/FN001025_DEP_microsoft_sp_dynamic_data.js';
15
+ import { FN001026_DEP_microsoft_sp_extension_base } from './rules/FN001026_DEP_microsoft_sp_extension_base.js';
16
+ import { FN001027_DEP_microsoft_sp_http } from './rules/FN001027_DEP_microsoft_sp_http.js';
17
+ import { FN001028_DEP_microsoft_sp_list_subscription } from './rules/FN001028_DEP_microsoft_sp_list_subscription.js';
18
+ import { FN001029_DEP_microsoft_sp_loader } from './rules/FN001029_DEP_microsoft_sp_loader.js';
19
+ import { FN001030_DEP_microsoft_sp_module_interfaces } from './rules/FN001030_DEP_microsoft_sp_module_interfaces.js';
20
+ import { FN001031_DEP_microsoft_sp_odata_types } from './rules/FN001031_DEP_microsoft_sp_odata_types.js';
21
+ import { FN001032_DEP_microsoft_sp_page_context } from './rules/FN001032_DEP_microsoft_sp_page_context.js';
22
+ import { FN001034_DEP_microsoft_sp_adaptive_card_extension_base } from './rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base.js';
23
+ import { FN002002_DEVDEP_microsoft_sp_module_interfaces } from './rules/FN002002_DEVDEP_microsoft_sp_module_interfaces.js';
24
+ import { FN002015_DEVDEP_types_react } from './rules/FN002015_DEVDEP_types_react.js';
25
+ import { FN002016_DEVDEP_types_react_dom } from './rules/FN002016_DEVDEP_types_react_dom.js';
26
+ import { FN002022_DEVDEP_microsoft_eslint_plugin_spfx } from './rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx.js';
27
+ import { FN002023_DEVDEP_microsoft_eslint_config_spfx } from './rules/FN002023_DEVDEP_microsoft_eslint_config_spfx.js';
28
+ import { FN002030_DEVDEP_microsoft_spfx_web_build_rig } from './rules/FN002030_DEVDEP_microsoft_spfx_web_build_rig.js';
29
+ import { FN002031_DEVDEP_rushstack_heft } from './rules/FN002031_DEVDEP_rushstack_heft.js';
30
+ import { FN002034_DEVDEP_microsoft_spfx_heft_plugins } from './rules/FN002034_DEVDEP_microsoft_spfx_heft_plugins.js';
31
+ import { FN010001_YORC_version } from './rules/FN010001_YORC_version.js';
32
+ import { FN012021_TSC_excludeDirectories } from './rules/FN012021_TSC_excludeDirectories.js';
33
+ import { FN020001_RES_types_react } from './rules/FN020001_RES_types_react.js';
34
+ import { FN021003_PKG_engines_node } from './rules/FN021003_PKG_engines_node.js';
35
+ import { FN027001_OVERRIDES_rushstack_heft } from './rules/FN027001_OVERRIDES_rushstack_heft.js';
36
+ import { FN027002_OVERRIDES_qs } from './rules/FN027002_OVERRIDES_qs.js';
37
+ import { FN027003_OVERRIDES_uuid } from './rules/FN027003_OVERRIDES_uuid.js';
38
+ export default [
39
+ new FN001001_DEP_microsoft_sp_core_library({ packageVersion: '1.24.0' }),
40
+ new FN001002_DEP_microsoft_sp_lodash_subset({ packageVersion: '1.24.0' }),
41
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core({ packageVersion: '1.24.0' }),
42
+ new FN001004_DEP_microsoft_sp_webpart_base({ packageVersion: '1.24.0' }),
43
+ new FN001008_DEP_react({ packageVersion: '18.3.1' }),
44
+ new FN001009_DEP_react_dom({ packageVersion: '18.3.1' }),
45
+ new FN001011_DEP_microsoft_sp_dialog({ packageVersion: '1.24.0' }),
46
+ new FN001012_DEP_microsoft_sp_application_base({ packageVersion: '1.24.0' }),
47
+ new FN001014_DEP_microsoft_sp_listview_extensibility({ packageVersion: '1.24.0' }),
48
+ new FN001021_DEP_microsoft_sp_property_pane({ packageVersion: '1.24.0' }),
49
+ new FN001023_DEP_microsoft_sp_component_base({ packageVersion: '1.24.0' }),
50
+ new FN001024_DEP_microsoft_sp_diagnostics({ packageVersion: '1.24.0' }),
51
+ new FN001025_DEP_microsoft_sp_dynamic_data({ packageVersion: '1.24.0' }),
52
+ new FN001026_DEP_microsoft_sp_extension_base({ packageVersion: '1.24.0' }),
53
+ new FN001027_DEP_microsoft_sp_http({ packageVersion: '1.24.0' }),
54
+ new FN001028_DEP_microsoft_sp_list_subscription({ packageVersion: '1.24.0' }),
55
+ new FN001029_DEP_microsoft_sp_loader({ packageVersion: '1.24.0' }),
56
+ new FN001030_DEP_microsoft_sp_module_interfaces({ packageVersion: '1.24.0' }),
57
+ new FN001031_DEP_microsoft_sp_odata_types({ packageVersion: '1.24.0' }),
58
+ new FN001032_DEP_microsoft_sp_page_context({ packageVersion: '1.24.0' }),
59
+ new FN001013_DEP_microsoft_decorators({ packageVersion: '1.24.0' }),
60
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base({ packageVersion: '1.24.0' }),
61
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces({ packageVersion: '1.24.0' }),
62
+ new FN002015_DEVDEP_types_react({ packageVersion: '18.2.79' }),
63
+ new FN002016_DEVDEP_types_react_dom({ packageVersion: '18.2.25' }),
64
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx({ packageVersion: '1.24.0' }),
65
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx({ packageVersion: '1.24.0' }),
66
+ new FN002030_DEVDEP_microsoft_spfx_web_build_rig({ packageVersion: '1.24.0' }),
67
+ new FN002031_DEVDEP_rushstack_heft({ packageVersion: '1.3.2' }),
68
+ new FN002034_DEVDEP_microsoft_spfx_heft_plugins({ packageVersion: '1.24.0' }),
69
+ new FN010001_YORC_version({ version: '1.24.0' }),
70
+ new FN012021_TSC_excludeDirectories({ directories: ['**/teams', '**/temp/copilot'] }),
71
+ new FN020001_RES_types_react({ packageVersion: '18.2.79' }),
72
+ new FN021003_PKG_engines_node({ version: '>=22.14.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0' }),
73
+ new FN027001_OVERRIDES_rushstack_heft({ version: '1.3.2' }),
74
+ new FN027002_OVERRIDES_qs({ version: '>=6.15.2' }),
75
+ new FN027003_OVERRIDES_uuid({ version: '>=11.1.1' })
76
+ ];
77
+ //# sourceMappingURL=upgrade-1.24.0.js.map
@@ -87,7 +87,8 @@ class SpfxProjectUpgradeCommand extends BaseProjectCommand {
87
87
  '1.22.1',
88
88
  '1.22.2',
89
89
  '1.23.0',
90
- '1.23.2'
90
+ '1.23.2',
91
+ '1.24.0'
91
92
  ];
92
93
  }
93
94
  async commandAction(logger, args) {