@pnp/cli-microsoft365 4.2.0-beta.a06522d → 4.2.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.
Files changed (30) hide show
  1. package/dist/appInsights.js +2 -0
  2. package/dist/cli/Cli.js +4 -1
  3. package/dist/m365/aad/commands/app/app-add.js +58 -5
  4. package/dist/m365/aad/commands/o365group/o365group-add.js +56 -50
  5. package/dist/m365/base/M365RcJson.js +3 -0
  6. package/dist/m365/file/commands/file-list.js +181 -0
  7. package/dist/m365/file/commands.js +2 -1
  8. package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.13.1.js +53 -0
  9. package/dist/m365/spfx/commands/project/project-upgrade.js +2 -1
  10. package/dist/m365/spfx/commands/spfx-doctor.js +176 -62
  11. package/dist/m365/spo/commands/contenttype/contenttype-list.js +52 -0
  12. package/dist/m365/spo/commands/list/list-get.js +6 -2
  13. package/dist/m365/spo/commands/page/Page.js +3 -1
  14. package/dist/m365/spo/commands/page/page-add.js +7 -10
  15. package/dist/m365/spo/commands/page/page-set.js +7 -10
  16. package/dist/m365/spo/commands/site/site-remove.js +98 -30
  17. package/dist/m365/spo/commands.js +2 -1
  18. package/dist/m365/teams/commands/report/report-directroutingcalls.js +1 -1
  19. package/docs/docs/cmd/aad/app/app-add.md +11 -0
  20. package/docs/docs/cmd/aad/o365group/o365group-add.md +1 -0
  21. package/docs/docs/cmd/file/file-list.md +46 -0
  22. package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
  23. package/docs/docs/cmd/spo/contenttype/contenttype-list.md +33 -0
  24. package/docs/docs/cmd/spo/list/list-get.md +9 -0
  25. package/docs/docs/cmd/spo/page/page-add.md +2 -2
  26. package/docs/docs/cmd/spo/page/page-set.md +3 -3
  27. package/docs/docs/cmd/spo/site/site-remove.md +3 -1
  28. package/docs/docs/cmd/teams/report/report-directroutingcalls.md +0 -3
  29. package/npm-shrinkwrap.json +73 -40
  30. package/package.json +4 -4
