@pnp/cli-microsoft365 5.1.0-beta.ffd9bc8 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +1 -0
- package/Dockerfile +7 -4
- package/dist/Auth.js +10 -0
- package/dist/Command.js +3 -0
- package/dist/cli/Cli.js +13 -0
- package/dist/m365/app/commands/app-get.js +30 -0
- package/dist/m365/app/commands.js +1 -0
- package/dist/m365/cli/commands/config/config-set.js +3 -2
- package/dist/m365/spfx/commands/project/{project-upgrade/rules/JsonRule.js → JsonRule.js} +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade/rules/Rule.js → Rule.js} +0 -0
- package/dist/m365/spfx/commands/project/base-project-command.js +3 -3
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.0.js +9 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.1.js +9 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.0.2.js +9 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.0.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.1.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.1.3.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.10.0.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.11.0.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.0.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.12.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.0.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.13.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.14.0.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.2.0.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.0.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.1.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.2.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.3.4.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.4.1.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.5.1.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.6.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.0.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.7.1.js +19 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.0.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.1.js +21 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.8.2.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/doctor-1.9.1.js +23 -0
- package/dist/m365/spfx/commands/project/project-doctor/generic-rules.js +30 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/DependencyRule.js +76 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001008_DEP_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001009_DEP_react_dom.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN001022_DEP_office_ui_fabric_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002004_DEVDEP_gulp.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002007_DEVDEP_ajv.js +17 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002013_DEVDEP_types_webpack_env.js +14 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002015_DEVDEP_types_react.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002016_DEVDEP_types_react_dom.js +18 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN002019_DEVDEP_microsoft_rush_stack_compiler.js +68 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021001_PKG_spfx_deps_versions_match_project_version.js +74 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021002_PKG_spfx_deps_use_exact_version.js +71 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021003_PKG_spfx_deps_installed_as_deps.js +46 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021004_PKG_spfx_devdeps_installed_as_devdeps.js +46 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021005_PKG_types_installed_as_devdep.js +45 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021006_PKG_rush_stack_compiler_installed_as_devdep.js +45 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021007_PKG_only_one_rush_stack_compiler_installed.js +69 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021008_PKG_no_duplicate_deps.js +59 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021009_PKG_no_duplicate_oui_deps.js +57 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021010_PKG_gulp_installed_as_devdep.js +45 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021011_PKG_ajv_installed_as_devdep.js +45 -0
- package/dist/m365/spfx/commands/project/project-doctor/rules/FN021012_PKG_no_duplicate_pnpjs_deps.js +57 -0
- package/dist/m365/spfx/commands/project/project-doctor/spfx-deps.js +29 -0
- package/dist/m365/spfx/commands/project/project-doctor.js +341 -0
- package/dist/m365/spfx/commands/project/project-externalize/rules/DynamicRule.js +3 -2
- package/dist/m365/spfx/commands/project/project-externalize/rules/PnPJsRule.js +2 -1
- package/dist/m365/spfx/commands/project/{model → project-model}/ConfigJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/CopyAssetsJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/DeployAzureStorageJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/Gitignore.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/GulpfileJs.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/JsonFile.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/Manifest.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/Npmignore.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/PackageJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/PackageSolutionJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/Project.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/ScssFile.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/ServeJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/TsConfigJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/TsFile.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/TsLintJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/VsCode.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeExtensionsJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeLaunchJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/VsCodeSettingsJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/WriteManifestsJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/YoRcJson.js +0 -0
- package/dist/m365/spfx/commands/project/{model → project-model}/index.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/DependencyRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN001021_DEP_microsoft_sp_property_pane.js +1 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003001_CFG_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003002_CFG_version.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003003_CFG_bundles.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003004_CFG_entries.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN003005_CFG_localizedResource_pathLib.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004001_CFG_CA_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN004002_CFG_CA_deployCdnPath.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005001_CFG_DAS_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN005002_CFG_DAS_workingDir.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006001_CFG_PS_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006002_CFG_PS_includeClientSideAssets.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006003_CFG_PS_isDomainIsolated.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006004_CFG_PS_developer.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006005_CFG_PS_metadata.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007001_CFG_S_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007002_CFG_S_initialPage.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN007003_CFG_S_api.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008001_CFG_TSL_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008002_CFG_TSL_removeRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN008003_CFG_TSL_preferConst.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN009001_CFG_WM_schema.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012001_TSC_module.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012002_TSC_moduleResolution.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012003_TSC_skipLibCheck.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012004_TSC_typeRoots_types.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012005_TSC_typeRoots_microsoft.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012006_TSC_types_es6_collections.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012007_TSC_lib_es5.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012008_TSC_lib_dom.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012009_TSC_lib_es2015_collection.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012010_TSC_experimentalDecorators.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012011_TSC_outDir.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012012_TSC_include.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012013_TSC_exclude.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012014_TSC_inlineSources.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012015_TSC_strictNullChecks.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012016_TSC_noUnusedLocals.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012017_TSC_extends.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012018_TSC_lib_es2015_promise.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN012019_TSC_types_es6_promise.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013001_GULP_msGridSassSuppression.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN013002_GULP_serveTask.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014001_CODE_settings_jsonSchemas.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014002_CODE_extensions.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014003_CODE_launch.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014004_CODE_settings_jsonSchemas_configJson_url.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014005_CODE_settingsfile.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014006_CODE_launch_sourceMapPathOverrides.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014007_CODE_launch_localWorkbench.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN014008_CODE_launch_hostedWorkbench_type.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN017001_MISC_npm_dedupe.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018001_TEAMS_folder.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018002_TEAMS_manifest.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018003_TEAMS_tab20x20_png.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018004_TEAMS_tab96x96_png.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN018005_TEAMS_deprecated_manifest.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019001_TSL_rulesDirectory.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN019002_TSL_extends.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023001_GITIGNORE_release.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN023002_GITIGNORE_heft.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN024001_NPMIGNORE_file.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FileAddRemoveRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ManifestRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/PackageRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ResolutionRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/ScssRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/TsRule.js +1 -1
- package/dist/m365/spfx/commands/project/project-upgrade.js +37 -153
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/Finding.js +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingToReport.js +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingTour.js +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/FindingTourStep.js +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/Occurrence.js +0 -0
- package/dist/m365/spfx/commands/project/{ReportData.js → report-model/ReportData.js} +0 -0
- package/dist/m365/spfx/commands/project/{project-upgrade → report-model}/index.js +2 -3
- package/dist/m365/spfx/commands/spfx-doctor.js +6 -0
- package/dist/m365/spfx/commands.js +1 -0
- package/dist/m365/spo/commands/app/app-teamspackage-download.js +180 -0
- package/dist/m365/spo/commands.js +1 -0
- package/dist/m365/tenant/commands.js +1 -6
- package/dist/settingsNames.js +1 -0
- package/dist/utils/fsUtil.js +70 -0
- package/dist/utils/index.js +2 -0
- package/dist/utils/packageManager.js +66 -0
- package/dist/utils/spfx.js +6 -5
- package/dist/{m365/spfx/commands/project/project-upgrade/Hash.js → utils/types.js} +1 -1
- package/docs/docs/cmd/app/app-get.md +36 -0
- package/docs/docs/cmd/spfx/project/project-doctor.md +64 -0
- package/docs/docs/cmd/spfx/spfx-doctor.md +4 -1
- package/docs/docs/cmd/spo/app/app-teamspackage-download.md +56 -0
- package/npm-shrinkwrap.json +270 -4
- package/package.json +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/DependencyInformation.js +0 -3
- package/dist/m365/spfx/commands/project/project-upgrade/Dictionary.js +0 -3
- package/dist/m365/tenant/commands/auditlog/auditlog-report.js +0 -231
- package/dist/m365/tenant/commands/service/service-list.js +0 -41
- package/dist/m365/tenant/commands/service/service-message-list.js +0 -55
- package/dist/m365/tenant/commands/service/service-report-historicalservicestatus.js +0 -54
- package/dist/m365/tenant/commands/status/status-list.js +0 -55
- package/docs/docs/cmd/tenant/auditlog/auditlog-report.md +0 -61
- package/docs/docs/cmd/tenant/service/service-list.md +0 -25
- package/docs/docs/cmd/tenant/service/service-message-list.md +0 -34
- package/docs/docs/cmd/tenant/service/service-report-historicalservicestatus.md +0 -38
- package/docs/docs/cmd/tenant/status/status-list.md +0 -34
package/npm-shrinkwrap.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"applicationinsights": "^2.2.2",
|
|
19
19
|
"axios": "^0.26.0",
|
|
20
20
|
"chalk": "^4.1.2",
|
|
21
|
+
"clipboardy": "^2.3.0",
|
|
21
22
|
"csv-stringify": "^6.0.5",
|
|
22
23
|
"easy-table": "^1.2.0",
|
|
23
24
|
"inquirer": "^8.2.0",
|
|
@@ -1159,6 +1160,25 @@
|
|
|
1159
1160
|
}
|
|
1160
1161
|
}
|
|
1161
1162
|
},
|
|
1163
|
+
"node_modules/arch": {
|
|
1164
|
+
"version": "2.2.0",
|
|
1165
|
+
"resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz",
|
|
1166
|
+
"integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==",
|
|
1167
|
+
"funding": [
|
|
1168
|
+
{
|
|
1169
|
+
"type": "github",
|
|
1170
|
+
"url": "https://github.com/sponsors/feross"
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"type": "patreon",
|
|
1174
|
+
"url": "https://www.patreon.com/feross"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"type": "consulting",
|
|
1178
|
+
"url": "https://feross.org/support"
|
|
1179
|
+
}
|
|
1180
|
+
]
|
|
1181
|
+
},
|
|
1162
1182
|
"node_modules/argparse": {
|
|
1163
1183
|
"version": "1.0.10",
|
|
1164
1184
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
|
@@ -1646,6 +1666,19 @@
|
|
|
1646
1666
|
"node": ">= 10"
|
|
1647
1667
|
}
|
|
1648
1668
|
},
|
|
1669
|
+
"node_modules/clipboardy": {
|
|
1670
|
+
"version": "2.3.0",
|
|
1671
|
+
"resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz",
|
|
1672
|
+
"integrity": "sha512-mKhiIL2DrQIsuXMgBgnfEHOZOryC7kY7YO//TN6c63wlEm3NG5tz+YgY5rVi29KCmq/QQjKYvM7a19+MDOTHOQ==",
|
|
1673
|
+
"dependencies": {
|
|
1674
|
+
"arch": "^2.1.1",
|
|
1675
|
+
"execa": "^1.0.0",
|
|
1676
|
+
"is-wsl": "^2.1.1"
|
|
1677
|
+
},
|
|
1678
|
+
"engines": {
|
|
1679
|
+
"node": ">=8"
|
|
1680
|
+
}
|
|
1681
|
+
},
|
|
1649
1682
|
"node_modules/cliui": {
|
|
1650
1683
|
"version": "7.0.4",
|
|
1651
1684
|
"resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
|
|
@@ -2795,6 +2828,84 @@
|
|
|
2795
2828
|
"node": ">=0.10.0"
|
|
2796
2829
|
}
|
|
2797
2830
|
},
|
|
2831
|
+
"node_modules/execa": {
|
|
2832
|
+
"version": "1.0.0",
|
|
2833
|
+
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
|
|
2834
|
+
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
|
|
2835
|
+
"dependencies": {
|
|
2836
|
+
"cross-spawn": "^6.0.0",
|
|
2837
|
+
"get-stream": "^4.0.0",
|
|
2838
|
+
"is-stream": "^1.1.0",
|
|
2839
|
+
"npm-run-path": "^2.0.0",
|
|
2840
|
+
"p-finally": "^1.0.0",
|
|
2841
|
+
"signal-exit": "^3.0.0",
|
|
2842
|
+
"strip-eof": "^1.0.0"
|
|
2843
|
+
},
|
|
2844
|
+
"engines": {
|
|
2845
|
+
"node": ">=6"
|
|
2846
|
+
}
|
|
2847
|
+
},
|
|
2848
|
+
"node_modules/execa/node_modules/cross-spawn": {
|
|
2849
|
+
"version": "6.0.5",
|
|
2850
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
|
|
2851
|
+
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
|
|
2852
|
+
"dependencies": {
|
|
2853
|
+
"nice-try": "^1.0.4",
|
|
2854
|
+
"path-key": "^2.0.1",
|
|
2855
|
+
"semver": "^5.5.0",
|
|
2856
|
+
"shebang-command": "^1.2.0",
|
|
2857
|
+
"which": "^1.2.9"
|
|
2858
|
+
},
|
|
2859
|
+
"engines": {
|
|
2860
|
+
"node": ">=4.8"
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
"node_modules/execa/node_modules/path-key": {
|
|
2864
|
+
"version": "2.0.1",
|
|
2865
|
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
2866
|
+
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
|
|
2867
|
+
"engines": {
|
|
2868
|
+
"node": ">=4"
|
|
2869
|
+
}
|
|
2870
|
+
},
|
|
2871
|
+
"node_modules/execa/node_modules/semver": {
|
|
2872
|
+
"version": "5.7.1",
|
|
2873
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
|
2874
|
+
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
|
2875
|
+
"bin": {
|
|
2876
|
+
"semver": "bin/semver"
|
|
2877
|
+
}
|
|
2878
|
+
},
|
|
2879
|
+
"node_modules/execa/node_modules/shebang-command": {
|
|
2880
|
+
"version": "1.2.0",
|
|
2881
|
+
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
|
|
2882
|
+
"integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
|
|
2883
|
+
"dependencies": {
|
|
2884
|
+
"shebang-regex": "^1.0.0"
|
|
2885
|
+
},
|
|
2886
|
+
"engines": {
|
|
2887
|
+
"node": ">=0.10.0"
|
|
2888
|
+
}
|
|
2889
|
+
},
|
|
2890
|
+
"node_modules/execa/node_modules/shebang-regex": {
|
|
2891
|
+
"version": "1.0.0",
|
|
2892
|
+
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
|
|
2893
|
+
"integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=",
|
|
2894
|
+
"engines": {
|
|
2895
|
+
"node": ">=0.10.0"
|
|
2896
|
+
}
|
|
2897
|
+
},
|
|
2898
|
+
"node_modules/execa/node_modules/which": {
|
|
2899
|
+
"version": "1.3.1",
|
|
2900
|
+
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
|
|
2901
|
+
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
|
|
2902
|
+
"dependencies": {
|
|
2903
|
+
"isexe": "^2.0.0"
|
|
2904
|
+
},
|
|
2905
|
+
"bin": {
|
|
2906
|
+
"which": "bin/which"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2798
2909
|
"node_modules/extend": {
|
|
2799
2910
|
"version": "3.0.2",
|
|
2800
2911
|
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
|
@@ -3763,6 +3874,14 @@
|
|
|
3763
3874
|
"url": "https://github.com/sponsors/ljharb"
|
|
3764
3875
|
}
|
|
3765
3876
|
},
|
|
3877
|
+
"node_modules/is-stream": {
|
|
3878
|
+
"version": "1.1.0",
|
|
3879
|
+
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
|
|
3880
|
+
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
|
|
3881
|
+
"engines": {
|
|
3882
|
+
"node": ">=0.10.0"
|
|
3883
|
+
}
|
|
3884
|
+
},
|
|
3766
3885
|
"node_modules/is-string": {
|
|
3767
3886
|
"version": "1.0.7",
|
|
3768
3887
|
"resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
|
|
@@ -3846,8 +3965,7 @@
|
|
|
3846
3965
|
"node_modules/isexe": {
|
|
3847
3966
|
"version": "2.0.0",
|
|
3848
3967
|
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
|
3849
|
-
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
|
|
3850
|
-
"dev": true
|
|
3968
|
+
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
|
|
3851
3969
|
},
|
|
3852
3970
|
"node_modules/isstream": {
|
|
3853
3971
|
"version": "0.1.2",
|
|
@@ -4488,6 +4606,11 @@
|
|
|
4488
4606
|
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
|
|
4489
4607
|
"dev": true
|
|
4490
4608
|
},
|
|
4609
|
+
"node_modules/nice-try": {
|
|
4610
|
+
"version": "1.0.5",
|
|
4611
|
+
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
|
4612
|
+
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
|
|
4613
|
+
},
|
|
4491
4614
|
"node_modules/nise": {
|
|
4492
4615
|
"version": "5.1.1",
|
|
4493
4616
|
"resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz",
|
|
@@ -4564,6 +4687,25 @@
|
|
|
4564
4687
|
"node": ">=8"
|
|
4565
4688
|
}
|
|
4566
4689
|
},
|
|
4690
|
+
"node_modules/npm-run-path": {
|
|
4691
|
+
"version": "2.0.2",
|
|
4692
|
+
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
|
4693
|
+
"integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
|
|
4694
|
+
"dependencies": {
|
|
4695
|
+
"path-key": "^2.0.0"
|
|
4696
|
+
},
|
|
4697
|
+
"engines": {
|
|
4698
|
+
"node": ">=4"
|
|
4699
|
+
}
|
|
4700
|
+
},
|
|
4701
|
+
"node_modules/npm-run-path/node_modules/path-key": {
|
|
4702
|
+
"version": "2.0.1",
|
|
4703
|
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
4704
|
+
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=",
|
|
4705
|
+
"engines": {
|
|
4706
|
+
"node": ">=4"
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4567
4709
|
"node_modules/nwsapi": {
|
|
4568
4710
|
"version": "2.2.0",
|
|
4569
4711
|
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz",
|
|
@@ -4729,6 +4871,14 @@
|
|
|
4729
4871
|
"node": ">=6"
|
|
4730
4872
|
}
|
|
4731
4873
|
},
|
|
4874
|
+
"node_modules/p-finally": {
|
|
4875
|
+
"version": "1.0.0",
|
|
4876
|
+
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
|
|
4877
|
+
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=",
|
|
4878
|
+
"engines": {
|
|
4879
|
+
"node": ">=4"
|
|
4880
|
+
}
|
|
4881
|
+
},
|
|
4732
4882
|
"node_modules/p-limit": {
|
|
4733
4883
|
"version": "3.1.0",
|
|
4734
4884
|
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
|
|
@@ -5500,6 +5650,14 @@
|
|
|
5500
5650
|
"node": ">=4"
|
|
5501
5651
|
}
|
|
5502
5652
|
},
|
|
5653
|
+
"node_modules/strip-eof": {
|
|
5654
|
+
"version": "1.0.0",
|
|
5655
|
+
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
|
|
5656
|
+
"integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=",
|
|
5657
|
+
"engines": {
|
|
5658
|
+
"node": ">=0.10.0"
|
|
5659
|
+
}
|
|
5660
|
+
},
|
|
5503
5661
|
"node_modules/strip-json-comments": {
|
|
5504
5662
|
"version": "3.1.1",
|
|
5505
5663
|
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
|
|
@@ -7040,6 +7198,11 @@
|
|
|
7040
7198
|
"diagnostic-channel-publishers": "1.0.4"
|
|
7041
7199
|
}
|
|
7042
7200
|
},
|
|
7201
|
+
"arch": {
|
|
7202
|
+
"version": "2.2.0",
|
|
7203
|
+
"resolved": "https://registry.npmjs.org/arch/-/arch-2.2.0.tgz",
|
|
7204
|
+
"integrity": "sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ=="
|
|
7205
|
+
},
|
|
7043
7206
|
"argparse": {
|
|
7044
7207
|
"version": "1.0.10",
|
|
7045
7208
|
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
|
@@ -7407,6 +7570,16 @@
|
|
|
7407
7570
|
"resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz",
|
|
7408
7571
|
"integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw=="
|
|
7409
7572
|
},
|
|
7573
|
+
"clipboardy": {
|
|
7574
|
+
"version": "2.3.0",
|
|
7575
|
+
"resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.3.0.tgz",
|
|
7576
|
+
"integrity": "sha512-mKhiIL2DrQIsuXMgBgnfEHOZOryC7kY7YO//TN6c63wlEm3NG5tz+YgY5rVi29KCmq/QQjKYvM7a19+MDOTHOQ==",
|
|
7577
|
+
"requires": {
|
|
7578
|
+
"arch": "^2.1.1",
|
|
7579
|
+
"execa": "^1.0.0",
|
|
7580
|
+
"is-wsl": "^2.1.1"
|
|
7581
|
+
}
|
|
7582
|
+
},
|
|
7410
7583
|
"cliui": {
|
|
7411
7584
|
"version": "7.0.4",
|
|
7412
7585
|
"resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz",
|
|
@@ -8302,6 +8475,65 @@
|
|
|
8302
8475
|
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
|
|
8303
8476
|
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
|
|
8304
8477
|
},
|
|
8478
|
+
"execa": {
|
|
8479
|
+
"version": "1.0.0",
|
|
8480
|
+
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
|
|
8481
|
+
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
|
|
8482
|
+
"requires": {
|
|
8483
|
+
"cross-spawn": "^6.0.0",
|
|
8484
|
+
"get-stream": "^4.0.0",
|
|
8485
|
+
"is-stream": "^1.1.0",
|
|
8486
|
+
"npm-run-path": "^2.0.0",
|
|
8487
|
+
"p-finally": "^1.0.0",
|
|
8488
|
+
"signal-exit": "^3.0.0",
|
|
8489
|
+
"strip-eof": "^1.0.0"
|
|
8490
|
+
},
|
|
8491
|
+
"dependencies": {
|
|
8492
|
+
"cross-spawn": {
|
|
8493
|
+
"version": "6.0.5",
|
|
8494
|
+
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz",
|
|
8495
|
+
"integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==",
|
|
8496
|
+
"requires": {
|
|
8497
|
+
"nice-try": "^1.0.4",
|
|
8498
|
+
"path-key": "^2.0.1",
|
|
8499
|
+
"semver": "^5.5.0",
|
|
8500
|
+
"shebang-command": "^1.2.0",
|
|
8501
|
+
"which": "^1.2.9"
|
|
8502
|
+
}
|
|
8503
|
+
},
|
|
8504
|
+
"path-key": {
|
|
8505
|
+
"version": "2.0.1",
|
|
8506
|
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
8507
|
+
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
|
|
8508
|
+
},
|
|
8509
|
+
"semver": {
|
|
8510
|
+
"version": "5.7.1",
|
|
8511
|
+
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
|
8512
|
+
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
|
|
8513
|
+
},
|
|
8514
|
+
"shebang-command": {
|
|
8515
|
+
"version": "1.2.0",
|
|
8516
|
+
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
|
|
8517
|
+
"integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=",
|
|
8518
|
+
"requires": {
|
|
8519
|
+
"shebang-regex": "^1.0.0"
|
|
8520
|
+
}
|
|
8521
|
+
},
|
|
8522
|
+
"shebang-regex": {
|
|
8523
|
+
"version": "1.0.0",
|
|
8524
|
+
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
|
|
8525
|
+
"integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM="
|
|
8526
|
+
},
|
|
8527
|
+
"which": {
|
|
8528
|
+
"version": "1.3.1",
|
|
8529
|
+
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
|
|
8530
|
+
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
|
|
8531
|
+
"requires": {
|
|
8532
|
+
"isexe": "^2.0.0"
|
|
8533
|
+
}
|
|
8534
|
+
}
|
|
8535
|
+
}
|
|
8536
|
+
},
|
|
8305
8537
|
"extend": {
|
|
8306
8538
|
"version": "3.0.2",
|
|
8307
8539
|
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
|
@@ -8994,6 +9226,11 @@
|
|
|
8994
9226
|
"integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==",
|
|
8995
9227
|
"dev": true
|
|
8996
9228
|
},
|
|
9229
|
+
"is-stream": {
|
|
9230
|
+
"version": "1.1.0",
|
|
9231
|
+
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
|
|
9232
|
+
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
|
|
9233
|
+
},
|
|
8997
9234
|
"is-string": {
|
|
8998
9235
|
"version": "1.0.7",
|
|
8999
9236
|
"resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
|
|
@@ -9053,8 +9290,7 @@
|
|
|
9053
9290
|
"isexe": {
|
|
9054
9291
|
"version": "2.0.0",
|
|
9055
9292
|
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
|
|
9056
|
-
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
|
|
9057
|
-
"dev": true
|
|
9293
|
+
"integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA="
|
|
9058
9294
|
},
|
|
9059
9295
|
"isstream": {
|
|
9060
9296
|
"version": "0.1.2",
|
|
@@ -9572,6 +9808,11 @@
|
|
|
9572
9808
|
"integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
|
|
9573
9809
|
"dev": true
|
|
9574
9810
|
},
|
|
9811
|
+
"nice-try": {
|
|
9812
|
+
"version": "1.0.5",
|
|
9813
|
+
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
|
|
9814
|
+
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ=="
|
|
9815
|
+
},
|
|
9575
9816
|
"nise": {
|
|
9576
9817
|
"version": "5.1.1",
|
|
9577
9818
|
"resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz",
|
|
@@ -9630,6 +9871,21 @@
|
|
|
9630
9871
|
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
|
|
9631
9872
|
"integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA=="
|
|
9632
9873
|
},
|
|
9874
|
+
"npm-run-path": {
|
|
9875
|
+
"version": "2.0.2",
|
|
9876
|
+
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
|
|
9877
|
+
"integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=",
|
|
9878
|
+
"requires": {
|
|
9879
|
+
"path-key": "^2.0.0"
|
|
9880
|
+
},
|
|
9881
|
+
"dependencies": {
|
|
9882
|
+
"path-key": {
|
|
9883
|
+
"version": "2.0.1",
|
|
9884
|
+
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
|
|
9885
|
+
"integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A="
|
|
9886
|
+
}
|
|
9887
|
+
}
|
|
9888
|
+
},
|
|
9633
9889
|
"nwsapi": {
|
|
9634
9890
|
"version": "2.2.0",
|
|
9635
9891
|
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz",
|
|
@@ -9747,6 +10003,11 @@
|
|
|
9747
10003
|
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
|
|
9748
10004
|
"integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
|
|
9749
10005
|
},
|
|
10006
|
+
"p-finally": {
|
|
10007
|
+
"version": "1.0.0",
|
|
10008
|
+
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
|
|
10009
|
+
"integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4="
|
|
10010
|
+
},
|
|
9750
10011
|
"p-limit": {
|
|
9751
10012
|
"version": "3.1.0",
|
|
9752
10013
|
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
|
|
@@ -10338,6 +10599,11 @@
|
|
|
10338
10599
|
"integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
|
|
10339
10600
|
"dev": true
|
|
10340
10601
|
},
|
|
10602
|
+
"strip-eof": {
|
|
10603
|
+
"version": "1.0.0",
|
|
10604
|
+
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
|
|
10605
|
+
"integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8="
|
|
10606
|
+
},
|
|
10341
10607
|
"strip-json-comments": {
|
|
10342
10608
|
"version": "3.1.1",
|
|
10343
10609
|
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.1.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -187,6 +187,7 @@
|
|
|
187
187
|
"applicationinsights": "^2.2.2",
|
|
188
188
|
"axios": "^0.26.0",
|
|
189
189
|
"chalk": "^4.1.2",
|
|
190
|
+
"clipboardy": "^2.3.0",
|
|
190
191
|
"csv-stringify": "^6.0.5",
|
|
191
192
|
"easy-table": "^1.2.0",
|
|
192
193
|
"inquirer": "^8.2.0",
|
|
@@ -232,4 +233,4 @@
|
|
|
232
233
|
"sinon": "^13.0.1",
|
|
233
234
|
"source-map-support": "^0.5.21"
|
|
234
235
|
}
|
|
235
|
-
}
|
|
236
|
+
}
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Auth_1 = require("../../../../Auth");
|
|
4
|
-
const Command_1 = require("../../../../Command");
|
|
5
|
-
const request_1 = require("../../../../request");
|
|
6
|
-
const utils_1 = require("../../../../utils");
|
|
7
|
-
const commands_1 = require("../../commands");
|
|
8
|
-
var AuditContentTypes;
|
|
9
|
-
(function (AuditContentTypes) {
|
|
10
|
-
AuditContentTypes["AzureActiveDirectory"] = "Audit.AzureActiveDirectory";
|
|
11
|
-
AuditContentTypes["Exchange"] = "Audit.Exchange";
|
|
12
|
-
AuditContentTypes["SharePoint"] = "Audit.SharePoint";
|
|
13
|
-
AuditContentTypes["General"] = "Audit.General";
|
|
14
|
-
AuditContentTypes["DLP"] = "DLP.All";
|
|
15
|
-
})(AuditContentTypes || (AuditContentTypes = {}));
|
|
16
|
-
class TenantAuditlogReportCommand extends Command_1.default {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this.serviceUrl = 'https://manage.office.com/api/v1.0';
|
|
20
|
-
this.completeAuditReports = [];
|
|
21
|
-
}
|
|
22
|
-
get name() {
|
|
23
|
-
return commands_1.default.AUDITLOG_REPORT;
|
|
24
|
-
}
|
|
25
|
-
get description() {
|
|
26
|
-
return 'Gets audit logs from the Office 365 Management API';
|
|
27
|
-
}
|
|
28
|
-
getTelemetryProperties(args) {
|
|
29
|
-
const telemetryProps = super.getTelemetryProperties(args);
|
|
30
|
-
telemetryProps.startTime = typeof args.options.startTime !== 'undefined';
|
|
31
|
-
telemetryProps.endTime = typeof args.options.endTime !== 'undefined';
|
|
32
|
-
telemetryProps.contentType = args.options.contentType;
|
|
33
|
-
return telemetryProps;
|
|
34
|
-
}
|
|
35
|
-
defaultProperties() {
|
|
36
|
-
return ['CreationTime', 'Operation', 'ClientIP', 'UserId', 'Workload'];
|
|
37
|
-
}
|
|
38
|
-
commandAction(logger, args, cb) {
|
|
39
|
-
if (this.verbose) {
|
|
40
|
-
logger.logToStderr(`Start retrieving Audit Log Report`);
|
|
41
|
-
}
|
|
42
|
-
this.tenantId = utils_1.accessToken.getTenantIdFromAccessToken(Auth_1.default.service.accessTokens[Auth_1.default.defaultResource].accessToken);
|
|
43
|
-
this
|
|
44
|
-
.getCompleteAuditReports(args, logger)
|
|
45
|
-
.then((res) => {
|
|
46
|
-
logger.log(res);
|
|
47
|
-
cb();
|
|
48
|
-
}, (err) => this.handleRejectedODataJsonPromise(err, logger, cb));
|
|
49
|
-
}
|
|
50
|
-
getCompleteAuditReports(args, logger) {
|
|
51
|
-
return this
|
|
52
|
-
.startContentSubscriptionIfNotActive(args, logger)
|
|
53
|
-
.then(() => this.getAuditContentList(args, logger))
|
|
54
|
-
.then((auditContentLists) => this.getBatchedPromises(auditContentLists, 10))
|
|
55
|
-
.then((batchedPromise) => {
|
|
56
|
-
return new Promise((resolve, reject) => {
|
|
57
|
-
if (batchedPromise.length > 0) {
|
|
58
|
-
this.getBatchedAuditlogData(logger, batchedPromise, 0, resolve, reject);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
resolve();
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
})
|
|
65
|
-
.then(_ => this.completeAuditReports);
|
|
66
|
-
}
|
|
67
|
-
startContentSubscriptionIfNotActive(args, logger) {
|
|
68
|
-
if (this.verbose) {
|
|
69
|
-
logger.logToStderr(`Checking if subscription is active...`);
|
|
70
|
-
}
|
|
71
|
-
const subscriptionListEndpoint = 'activity/feed/subscriptions/list';
|
|
72
|
-
const requestOptions = {
|
|
73
|
-
url: `${this.serviceUrl}/${this.tenantId}/${subscriptionListEndpoint}`,
|
|
74
|
-
headers: {
|
|
75
|
-
accept: 'application/json;odata.metadata=none'
|
|
76
|
-
},
|
|
77
|
-
responseType: 'json'
|
|
78
|
-
};
|
|
79
|
-
return request_1.default
|
|
80
|
-
.get(requestOptions)
|
|
81
|
-
.then((subscriptionLists) => {
|
|
82
|
-
return subscriptionLists.some(subscriptionList => subscriptionList.contentType === AuditContentTypes[args.options.contentType] &&
|
|
83
|
-
subscriptionList.status === 'enabled');
|
|
84
|
-
})
|
|
85
|
-
.then((hasActiveSubscription) => {
|
|
86
|
-
if (hasActiveSubscription) {
|
|
87
|
-
return Promise.resolve();
|
|
88
|
-
}
|
|
89
|
-
if (this.verbose) {
|
|
90
|
-
logger.logToStderr(`Starting subscription since subscription is not active for the content type`);
|
|
91
|
-
}
|
|
92
|
-
const startSubscriptionEndPoint = `activity/feed/subscriptions/start?contentType=${AuditContentTypes[args.options.contentType]}&PublisherIdentifier=${this.tenantId}`;
|
|
93
|
-
const requestOptions = {
|
|
94
|
-
url: `${this.serviceUrl}/${this.tenantId}/${startSubscriptionEndPoint}`,
|
|
95
|
-
headers: {
|
|
96
|
-
accept: 'application/json;odata.metadata=none'
|
|
97
|
-
},
|
|
98
|
-
responseType: 'json'
|
|
99
|
-
};
|
|
100
|
-
return request_1.default.post(requestOptions);
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
getAuditContentList(args, logger) {
|
|
104
|
-
if (this.verbose) {
|
|
105
|
-
logger.logToStderr(`Start listing Audit Content URL`);
|
|
106
|
-
}
|
|
107
|
-
let subscriptionListEndpoint = `activity/feed/subscriptions/content?contentType=${AuditContentTypes[args.options.contentType]}&PublisherIdentifier=${this.tenantId}`;
|
|
108
|
-
if (typeof args.options.startTime !== 'undefined') {
|
|
109
|
-
if (typeof args.options.endTime !== 'undefined') {
|
|
110
|
-
subscriptionListEndpoint += `&starttime=${escape(args.options.startTime)}&endTime=${escape(args.options.endTime)}`;
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
const parsedEndDate = new Date(args.options.startTime);
|
|
114
|
-
parsedEndDate.setDate(parsedEndDate.getDate() + 1);
|
|
115
|
-
subscriptionListEndpoint += `&starttime=${escape(args.options.startTime)}&endTime=${escape(parsedEndDate.toISOString())}`;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
const requestOptions = {
|
|
119
|
-
url: `${this.serviceUrl}/${this.tenantId}/${subscriptionListEndpoint}`,
|
|
120
|
-
headers: {
|
|
121
|
-
accept: 'application/json;odata.metadata=none'
|
|
122
|
-
},
|
|
123
|
-
responseType: 'json'
|
|
124
|
-
};
|
|
125
|
-
return request_1.default.get(requestOptions);
|
|
126
|
-
}
|
|
127
|
-
getBatchedPromises(auditContentLists, batchSize) {
|
|
128
|
-
const batchedPromises = [];
|
|
129
|
-
for (let i = 0; i < auditContentLists.length; i += batchSize) {
|
|
130
|
-
const promiseRequestBatch = auditContentLists
|
|
131
|
-
.slice(i, i + batchSize < auditContentLists.length ? i + batchSize : auditContentLists.length)
|
|
132
|
-
.map((AuditContentList) => this.getAuditLogReportForSingleContentUrl(AuditContentList.contentUri));
|
|
133
|
-
batchedPromises.push(promiseRequestBatch);
|
|
134
|
-
}
|
|
135
|
-
return Promise.resolve(batchedPromises);
|
|
136
|
-
}
|
|
137
|
-
getBatchedAuditlogData(logger, batchedPromiseList, batchNumber, resolve, reject) {
|
|
138
|
-
if (this.verbose) {
|
|
139
|
-
logger.logToStderr(`Starting Batch : ${batchNumber}`);
|
|
140
|
-
}
|
|
141
|
-
Promise
|
|
142
|
-
.all(batchedPromiseList[batchNumber])
|
|
143
|
-
.then((data) => {
|
|
144
|
-
data.forEach(d1 => {
|
|
145
|
-
d1.forEach(d2 => {
|
|
146
|
-
this.completeAuditReports.push(d2);
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
if (batchNumber < batchedPromiseList.length - 1) {
|
|
150
|
-
this.getBatchedAuditlogData(logger, batchedPromiseList, ++batchNumber, resolve, reject);
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
resolve();
|
|
154
|
-
}
|
|
155
|
-
}, (err) => reject(err));
|
|
156
|
-
}
|
|
157
|
-
getAuditLogReportForSingleContentUrl(auditURL) {
|
|
158
|
-
const requestOptions = {
|
|
159
|
-
url: auditURL,
|
|
160
|
-
headers: {
|
|
161
|
-
accept: 'application/json'
|
|
162
|
-
},
|
|
163
|
-
responseType: 'json'
|
|
164
|
-
};
|
|
165
|
-
return request_1.default.get(requestOptions);
|
|
166
|
-
}
|
|
167
|
-
get auditContentTypeLists() {
|
|
168
|
-
const result = [];
|
|
169
|
-
for (const auditContentType in AuditContentTypes) {
|
|
170
|
-
result.push(auditContentType);
|
|
171
|
-
}
|
|
172
|
-
return result;
|
|
173
|
-
}
|
|
174
|
-
options() {
|
|
175
|
-
const options = [
|
|
176
|
-
{
|
|
177
|
-
option: '-c, --contentType <contentType>',
|
|
178
|
-
autocomplete: this.auditContentTypeLists
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
option: '-s, --startTime [startTime]'
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
option: '-e, --endTime [endTime]'
|
|
185
|
-
}
|
|
186
|
-
];
|
|
187
|
-
const parentOptions = super.options();
|
|
188
|
-
return options.concat(parentOptions);
|
|
189
|
-
}
|
|
190
|
-
validate(args) {
|
|
191
|
-
if (AuditContentTypes[args.options.contentType] === undefined) {
|
|
192
|
-
return `${args.options.contentType} is not a valid value for the contentType option. Allowed values are ${this.auditContentTypeLists.join(' | ')}`;
|
|
193
|
-
}
|
|
194
|
-
if (args.options.startTime || args.options.endTime) {
|
|
195
|
-
if (!args.options.startTime) {
|
|
196
|
-
return `Please specify startTime`;
|
|
197
|
-
}
|
|
198
|
-
const parsedStartTime = Date.parse(args.options.startTime);
|
|
199
|
-
if (isNaN(parsedStartTime)) {
|
|
200
|
-
return `${args.options.startTime} is not a valid startTime. Provide the date in one of the following formats:
|
|
201
|
-
'YYYY-MM-DD'
|
|
202
|
-
'YYYY-MM-DDThh:mm'
|
|
203
|
-
'YYYY-MM-DDThh:mmZ'
|
|
204
|
-
'YYYY-MM-DDThh:mm±hh:mm'`;
|
|
205
|
-
}
|
|
206
|
-
const startdateTodayDifference = (new Date().getTime() - parsedStartTime) / (1000 * 60 * 60 * 24);
|
|
207
|
-
if (startdateTodayDifference > 7) {
|
|
208
|
-
return `Start time should be no more than 7 days in the past`;
|
|
209
|
-
}
|
|
210
|
-
if (args.options.endTime) {
|
|
211
|
-
const parsedEndTime = Date.parse(args.options.endTime);
|
|
212
|
-
if (isNaN(parsedEndTime)) {
|
|
213
|
-
return `${args.options.endTime} is not a valid endTime. Provide the date in one of the following formats:
|
|
214
|
-
'YYYY-MM-DD'
|
|
215
|
-
'YYYY-MM-DDThh:mm'
|
|
216
|
-
'YYYY-MM-DDThh:mmZ'
|
|
217
|
-
'YYYY-MM-DDThh:mm±hh:mm'`;
|
|
218
|
-
}
|
|
219
|
-
if (parsedStartTime && parsedEndTime) {
|
|
220
|
-
const startEndDateDifference = (parsedEndTime - parsedStartTime) / (1000 * 60 * 60 * 24);
|
|
221
|
-
if (startEndDateDifference < 0 || startEndDateDifference > 1) {
|
|
222
|
-
return `startTime and endTime must be less than or equal to 24 hours apart, with the start time prior to end time.`;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
return true;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
module.exports = new TenantAuditlogReportCommand();
|
|
231
|
-
//# sourceMappingURL=auditlog-report.js.map
|