@pnp/cli-microsoft365 6.9.0-beta.f6054b4 → 6.10.0-beta.6bf4ff9

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 (317) hide show
  1. package/.devcontainer/Dockerfile +12 -19
  2. package/.devcontainer/devcontainer.json +24 -17
  3. package/Dockerfile +3 -1
  4. package/README.md +7 -5
  5. package/dist/Auth.js +2 -8
  6. package/dist/AuthServer.js +2 -4
  7. package/dist/cli/Cli.js +2 -2
  8. package/dist/m365/aad/commands/app/app-add.js +258 -249
  9. package/dist/m365/aad/commands/app/app-get.js +65 -62
  10. package/dist/m365/aad/commands/app/app-remove.js +22 -23
  11. package/dist/m365/aad/commands/app/app-role-add.js +35 -34
  12. package/dist/m365/aad/commands/app/app-role-list.js +22 -23
  13. package/dist/m365/aad/commands/app/app-role-remove.js +76 -73
  14. package/dist/m365/aad/commands/app/app-set.js +103 -103
  15. package/dist/m365/aad/commands/approleassignment/approleassignment-add.js +16 -14
  16. package/dist/m365/aad/commands/approleassignment/approleassignment-list.js +43 -52
  17. package/dist/m365/aad/commands/approleassignment/approleassignment-remove.js +20 -16
  18. package/dist/m365/aad/commands/o365group/o365group-add.js +40 -37
  19. package/dist/m365/aad/commands/o365group/o365group-conversation-post-list.js +7 -6
  20. package/dist/m365/aad/commands/o365group/o365group-list.js +6 -11
  21. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-clear.js +7 -8
  22. package/dist/m365/aad/commands/o365group/o365group-recyclebinitem-restore.js +23 -24
  23. package/dist/m365/aad/commands/o365group/o365group-set.js +15 -20
  24. package/dist/m365/aad/commands/o365group/o365group-teamify.js +15 -16
  25. package/dist/m365/aad/commands/o365group/o365group-user-list.js +17 -10
  26. package/dist/m365/aad/commands/o365group/o365group-user-set.js +17 -10
  27. package/dist/m365/aad/commands/policy/policy-list.js +12 -13
  28. package/dist/m365/aad/commands/siteclassification/siteclassification-enable.js +1 -3
  29. package/dist/m365/aad/commands/siteclassification/siteclassification-set.js +19 -20
  30. package/dist/m365/aad/commands/sp/sp-add.js +22 -23
  31. package/dist/m365/aad/commands/sp/sp-get.js +22 -23
  32. package/dist/m365/aad/commands/sp/sp-list.js +78 -0
  33. package/dist/m365/aad/commands.js +1 -0
  34. package/dist/m365/app/commands/app-open.js +4 -14
  35. package/dist/m365/base/AzmgmtItemsListCommand.js +31 -33
  36. package/dist/m365/cli/commands/cli-issue.js +4 -10
  37. package/dist/m365/cli/commands/cli-reconsent.js +2 -8
  38. package/dist/m365/cli/commands/config/config-set.js +0 -1
  39. package/dist/m365/commands/docs.js +2 -8
  40. package/dist/m365/commands/login.js +20 -0
  41. package/dist/m365/file/commands/convert/convert-pdf.js +147 -143
  42. package/dist/m365/file/commands/file-add.js +87 -93
  43. package/dist/m365/file/commands/file-list.js +49 -55
  44. package/dist/m365/flow/commands/flow-list.js +30 -12
  45. package/dist/m365/flow/commands/flow-remove.js +2 -3
  46. package/dist/m365/flow/commands/run/run-resubmit.js +11 -10
  47. package/dist/m365/onedrive/commands/onedrive-list.js +21 -32
  48. package/dist/m365/outlook/commands/message/message-list.js +18 -23
  49. package/dist/m365/outlook/commands/message/message-move.js +15 -20
  50. package/dist/m365/pa/commands/app/app-export.js +3 -4
  51. package/dist/m365/pa/commands/app/app-get.js +11 -9
  52. package/dist/m365/pa/commands/app/app-remove.js +1 -1
  53. package/dist/m365/pa/commands/pcf/pcf-init.js +1 -2
  54. package/dist/m365/pa/commands/solution/solution-init.js +1 -2
  55. package/dist/m365/pa/commands/solution/solution-reference-add.js +1 -2
  56. package/dist/m365/planner/commands/bucket/bucket-add.js +15 -13
  57. package/dist/m365/planner/commands/bucket/bucket-get.js +27 -28
  58. package/dist/m365/planner/commands/bucket/bucket-list.js +15 -13
  59. package/dist/m365/planner/commands/bucket/bucket-remove.js +33 -34
  60. package/dist/m365/planner/commands/bucket/bucket-set.js +33 -34
  61. package/dist/m365/planner/commands/plan/plan-add.js +49 -52
  62. package/dist/m365/planner/commands/plan/plan-set.js +19 -20
  63. package/dist/m365/planner/commands/task/task-add.js +75 -78
  64. package/dist/m365/planner/commands/task/task-checklistitem-add.js +11 -10
  65. package/dist/m365/planner/commands/task/task-checklistitem-remove.js +10 -8
  66. package/dist/m365/planner/commands/task/task-get.js +53 -56
  67. package/dist/m365/planner/commands/task/task-list.js +23 -24
  68. package/dist/m365/planner/commands/task/task-reference-add.js +11 -10
  69. package/dist/m365/planner/commands/task/task-reference-remove.js +13 -14
  70. package/dist/m365/planner/commands/task/task-remove.js +44 -48
  71. package/dist/m365/planner/commands/task/task-set.js +83 -87
  72. package/dist/m365/pp/commands/managementapp/managementapp-add.js +19 -20
  73. package/dist/m365/purview/commands/retentionevent/retentionevent-add.js +3 -8
  74. package/dist/m365/purview/commands/retentionevent/retentionevent-get.js +1 -6
  75. package/dist/m365/purview/commands/retentionevent/retentionevent-list.js +1 -6
  76. package/dist/m365/purview/commands/retentionevent/retentionevent-remove.js +1 -6
  77. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-add.js +1 -6
  78. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-get.js +1 -6
  79. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-list.js +1 -6
  80. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-remove.js +1 -6
  81. package/dist/m365/purview/commands/retentioneventtype/retentioneventtype-set.js +1 -6
  82. package/dist/m365/purview/commands/retentionlabel/retentionlabel-add.js +0 -5
  83. package/dist/m365/purview/commands/retentionlabel/retentionlabel-get.js +0 -5
  84. package/dist/m365/purview/commands/retentionlabel/retentionlabel-list.js +0 -5
  85. package/dist/m365/purview/commands/retentionlabel/retentionlabel-remove.js +19 -22
  86. package/dist/m365/purview/commands/retentionlabel/retentionlabel-set.js +0 -5
  87. package/dist/m365/spfx/commands/project/JsonRule.js +1 -1
  88. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.3.js +25 -0
  89. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.17.4.js +25 -0
  90. package/dist/m365/spfx/commands/project/project-doctor/doctor-1.18.0-beta.1.js +23 -0
  91. package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
  92. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001022_DEP_office_ui_fabric_react.js +2 -2
  93. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN002027_DEVDEP_fluentui_react.js +14 -0
  94. package/dist/m365/spfx/commands/project/project-upgrade/rules/FN021003_PKG_engines_node.js +1 -0
  95. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.3.js +59 -0
  96. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.17.4.js +55 -0
  97. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.18.0-beta.1.js +61 -0
  98. package/dist/m365/spfx/commands/project/project-upgrade.js +18 -13
  99. package/dist/m365/spfx/commands/spfx-doctor.js +45 -0
  100. package/dist/m365/spo/commands/app/app-teamspackage-download.js +17 -24
  101. package/dist/m365/spo/commands/applicationcustomizer/applicationcustomizer-set.js +154 -0
  102. package/dist/m365/spo/commands/apppage/apppage-set.js +1 -1
  103. package/dist/m365/spo/commands/commandset/commandset-set.js +11 -2
  104. package/dist/m365/spo/commands/contenttype/contenttype-field-set.js +65 -94
  105. package/dist/m365/spo/commands/customaction/customaction-clear.js +4 -12
  106. package/dist/m365/spo/commands/customaction/customaction-remove.js +12 -23
  107. package/dist/m365/spo/commands/customaction/customaction-set.js +21 -29
  108. package/dist/m365/spo/commands/file/file-add.js +133 -133
  109. package/dist/m365/spo/commands/file/file-checkout-undo.js +119 -0
  110. package/dist/m365/spo/commands/file/file-rename.js +11 -9
  111. package/dist/m365/spo/commands/file/file-retentionlabel-ensure.js +2 -2
  112. package/dist/m365/spo/commands/file/file-roleassignment-add.js +41 -61
  113. package/dist/m365/spo/commands/file/file-roleassignment-remove.js +3 -0
  114. package/dist/m365/spo/commands/file/file-roleinheritance-break.js +3 -0
  115. package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +3 -0
  116. package/dist/m365/spo/commands/file/file-sharinginfo-get.js +23 -21
  117. package/dist/m365/spo/commands/file/file-version-clear.js +1 -1
  118. package/dist/m365/spo/commands/file/file-version-remove.js +1 -1
  119. package/dist/m365/spo/commands/file/file-version-restore.js +1 -1
  120. package/dist/m365/spo/commands/folder/folder-roleassignment-add.js +3 -3
  121. package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +1 -1
  122. package/dist/m365/spo/commands/group/group-member-add.js +17 -16
  123. package/dist/m365/spo/commands/group/group-set.js +20 -20
  124. package/dist/m365/spo/commands/homesite/homesite-remove.js +1 -1
  125. package/dist/m365/spo/commands/hubsite/hubsite-get.js +33 -31
  126. package/dist/m365/spo/commands/hubsite/hubsite-list.js +18 -29
  127. package/dist/m365/spo/commands/hubsite/hubsite-unregister.js +3 -0
  128. package/dist/m365/spo/commands/list/list-add.js +1 -1
  129. package/dist/m365/spo/commands/list/list-contenttype-default-set.js +1 -1
  130. package/dist/m365/spo/commands/list/list-roleassignment-add.js +45 -52
  131. package/dist/m365/spo/commands/list/list-roleassignment-remove.js +33 -38
  132. package/dist/m365/spo/commands/list/list-sensitivitylabel-ensure.js +137 -0
  133. package/dist/m365/spo/commands/list/list-view-field-add.js +12 -10
  134. package/dist/m365/spo/commands/list/list-view-field-remove.js +12 -10
  135. package/dist/m365/spo/commands/list/list-view-field-set.js +12 -10
  136. package/dist/m365/spo/commands/list/list-view-remove.js +3 -0
  137. package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +41 -61
  138. package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +71 -74
  139. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +36 -34
  140. package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +32 -30
  141. package/dist/m365/spo/commands/navigation/navigation-node-remove.js +24 -22
  142. package/dist/m365/spo/commands/orgassetslibrary/orgassetslibrary-remove.js +29 -27
  143. package/dist/m365/spo/commands/orgnewssite/orgnewssite-remove.js +26 -24
  144. package/dist/m365/spo/commands/page/page-clientsidewebpart-add.js +34 -40
  145. package/dist/m365/spo/commands/sitedesign/sitedesign-task-remove.js +23 -21
  146. package/dist/m365/spo/commands/sitescript/sitescript-remove.js +24 -22
  147. package/dist/m365/spo/commands/spo-search.js +7 -15
  148. package/dist/m365/spo/commands/storageentity/storageentity-remove.js +29 -27
  149. package/dist/m365/spo/commands/tenant/tenant-applicationcustomizer-set.js +156 -0
  150. package/dist/m365/spo/commands/tenant/tenant-commandset-list.js +50 -0
  151. package/dist/m365/spo/commands/tenant/tenant-commandset-set.js +1 -1
  152. package/dist/m365/spo/commands.js +5 -0
  153. package/dist/m365/teams/commands/app/app-install.js +23 -21
  154. package/dist/m365/teams/commands/app/app-remove.js +3 -0
  155. package/dist/m365/teams/commands/app/app-uninstall.js +3 -0
  156. package/dist/m365/teams/commands/app/app-update.js +15 -16
  157. package/dist/m365/teams/commands/channel/channel-add.js +40 -39
  158. package/dist/m365/teams/commands/channel/channel-get.js +23 -25
  159. package/dist/m365/teams/commands/channel/channel-list.js +6 -7
  160. package/dist/m365/teams/commands/channel/channel-member-add.js +61 -60
  161. package/dist/m365/teams/commands/channel/channel-member-list.js +20 -22
  162. package/dist/m365/teams/commands/channel/channel-member-remove.js +43 -48
  163. package/dist/m365/teams/commands/channel/channel-member-set.js +36 -39
  164. package/dist/m365/teams/commands/channel/channel-remove.js +4 -1
  165. package/dist/m365/teams/commands/funsettings/funsettings-list.js +3 -0
  166. package/dist/m365/teams/commands/funsettings/funsettings-set.js +3 -0
  167. package/dist/m365/teams/commands/tab/tab-get.js +34 -37
  168. package/dist/m365/teams/commands/team/team-archive.js +6 -7
  169. package/dist/m365/teams/commands/team/team-get.js +6 -7
  170. package/dist/m365/teams/commands/team/team-list.js +9 -11
  171. package/dist/m365/teams/commands/team/team-remove.js +6 -7
  172. package/dist/m365/teams/commands/team/team-unarchive.js +6 -7
  173. package/dist/m365/teams/commands/user/user-app-list.js +13 -11
  174. package/dist/m365/teams/commands/user/user-list.js +7 -4
  175. package/dist/m365/tenant/commands/security/security-alerts-list.js +25 -26
  176. package/dist/m365/tenant/commands/serviceannouncement/serviceannouncement-health-list.js +13 -14
  177. package/dist/m365/todo/commands/list/list-remove.js +39 -36
  178. package/dist/m365/todo/commands/list/list-set.js +16 -14
  179. package/dist/m365/todo/commands/task/task-add.js +14 -14
  180. package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -7
  181. package/dist/settingsNames.js +0 -1
  182. package/dist/utils/browserUtil.js +23 -0
  183. package/dist/utils/md.js +1 -3
  184. package/docs/docs/_clisettings.mdx +17 -0
  185. package/docs/docs/cmd/aad/app/app-add.mdx +113 -0
  186. package/docs/docs/cmd/aad/app/app-get.mdx +217 -0
  187. package/docs/docs/cmd/aad/app/app-list.mdx +21 -0
  188. package/docs/docs/cmd/aad/app/app-role-add.mdx +4 -0
  189. package/docs/docs/cmd/aad/app/app-role-list.mdx +63 -0
  190. package/docs/docs/cmd/aad/app/app-role-remove.mdx +4 -0
  191. package/docs/docs/cmd/aad/app/app-set.mdx +4 -0
  192. package/docs/docs/cmd/aad/approleassignment/approleassignment-add.mdx +61 -0
  193. package/docs/docs/cmd/aad/approleassignment/approleassignment-list.mdx +59 -0
  194. package/docs/docs/cmd/aad/approleassignment/approleassignment-remove.mdx +4 -0
  195. package/docs/docs/cmd/aad/group/group-get.mdx +24 -0
  196. package/docs/docs/cmd/aad/group/group-list.mdx +98 -0
  197. package/docs/docs/cmd/aad/groupsetting/groupsetting-add.mdx +114 -0
  198. package/docs/docs/cmd/aad/groupsetting/groupsetting-get.mdx +115 -0
  199. package/docs/docs/cmd/aad/groupsetting/groupsetting-list.mdx +115 -0
  200. package/docs/docs/cmd/aad/groupsetting/groupsetting-remove.mdx +4 -0
  201. package/docs/docs/cmd/aad/groupsetting/groupsetting-set.mdx +4 -0
  202. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-get.mdx +63 -0
  203. package/docs/docs/cmd/aad/groupsettingtemplate/groupsettingtemplate-list.mdx +63 -0
  204. package/docs/docs/cmd/aad/o365group/o365group-add.mdx +122 -0
  205. package/docs/docs/cmd/aad/o365group/o365group-conversation-list.mdx +68 -0
  206. package/docs/docs/cmd/aad/o365group/o365group-conversation-post-list.mdx +77 -0
  207. package/docs/docs/cmd/aad/o365group/o365group-get.mdx +122 -0
  208. package/docs/docs/cmd/aad/o365group/o365group-list.mdx +99 -0
  209. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-clear.mdx +4 -0
  210. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-list.mdx +96 -0
  211. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-remove.mdx +4 -0
  212. package/docs/docs/cmd/aad/o365group/o365group-recyclebinitem-restore.mdx +4 -0
  213. package/docs/docs/cmd/aad/o365group/o365group-remove.mdx +4 -0
  214. package/docs/docs/cmd/aad/o365group/o365group-renew.mdx +4 -0
  215. package/docs/docs/cmd/aad/o365group/o365group-report-activitycounts.mdx +48 -0
  216. package/docs/docs/cmd/aad/o365group/o365group-report-activitydetail.mdx +60 -0
  217. package/docs/docs/cmd/aad/o365group/o365group-report-activityfilecounts.mdx +46 -0
  218. package/docs/docs/cmd/aad/o365group/o365group-report-activitygroupcounts.mdx +46 -0
  219. package/docs/docs/cmd/aad/o365group/o365group-report-activitystorage.mdx +46 -0
  220. package/docs/docs/cmd/aad/o365group/o365group-set.mdx +4 -0
  221. package/docs/docs/cmd/aad/o365group/o365group-teamify.mdx +4 -0
  222. package/docs/docs/cmd/aad/o365group/o365group-user-add.mdx +4 -0
  223. package/docs/docs/cmd/aad/o365group/o365group-user-list.mdx +56 -0
  224. package/docs/docs/cmd/aad/o365group/o365group-user-remove.mdx +4 -0
  225. package/docs/docs/cmd/aad/o365group/o365group-user-set.mdx +8 -4
  226. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-add.mdx +4 -0
  227. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-list.mdx +59 -0
  228. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-remove.mdx +4 -0
  229. package/docs/docs/cmd/aad/oauth2grant/oauth2grant-set.mdx +4 -0
  230. package/docs/docs/cmd/aad/policy/policy-list.mdx +77 -0
  231. package/docs/docs/cmd/aad/siteclassification/siteclassification-disable.mdx +4 -0
  232. package/docs/docs/cmd/aad/siteclassification/siteclassification-enable.mdx +4 -0
  233. package/docs/docs/cmd/aad/siteclassification/siteclassification-get.mdx +57 -0
  234. package/docs/docs/cmd/aad/siteclassification/siteclassification-set.mdx +4 -0
  235. package/docs/docs/cmd/aad/sp/sp-add.mdx +136 -0
  236. package/docs/docs/cmd/aad/sp/sp-get.mdx +166 -0
  237. package/docs/docs/cmd/aad/sp/sp-list.mdx +162 -0
  238. package/docs/docs/cmd/aad/user/user-get.mdx +75 -0
  239. package/docs/docs/cmd/aad/user/user-guest-add.mdx +23 -0
  240. package/docs/docs/cmd/aad/user/user-hibp.mdx +82 -0
  241. package/docs/docs/cmd/aad/user/user-license-add.mdx +2 -2
  242. package/docs/docs/cmd/aad/user/user-license-remove.mdx +2 -2
  243. package/docs/docs/cmd/aad/user/user-list.mdx +52 -0
  244. package/docs/docs/cmd/aad/user/user-password-validate.mdx +67 -0
  245. package/docs/docs/cmd/aad/user/user-signin-list.mdx +131 -0
  246. package/docs/docs/cmd/flow/flow-list.mdx +15 -0
  247. package/docs/docs/cmd/login.mdx +39 -0
  248. package/docs/docs/cmd/pa/app/app-get.mdx +1 -1
  249. package/docs/docs/cmd/pa/app/app-list.mdx +1 -1
  250. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-get.mdx +1 -1
  251. package/docs/docs/cmd/pp/aibuildermodel/aibuildermodel-list.mdx +1 -1
  252. package/docs/docs/cmd/pp/card/card-clone.mdx +1 -1
  253. package/docs/docs/cmd/pp/card/card-get.mdx +1 -1
  254. package/docs/docs/cmd/pp/card/card-list.mdx +1 -1
  255. package/docs/docs/cmd/pp/chatbot/chatbot-get.mdx +1 -1
  256. package/docs/docs/cmd/pp/chatbot/chatbot-list.mdx +1 -1
  257. package/docs/docs/cmd/pp/dataverse/dataverse-table-get.mdx +1 -1
  258. package/docs/docs/cmd/pp/dataverse/dataverse-table-list.mdx +1 -1
  259. package/docs/docs/cmd/pp/dataverse/dataverse-table-remove.mdx +1 -1
  260. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-list.mdx +1 -1
  261. package/docs/docs/cmd/pp/dataverse/dataverse-table-row-remove.mdx +1 -1
  262. package/docs/docs/cmd/purview/retentionevent/retentionevent-add.mdx +0 -6
  263. package/docs/docs/cmd/purview/retentionevent/retentionevent-get.mdx +0 -6
  264. package/docs/docs/cmd/purview/retentionevent/retentionevent-list.mdx +0 -7
  265. package/docs/docs/cmd/purview/retentionevent/retentionevent-remove.mdx +0 -6
  266. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-add.mdx +0 -6
  267. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-get.mdx +0 -6
  268. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-list.mdx +0 -6
  269. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-remove.mdx +0 -6
  270. package/docs/docs/cmd/purview/retentioneventtype/retentioneventtype-set.mdx +0 -6
  271. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-add.mdx +0 -6
  272. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-get.mdx +0 -6
  273. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-list.mdx +0 -6
  274. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-remove.mdx +0 -6
  275. package/docs/docs/cmd/purview/retentionlabel/retentionlabel-set.mdx +0 -6
  276. package/docs/docs/cmd/setup.mdx +2 -0
  277. package/docs/docs/cmd/spfx/project/project-upgrade.mdx +1 -1
  278. package/docs/docs/cmd/spo/applicationcustomizer/applicationcustomizer-set.mdx +72 -0
  279. package/docs/docs/cmd/spo/commandset/commandset-set.mdx +12 -3
  280. package/docs/docs/cmd/spo/file/file-checkout-undo.mdx +55 -0
  281. package/docs/docs/cmd/spo/file/file-retentionlabel-ensure.mdx +1 -1
  282. package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +1 -1
  283. package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +73 -0
  284. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-get.mdx +1 -1
  285. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-list.mdx +1 -1
  286. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-remove.mdx +1 -1
  287. package/docs/docs/cmd/spo/tenant/tenant-applicationcustomizer-set.mdx +81 -0
  288. package/docs/docs/cmd/spo/tenant/tenant-commandset-add.mdx +1 -1
  289. package/docs/docs/cmd/spo/tenant/tenant-commandset-get.mdx +2 -2
  290. package/docs/docs/cmd/spo/tenant/tenant-commandset-list.mdx +114 -0
  291. package/docs/docs/cmd/spo/tenant/tenant-commandset-remove.mdx +1 -1
  292. package/docs/docs/cmd/spo/tenant/tenant-commandset-set.mdx +2 -2
  293. package/docs/docs/cmd/spo/tenant/tenant-settings-set.mdx +6 -0
  294. package/docs/docs/cmd/spo/userprofile/userprofile-get.mdx +1 -1
  295. package/docs/docs/cmd/status.mdx +6 -3
  296. package/docs/docs/cmd/util/accesstoken/accesstoken-get.mdx +12 -2
  297. package/npm-shrinkwrap.json +301 -274
  298. package/package.json +18 -17
  299. package/dist/m365/aad/commands/approleassignment/AppRoleAssignment.js +0 -3
  300. package/dist/m365/aad/commands/approleassignment/ServicePrincipal.js +0 -3
  301. package/dist/m365/aad/commands/groupsetting/GroupSetting.js +0 -3
  302. package/dist/m365/aad/commands/groupsettingtemplate/GroupSettingTemplate.js +0 -3
  303. package/dist/m365/aad/commands/siteclassification/DirectorySetting.js +0 -10
  304. package/dist/m365/aad/commands/siteclassification/DirectorySettingTemplatesRsp.js +0 -3
  305. package/dist/m365/aad/commands/siteclassification/DirectorySettingValue.js +0 -3
  306. package/dist/m365/outlook/Message.js +0 -3
  307. package/dist/m365/spo/commands/site/SitePermission.js +0 -3
  308. package/dist/m365/teams/Channel.js +0 -3
  309. package/dist/m365/teams/ConversationMember.js +0 -3
  310. package/dist/m365/teams/Message.js +0 -3
  311. package/dist/m365/teams/Reply.js +0 -3
  312. package/dist/m365/teams/Tab.js +0 -3
  313. package/dist/m365/teams/Team.js +0 -3
  314. package/dist/m365/teams/TeamsApp.js +0 -3
  315. package/dist/m365/teams/TeamsAppInstallation.js +0 -3
  316. package/dist/m365/teams/TeamsTabConfiguration.js +0 -3
  317. package/dist/m365/teams/commands/Meeting.js +0 -3