@@ -25,26 +25,65 @@ class SpoSiteRemoveCommand extends SpoCommand_1.default {
25
25
  commandAction(logger, args, cb) {
26
26
  const removeSite = () => {
27
27
  this.dots = '';
28
- this
29
- .getSiteGroupId(args.options.url, logger)
30
- .then((_groupId) => {
31
- if (_groupId === '00000000-0000-0000-0000-000000000000') {
32
- if (this.debug) {
33
- logger.logToStderr('Site is not groupified. Going ahead with the conventional site deletion options');
34
- }
35
- return this.deleteSiteWithoutGroup(logger, args);
36
- }
37
- else {
38
- if (this.debug) {
39
- logger.logToStderr(`Site attached to group ${_groupId}. Initiating group delete operation via Graph API`);
28
+ if (args.options.fromRecycleBin) {
29
+ this
30
+ .deleteSiteWithoutGroup(logger, args)
31
+ .then(_ => cb(), (err) => this.handleRejectedPromise(err, logger, cb));
32
+ }
33
+ else {
34
+ this
35
+ .getSiteGroupId(args.options.url, logger)
36
+ .then((groupId) => {
37
+ if (groupId === '00000000-0000-0000-0000-000000000000') {
38
+ if (this.debug) {
39
+ logger.logToStderr('Site is not groupified. Going ahead with the conventional site deletion options');
40
+ }
41
+ return this.deleteSiteWithoutGroup(logger, args);
40
42
  }
41
- if (args.options.fromRecycleBin || args.options.skipRecycleBin || args.options.wait) {
42
- logger.log(chalk.yellow(`Entered site is a groupified site. Hence, the parameters 'fromRecycleBin' or 'skipRecycleBin' or 'wait' will not be applicable.`));
43
+ else {
44
+ if (this.debug) {
45
+ logger.logToStderr(`Site attached to group ${groupId}. Initiating group delete operation via Graph API`);
46
+ }
47
+ return this
48
+ .getSiteGroup(groupId)
49
+ .then((group) => {
50
+ if (args.options.skipRecycleBin || args.options.wait) {
51
+ logger.logToStderr(chalk.yellow(`Entered site is a groupified site. Hence, the parameters 'skipRecycleBin' and 'wait' will not be applicable.`));
52
+ }
53
+ return this.deleteGroupifiedSite(group.id, logger);
54
+ })
55
+ .catch((err) => {
56
+ if (err.response.status === 404) {
57
+ if (this.verbose) {
58
+ logger.logToStderr(`Site group doesn't exist. Searching in the Microsoft 365 deleted groups.`);
59
+ }
60
+ return this
61
+ .isSiteGroupDeleted(groupId)
62
+ .then((deletedGroups) => {
63
+ if (deletedGroups.value.length === 0) {
64
+ if (this.verbose) {
65
+ logger.logToStderr("Site group doesn't exist anymore. Deleting the site.");
66
+ }
67
+ if (args.options.wait) {
68
+ logger.logToStderr(chalk.yellow(`Entered site is a groupified site. Hence, the parameter 'wait' will not be applicable.`));
69
+ }
70
+ return Promise.resolve();
71
+ }
72
+ else {
73
+ return Promise.reject(`Site group still exists in the deleted groups. The site won't be removed.`);
74
+ }
75
+ })
76
+ .then(_ => this.deleteOrphanedSite(logger, args.options.url))
77
+ .catch((err) => Promise.reject(err));
78
+ }
79
+ else {
80
+ return Promise.reject(err);
81
+ }
82
+ });
43
83
  }
44
- return this.deleteGroupifiedSite(_groupId, logger);
45
- }
46
- })
47
- .then(_ => cb(), (err) => this.handleRejectedPromise(err, logger, cb));
84
+ })
85
+ .then(_ => cb(), (err) => this.handleRejectedPromise(err, logger, cb));
86
+ }
48
87
  };
49
88
  if (args.options.confirm) {
50
89
  removeSite();
@@ -65,32 +104,64 @@ class SpoSiteRemoveCommand extends SpoCommand_1.default {
65
104
  });
66
105
  }
67
106
  }
107
+ getSiteGroup(groupId) {
108
+ const requestOptions = {
109
+ url: `https://graph.microsoft.com/v1.0/groups/${groupId}`,
110
+ headers: {
111
+ accept: 'application/json;odata.metadata=none'
112
+ },
113
+ responseType: 'json'
114
+ };
115
+ return request_1.default.get(requestOptions);
116
+ }
117
+ isSiteGroupDeleted(groupId) {
118
+ const requestOptions = {
119
+ url: `https://graph.microsoft.com/v1.0/directory/deletedItems/Microsoft.Graph.Group?$select=id&$filter=groupTypes/any(c:c+eq+'Unified') and startswith(id, '${groupId}')`,
120
+ headers: {
121
+ accept: 'application/json;odata.metadata=none'
122
+ },
123
+ responseType: 'json'
124
+ };
125
+ return request_1.default.get(requestOptions);
126
+ }
127
+ deleteOrphanedSite(logger, url) {
128
+ return this
129
+ .getSpoAdminUrl(logger, this.debug)
130
+ .then((spoAdminUrl) => {
131
+ const requestOptions = {
132
+ url: `${spoAdminUrl}/_api/GroupSiteManager/Delete?siteUrl='${url}'`,
133
+ headers: {
134
+ 'content-type': 'application/json;odata=nometadata',
135
+ accept: 'application/json;odata=nometadata'
136
+ },
137
+ responseType: 'json'
138
+ };
139
+ return request_1.default.post(requestOptions);
140
+ });
141
+ }
68
142
  deleteSiteWithoutGroup(logger, args) {
69
143
  return this
70
144
  .getSpoAdminUrl(logger, this.debug)
71
- .then((_spoAdminUrl) => {
72
- this.spoAdminUrl = _spoAdminUrl;
145
+ .then((spoAdminUrl) => {
146
+ this.spoAdminUrl = spoAdminUrl;
73
147
  return this.ensureFormDigest(this.spoAdminUrl, logger, this.context, this.debug);
74
148
  })
75
149
  .then((res) => {
76
150
  this.context = res;
77
151
  if (args.options.fromRecycleBin) {
78
152
  if (this.verbose) {
79
- logger.logToStderr(`Deleting site collection from recycle bin ${args.options.url}...`);
153
+ logger.logToStderr(`Deleting site from recycle bin ${args.options.url}...`);
80
154
  }
81
155
  return this.deleteSiteFromTheRecycleBin(args.options.url, args.options.wait, logger);
82
156
  }
83
157
  else {
84
- if (this.verbose) {
85
- logger.logToStderr(`Deleting site collection ${args.options.url}...`);
86
- }
87
158
  return this.deleteSite(args.options.url, args.options.wait, logger);
88
159
  }
89
160
  })
90
161
  .then(() => {
91
162
  if (args.options.skipRecycleBin) {
92
163
  if (this.verbose) {
93
- logger.logToStderr(`Also deleting site collection from recycle bin ${args.options.url}...`);
164
+ logger.logToStderr(`Also deleting site from tenant recycle bin ${args.options.url}...`);
94
165
  }
95
166
  return this.deleteSiteFromTheRecycleBin(args.options.url, args.options.wait, logger);
96
167
  }
@@ -106,7 +177,7 @@ class SpoSiteRemoveCommand extends SpoCommand_1.default {
106
177
  .then((res) => {
107
178
  this.context = res;
108
179
  if (this.verbose) {
109
- logger.logToStderr(`Deleting site ${url} ...`);
180
+ logger.logToStderr(`Deleting site ${url}...`);
110
181
  }
111
182
  const requestOptions = {
112
183
  url: `${this.spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
@@ -143,9 +214,6 @@ class SpoSiteRemoveCommand extends SpoCommand_1.default {
143
214
  .ensureFormDigest(this.spoAdminUrl, logger, this.context, this.debug)
144
215
  .then((res) => {
145
216
  this.context = res;
146
- if (this.verbose) {
147
- logger.logToStderr(`Deleting site ${url} from the recycle bin...`);
148
- }
149
217
  const requestOptions = {
150
218
  url: `${this.spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
151
219
  headers: {
@@ -185,7 +253,7 @@ class SpoSiteRemoveCommand extends SpoCommand_1.default {
185
253
  .then((res) => {
186
254
  this.context = res;
187
255
  if (this.verbose) {
188
- logger.logToStderr(`Retrieving the GroupId of the site ${url}`);
256
+ logger.logToStderr(`Retrieving the group Id of the site ${url}`);
189
257
  }
190
258
  const requestOptions = {
191
259
  url: `${this.spoAdminUrl}/_vti_bin/client.svc/ProcessQuery`,
@@ -22,9 +22,10 @@ exports.default = {
22
22
  CDN_POLICY_SET: `${prefix} cdn policy set`,
23
23
  CDN_SET: `${prefix} cdn set`,
24
24
  CONTENTTYPE_ADD: `${prefix} contenttype add`,
25
- CONTENTTYPE_GET: `${prefix} contenttype get`,
26
25
  CONTENTTYPE_FIELD_REMOVE: `${prefix} contenttype field remove`,
27
26
  CONTENTTYPE_FIELD_SET: `${prefix} contenttype field set`,
27
+ CONTENTTYPE_GET: `${prefix} contenttype get`,
28
+ CONTENTTYPE_LIST: `${prefix} contenttype list`,
28
29
  CONTENTTYPE_REMOVE: `${prefix} contenttype remove`,
29
30
  CONTENTTYPEHUB_GET: `${prefix} contenttypehub get`,
30
31
  CUSTOMACTION_ADD: `${prefix} customaction add`,
@@ -22,7 +22,7 @@ class TeamsReportDirectroutingcallsCommand extends GraphCommand_1.default {
22
22
  commandAction(logger, args, cb) {
23
23
  const toDateTimeParameter = encodeURIComponent(args.options.toDateTime ? args.options.toDateTime : new Date().toISOString());
24
24
  const requestOptions = {
25
- url: `${this.resource}/beta/communications/callRecords/getDirectRoutingCalls(fromDateTime=${encodeURIComponent(args.options.fromDateTime)},toDateTime=${toDateTimeParameter})`,
25
+ url: `${this.resource}/v1.0/communications/callRecords/getDirectRoutingCalls(fromDateTime=${encodeURIComponent(args.options.fromDateTime)},toDateTime=${toDateTimeParameter})`,
26
26
  headers: {
27
27
  accept: 'application/json;odata.metadata=none'
28
28
  },
@@ -52,6 +52,9 @@ m365 aad app add [options]
52
52
  `--manifest [manifest]`
53
53
  : Azure AD app manifest as retrieved from the Azure Portal to create the app registration from
54
54
 
55
+ `--save`
56
+ : Use to store the information about the created app in a local file
57
+
55
58
  --8<-- "docs/cmd/_global.md"
56
59
 
57
60
  ## Remarks
@@ -80,6 +83,8 @@ When using the `withSecret` option, this command will automatically generate a s
80
83
 
81
84
  After creating the Azure AD app registration, this command returns the app ID and object ID of the created app registration. If you used the `withSecret` option, it will also return the generated secret.
82
85
 
86
+ If you want to store the information about the created Azure AD app registration, use the `--save` option. This is useful when you build solutions connected to Microsoft 365 and want to easily manage app registrations used with your solution. When you use the `--save` option, after you create the app registration, the command will write its ID and name to the `.m365rc.json` file in the current directory. If the file already exists, it will add the information about the to it, allowing you to track multiple apps. If the file doesn't exist, the command will create it.
87
+
83
88
  ## Examples
84
89
 
85
90
  Create new Azure AD app registration with the specified name
@@ -141,3 +146,9 @@ Create new Azure AD app registration with Application ID URI set to a value that
141
146
  ```sh
142
147
  m365 aad app add --name 'My AAD app' --uri api://caf406b91cd4.ngrok.io/_appId_ --scopeName access_as_user --scopeAdminConsentDescription 'Access as a user' --scopeAdminConsentDisplayName 'Access as a user' --scopeConsentBy adminsAndUsers
143
148
  ```
149
+
150
+ Create new Azure AD app registration with the specified name. Store information about the created app registration in the _.m365rc.json_ file in the current directory.
151
+
152
+ ```sh
153
+ m365 aad app add --name 'My AAD app' --save
154
+ ```
@@ -36,6 +36,7 @@ m365 aad o365group add [options]
36
36
  ## Remarks
37
37
 
38
38
  When specifying the path to the logo image you can use both relative and absolute paths. Note, that ~ in the path, will not be resolved and will most likely result in an error.
39
+ If an invalid user is provided in the comma-separated list or Owners or Members, the command operation will fail and the Micrsoft 365 Group will not be created.
39
40
 
40
41
  ## Examples
41
42
 
@@ -0,0 +1,46 @@
1
+ # file list
2
+
3
+ Retrieves files from the specified folder and site
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 file list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : The URL of the site where the folder from which to retrieve files is located
15
+
16
+ `-f, --folderUrl <folderUrl>`
17
+ : The server- or site-relative URL of the folder from which to retrieve files
18
+
19
+ `--recursive`
20
+ : Set to retrieve files from subfolders
21
+
22
+ --8<-- "docs/cmd/_global.md"
23
+
24
+ ## Remarks
25
+
26
+ This command is an improved version of the `spo file list` command. The main difference between the two commands is, that `file list` uses Microsoft Graph and properly supports retrieving files from large folders. Because `file list` uses Microsoft Graph and `spo file list` uses SharePoint REST APIs, the data returned by both commands is different.
27
+
28
+ ## Examples
29
+
30
+ Return all files from folder _Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
31
+
32
+ ```sh
33
+ m365 file list --webUrl https://contoso.sharepoint.com/sites/project-x --folder 'Shared Documents'
34
+ ```
35
+
36
+ Return all files from the folder _Shared Documents_ and all the sub-folders of _Shared Documents_ located in site _https://contoso.sharepoint.com/sites/project-x_
37
+
38
+ ```sh
39
+ m365 file list --webUrl https://contoso.sharepoint.com/sites/project-x --folder 'Shared Documents' --recursive
40
+ ```
41
+
42
+ Return all files from the _Important_ folder in the _Shared Documents_ document library located in site _https://contoso.sharepoint.com/sites/project-x_
43
+
44
+ ```sh
45
+ m365 file list --webUrl https://contoso.sharepoint.com/sites/project-x --folder 'Shared Documents/Important'
46
+ ```
@@ -32,7 +32,7 @@ m365 spfx project upgrade [options]
32
32
 
33
33
  ## Remarks
34
34
 
35
- The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.13.0).
35
+ The `spfx project upgrade` command helps you upgrade your SharePoint Framework project to the specified version. If no version is specified, the command will upgrade to the latest version of the SharePoint Framework it supports (v1.13.1).
36
36
 
37
37
  This command doesn't change your project files. Instead, it gives you a report with all steps necessary to upgrade your project to the specified version of the SharePoint Framework. Changing project files is error-prone, especially when it comes to updating your solution's code. This is why at this moment, this command produces a report that you can use yourself to perform the necessary updates and verify that everything is working as expected.
38
38
 
@@ -0,0 +1,33 @@
1
+ # spo contenttype list
2
+
3
+ Lists content types from specified site
4
+
5
+ ## Usage
6
+
7
+ ```sh
8
+ m365 spo contenttype list [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ `-u, --webUrl <webUrl>`
14
+ : Absolute URL of the site for which to list content types
15
+
16
+ `-c, --category [category]`
17
+ : Category name of content types. When defined will return only content types from specified category
18
+
19
+ --8<-- "docs/cmd/_global.md"
20
+
21
+ ## Examples
22
+
23
+ Retrieve site content types
24
+
25
+ ```PowerShell
26
+ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"
27
+ ```
28
+
29
+ Retrieve site content types from the 'List Content Types' category
30
+
31
+ ```PowerShell
32
+ m365 spo contenttype list --webUrl "https://contoso.sharepoint.com/sites/contoso-sales" --category "List Content Types"
33
+ ```
@@ -22,6 +22,9 @@ m365 spo list get [options]
22
22
  `-p, --properties [properties]`
23
23
  : Comma-separated list of properties to retrieve from the list. Will retrieve all properties possible from default response, if not specified.
24
24
 
25
+ `--withPermissions`
26
+ : Set if you want to return associated roles and permissions of the list.
27
+
25
28
  --8<-- "docs/cmd/_global.md"
26
29
 
27
30
  ## Examples
@@ -44,6 +47,12 @@ Get information about a list returning the specified list properties
44
47
  m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --properties "Title,Id,HasUniqueRoleAssignments,AllowContentTypes"
45
48
  ```
46
49
 
50
+ Get information about a list along with the roles and permissions
51
+
52
+ ```sh
53
+ m365 spo list get --title Documents --webUrl https://contoso.sharepoint.com/sites/project-x --withPermissions
54
+ ```
55
+
47
56
  ## More information
48
57
 
49
58
  - List REST API resources: [https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint](https://msdn.microsoft.com/en-us/library/office/dn531433.aspx#bk_ListEndpoint)
@@ -20,10 +20,10 @@ m365 spo page add [options]
20
20
  : Title of the page to create. If not specified, will use the page name as its title
21
21
 
22
22
  `-l, --layoutType [layoutType]`
23
- : Layout of the page. Allowed values `Article,Home`. Default `Article`
23
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`. Default `Article`
24
24
 
25
25
  `-p, --promoteAs [promoteAs]`
26
- : Create the page for a specific purpose. Allowed values `HomePage,NewsPage`
26
+ : Create the page for a specific purpose. Allowed values `HomePage`, `NewsPage`
27
27
 
28
28
  `--commentsEnabled`
29
29
  : Set to enable comments on the page
@@ -17,13 +17,13 @@ m365 spo page set [options]
17
17
  : URL of the site where the page to update is located
18
18
 
19
19
  `-l, --layoutType [layoutType]`
20
- : Layout of the page. Allowed values `Article,Home`
20
+ : Layout of the page. Allowed values `Article`, `Home`, `SingleWebPartAppPage`, `RepostPage`,`HeaderlessSearchResults`, `Spaces`, `Topic`
21
21
 
22
22
  `-p, --promoteAs [promoteAs]`
23
- : Update the page purpose. Allowed values `HomePage,NewsPage`
23
+ : Update the page purpose. Allowed values `HomePage`, `NewsPage`
24
24
 
25
25
  `--commentsEnabled [commentsEnabled]`
26
- : Set to `true`, to enable comments on the page. Allowed values `true,false`
26
+ : Set to `true`, to enable comments on the page. Allowed values `true`, `false`
27
27
 
28
28
  `--publish`
29
29
  : Set to publish the page
@@ -34,7 +34,9 @@ m365 spo site remove [options]
34
34
 
35
35
  Deleting a site collection is by default asynchronous and depending on the current state of Microsoft 365, might take up to few minutes. If you're building a script with steps that require the site to be fully deleted, you should use the `--wait` flag. When using this flag, the `spo site remove` command will keep running until it received confirmation from Microsoft 365 that the site has been fully deleted.
36
36
 
37
- If the site which you have selected to remove is groupified (Modern Team Site), flags `--fromRecycleBin`, `--skipRecycleBin` and `--wait` will not be applicable
37
+ If the site which you have selected to remove is groupified (Modern Team Site) and group exists, flags `--skipRecycleBin` and `--wait` will not be applicable. If the linked group still exists in the deleted groups, the site won't be removed. If the linked group is permanently deleted, the site will be removed like any classic site (except that flag `--wait` only will still not be applicable).
38
+
39
+ If the argument `--fromRecycleBin` is passed, the selected site will be permanently removed even if it's a groupified one.
38
40
 
39
41
  ## Examples
40
42
 
@@ -24,9 +24,6 @@ This command only works with app-only permissions. You will need to create your
24
24
 
25
25
  The difference between `fromDateTime` and `toDateTime` cannot exceed a period of 90 days
26
26
 
27
- !!! attention
28
- This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
29
-
30
27
  ## Examples
31
28
 
32
29
  Get details about direct routing calls made between 2020-10-31 and today
@@ -14,7 +14,7 @@
14
14
  "adaptivecards": "^2.10.0",
15
15
  "adaptivecards-templating": "^2.2.0",
16
16
  "adm-zip": "^0.5.9",
17
- "applicationinsights": "^2.1.8",
17
+ "applicationinsights": "^2.1.9",
18
18
  "axios": "^0.24.0",
19
19
  "chalk": "^4.1.2",
20
20
  "easy-table": "^1.2.0",
@@ -112,9 +112,9 @@
112
112
  "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
113
113
  },
114
114
  "node_modules/@azure/core-http": {
115
- "version": "2.2.1",
116
- "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.1.tgz",
117
- "integrity": "sha512-7ATnV3OGzCO2K9kMrh3NKUM8b4v+xasmlUhkNZz6uMbm+8XH/AexLkhRGsoo0GyKNlEGvyGEfytqTk0nUY2I4A==",
115
+ "version": "2.2.2",
116
+ "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.2.tgz",
117
+ "integrity": "sha512-V1DdoO9V/sFimKpdWoNBgsE+QUjQgpXYnxrTdUp5RyhsTJjvEVn/HKmTQXIHuLUUo6IyIWj+B+Dg4VaXse9dIA==",
118
118
  "dependencies": {
119
119
  "@azure/abort-controller": "^1.0.0",
120
120
  "@azure/core-asynciterator-polyfill": "^1.0.0",
@@ -435,6 +435,14 @@
435
435
  "@opentelemetry/api": "^1.0.1"
436
436
  }
437
437
  },
438
+ "node_modules/@opentelemetry/core/node_modules/@opentelemetry/semantic-conventions": {
439
+ "version": "0.23.0",
440
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
441
+ "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ==",
442
+ "engines": {
443
+ "node": ">=8.0.0"
444
+ }
445
+ },
438
446
  "node_modules/@opentelemetry/resources": {
439
447
  "version": "0.23.0",
440
448
  "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-0.23.0.tgz",
@@ -450,7 +458,7 @@
450
458
  "@opentelemetry/api": "^1.0.1"
451
459
  }
452
460
  },
453
- "node_modules/@opentelemetry/semantic-conventions": {
461
+ "node_modules/@opentelemetry/resources/node_modules/@opentelemetry/semantic-conventions": {
454
462
  "version": "0.23.0",
455
463
  "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
456
464
  "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ==",
@@ -458,10 +466,19 @@
458
466
  "node": ">=8.0.0"
459
467
  }
460
468
  },
469
+ "node_modules/@opentelemetry/semantic-conventions": {
470
+ "version": "0.24.0",
471
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz",
472
+ "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==",
473
+ "engines": {
474
+ "node": ">=8.0.0"
475
+ }
476
+ },
461
477
  "node_modules/@opentelemetry/tracing": {
462
478
  "version": "0.23.0",
463
479
  "resolved": "https://registry.npmjs.org/@opentelemetry/tracing/-/tracing-0.23.0.tgz",
464
480
  "integrity": "sha512-3vNLS55bE0CG1RBDz7+wAAKpLjbl8fhQKqM4MvTy/LYHSolgyM5BNutSb/TcA9LtWvkdI0djgFXxeRig1OFqoQ==",
481
+ "deprecated": "Package renamed to @opentelemetry/sdk-trace-base",
465
482
  "dependencies": {
466
483
  "@opentelemetry/core": "0.23.0",
467
484
  "@opentelemetry/resources": "0.23.0",
@@ -475,6 +492,14 @@
475
492
  "@opentelemetry/api": "^1.0.1"
476
493
  }
477
494
  },
495
+ "node_modules/@opentelemetry/tracing/node_modules/@opentelemetry/semantic-conventions": {
496
+ "version": "0.23.0",
497
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
498
+ "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ==",
499
+ "engines": {
500
+ "node": ">=8.0.0"
501
+ }
502
+ },
478
503
  "node_modules/@sindresorhus/is": {
479
504
  "version": "0.14.0",
480
505
  "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
@@ -1123,11 +1148,12 @@
1123
1148
  }
1124
1149
  },
1125
1150
  "node_modules/applicationinsights": {
1126
- "version": "2.1.8",
1127
- "resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-2.1.8.tgz",
1128
- "integrity": "sha512-ehdYEKMkpm/1CPFX5UwvEUmI45U4v8EnPnvRIGC5hqkGDt7ARMfivwneK+ArbSabotUYWOYdvogmB8CrdJye/g==",
1151
+ "version": "2.1.9",
1152
+ "resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-2.1.9.tgz",
1153
+ "integrity": "sha512-N42sWh16y3Itq/4ZBdHnNqdv08tk/XqBum0FeuWWmPCyoiSiv4eyDYcFtDvJXToj/SQlb8BdQ4mwIxkau+lrpA==",
1129
1154
  "dependencies": {
1130
- "@azure/core-http": "^2.2.0",
1155
+ "@azure/core-http": "^2.2.2",
1156
+ "@azure/logger": "^1.0.1",
1131
1157
  "@opentelemetry/api": "^1.0.3",
1132
1158
  "@opentelemetry/core": "^0.23.0",
1133
1159
  "@opentelemetry/semantic-conventions": "^0.24.0",
@@ -1149,14 +1175,6 @@
1149
1175
  }
1150
1176
  }
1151
1177
  },
1152
- "node_modules/applicationinsights/node_modules/@opentelemetry/semantic-conventions": {
1153
- "version": "0.24.0",
1154
- "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz",
1155
- "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA==",
1156
- "engines": {
1157
- "node": ">=8.0.0"
1158
- }
1159
- },
1160
1178
  "node_modules/argparse": {
1161
1179
  "version": "1.0.10",
1162
1180
  "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
@@ -4383,9 +4401,9 @@
4383
4401
  }
4384
4402
  },
4385
4403
  "node_modules/node-fetch": {
4386
- "version": "2.6.5",
4387
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz",
4388
- "integrity": "sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==",
4404
+ "version": "2.6.6",
4405
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz",
4406
+ "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==",
4389
4407
  "dependencies": {
4390
4408
  "whatwg-url": "^5.0.0"
4391
4409
  },
@@ -6277,9 +6295,9 @@
6277
6295
  }
6278
6296
  },
6279
6297
  "@azure/core-http": {
6280
- "version": "2.2.1",
6281
- "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.1.tgz",
6282
- "integrity": "sha512-7ATnV3OGzCO2K9kMrh3NKUM8b4v+xasmlUhkNZz6uMbm+8XH/AexLkhRGsoo0GyKNlEGvyGEfytqTk0nUY2I4A==",
6298
+ "version": "2.2.2",
6299
+ "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-2.2.2.tgz",
6300
+ "integrity": "sha512-V1DdoO9V/sFimKpdWoNBgsE+QUjQgpXYnxrTdUp5RyhsTJjvEVn/HKmTQXIHuLUUo6IyIWj+B+Dg4VaXse9dIA==",
6283
6301
  "requires": {
6284
6302
  "@azure/abort-controller": "^1.0.0",
6285
6303
  "@azure/core-asynciterator-polyfill": "^1.0.0",
@@ -6548,6 +6566,13 @@
6548
6566
  "requires": {
6549
6567
  "@opentelemetry/semantic-conventions": "0.23.0",
6550
6568
  "semver": "^7.1.3"
6569
+ },
6570
+ "dependencies": {
6571
+ "@opentelemetry/semantic-conventions": {
6572
+ "version": "0.23.0",
6573
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
6574
+ "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ=="
6575
+ }
6551
6576
  }
6552
6577
  },
6553
6578
  "@opentelemetry/resources": {
@@ -6557,12 +6582,19 @@
6557
6582
  "requires": {
6558
6583
  "@opentelemetry/core": "0.23.0",
6559
6584
  "@opentelemetry/semantic-conventions": "0.23.0"
6585
+ },
6586
+ "dependencies": {
6587
+ "@opentelemetry/semantic-conventions": {
6588
+ "version": "0.23.0",
6589
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
6590
+ "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ=="
6591
+ }
6560
6592
  }
6561
6593
  },
6562
6594
  "@opentelemetry/semantic-conventions": {
6563
- "version": "0.23.0",
6564
- "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
6565
- "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ=="
6595
+ "version": "0.24.0",
6596
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz",
6597
+ "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA=="
6566
6598
  },
6567
6599
  "@opentelemetry/tracing": {
6568
6600
  "version": "0.23.0",
@@ -6573,6 +6605,13 @@
6573
6605
  "@opentelemetry/resources": "0.23.0",
6574
6606
  "@opentelemetry/semantic-conventions": "0.23.0",
6575
6607
  "lodash.merge": "^4.6.2"
6608
+ },
6609
+ "dependencies": {
6610
+ "@opentelemetry/semantic-conventions": {
6611
+ "version": "0.23.0",
6612
+ "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.23.0.tgz",
6613
+ "integrity": "sha512-Tzo+VGR1zlzLbjVI+7mlDJ2xuaUsue4scWvFlK+fzcUfn9siF4NWbxoC2X6Br2B/g4dsq1OAwAYsPVYIEoY2rQ=="
6614
+ }
6576
6615
  }
6577
6616
  },
6578
6617
  "@sindresorhus/is": {
@@ -7094,11 +7133,12 @@
7094
7133
  }
7095
7134
  },
7096
7135
  "applicationinsights": {
7097
- "version": "2.1.8",
7098
- "resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-2.1.8.tgz",
7099
- "integrity": "sha512-ehdYEKMkpm/1CPFX5UwvEUmI45U4v8EnPnvRIGC5hqkGDt7ARMfivwneK+ArbSabotUYWOYdvogmB8CrdJye/g==",
7136
+ "version": "2.1.9",
7137
+ "resolved": "https://registry.npmjs.org/applicationinsights/-/applicationinsights-2.1.9.tgz",
7138
+ "integrity": "sha512-N42sWh16y3Itq/4ZBdHnNqdv08tk/XqBum0FeuWWmPCyoiSiv4eyDYcFtDvJXToj/SQlb8BdQ4mwIxkau+lrpA==",
7100
7139
  "requires": {
7101
- "@azure/core-http": "^2.2.0",
7140
+ "@azure/core-http": "^2.2.2",
7141
+ "@azure/logger": "^1.0.1",
7102
7142
  "@opentelemetry/api": "^1.0.3",
7103
7143
  "@opentelemetry/core": "^0.23.0",
7104
7144
  "@opentelemetry/semantic-conventions": "^0.24.0",
@@ -7107,13 +7147,6 @@
7107
7147
  "continuation-local-storage": "^3.2.1",
7108
7148
  "diagnostic-channel": "1.0.0",
7109
7149
  "diagnostic-channel-publishers": "1.0.3"
7110
- },
7111
- "dependencies": {
7112
- "@opentelemetry/semantic-conventions": {
7113
- "version": "0.24.0",
7114
- "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-0.24.0.tgz",
7115
- "integrity": "sha512-a/szuMQV0Quy0/M7kKdglcbRSoorleyyOwbTNNJ32O+RBN766wbQlMTvdimImTmwYWGr+NJOni1EcC242WlRcA=="
7116
- }
7117
7150
  }
7118
7151
  },
7119
7152
  "argparse": {
@@ -9589,9 +9622,9 @@
9589
9622
  }
9590
9623
  },
9591
9624
  "node-fetch": {
9592
- "version": "2.6.5",
9593
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.5.tgz",
9594
- "integrity": "sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ==",
9625
+ "version": "2.6.6",
9626
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.6.tgz",
9627
+ "integrity": "sha512-Z8/6vRlTUChSdIgMa51jxQ4lrw/Jy5SOW10ObaA47/RElsAN2c5Pn8bTgFGWn/ibwzXTE8qwr1Yzx28vsecXEA==",
9595
9628
  "requires": {
9596
9629
  "whatwg-url": "^5.0.0"
9597
9630
  },