@pnp/cli-microsoft365 12.0.0-beta.d654135 → 12.0.0-beta.f682e10
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/.devproxy/generate-openapi-spec.json +1 -1
- package/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/googleAnalytics.js +96 -0
- package/dist/m365/spo/commands/file/file-get.js +4 -3
- package/dist/m365/spo/commands/folder/folder-unarchive.js +90 -0
- package/dist/m365/spo/commands/listitem/listitem-get.js +1 -12
- package/dist/m365/spo/commands.js +2 -1
- package/dist/m365/teams/commands/channel/channel-add.js +46 -57
- package/dist/m365/teams/commands/channel/channel-get.js +41 -48
- package/dist/m365/teams/commands/channel/channel-list.js +28 -42
- package/dist/m365/teams/commands/channel/channel-member-add.js +53 -54
- package/dist/m365/teams/commands/channel/channel-member-list.js +47 -55
- package/dist/m365/teams/commands/channel/channel-member-remove.js +62 -62
- package/dist/m365/teams/commands/channel/channel-member-set.js +61 -65
- package/dist/m365/teams/commands/channel/channel-remove.js +47 -49
- package/dist/m365/teams/commands/channel/channel-set.js +47 -54
- package/dist/m365/util/commands/accesstoken/accesstoken-get.js +10 -28
- package/dist/telemetry.js +7 -11
- package/dist/utils/spo.js +1 -3
- package/dist/utils/urlUtil.js +2 -2
- package/docs/docs/cmd/spo/file/file-archive.mdx +1 -1
- package/docs/docs/cmd/spo/file/file-sharinglink-add.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-clear.mdx +23 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-get.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-list.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-remove.mdx +23 -0
- package/docs/docs/cmd/spo/file/file-sharinglink-set.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-unarchive.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +1 -1
- package/docs/docs/cmd/spo/folder/folder-sharinglink-add.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-clear.mdx +23 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-get.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-list.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-remove.mdx +23 -0
- package/docs/docs/cmd/spo/folder/folder-sharinglink-set.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-unarchive.mdx +76 -0
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +0 -6
- package/npm-shrinkwrap.json +324 -3116
- package/package.json +15 -30
- package/dist/appInsights.js +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "12.0.0-beta.
|
|
3
|
+
"version": "12.0.0-beta.f682e10",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -285,55 +285,40 @@
|
|
|
285
285
|
},
|
|
286
286
|
"axios": {
|
|
287
287
|
"follow-redirects": "1.16.0"
|
|
288
|
-
},
|
|
289
|
-
"@grpc/proto-loader": {
|
|
290
|
-
"protobufjs": "7.6.0"
|
|
291
|
-
},
|
|
292
|
-
"@opentelemetry/otlp-transformer": {
|
|
293
|
-
"protobufjs": "7.6.0"
|
|
294
|
-
},
|
|
295
|
-
"@azure/monitor-opentelemetry": {
|
|
296
|
-
"@opentelemetry/sdk-node": "0.218.0",
|
|
297
|
-
"@opentelemetry/exporter-prometheus": "0.218.0"
|
|
298
|
-
},
|
|
299
|
-
"protobufjs": "7.6.0",
|
|
300
|
-
"applicationinsights": {
|
|
301
|
-
"uuid": "11.1.1"
|
|
302
288
|
}
|
|
303
289
|
},
|
|
304
290
|
"dependencies": {
|
|
305
|
-
"@azure/msal-common": "^16.
|
|
291
|
+
"@azure/msal-common": "^16.14.2",
|
|
306
292
|
"@azure/msal-node": "^5.6.0",
|
|
307
|
-
"@inquirer/confirm": "^6.2
|
|
308
|
-
"@inquirer/input": "^5.1.
|
|
309
|
-
"@inquirer/select": "^5.2.
|
|
293
|
+
"@inquirer/confirm": "^6.3.2",
|
|
294
|
+
"@inquirer/input": "^5.1.6",
|
|
295
|
+
"@inquirer/select": "^5.2.5",
|
|
310
296
|
"@xmldom/xmldom": "^0.9.12",
|
|
311
297
|
"adaptive-expressions": "^4.23.3",
|
|
312
298
|
"adaptivecards": "^3.0.6",
|
|
313
299
|
"adaptivecards-templating": "^2.3.1",
|
|
314
|
-
"adm-zip": "^0.6.
|
|
315
|
-
"applicationinsights": "^3.16.0",
|
|
300
|
+
"adm-zip": "^0.6.1",
|
|
316
301
|
"axios": "^1.20.0",
|
|
317
|
-
"chalk": "^6.0.
|
|
302
|
+
"chalk": "^6.0.1",
|
|
318
303
|
"clipboardy": "^5.3.2",
|
|
319
304
|
"configstore": "^8.0.0",
|
|
320
305
|
"csv-parse": "^6.2.1",
|
|
321
|
-
"csv-stringify": "^6.
|
|
306
|
+
"csv-stringify": "^6.9.0",
|
|
322
307
|
"easy-table": "^1.2.0",
|
|
323
308
|
"jmespath": "^0.16.0",
|
|
324
309
|
"json-to-ast": "^2.1.0",
|
|
325
310
|
"node-forge": "^1.4.0",
|
|
326
311
|
"omelette": "^0.4.17",
|
|
327
|
-
"open": "^11.0.
|
|
312
|
+
"open": "^11.0.4",
|
|
328
313
|
"proper-lockfile": "^4.1.2",
|
|
329
314
|
"semver": "^7.8.5",
|
|
330
315
|
"strip-json-comments": "^5.0.3",
|
|
331
316
|
"typescript": "^5.9.3",
|
|
332
317
|
"update-notifier": "^7.3.1",
|
|
333
318
|
"uuid": "^14.0.2",
|
|
334
|
-
"yaml": "^2.9.
|
|
319
|
+
"yaml": "^2.9.1",
|
|
335
320
|
"yargs-parser": "^22.0.0",
|
|
336
|
-
"zod": "^4.
|
|
321
|
+
"zod": "^4.6.5"
|
|
337
322
|
},
|
|
338
323
|
"devDependencies": {
|
|
339
324
|
"@actions/core": "^3.0.1",
|
|
@@ -345,7 +330,7 @@
|
|
|
345
330
|
"@types/json-schema": "^7.0.15",
|
|
346
331
|
"@types/json-to-ast": "^2.1.4",
|
|
347
332
|
"@types/mocha": "^10.0.10",
|
|
348
|
-
"@types/node": "^24.
|
|
333
|
+
"@types/node": "^24.19.1",
|
|
349
334
|
"@types/node-forge": "^1.3.14",
|
|
350
335
|
"@types/omelette": "^0.4.5",
|
|
351
336
|
"@types/proper-lockfile": "^4.1.4",
|
|
@@ -354,12 +339,12 @@
|
|
|
354
339
|
"@types/update-notifier": "^6.0.8",
|
|
355
340
|
"@types/uuid": "^10.0.0",
|
|
356
341
|
"@types/yargs-parser": "^21.0.3",
|
|
357
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
342
|
+
"@typescript-eslint/eslint-plugin": "^8.71.0",
|
|
358
343
|
"@typescript-eslint/parser": "^8.58.0",
|
|
359
344
|
"c8": "^12.0.0",
|
|
360
|
-
"eslint": "^10.
|
|
345
|
+
"eslint": "^10.12.0",
|
|
361
346
|
"eslint-plugin-mocha": "^11.3.0",
|
|
362
|
-
"globals": "^17.
|
|
347
|
+
"globals": "^17.13.0",
|
|
363
348
|
"mocha": "^11.8.0",
|
|
364
349
|
"rimraf": "^6.1.3",
|
|
365
350
|
"sinon": "^22.1.0",
|
package/dist/appInsights.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// disable automatic third-party instrumentation for Application Insights
|
|
2
|
-
// speeds up execution by preventing loading unnecessary dependencies
|
|
3
|
-
process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = 'none';
|
|
4
|
-
// prevents tests from hanging
|
|
5
|
-
process.env.APPLICATION_INSIGHTS_NO_STATSBEAT = 'true';
|
|
6
|
-
// suppress all logging
|
|
7
|
-
process.env.APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL = 'NONE';
|
|
8
|
-
import appInsights from 'applicationinsights';
|
|
9
|
-
import crypto from 'crypto';
|
|
10
|
-
import fs from 'fs';
|
|
11
|
-
import os from 'os';
|
|
12
|
-
import path from 'path';
|
|
13
|
-
import url from 'url';
|
|
14
|
-
import { app } from './utils/app.js';
|
|
15
|
-
const __dirname = url.fileURLToPath(new URL('.', import.meta.url));
|
|
16
|
-
appInsights
|
|
17
|
-
.setup('InstrumentationKey=6b908c80-d09f-4cf6-8274-e54349a0149a;IngestionEndpoint=https://westeurope-3.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=d42020c6-da32-44f7-bbb7-666f0b3a664d')
|
|
18
|
-
.setAutoCollectRequests(false)
|
|
19
|
-
.setAutoCollectPerformance(false, false)
|
|
20
|
-
.setAutoCollectExceptions(false)
|
|
21
|
-
.setAutoCollectDependencies(false)
|
|
22
|
-
.setAutoCollectConsole(false, false)
|
|
23
|
-
.setAutoCollectPreAggregatedMetrics(false)
|
|
24
|
-
.setSendLiveMetrics(false)
|
|
25
|
-
.enableWebInstrumentation(false)
|
|
26
|
-
.setInternalLogging(false, false);
|
|
27
|
-
// append -dev to the version number when ran locally
|
|
28
|
-
// to distinguish production and dev version of the CLI
|
|
29
|
-
// in the telemetry
|
|
30
|
-
const version = `${app.packageJson().version}${fs.existsSync(path.join(__dirname, `..${path.sep}src`)) ? '-dev' : ''}`;
|
|
31
|
-
const env = process.env.CLIMICROSOFT365_ENV !== undefined ? process.env.CLIMICROSOFT365_ENV : '';
|
|
32
|
-
const appInsightsClient = appInsights.defaultClient;
|
|
33
|
-
appInsightsClient.commonProperties = {
|
|
34
|
-
version: version,
|
|
35
|
-
node: process.version,
|
|
36
|
-
env: env,
|
|
37
|
-
ci: Boolean(process.env.CI).toString()
|
|
38
|
-
};
|
|
39
|
-
appInsightsClient.context.tags[appInsightsClient.context.keys.cloudRoleInstance] = crypto.createHash('sha256').update(os.hostname()).digest('hex');
|
|
40
|
-
delete appInsightsClient.context.tags[appInsightsClient.context.keys.cloudRole];
|
|
41
|
-
delete appInsightsClient.context.tags['ai.cloud.roleName'];
|
|
42
|
-
export default appInsightsClient;
|
|
43
|
-
//# sourceMappingURL=appInsights.js.map
|