@@ -15,13 +15,11 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionEventTypeRemoveCommand_instances, _PurviewRetentionEventTypeRemoveCommand_initTelemetry, _PurviewRetentionEventTypeRemoveCommand_initOptions, _PurviewRetentionEventTypeRemoveCommand_initValidators;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const Cli_1 = require("../../../../cli/Cli");
20
19
  const validation_1 = require("../../../../utils/validation");
21
20
  const request_1 = require("../../../../request");
22
21
  const GraphCommand_1 = require("../../../base/GraphCommand");
23
22
  const commands_1 = require("../../commands");
24
- const accessToken_1 = require("../../../../utils/accessToken");
25
23
  class PurviewRetentionEventTypeRemoveCommand extends GraphCommand_1.default {
26
24
  get name() {
27
25
  return commands_1.default.RETENTIONEVENTTYPE_REMOVE;
@@ -38,13 +36,10 @@ class PurviewRetentionEventTypeRemoveCommand extends GraphCommand_1.default {
38
36
  }
39
37
  commandAction(logger, args) {
40
38
  return __awaiter(this, void 0, void 0, function* () {
41
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
42
- this.handleError('This command does not support application permissions.');
43
- }
44
39
  const removeRetentionEventType = () => __awaiter(this, void 0, void 0, function* () {
45
40
  try {
46
41
  const requestOptions = {
47
- url: `${this.resource}/beta/security/triggerTypes/retentionEventTypes/${args.options.id}`,
42
+ url: `${this.resource}/v1.0/security/triggerTypes/retentionEventTypes/${args.options.id}`,
48
43
  headers: {
49
44
  accept: 'application/json;odata.metadata=none'
50
45
  },
@@ -15,12 +15,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionEventTypeSetCommand_instances, _PurviewRetentionEventTypeSetCommand_initTelemetry, _PurviewRetentionEventTypeSetCommand_initOptions, _PurviewRetentionEventTypeSetCommand_initValidators;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const validation_1 = require("../../../../utils/validation");
20
19
  const request_1 = require("../../../../request");
21
20
  const GraphCommand_1 = require("../../../base/GraphCommand");
22
21
  const commands_1 = require("../../commands");
23
- const accessToken_1 = require("../../../../utils/accessToken");
24
22
  class PurviewRetentionEventTypeSetCommand extends GraphCommand_1.default {
25
23
  get name() {
26
24
  return commands_1.default.RETENTIONEVENTTYPE_SET;
@@ -37,9 +35,6 @@ class PurviewRetentionEventTypeSetCommand extends GraphCommand_1.default {
37
35
  }
38
36
  commandAction(logger, args) {
39
37
  return __awaiter(this, void 0, void 0, function* () {
40
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
41
- this.handleError('This command does not support application permissions.');
42
- }
43
38
  if (this.verbose) {
44
39
  logger.log(`Updating retention event type with id ${args.options.id}`);
45
40
  }
@@ -48,7 +43,7 @@ class PurviewRetentionEventTypeSetCommand extends GraphCommand_1.default {
48
43
  description: args.options.description
49
44
  };
50
45
  const requestOptions = {
51
- url: `${this.resource}/beta/security/triggerTypes/retentionEventTypes/${args.options.id}`,
46
+ url: `${this.resource}/v1.0/security/triggerTypes/retentionEventTypes/${args.options.id}`,
52
47
  headers: {
53
48
  accept: 'application/json'
54
49
  },
@@ -15,9 +15,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionLabelAddCommand_instances, _PurviewRetentionLabelAddCommand_initTelemetry, _PurviewRetentionLabelAddCommand_initOptions, _PurviewRetentionLabelAddCommand_initValidators, _PurviewRetentionLabelAddCommand_initOptionSets;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const request_1 = require("../../../../request");
20
- const accessToken_1 = require("../../../../utils/accessToken");
21
19
  const GraphCommand_1 = require("../../../base/GraphCommand");
22
20
  const commands_1 = require("../../commands");
23
21
  const odata_1 = require("../../../../utils/odata");
@@ -38,9 +36,6 @@ class PurviewRetentionLabelAddCommand extends GraphCommand_1.default {
38
36
  }
39
37
  commandAction(logger, args) {
40
38
  return __awaiter(this, void 0, void 0, function* () {
41
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
42
- this.handleError('This command does not support application permissions.');
43
- }
44
39
  const retentionTrigger = args.options.retentionTrigger ? args.options.retentionTrigger : 'dateLabeled';
45
40
  const defaultRecordBehavior = args.options.defaultRecordBehavior ? args.options.defaultRecordBehavior : 'startLocked';
46
41
  const requestBody = {
@@ -15,12 +15,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionLabelGetCommand_instances, _PurviewRetentionLabelGetCommand_initOptions, _PurviewRetentionLabelGetCommand_initValidators;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const GraphCommand_1 = require("../../../base/GraphCommand");
20
19
  const commands_1 = require("../../commands");
21
20
  const request_1 = require("../../../../request");
22
21
  const validation_1 = require("../../../../utils/validation");
23
- const accessToken_1 = require("../../../../utils/accessToken");
24
22
  class PurviewRetentionLabelGetCommand extends GraphCommand_1.default {
25
23
  get name() {
26
24
  return commands_1.default.RETENTIONLABEL_GET;
@@ -36,9 +34,6 @@ class PurviewRetentionLabelGetCommand extends GraphCommand_1.default {
36
34
  }
37
35
  commandAction(logger, args) {
38
36
  return __awaiter(this, void 0, void 0, function* () {
39
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
40
- this.handleError('This command does not support application permissions.');
41
- }
42
37
  try {
43
38
  if (this.verbose) {
44
39
  logger.logToStderr(`Retrieving retention label with id ${args.options.id}`);
@@ -9,8 +9,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- const Auth_1 = require("../../../../Auth");
13
- const accessToken_1 = require("../../../../utils/accessToken");
14
12
  const odata_1 = require("../../../../utils/odata");
15
13
  const GraphCommand_1 = require("../../../base/GraphCommand");
16
14
  const commands_1 = require("../../commands");
@@ -26,9 +24,6 @@ class PurviewRetentionLabelListCommand extends GraphCommand_1.default {
26
24
  }
27
25
  commandAction(logger) {
28
26
  return __awaiter(this, void 0, void 0, function* () {
29
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
30
- this.handleError('This command does not support application permissions.');
31
- }
32
27
  try {
33
28
  const items = yield odata_1.odata.getAllItems(`${this.resource}/beta/security/labels/retentionLabels`);
34
29
  logger.log(items);
@@ -15,13 +15,11 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionLabelRemoveCommand_instances, _PurviewRetentionLabelRemoveCommand_initTelemetry, _PurviewRetentionLabelRemoveCommand_initOptions, _PurviewRetentionLabelRemoveCommand_initValidators;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const Cli_1 = require("../../../../cli/Cli");
20
19
  const validation_1 = require("../../../../utils/validation");
21
20
  const request_1 = require("../../../../request");
22
21
  const GraphCommand_1 = require("../../../base/GraphCommand");
23
22
  const commands_1 = require("../../commands");
24
- const accessToken_1 = require("../../../../utils/accessToken");
25
23
  class PurviewRetentionLabelRemoveCommand extends GraphCommand_1.default {
26
24
  get name() {
27
25
  return commands_1.default.RETENTIONLABEL_REMOVE;
@@ -38,26 +36,8 @@ class PurviewRetentionLabelRemoveCommand extends GraphCommand_1.default {
38
36
  }
39
37
  commandAction(logger, args) {
40
38
  return __awaiter(this, void 0, void 0, function* () {
41
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
42
- this.handleError('This command does not support application permissions.');
43
- }
44
- const removeRetentionLabel = () => __awaiter(this, void 0, void 0, function* () {
45
- try {
46
- const requestOptions = {
47
- url: `${this.resource}/beta/security/labels/retentionLabels/${args.options.id}`,
48
- headers: {
49
- accept: 'application/json;odata.metadata=none'
50
- },
51
- responseType: 'json'
52
- };
53
- yield request_1.default.delete(requestOptions);
54
- }
55
- catch (err) {
56
- this.handleRejectedODataJsonPromise(err);
57
- }
58
- });
59
39
  if (args.options.confirm) {
60
- yield removeRetentionLabel();
40
+ yield this.removeRetentionLabel(args);
61
41
  }
62
42
  else {
63
43
  const result = yield Cli_1.Cli.prompt({
@@ -67,11 +47,28 @@ class PurviewRetentionLabelRemoveCommand extends GraphCommand_1.default {
67
47
  message: `Are you sure you want to remove the retention label ${args.options.id}?`
68
48
  });
69
49
  if (result.continue) {
70
- yield removeRetentionLabel();
50
+ yield this.removeRetentionLabel(args);
71
51
  }
72
52
  }
73
53
  });
74
54
  }
55
+ removeRetentionLabel(args) {
56
+ return __awaiter(this, void 0, void 0, function* () {
57
+ try {
58
+ const requestOptions = {
59
+ url: `${this.resource}/beta/security/labels/retentionLabels/${args.options.id}`,
60
+ headers: {
61
+ accept: 'application/json;odata.metadata=none'
62
+ },
63
+ responseType: 'json'
64
+ };
65
+ yield request_1.default.delete(requestOptions);
66
+ }
67
+ catch (err) {
68
+ this.handleRejectedODataJsonPromise(err);
69
+ }
70
+ });
71
+ }
75
72
  }
76
73
  _PurviewRetentionLabelRemoveCommand_instances = new WeakSet(), _PurviewRetentionLabelRemoveCommand_initTelemetry = function _PurviewRetentionLabelRemoveCommand_initTelemetry() {
77
74
  this.telemetry.push((args) => {
@@ -15,12 +15,10 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
15
15
  };
16
16
  var _PurviewRetentionLabelSetCommand_instances, _PurviewRetentionLabelSetCommand_initTelemetry, _PurviewRetentionLabelSetCommand_initOptions, _PurviewRetentionLabelSetCommand_initValidators;
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- const Auth_1 = require("../../../../Auth");
19
18
  const validation_1 = require("../../../../utils/validation");
20
19
  const request_1 = require("../../../../request");
21
20
  const GraphCommand_1 = require("../../../base/GraphCommand");
22
21
  const commands_1 = require("../../commands");
23
- const accessToken_1 = require("../../../../utils/accessToken");
24
22
  class PurviewRetentionLabelSetCommand extends GraphCommand_1.default {
25
23
  get name() {
26
24
  return commands_1.default.RETENTIONLABEL_SET;
@@ -41,9 +39,6 @@ class PurviewRetentionLabelSetCommand extends GraphCommand_1.default {
41
39
  }
42
40
  commandAction(logger, args) {
43
41
  return __awaiter(this, void 0, void 0, function* () {
44
- if (accessToken_1.accessToken.isAppOnlyAccessToken(Auth_1.default.service.accessTokens[this.resource].accessToken)) {
45
- this.handleError('This command does not support application permissions.');
46
- }
47
42
  if (this.verbose) {
48
43
  logger.log(`Starting to update retention label with id ${args.options.id}`);
49
44
  }
@@ -39,7 +39,7 @@ class JsonRule extends Rule_1.Rule {
39
39
  return this.getAstNodeForProperty(jsonFile.ast, jsonProperty);
40
40
  }
41
41
  getAstNodeForProperty(node, jsonProperty) {
42
- if (node.children.length === 0) {
42
+ if (!node.children || node.children.length === 0) {
43
43
  return node;
44
44
  }
45
45
  if (jsonProperty === '') {
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001008_DEP_react_1 = require("./rules/FN001008_DEP_react");
4
+ const FN001009_DEP_react_dom_1 = require("./rules/FN001009_DEP_react_dom");
5
+ const FN001022_DEP_office_ui_fabric_react_1 = require("./rules/FN001022_DEP_office_ui_fabric_react");
6
+ const FN001035_DEP_fluentui_react_1 = require("./rules/FN001035_DEP_fluentui_react");
7
+ const FN002004_DEVDEP_gulp_1 = require("./rules/FN002004_DEVDEP_gulp");
8
+ const FN002007_DEVDEP_ajv_1 = require("./rules/FN002007_DEVDEP_ajv");
9
+ const FN002013_DEVDEP_types_webpack_env_1 = require("./rules/FN002013_DEVDEP_types_webpack_env");
10
+ const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
11
+ const FN002016_DEVDEP_types_react_dom_1 = require("./rules/FN002016_DEVDEP_types_react_dom");
12
+ const FN002019_DEVDEP_microsoft_rush_stack_compiler_1 = require("./rules/FN002019_DEVDEP_microsoft_rush_stack_compiler");
13
+ module.exports = [
14
+ new FN001008_DEP_react_1.FN001008_DEP_react('17'),
15
+ new FN001009_DEP_react_dom_1.FN001009_DEP_react_dom('17'),
16
+ new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('^7.199.1'),
17
+ new FN001035_DEP_fluentui_react_1.FN001035_DEP_fluentui_react('^7.199.1'),
18
+ new FN002004_DEVDEP_gulp_1.FN002004_DEVDEP_gulp('4.0.2'),
19
+ new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('^6.12.5'),
20
+ new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('~1.15.2'),
21
+ new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('17'),
22
+ new FN002016_DEVDEP_types_react_dom_1.FN002016_DEVDEP_types_react_dom('17'),
23
+ new FN002019_DEVDEP_microsoft_rush_stack_compiler_1.FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.5'])
24
+ ];
25
+ //# sourceMappingURL=doctor-1.17.3.js.map
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001008_DEP_react_1 = require("./rules/FN001008_DEP_react");
4
+ const FN001009_DEP_react_dom_1 = require("./rules/FN001009_DEP_react_dom");
5
+ const FN001022_DEP_office_ui_fabric_react_1 = require("./rules/FN001022_DEP_office_ui_fabric_react");
6
+ const FN001035_DEP_fluentui_react_1 = require("./rules/FN001035_DEP_fluentui_react");
7
+ const FN002004_DEVDEP_gulp_1 = require("./rules/FN002004_DEVDEP_gulp");
8
+ const FN002007_DEVDEP_ajv_1 = require("./rules/FN002007_DEVDEP_ajv");
9
+ const FN002013_DEVDEP_types_webpack_env_1 = require("./rules/FN002013_DEVDEP_types_webpack_env");
10
+ const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
11
+ const FN002016_DEVDEP_types_react_dom_1 = require("./rules/FN002016_DEVDEP_types_react_dom");
12
+ const FN002019_DEVDEP_microsoft_rush_stack_compiler_1 = require("./rules/FN002019_DEVDEP_microsoft_rush_stack_compiler");
13
+ module.exports = [
14
+ new FN001008_DEP_react_1.FN001008_DEP_react('17'),
15
+ new FN001009_DEP_react_dom_1.FN001009_DEP_react_dom('17'),
16
+ new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('^7.199.1'),
17
+ new FN001035_DEP_fluentui_react_1.FN001035_DEP_fluentui_react('^7.199.1'),
18
+ new FN002004_DEVDEP_gulp_1.FN002004_DEVDEP_gulp('4.0.2'),
19
+ new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('^6.12.5'),
20
+ new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('~1.15.2'),
21
+ new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('17'),
22
+ new FN002016_DEVDEP_types_react_dom_1.FN002016_DEVDEP_types_react_dom('17'),
23
+ new FN002019_DEVDEP_microsoft_rush_stack_compiler_1.FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.5'])
24
+ ];
25
+ //# sourceMappingURL=doctor-1.17.4.js.map
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001008_DEP_react_1 = require("./rules/FN001008_DEP_react");
4
+ const FN001009_DEP_react_dom_1 = require("./rules/FN001009_DEP_react_dom");
5
+ const FN001035_DEP_fluentui_react_1 = require("./rules/FN001035_DEP_fluentui_react");
6
+ const FN002004_DEVDEP_gulp_1 = require("./rules/FN002004_DEVDEP_gulp");
7
+ const FN002007_DEVDEP_ajv_1 = require("./rules/FN002007_DEVDEP_ajv");
8
+ const FN002013_DEVDEP_types_webpack_env_1 = require("./rules/FN002013_DEVDEP_types_webpack_env");
9
+ const FN002015_DEVDEP_types_react_1 = require("./rules/FN002015_DEVDEP_types_react");
10
+ const FN002016_DEVDEP_types_react_dom_1 = require("./rules/FN002016_DEVDEP_types_react_dom");
11
+ const FN002019_DEVDEP_microsoft_rush_stack_compiler_1 = require("./rules/FN002019_DEVDEP_microsoft_rush_stack_compiler");
12
+ module.exports = [
13
+ new FN001008_DEP_react_1.FN001008_DEP_react('17'),
14
+ new FN001009_DEP_react_dom_1.FN001009_DEP_react_dom('17'),
15
+ new FN001035_DEP_fluentui_react_1.FN001035_DEP_fluentui_react('^8.106.4'),
16
+ new FN002004_DEVDEP_gulp_1.FN002004_DEVDEP_gulp('4.0.2'),
17
+ new FN002007_DEVDEP_ajv_1.FN002007_DEVDEP_ajv('^6.12.5'),
18
+ new FN002013_DEVDEP_types_webpack_env_1.FN002013_DEVDEP_types_webpack_env('~1.15.2'),
19
+ new FN002015_DEVDEP_types_react_1.FN002015_DEVDEP_types_react('17'),
20
+ new FN002016_DEVDEP_types_react_dom_1.FN002016_DEVDEP_types_react_dom('17'),
21
+ new FN002019_DEVDEP_microsoft_rush_stack_compiler_1.FN002019_DEVDEP_microsoft_rush_stack_compiler(['4.5'])
22
+ ];
23
+ //# sourceMappingURL=doctor-1.18.0-beta.1.js.map
@@ -75,7 +75,10 @@ class SpfxProjectDoctorCommand extends base_project_command_1.BaseProjectCommand
75
75
  '1.16.1',
76
76
  '1.17.0',
77
77
  '1.17.1',
78
- '1.17.2'
78
+ '1.17.2',
79
+ '1.17.3',
80
+ '1.17.4',
81
+ '1.18.0-beta.1'
79
82
  ];
80
83
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initTelemetry).call(this);
81
84
  __classPrivateFieldGet(this, _SpfxProjectDoctorCommand_instances, "m", _SpfxProjectDoctorCommand_initOptions).call(this);
@@ -4,8 +4,8 @@ exports.FN001022_DEP_office_ui_fabric_react = void 0;
4
4
  const spfx_1 = require("../../../../../../utils/spfx");
5
5
  const DependencyRule_1 = require("./DependencyRule");
6
6
  class FN001022_DEP_office_ui_fabric_react extends DependencyRule_1.DependencyRule {
7
- constructor(packageVersion) {
8
- super('office-ui-fabric-react', packageVersion, false, true);
7
+ constructor(packageVersion, add = true) {
8
+ super('office-ui-fabric-react', packageVersion, false, add);
9
9
  }
10
10
  get id() {
11
11
  return 'FN001022';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FN002027_DEVDEP_fluentui_react = void 0;
4
+ const DependencyRule_1 = require("./DependencyRule");
5
+ class FN002027_DEVDEP_fluentui_react extends DependencyRule_1.DependencyRule {
6
+ constructor(packageVersion, add) {
7
+ super('@fluentui/react', packageVersion, true, true, add);
8
+ }
9
+ get id() {
10
+ return 'FN002027';
11
+ }
12
+ }
13
+ exports.FN002027_DEVDEP_fluentui_react = FN002027_DEVDEP_fluentui_react;
14
+ //# sourceMappingURL=FN002027_DEVDEP_fluentui_react.js.map
@@ -37,6 +37,7 @@ class FN021003_PKG_engines_node extends JsonRule_1.JsonRule {
37
37
  return;
38
38
  }
39
39
  if (!project.packageJson.engines ||
40
+ typeof project.packageJson.engines !== 'object' ||
40
41
  !project.packageJson.engines.node ||
41
42
  project.packageJson.engines.node !== this.version) {
42
43
  const node = this.getAstNodeFromFile(project.packageJson, 'engines.node');
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001001_DEP_microsoft_sp_core_library_1 = require("./rules/FN001001_DEP_microsoft_sp_core_library");
4
+ const FN001002_DEP_microsoft_sp_lodash_subset_1 = require("./rules/FN001002_DEP_microsoft_sp_lodash_subset");
5
+ const FN001003_DEP_microsoft_sp_office_ui_fabric_core_1 = require("./rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core");
6
+ const FN001004_DEP_microsoft_sp_webpart_base_1 = require("./rules/FN001004_DEP_microsoft_sp_webpart_base");
7
+ const FN001011_DEP_microsoft_sp_dialog_1 = require("./rules/FN001011_DEP_microsoft_sp_dialog");
8
+ const FN001012_DEP_microsoft_sp_application_base_1 = require("./rules/FN001012_DEP_microsoft_sp_application_base");
9
+ const FN001013_DEP_microsoft_decorators_1 = require("./rules/FN001013_DEP_microsoft_decorators");
10
+ const FN001014_DEP_microsoft_sp_listview_extensibility_1 = require("./rules/FN001014_DEP_microsoft_sp_listview_extensibility");
11
+ const FN001021_DEP_microsoft_sp_property_pane_1 = require("./rules/FN001021_DEP_microsoft_sp_property_pane");
12
+ const FN001023_DEP_microsoft_sp_component_base_1 = require("./rules/FN001023_DEP_microsoft_sp_component_base");
13
+ const FN001024_DEP_microsoft_sp_diagnostics_1 = require("./rules/FN001024_DEP_microsoft_sp_diagnostics");
14
+ const FN001025_DEP_microsoft_sp_dynamic_data_1 = require("./rules/FN001025_DEP_microsoft_sp_dynamic_data");
15
+ const FN001026_DEP_microsoft_sp_extension_base_1 = require("./rules/FN001026_DEP_microsoft_sp_extension_base");
16
+ const FN001027_DEP_microsoft_sp_http_1 = require("./rules/FN001027_DEP_microsoft_sp_http");
17
+ const FN001028_DEP_microsoft_sp_list_subscription_1 = require("./rules/FN001028_DEP_microsoft_sp_list_subscription");
18
+ const FN001029_DEP_microsoft_sp_loader_1 = require("./rules/FN001029_DEP_microsoft_sp_loader");
19
+ const FN001030_DEP_microsoft_sp_module_interfaces_1 = require("./rules/FN001030_DEP_microsoft_sp_module_interfaces");
20
+ const FN001031_DEP_microsoft_sp_odata_types_1 = require("./rules/FN001031_DEP_microsoft_sp_odata_types");
21
+ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_microsoft_sp_page_context");
22
+ const FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1 = require("./rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base");
23
+ const FN001035_DEP_fluentui_react_1 = require("./rules/FN001035_DEP_fluentui_react");
24
+ const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
25
+ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
26
+ const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
27
+ const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
28
+ const FN002027_DEVDEP_fluentui_react_1 = require("./rules/FN002027_DEVDEP_fluentui_react");
29
+ const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
30
+ module.exports = [
31
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.17.3'),
32
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.17.3'),
33
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.17.3'),
34
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.17.3'),
35
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.17.3'),
36
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.17.3'),
37
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.17.3'),
38
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.17.3'),
39
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.17.3'),
40
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.17.3'),
41
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.17.3'),
42
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.17.3'),
43
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.17.3'),
44
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.17.3'),
45
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.17.3'),
46
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.17.3'),
47
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.17.3'),
48
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.17.3'),
49
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.17.3'),
50
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.17.3'),
51
+ new FN001035_DEP_fluentui_react_1.FN001035_DEP_fluentui_react('7.199.1'),
52
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.17.3'),
53
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.17.3'),
54
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.17.3'),
55
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.17.3'),
56
+ new FN002027_DEVDEP_fluentui_react_1.FN002027_DEVDEP_fluentui_react('', false),
57
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.17.3')
58
+ ];
59
+ //# sourceMappingURL=upgrade-1.17.3.js.map
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001001_DEP_microsoft_sp_core_library_1 = require("./rules/FN001001_DEP_microsoft_sp_core_library");
4
+ const FN001002_DEP_microsoft_sp_lodash_subset_1 = require("./rules/FN001002_DEP_microsoft_sp_lodash_subset");
5
+ const FN001003_DEP_microsoft_sp_office_ui_fabric_core_1 = require("./rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core");
6
+ const FN001004_DEP_microsoft_sp_webpart_base_1 = require("./rules/FN001004_DEP_microsoft_sp_webpart_base");
7
+ const FN001011_DEP_microsoft_sp_dialog_1 = require("./rules/FN001011_DEP_microsoft_sp_dialog");
8
+ const FN001012_DEP_microsoft_sp_application_base_1 = require("./rules/FN001012_DEP_microsoft_sp_application_base");
9
+ const FN001013_DEP_microsoft_decorators_1 = require("./rules/FN001013_DEP_microsoft_decorators");
10
+ const FN001014_DEP_microsoft_sp_listview_extensibility_1 = require("./rules/FN001014_DEP_microsoft_sp_listview_extensibility");
11
+ const FN001021_DEP_microsoft_sp_property_pane_1 = require("./rules/FN001021_DEP_microsoft_sp_property_pane");
12
+ const FN001023_DEP_microsoft_sp_component_base_1 = require("./rules/FN001023_DEP_microsoft_sp_component_base");
13
+ const FN001024_DEP_microsoft_sp_diagnostics_1 = require("./rules/FN001024_DEP_microsoft_sp_diagnostics");
14
+ const FN001025_DEP_microsoft_sp_dynamic_data_1 = require("./rules/FN001025_DEP_microsoft_sp_dynamic_data");
15
+ const FN001026_DEP_microsoft_sp_extension_base_1 = require("./rules/FN001026_DEP_microsoft_sp_extension_base");
16
+ const FN001027_DEP_microsoft_sp_http_1 = require("./rules/FN001027_DEP_microsoft_sp_http");
17
+ const FN001028_DEP_microsoft_sp_list_subscription_1 = require("./rules/FN001028_DEP_microsoft_sp_list_subscription");
18
+ const FN001029_DEP_microsoft_sp_loader_1 = require("./rules/FN001029_DEP_microsoft_sp_loader");
19
+ const FN001030_DEP_microsoft_sp_module_interfaces_1 = require("./rules/FN001030_DEP_microsoft_sp_module_interfaces");
20
+ const FN001031_DEP_microsoft_sp_odata_types_1 = require("./rules/FN001031_DEP_microsoft_sp_odata_types");
21
+ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_microsoft_sp_page_context");
22
+ const FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1 = require("./rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base");
23
+ const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
24
+ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
25
+ const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
26
+ const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
27
+ const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
28
+ module.exports = [
29
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.17.4'),
30
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.17.4'),
31
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.17.4'),
32
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.17.4'),
33
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.17.4'),
34
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.17.4'),
35
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.17.4'),
36
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.17.4'),
37
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.17.4'),
38
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.17.4'),
39
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.17.4'),
40
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.17.4'),
41
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.17.4'),
42
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.17.4'),
43
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.17.4'),
44
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.17.4'),
45
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.17.4'),
46
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.17.4'),
47
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.17.4'),
48
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.17.4'),
49
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.17.4'),
50
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.17.4'),
51
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.17.4'),
52
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.17.4'),
53
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.17.4')
54
+ ];
55
+ //# sourceMappingURL=upgrade-1.17.4.js.map
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const FN001001_DEP_microsoft_sp_core_library_1 = require("./rules/FN001001_DEP_microsoft_sp_core_library");
4
+ const FN001002_DEP_microsoft_sp_lodash_subset_1 = require("./rules/FN001002_DEP_microsoft_sp_lodash_subset");
5
+ const FN001003_DEP_microsoft_sp_office_ui_fabric_core_1 = require("./rules/FN001003_DEP_microsoft_sp_office_ui_fabric_core");
6
+ const FN001004_DEP_microsoft_sp_webpart_base_1 = require("./rules/FN001004_DEP_microsoft_sp_webpart_base");
7
+ const FN001011_DEP_microsoft_sp_dialog_1 = require("./rules/FN001011_DEP_microsoft_sp_dialog");
8
+ const FN001012_DEP_microsoft_sp_application_base_1 = require("./rules/FN001012_DEP_microsoft_sp_application_base");
9
+ const FN001013_DEP_microsoft_decorators_1 = require("./rules/FN001013_DEP_microsoft_decorators");
10
+ const FN001014_DEP_microsoft_sp_listview_extensibility_1 = require("./rules/FN001014_DEP_microsoft_sp_listview_extensibility");
11
+ const FN001021_DEP_microsoft_sp_property_pane_1 = require("./rules/FN001021_DEP_microsoft_sp_property_pane");
12
+ const FN001022_DEP_office_ui_fabric_react_1 = require("./rules/FN001022_DEP_office_ui_fabric_react");
13
+ const FN001023_DEP_microsoft_sp_component_base_1 = require("./rules/FN001023_DEP_microsoft_sp_component_base");
14
+ const FN001024_DEP_microsoft_sp_diagnostics_1 = require("./rules/FN001024_DEP_microsoft_sp_diagnostics");
15
+ const FN001025_DEP_microsoft_sp_dynamic_data_1 = require("./rules/FN001025_DEP_microsoft_sp_dynamic_data");
16
+ const FN001026_DEP_microsoft_sp_extension_base_1 = require("./rules/FN001026_DEP_microsoft_sp_extension_base");
17
+ const FN001027_DEP_microsoft_sp_http_1 = require("./rules/FN001027_DEP_microsoft_sp_http");
18
+ const FN001028_DEP_microsoft_sp_list_subscription_1 = require("./rules/FN001028_DEP_microsoft_sp_list_subscription");
19
+ const FN001029_DEP_microsoft_sp_loader_1 = require("./rules/FN001029_DEP_microsoft_sp_loader");
20
+ const FN001030_DEP_microsoft_sp_module_interfaces_1 = require("./rules/FN001030_DEP_microsoft_sp_module_interfaces");
21
+ const FN001031_DEP_microsoft_sp_odata_types_1 = require("./rules/FN001031_DEP_microsoft_sp_odata_types");
22
+ const FN001032_DEP_microsoft_sp_page_context_1 = require("./rules/FN001032_DEP_microsoft_sp_page_context");
23
+ const FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1 = require("./rules/FN001034_DEP_microsoft_sp_adaptive_card_extension_base");
24
+ const FN001035_DEP_fluentui_react_1 = require("./rules/FN001035_DEP_fluentui_react");
25
+ const FN002001_DEVDEP_microsoft_sp_build_web_1 = require("./rules/FN002001_DEVDEP_microsoft_sp_build_web");
26
+ const FN002002_DEVDEP_microsoft_sp_module_interfaces_1 = require("./rules/FN002002_DEVDEP_microsoft_sp_module_interfaces");
27
+ const FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1 = require("./rules/FN002022_DEVDEP_microsoft_eslint_plugin_spfx");
28
+ const FN002023_DEVDEP_microsoft_eslint_config_spfx_1 = require("./rules/FN002023_DEVDEP_microsoft_eslint_config_spfx");
29
+ const FN010001_YORC_version_1 = require("./rules/FN010001_YORC_version");
30
+ const FN010010_YORC_sdkVersions_teams_js_1 = require("./rules/FN010010_YORC_sdkVersions_teams_js");
31
+ module.exports = [
32
+ new FN001001_DEP_microsoft_sp_core_library_1.FN001001_DEP_microsoft_sp_core_library('1.18.0-beta.1'),
33
+ new FN001002_DEP_microsoft_sp_lodash_subset_1.FN001002_DEP_microsoft_sp_lodash_subset('1.18.0-beta.1'),
34
+ new FN001003_DEP_microsoft_sp_office_ui_fabric_core_1.FN001003_DEP_microsoft_sp_office_ui_fabric_core('1.18.0-beta.1'),
35
+ new FN001004_DEP_microsoft_sp_webpart_base_1.FN001004_DEP_microsoft_sp_webpart_base('1.18.0-beta.1'),
36
+ new FN001011_DEP_microsoft_sp_dialog_1.FN001011_DEP_microsoft_sp_dialog('1.18.0-beta.1'),
37
+ new FN001012_DEP_microsoft_sp_application_base_1.FN001012_DEP_microsoft_sp_application_base('1.18.0-beta.1'),
38
+ new FN001014_DEP_microsoft_sp_listview_extensibility_1.FN001014_DEP_microsoft_sp_listview_extensibility('1.18.0-beta.1'),
39
+ new FN001021_DEP_microsoft_sp_property_pane_1.FN001021_DEP_microsoft_sp_property_pane('1.18.0-beta.1'),
40
+ new FN001022_DEP_office_ui_fabric_react_1.FN001022_DEP_office_ui_fabric_react('', false),
41
+ new FN001023_DEP_microsoft_sp_component_base_1.FN001023_DEP_microsoft_sp_component_base('1.18.0-beta.1'),
42
+ new FN001024_DEP_microsoft_sp_diagnostics_1.FN001024_DEP_microsoft_sp_diagnostics('1.18.0-beta.1'),
43
+ new FN001025_DEP_microsoft_sp_dynamic_data_1.FN001025_DEP_microsoft_sp_dynamic_data('1.18.0-beta.1'),
44
+ new FN001026_DEP_microsoft_sp_extension_base_1.FN001026_DEP_microsoft_sp_extension_base('1.18.0-beta.1'),
45
+ new FN001027_DEP_microsoft_sp_http_1.FN001027_DEP_microsoft_sp_http('1.18.0-beta.1'),
46
+ new FN001028_DEP_microsoft_sp_list_subscription_1.FN001028_DEP_microsoft_sp_list_subscription('1.18.0-beta.1'),
47
+ new FN001029_DEP_microsoft_sp_loader_1.FN001029_DEP_microsoft_sp_loader('1.18.0-beta.1'),
48
+ new FN001030_DEP_microsoft_sp_module_interfaces_1.FN001030_DEP_microsoft_sp_module_interfaces('1.18.0-beta.1'),
49
+ new FN001031_DEP_microsoft_sp_odata_types_1.FN001031_DEP_microsoft_sp_odata_types('1.18.0-beta.1'),
50
+ new FN001032_DEP_microsoft_sp_page_context_1.FN001032_DEP_microsoft_sp_page_context('1.18.0-beta.1'),
51
+ new FN001035_DEP_fluentui_react_1.FN001035_DEP_fluentui_react('8.106.4'),
52
+ new FN001013_DEP_microsoft_decorators_1.FN001013_DEP_microsoft_decorators('1.18.0-beta.1'),
53
+ new FN001034_DEP_microsoft_sp_adaptive_card_extension_base_1.FN001034_DEP_microsoft_sp_adaptive_card_extension_base('1.18.0-beta.1'),
54
+ new FN002022_DEVDEP_microsoft_eslint_plugin_spfx_1.FN002022_DEVDEP_microsoft_eslint_plugin_spfx('1.18.0-beta.1'),
55
+ new FN002023_DEVDEP_microsoft_eslint_config_spfx_1.FN002023_DEVDEP_microsoft_eslint_config_spfx('1.18.0-beta.1'),
56
+ new FN002001_DEVDEP_microsoft_sp_build_web_1.FN002001_DEVDEP_microsoft_sp_build_web('1.18.0-beta.1'),
57
+ new FN002002_DEVDEP_microsoft_sp_module_interfaces_1.FN002002_DEVDEP_microsoft_sp_module_interfaces('1.18.0-beta.1'),
58
+ new FN010001_YORC_version_1.FN010001_YORC_version('1.18.0-beta.1'),
59
+ new FN010010_YORC_sdkVersions_teams_js_1.FN010010_YORC_sdkVersions_teams_js('2.12.0')
60
+ ];
61
+ //# sourceMappingURL=upgrade-1.18.0-beta.1.js.map
@@ -18,6 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const fs = require("fs");
19
19
  const os = require("os");
20
20
  const path = require("path");
21
+ // uncomment to support upgrading to preview releases
22
+ const semver_1 = require("semver");
21
23
  const Command_1 = require("../../../../Command");
22
24
  const fsUtil_1 = require("../../../../utils/fsUtil");
23
25
  const packageManager_1 = require("../../../../utils/packageManager");
@@ -77,7 +79,10 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
77
79
  '1.16.1',
78
80
  '1.17.0',
79
81
  '1.17.1',
80
- '1.17.2'
82
+ '1.17.2',
83
+ '1.17.3',
84
+ '1.17.4',
85
+ '1.18.0-beta.1'
81
86
  ];
82
87
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initTelemetry).call(this);
83
88
  __classPrivateFieldGet(this, _SpfxProjectUpgradeCommand_instances, "m", _SpfxProjectUpgradeCommand_initOptions).call(this);
@@ -91,15 +96,15 @@ class SpfxProjectUpgradeCommand extends base_project_command_1.BaseProjectComman
91
96
  }
92
97
  this.toVersion = args.options.toVersion ? args.options.toVersion : this.supportedVersions[this.supportedVersions.length - 1];
93
98
  // uncomment to support upgrading to preview releases
94
- // if (!args.options.toVersion &&
95
- // !args.options.preview &&
96
- // prerelease(this.toVersion)) {
97
- // // no version and no preview specified while the current version to
98
- // // upgrade to is a prerelease so let's grab the first non-preview version
99
- // // since we're supporting only one preview version, it's sufficient for
100
- // // us to take second to last version
101
- // this.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
102
- // }
99
+ if (!args.options.toVersion &&
100
+ !args.options.preview &&
101
+ (0, semver_1.prerelease)(this.toVersion)) {
102
+ // no version and no preview specified while the current version to
103
+ // upgrade to is a prerelease so let's grab the first non-preview version
104
+ // since we're supporting only one preview version, it's sufficient for
105
+ // us to take second to last version
106
+ this.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
107
+ }
103
108
  this.packageManager = args.options.packageManager || 'npm';
104
109
  this.shell = args.options.shell || 'bash';
105
110
  if (this.supportedVersions.indexOf(this.toVersion) < 0) {
@@ -486,9 +491,9 @@ _SpfxProjectUpgradeCommand_instances = new WeakSet(), _SpfxProjectUpgradeCommand
486
491
  preview: args.options.preview
487
492
  });
488
493
  // uncomment to support upgrading to preview releases
489
- // if (prerelease(this.telemetryProperties.toVersion) && !args.options.preview) {
490
- // this.telemetryProperties.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
491
- // }
494
+ if ((0, semver_1.prerelease)(this.telemetryProperties.toVersion) && !args.options.preview) {
495
+ this.telemetryProperties.toVersion = this.supportedVersions[this.supportedVersions.length - 2];
496
+ }
492
497
  });
493
498
  }, _SpfxProjectUpgradeCommand_initOptions = function _SpfxProjectUpgradeCommand_initOptions() {
494
499
  this.options.unshift({