@pnp/cli-microsoft365 11.12.0-beta.8589b73 → 12.0.0-beta.8dff3ac
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/allCommands.json +1 -1
- package/allCommandsFull.json +1 -1
- package/dist/Auth.js +2 -6
- package/dist/auth/FileTokenStorage.js +0 -3
- package/dist/auth/msalCachePlugin.js +201 -12
- package/dist/m365/commands/logout.js +2 -4
- package/dist/m365/entra/commands/m365group/m365group-remove.js +4 -3
- package/dist/m365/spe/commands/container/container-remove.js +6 -7
- package/dist/m365/spfx/commands/project/DeployWorkflow.js +7 -15
- package/dist/m365/spfx/commands/project/project-azuredevops-pipeline-add.js +30 -2
- package/dist/m365/spfx/commands/project/project-github-workflow-add.js +12 -2
- package/dist/m365/spo/commands/cdn/cdn-get.js +8 -35
- package/dist/m365/spo/commands/cdn/cdn-origin-add.js +9 -36
- package/dist/m365/spo/commands/cdn/cdn-origin-list.js +8 -34
- package/dist/m365/spo/commands/cdn/cdn-origin-remove.js +10 -39
- package/dist/m365/spo/commands/cdn/cdn-policy-list.js +8 -34
- package/dist/m365/spo/commands/cdn/cdn-policy-set.js +10 -45
- package/dist/m365/spo/commands/cdn/cdn-set.js +10 -46
- package/dist/m365/spo/commands/contenttype/contenttype-sync.js +12 -24
- package/dist/m365/spo/commands/file/file-add.js +2 -6
- package/dist/m365/spo/commands/file/file-archive.js +1 -1
- package/dist/m365/spo/commands/file/file-remove.js +5 -5
- package/dist/m365/spo/commands/file/file-unarchive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-archive.js +1 -1
- package/dist/m365/spo/commands/folder/folder-remove.js +5 -5
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-get.js +5 -0
- package/dist/m365/spo/commands/hidedefaultthemes/hidedefaultthemes-set.js +8 -26
- package/dist/m365/spo/commands/homesite/homesite-list.js +5 -0
- package/dist/m365/spo/commands/list/list-remove.js +4 -4
- package/dist/m365/spo/commands/listitem/listitem-batch-remove.js +5 -4
- package/dist/m365/spo/commands/listitem/listitem-get.js +15 -7
- package/dist/m365/spo/commands/listitem/listitem-remove.js +8 -5
- package/dist/m365/spo/commands/page/page-header-set.js +123 -64
- package/dist/m365/spo/commands/page/page-remove.js +7 -7
- package/dist/m365/spo/commands/site/site-list.js +60 -49
- package/dist/m365/spo/commands/site/site-remove.js +7 -7
- package/dist/m365/spo/commands/spo-get.js +5 -0
- package/dist/m365/spo/commands/spo-set.js +10 -21
- package/dist/m365/spo/commands/storageentity/storageentity-get.js +23 -17
- package/dist/m365/spo/commands/storageentity/storageentity-list.js +39 -36
- package/dist/m365/spo/commands/storageentity/storageentity-remove.js +26 -33
- package/dist/m365/spo/commands/storageentity/storageentity-set.js +26 -36
- package/dist/m365/spo/commands/tenant/tenant-appcatalog-add.js +1 -1
- package/dist/m365/spo/commands/user/user-ensure.js +24 -60
- package/dist/m365/spo/commands/user/user-get.js +25 -65
- package/dist/m365/spo/commands/user/user-list.js +10 -18
- package/dist/m365/spo/commands/user/user-remove.js +26 -68
- package/dist/m365/spo/commands/userprofile/userprofile-get.js +10 -23
- package/dist/m365/spo/commands/userprofile/userprofile-set.js +10 -19
- package/dist/m365/spo/commands/web/web-add.js +20 -55
- package/dist/m365/spo/commands/web/web-clientsidewebpart-list.js +10 -18
- package/dist/m365/spo/commands/web/web-get.js +12 -30
- package/dist/m365/spo/commands/web/web-installedlanguage-list.js +10 -18
- package/dist/m365/spo/commands/web/web-list.js +10 -18
- package/dist/m365/spo/commands/web/web-reindex.js +10 -18
- package/dist/m365/spo/commands/web/web-remove.js +11 -27
- package/dist/m365/spo/commands/web/web-retentionlabel-list.js +10 -18
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +40 -64
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +31 -58
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +12 -36
- package/dist/m365/spo/commands/web/web-roleinheritance-reset.js +11 -29
- package/dist/m365/spo/commands/web/web-rule-list.js +6 -4
- package/dist/m365/spo/commands/web/web-rule-remove.js +0 -3
- package/dist/m365/spo/commands/web/web-set.js +26 -96
- package/dist/m365/spo/commands.js +0 -2
- package/dist/m365/teams/commands/channel/channel-list.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-add.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-list.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-remove.js +2 -6
- package/dist/m365/teams/commands/channel/channel-member-set.js +2 -6
- package/dist/m365/teams/commands/channel/channel-remove.js +2 -8
- package/dist/m365/teams/commands/channel/channel-set.js +2 -8
- package/dist/m365/teams/commands/tab/tab-get.js +2 -6
- package/dist/m365/teams/commands/team/team-archive.js +2 -6
- package/dist/m365/teams/commands/team/team-remove.js +2 -6
- package/dist/m365/teams/commands/team/team-unarchive.js +2 -6
- package/docs/docs/cmd/entra/m365group/m365group-remove.mdx +4 -4
- package/docs/docs/cmd/spe/container/container-remove.mdx +5 -5
- package/docs/docs/cmd/spo/contenttype/contenttype-sync.mdx +4 -4
- package/docs/docs/cmd/spo/file/file-add.mdx +2 -2
- package/docs/docs/cmd/spo/file/file-archive.mdx +8 -0
- package/docs/docs/cmd/spo/file/file-checkin.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-checkout.mdx +21 -0
- package/docs/docs/cmd/spo/file/file-copy.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-get.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-list.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-move.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-remove.mdx +25 -4
- package/docs/docs/cmd/spo/file/file-rename.mdx +19 -0
- package/docs/docs/cmd/spo/file/file-unarchive.mdx +8 -0
- package/docs/docs/cmd/spo/folder/folder-archive.mdx +6 -0
- package/docs/docs/cmd/spo/folder/folder-remove.mdx +4 -4
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-contenttype-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-contenttype-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-clear.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-defaultvalue-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-remove.mdx +25 -4
- package/docs/docs/cmd/spo/list/list-retentionlabel-ensure.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-retentionlabel-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-retentionlabel-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-add.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleassignment-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-sensitivitylabel-ensure.mdx +23 -0
- package/docs/docs/cmd/spo/list/list-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-sitescript-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-field-add.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-field-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-field-set.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-view-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-view-set.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-add.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-get.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-list.mdx +19 -0
- package/docs/docs/cmd/spo/list/list-webhook-remove.mdx +21 -0
- package/docs/docs/cmd/spo/list/list-webhook-set.mdx +21 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-add.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-get.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-remove.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-attachment-set.mdx +19 -0
- package/docs/docs/cmd/spo/listitem/listitem-batch-remove.mdx +8 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.mdx +13 -7
- package/docs/docs/cmd/spo/listitem/listitem-remove.mdx +8 -2
- package/docs/docs/cmd/spo/page/page-header-set.mdx +9 -9
- package/docs/docs/cmd/spo/page/page-remove.mdx +4 -4
- package/docs/docs/cmd/spo/site/site-apppermission-add.mdx +52 -21
- package/docs/docs/cmd/spo/site/site-list.mdx +22 -1
- package/docs/docs/cmd/spo/site/site-remove.mdx +3 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-get.mdx +11 -2
- package/docs/docs/cmd/spo/storageentity/storageentity-list.mdx +9 -3
- package/docs/docs/cmd/spo/storageentity/storageentity-remove.mdx +6 -6
- package/docs/docs/cmd/spo/storageentity/storageentity-set.mdx +10 -4
- package/docs/docs/cmd/spo/web/web-rule-list.mdx +8 -12
- package/docs/docs/cmd/spo/web/web-rule-remove.mdx +0 -6
- package/docs/docs/cmd/teams/app/app-install.mdx +21 -0
- package/docs/docs/cmd/teams/app/app-list.mdx +19 -0
- package/docs/docs/cmd/teams/app/app-publish.mdx +17 -0
- package/docs/docs/cmd/teams/app/app-remove.mdx +19 -0
- package/docs/docs/cmd/teams/app/app-uninstall.mdx +21 -0
- package/docs/docs/cmd/teams/app/app-update.mdx +19 -0
- package/docs/docs/cmd/tenant/id/id-get.mdx +15 -0
- package/docs/docs/cmd/tenant/info/info-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-pronouns-get.mdx +19 -0
- package/docs/docs/cmd/tenant/people/people-pronouns-set.mdx +19 -0
- package/docs/docs/cmd/tenant/report/report-settings-get.mdx +19 -0
- package/docs/docs/cmd/tenant/report/report-settings-set.mdx +21 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.mdx +19 -0
- package/npm-shrinkwrap.json +1541 -1163
- package/package.json +22 -17
package/dist/Auth.js
CHANGED
|
@@ -262,7 +262,7 @@ export class Auth {
|
|
|
262
262
|
return {
|
|
263
263
|
auth: authConfig,
|
|
264
264
|
cache: {
|
|
265
|
-
cachePlugin: msalCachePlugin
|
|
265
|
+
cachePlugin: await msalCachePlugin.getCachePlugin()
|
|
266
266
|
},
|
|
267
267
|
system: {
|
|
268
268
|
loggerOptions: {
|
|
@@ -735,8 +735,7 @@ export class Auth {
|
|
|
735
735
|
await allConnectionsStorage.remove();
|
|
736
736
|
// we need to manually clear MSAL cache, because MSAL doesn't have support
|
|
737
737
|
// for logging out when using cert-based auth
|
|
738
|
-
|
|
739
|
-
await msalCache.remove();
|
|
738
|
+
await msalCachePlugin.clearMsalCache();
|
|
740
739
|
}
|
|
741
740
|
async removeConnectionInfo(connection, logger, debug) {
|
|
742
741
|
const allConnections = await this.getAllConnections();
|
|
@@ -769,9 +768,6 @@ export class Auth {
|
|
|
769
768
|
getConnectionStorage() {
|
|
770
769
|
return new FileTokenStorage(FileTokenStorage.connectionInfoFilePath());
|
|
771
770
|
}
|
|
772
|
-
getMsalCacheStorage() {
|
|
773
|
-
return new FileTokenStorage(FileTokenStorage.msalCacheFilePath());
|
|
774
|
-
}
|
|
775
771
|
getAllConnectionsStorage() {
|
|
776
772
|
return new FileTokenStorage(FileTokenStorage.allConnectionsFilePath());
|
|
777
773
|
}
|
|
@@ -2,9 +2,6 @@ import fs from 'fs';
|
|
|
2
2
|
import os from 'os';
|
|
3
3
|
import path from 'path';
|
|
4
4
|
export class FileTokenStorage {
|
|
5
|
-
static msalCacheFilePath() {
|
|
6
|
-
return path.join(os.homedir(), '.cli-m365-msal.json');
|
|
7
|
-
}
|
|
8
5
|
static connectionInfoFilePath() {
|
|
9
6
|
return path.join(os.homedir(), '.cli-m365-connection.json');
|
|
10
7
|
}
|
|
@@ -1,29 +1,218 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import os from 'os';
|
|
3
|
+
import path from 'path';
|
|
4
|
+
import { lock } from 'proper-lockfile';
|
|
5
|
+
const legacyCachePath = path.join(os.homedir(), '.cli-m365-msal.json');
|
|
6
|
+
const fallbackCachePath = path.join(os.homedir(), '.cli-m365-msal-cache.json');
|
|
7
|
+
const lockRetryCount = 500;
|
|
8
|
+
const lockRetryDelay = 100;
|
|
9
|
+
const staleLockThreshold = 10000;
|
|
10
|
+
const persistenceConfiguration = {
|
|
11
|
+
cachePath: fallbackCachePath,
|
|
12
|
+
serviceName: 'cli-microsoft365',
|
|
13
|
+
accountName: 'msal-cache',
|
|
14
|
+
usePlaintextFileOnLinux: true
|
|
15
|
+
};
|
|
16
|
+
export const fileLock = { lock };
|
|
17
|
+
let _initPromise;
|
|
18
|
+
// Fallback ICachePlugin that stores tokens as plain JSON on disk.
|
|
19
|
+
// @azure/msal-node-extensions ships a usePlaintextFileOnLinux option
|
|
20
|
+
// for Linux systems without libsecret, but the package's barrel export
|
|
21
|
+
// eagerly loads LibSecretPersistence which does `import keytar` at the
|
|
22
|
+
// top level. When libsecret is missing, the entire dynamic import of
|
|
23
|
+
// the package fails before any fallback logic can run. This class
|
|
24
|
+
// provides equivalent file-based persistence without depending on the
|
|
25
|
+
// package at all.
|
|
26
|
+
// See: https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/7170
|
|
27
|
+
class FileCachePlugin {
|
|
28
|
+
constructor(cachePath) {
|
|
29
|
+
this.cachePath = cachePath;
|
|
5
30
|
}
|
|
6
31
|
async beforeCacheAccess(tokenCacheContext) {
|
|
32
|
+
await this.acquireLock();
|
|
7
33
|
try {
|
|
8
|
-
|
|
9
|
-
|
|
34
|
+
if (fs.existsSync(this.cachePath)) {
|
|
35
|
+
const data = fs.readFileSync(this.cachePath, 'utf8');
|
|
36
|
+
tokenCacheContext.tokenCache.deserialize(data);
|
|
37
|
+
}
|
|
10
38
|
}
|
|
11
39
|
catch {
|
|
12
40
|
// Do nothing
|
|
13
41
|
}
|
|
14
42
|
}
|
|
15
43
|
async afterCacheAccess(tokenCacheContext) {
|
|
16
|
-
if (!tokenCacheContext.cacheHasChanged) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
44
|
try {
|
|
20
|
-
|
|
45
|
+
if (tokenCacheContext.cacheHasChanged) {
|
|
46
|
+
if (fs.existsSync(this.cachePath)) {
|
|
47
|
+
fs.chmodSync(this.cachePath, 0o600);
|
|
48
|
+
}
|
|
49
|
+
fs.writeFileSync(this.cachePath, tokenCacheContext.tokenCache.serialize(), { encoding: 'utf8', mode: 0o600 });
|
|
50
|
+
}
|
|
21
51
|
}
|
|
22
52
|
catch {
|
|
23
53
|
// Do nothing
|
|
24
54
|
}
|
|
55
|
+
finally {
|
|
56
|
+
await this.releaseLock();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
async clearCache() {
|
|
60
|
+
await this.acquireLock();
|
|
61
|
+
try {
|
|
62
|
+
removeFile(this.cachePath);
|
|
63
|
+
}
|
|
64
|
+
finally {
|
|
65
|
+
await this.releaseLock();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async acquireLock() {
|
|
69
|
+
this.releaseCacheLock = await msalCachePlugin.acquireFileLock(this.cachePath);
|
|
70
|
+
}
|
|
71
|
+
async releaseLock() {
|
|
72
|
+
if (this.releaseCacheLock === undefined) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const releaseCacheLock = this.releaseCacheLock;
|
|
76
|
+
this.releaseCacheLock = undefined;
|
|
77
|
+
await releaseCacheLock();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
class LockingCachePlugin {
|
|
81
|
+
constructor(plugin, lockPath) {
|
|
82
|
+
this.plugin = plugin;
|
|
83
|
+
this.lockPath = lockPath;
|
|
84
|
+
}
|
|
85
|
+
async beforeCacheAccess(tokenCacheContext) {
|
|
86
|
+
this.releaseCacheLock = await msalCachePlugin.acquireFileLock(this.lockPath);
|
|
87
|
+
try {
|
|
88
|
+
await this.plugin.beforeCacheAccess(tokenCacheContext);
|
|
89
|
+
}
|
|
90
|
+
catch (err) {
|
|
91
|
+
await this.releaseLock();
|
|
92
|
+
throw err;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
async afterCacheAccess(tokenCacheContext) {
|
|
96
|
+
try {
|
|
97
|
+
await this.plugin.afterCacheAccess(tokenCacheContext);
|
|
98
|
+
}
|
|
99
|
+
finally {
|
|
100
|
+
await this.releaseLock();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
async clearCache(clearCache) {
|
|
104
|
+
this.releaseCacheLock = await msalCachePlugin.acquireFileLock(this.lockPath);
|
|
105
|
+
try {
|
|
106
|
+
await clearCache();
|
|
107
|
+
}
|
|
108
|
+
finally {
|
|
109
|
+
await this.releaseLock();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
async releaseLock() {
|
|
113
|
+
if (this.releaseCacheLock === undefined) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
const releaseCacheLock = this.releaseCacheLock;
|
|
117
|
+
this.releaseCacheLock = undefined;
|
|
118
|
+
await releaseCacheLock();
|
|
25
119
|
}
|
|
26
120
|
}
|
|
27
|
-
|
|
28
|
-
|
|
121
|
+
function removeFile(filePath) {
|
|
122
|
+
try {
|
|
123
|
+
fs.unlinkSync(filePath);
|
|
124
|
+
}
|
|
125
|
+
catch (err) {
|
|
126
|
+
if (err.code !== 'ENOENT') {
|
|
127
|
+
throw err;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
export const msalCachePlugin = {
|
|
132
|
+
async acquireFileLock(cachePath) {
|
|
133
|
+
return await fileLock.lock(cachePath, {
|
|
134
|
+
lockfilePath: `${cachePath}.lockfile`,
|
|
135
|
+
realpath: false,
|
|
136
|
+
stale: staleLockThreshold,
|
|
137
|
+
update: staleLockThreshold / 2,
|
|
138
|
+
retries: {
|
|
139
|
+
retries: lockRetryCount,
|
|
140
|
+
factor: 1,
|
|
141
|
+
minTimeout: lockRetryDelay,
|
|
142
|
+
maxTimeout: lockRetryDelay,
|
|
143
|
+
randomize: false
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
},
|
|
147
|
+
async importMsalExtensions() {
|
|
148
|
+
return await import('@azure/msal-node-extensions');
|
|
149
|
+
},
|
|
150
|
+
async createNativePersistence() {
|
|
151
|
+
const { DataProtectionScope, PersistenceCachePlugin, PersistenceCreator } = await msalCachePlugin.importMsalExtensions();
|
|
152
|
+
const persistence = await PersistenceCreator.createPersistence({
|
|
153
|
+
...persistenceConfiguration,
|
|
154
|
+
dataProtectionScope: DataProtectionScope.CurrentUser
|
|
155
|
+
});
|
|
156
|
+
const plugin = new LockingCachePlugin(new PersistenceCachePlugin(persistence), `${persistence.getFilePath()}.cli-m365`);
|
|
157
|
+
return {
|
|
158
|
+
plugin,
|
|
159
|
+
clearCache: async () => { await plugin.clearCache(async () => { await persistence.delete(); }); },
|
|
160
|
+
isFileFallback: false
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
createFileFallback() {
|
|
164
|
+
const plugin = new FileCachePlugin(persistenceConfiguration.cachePath);
|
|
165
|
+
return {
|
|
166
|
+
plugin,
|
|
167
|
+
clearCache: async () => { await plugin.clearCache(); },
|
|
168
|
+
isFileFallback: true
|
|
169
|
+
};
|
|
170
|
+
},
|
|
171
|
+
removeLegacyCache() {
|
|
172
|
+
removeFile(legacyCachePath);
|
|
173
|
+
},
|
|
174
|
+
async getCachePlugin() {
|
|
175
|
+
_initPromise ?? (_initPromise = (async () => {
|
|
176
|
+
msalCachePlugin.removeLegacyCache();
|
|
177
|
+
try {
|
|
178
|
+
return await msalCachePlugin.createNativePersistence();
|
|
179
|
+
}
|
|
180
|
+
catch (err) {
|
|
181
|
+
// Fall back to file-based cache only on Linux where libsecret
|
|
182
|
+
// may not be installed. On Windows (DPAPI) and macOS (Keychain)
|
|
183
|
+
// native persistence should always work.
|
|
184
|
+
if (process.platform === 'linux') {
|
|
185
|
+
return msalCachePlugin.createFileFallback();
|
|
186
|
+
}
|
|
187
|
+
throw err;
|
|
188
|
+
}
|
|
189
|
+
})());
|
|
190
|
+
const { plugin } = await _initPromise;
|
|
191
|
+
return plugin;
|
|
192
|
+
},
|
|
193
|
+
async clearMsalCache() {
|
|
194
|
+
_initPromise ?? (_initPromise = (async () => {
|
|
195
|
+
msalCachePlugin.removeLegacyCache();
|
|
196
|
+
try {
|
|
197
|
+
return await msalCachePlugin.createNativePersistence();
|
|
198
|
+
}
|
|
199
|
+
catch (err) {
|
|
200
|
+
if (process.platform === 'linux') {
|
|
201
|
+
return msalCachePlugin.createFileFallback();
|
|
202
|
+
}
|
|
203
|
+
throw err;
|
|
204
|
+
}
|
|
205
|
+
})());
|
|
206
|
+
const { clearCache, isFileFallback } = await _initPromise;
|
|
207
|
+
await clearCache();
|
|
208
|
+
// Also remove the file-based fallback cache to ensure no tokens
|
|
209
|
+
// remain if the machine previously used file-based persistence
|
|
210
|
+
if (!isFileFallback) {
|
|
211
|
+
await msalCachePlugin.createFileFallback().clearCache();
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
resetForTesting() {
|
|
215
|
+
_initPromise = undefined;
|
|
216
|
+
}
|
|
217
|
+
};
|
|
29
218
|
//# sourceMappingURL=msalCachePlugin.js.map
|
|
@@ -16,7 +16,6 @@ class LogoutCommand extends Command {
|
|
|
16
16
|
if (this.verbose) {
|
|
17
17
|
await logger.logToStderr('Logging out from Microsoft 365...');
|
|
18
18
|
}
|
|
19
|
-
const deactivate = () => auth.connection.deactivate();
|
|
20
19
|
try {
|
|
21
20
|
await auth.clearConnectionInfo();
|
|
22
21
|
}
|
|
@@ -24,10 +23,9 @@ class LogoutCommand extends Command {
|
|
|
24
23
|
if (this.debug) {
|
|
25
24
|
await logger.logToStderr(new CommandError(error));
|
|
26
25
|
}
|
|
26
|
+
throw new CommandError(error);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
deactivate();
|
|
30
|
-
}
|
|
28
|
+
auth.connection.deactivate();
|
|
31
29
|
}
|
|
32
30
|
async action(logger, args) {
|
|
33
31
|
try {
|
|
@@ -49,7 +49,7 @@ class EntraM365GroupRemoveCommand extends GraphCommand {
|
|
|
49
49
|
const spoAdminUrl = await spo.getSpoAdminUrl(logger, this.debug);
|
|
50
50
|
// Delete the Microsoft 365 group site. This operation will also delete the group.
|
|
51
51
|
await this.deleteM365GroupSite(logger, siteUrl, spoAdminUrl);
|
|
52
|
-
if (args.options.
|
|
52
|
+
if (args.options.permanent) {
|
|
53
53
|
await this.deleteM365GroupFromRecycleBin(logger, groupId);
|
|
54
54
|
await this.deleteSiteFromRecycleBin(logger, siteUrl, spoAdminUrl);
|
|
55
55
|
}
|
|
@@ -169,7 +169,7 @@ _EntraM365GroupRemoveCommand_instances = new WeakSet(), _EntraM365GroupRemoveCom
|
|
|
169
169
|
this.telemetry.push((args) => {
|
|
170
170
|
Object.assign(this.telemetryProperties, {
|
|
171
171
|
force: (!(!args.options.force)).toString(),
|
|
172
|
-
|
|
172
|
+
permanent: !!args.options.permanent
|
|
173
173
|
});
|
|
174
174
|
});
|
|
175
175
|
}, _EntraM365GroupRemoveCommand_initOptions = function _EntraM365GroupRemoveCommand_initOptions() {
|
|
@@ -180,7 +180,7 @@ _EntraM365GroupRemoveCommand_instances = new WeakSet(), _EntraM365GroupRemoveCom
|
|
|
180
180
|
}, {
|
|
181
181
|
option: '-f, --force'
|
|
182
182
|
}, {
|
|
183
|
-
option: '--
|
|
183
|
+
option: '--permanent'
|
|
184
184
|
});
|
|
185
185
|
}, _EntraM365GroupRemoveCommand_initValidators = function _EntraM365GroupRemoveCommand_initValidators() {
|
|
186
186
|
this.validators.push(async (args) => {
|
|
@@ -193,6 +193,7 @@ _EntraM365GroupRemoveCommand_instances = new WeakSet(), _EntraM365GroupRemoveCom
|
|
|
193
193
|
this.optionSets.push({ options: ['id', 'displayName'] });
|
|
194
194
|
}, _EntraM365GroupRemoveCommand_initTypes = function _EntraM365GroupRemoveCommand_initTypes() {
|
|
195
195
|
this.types.string.push('id', 'displayName');
|
|
196
|
+
this.types.boolean.push('permanent');
|
|
196
197
|
};
|
|
197
198
|
EntraM365GroupRemoveCommand.maxRetries = 10;
|
|
198
199
|
export default new EntraM365GroupRemoveCommand();
|
|
@@ -11,7 +11,7 @@ export const options = z.strictObject({
|
|
|
11
11
|
name: z.string().optional().alias('n'),
|
|
12
12
|
containerTypeId: z.uuid().optional(),
|
|
13
13
|
containerTypeName: z.string().optional(),
|
|
14
|
-
|
|
14
|
+
permanent: z.boolean().optional(),
|
|
15
15
|
force: z.boolean().optional().alias('f')
|
|
16
16
|
});
|
|
17
17
|
class SpeContainerRemoveCommand extends GraphCommand {
|
|
@@ -46,7 +46,7 @@ class SpeContainerRemoveCommand extends GraphCommand {
|
|
|
46
46
|
}
|
|
47
47
|
async commandAction(logger, args) {
|
|
48
48
|
if (!args.options.force) {
|
|
49
|
-
const result = await cli.promptForConfirmation({ message: `Are you sure you want to remove container '${args.options.id || args.options.name}'
|
|
49
|
+
const result = await cli.promptForConfirmation({ message: `Are you sure you want to ${args.options.permanent ? 'permanently remove' : 'recycle'} container '${args.options.id || args.options.name}'?` });
|
|
50
50
|
if (!result) {
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
@@ -63,13 +63,12 @@ class SpeContainerRemoveCommand extends GraphCommand {
|
|
|
63
63
|
},
|
|
64
64
|
responseType: 'json'
|
|
65
65
|
};
|
|
66
|
-
if (args.options.
|
|
67
|
-
|
|
66
|
+
if (args.options.permanent) {
|
|
67
|
+
requestOptions.url += '/permanentDelete';
|
|
68
|
+
await request.post(requestOptions);
|
|
68
69
|
return;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
-
requestOptions.url += '/permanentDelete';
|
|
72
|
-
await request.post(requestOptions);
|
|
71
|
+
await request.delete(requestOptions);
|
|
73
72
|
}
|
|
74
73
|
catch (err) {
|
|
75
74
|
this.handleRejectedODataJsonPromise(err);
|
|
@@ -30,8 +30,8 @@ export const workflow = {
|
|
|
30
30
|
run: "npm ci"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
name: "
|
|
34
|
-
run: "
|
|
33
|
+
name: "Build & Package",
|
|
34
|
+
run: "npm run build"
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
name: "CLI for Microsoft 365 Login",
|
|
@@ -140,20 +140,12 @@ export const pipeline = {
|
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
task: "
|
|
144
|
-
displayName: "
|
|
145
|
-
inputs: {
|
|
146
|
-
gulpFile: "./gulpfile.js",
|
|
147
|
-
targets: "bundle",
|
|
148
|
-
arguments: "--ship"
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
task: "Gulp@0",
|
|
153
|
-
displayName: "Gulp package",
|
|
143
|
+
task: "Npm@1",
|
|
144
|
+
displayName: "Build and package",
|
|
154
145
|
inputs: {
|
|
155
|
-
|
|
156
|
-
|
|
146
|
+
command: "custom",
|
|
147
|
+
verbose: false,
|
|
148
|
+
customCommand: "run build"
|
|
157
149
|
}
|
|
158
150
|
},
|
|
159
151
|
{
|
|
@@ -41,8 +41,9 @@ class SpfxProjectAzureDevOpsPipelineAddCommand extends BaseProjectCommand {
|
|
|
41
41
|
const project = { path: this.projectRootPath };
|
|
42
42
|
this.readAndParseJsonFile(path.join(this.projectRootPath, 'config', 'package-solution.json'), project, 'packageSolutionJson');
|
|
43
43
|
const sppkgPath = project.packageSolutionJson?.paths?.zippedPackage;
|
|
44
|
-
|
|
45
|
-
this.
|
|
44
|
+
const pipelineToSave = structuredClone(pipeline);
|
|
45
|
+
this.updatePipeline(sppkgPath, pipelineToSave, args.options);
|
|
46
|
+
this.savePipeline(pipelineToSave);
|
|
46
47
|
}
|
|
47
48
|
catch (error) {
|
|
48
49
|
this.handleError(error);
|
|
@@ -108,6 +109,33 @@ class SpfxProjectAzureDevOpsPipelineAddCommand extends BaseProjectCommand {
|
|
|
108
109
|
if (options.skipFeatureDeployment) {
|
|
109
110
|
script.script = script.script.replace(`m365 spo app deploy `, `m365 spo app deploy --skipFeatureDeployment `);
|
|
110
111
|
}
|
|
112
|
+
if (versionRequirements.heft === undefined) {
|
|
113
|
+
let steps = this.getPipelineSteps(pipeline);
|
|
114
|
+
const npmBuildScript = steps.find(step => step.task && step.displayName === 'Build and package');
|
|
115
|
+
if (npmBuildScript) {
|
|
116
|
+
pipeline.stages[0].jobs[0].steps = steps.filter(step => step !== npmBuildScript);
|
|
117
|
+
}
|
|
118
|
+
const gulpBundleStep = {
|
|
119
|
+
task: 'Gulp@0',
|
|
120
|
+
displayName: 'Gulp bundle',
|
|
121
|
+
inputs: {
|
|
122
|
+
gulpFile: './gulpfile.js',
|
|
123
|
+
targets: 'bundle',
|
|
124
|
+
arguments: '--ship'
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
const gulpPackageStep = {
|
|
128
|
+
task: 'Gulp@0',
|
|
129
|
+
displayName: 'Gulp package',
|
|
130
|
+
inputs: {
|
|
131
|
+
targets: 'package-solution',
|
|
132
|
+
arguments: '--ship'
|
|
133
|
+
}
|
|
134
|
+
};
|
|
135
|
+
steps = this.getPipelineSteps(pipeline);
|
|
136
|
+
const installCLIStepIndex = steps.findIndex(step => step.task === 'Npm@1' && step.displayName === 'Install CLI for Microsoft 365');
|
|
137
|
+
pipeline.stages[0].jobs[0].steps.splice(installCLIStepIndex, 0, gulpBundleStep, gulpPackageStep);
|
|
138
|
+
}
|
|
111
139
|
}
|
|
112
140
|
}
|
|
113
141
|
assignPipelineVariables(pipeline, variableName, newVariableValue) {
|
|
@@ -43,8 +43,9 @@ class SpfxProjectGithubWorkflowAddCommand extends BaseProjectCommand {
|
|
|
43
43
|
if (this.debug) {
|
|
44
44
|
await logger.logToStderr(`Adding GitHub workflow in the current SPFx project`);
|
|
45
45
|
}
|
|
46
|
-
|
|
47
|
-
this.
|
|
46
|
+
const workflowToSave = structuredClone(workflow);
|
|
47
|
+
this.updateWorkflow(solutionName, sppkgPath, workflowToSave, args.options);
|
|
48
|
+
this.saveWorkflow(workflowToSave);
|
|
48
49
|
}
|
|
49
50
|
catch (error) {
|
|
50
51
|
this.handleError(error);
|
|
@@ -96,10 +97,19 @@ class SpfxProjectGithubWorkflowAddCommand extends BaseProjectCommand {
|
|
|
96
97
|
const deployAction = this.getDeployAction(workflow);
|
|
97
98
|
deployAction.with.APP_FILE_PATH = deployAction.with.APP_FILE_PATH.replace('{{ sppkgPath }}', sppkgPath);
|
|
98
99
|
}
|
|
100
|
+
if (versionRequirements.heft === undefined) {
|
|
101
|
+
const buildAndPackageStep = this.getBuildAndPackageStep(workflow);
|
|
102
|
+
buildAndPackageStep.run = `gulp bundle --ship\ngulp package-solution --ship\n`;
|
|
103
|
+
buildAndPackageStep.name = 'Bundle & Package';
|
|
104
|
+
}
|
|
99
105
|
}
|
|
100
106
|
assignNodeVersion(workflow, nodeVersion) {
|
|
101
107
|
workflow.jobs['build-and-deploy'].env.NodeVersion = nodeVersion;
|
|
102
108
|
}
|
|
109
|
+
getBuildAndPackageStep(workflow) {
|
|
110
|
+
const steps = this.getWorkFlowSteps(workflow);
|
|
111
|
+
return steps.find(step => step.run && step.name === 'Build & Package');
|
|
112
|
+
}
|
|
103
113
|
getLoginAction(workflow) {
|
|
104
114
|
const steps = this.getWorkFlowSteps(workflow);
|
|
105
115
|
return steps.find(step => step.uses && step.uses.indexOf('action-cli-login') >= 0);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoCdnGetCommand_instances, _SpoCdnGetCommand_initTelemetry, _SpoCdnGetCommand_initOptions, _SpoCdnGetCommand_initValidators, _SpoCdnGetCommand_initTypes;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import config from '../../../../config.js';
|
|
8
4
|
import request from '../../../../request.js';
|
|
9
5
|
import { spo } from '../../../../utils/spo.js';
|
|
10
6
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
11
7
|
import commands from '../../commands.js';
|
|
8
|
+
export const options = z.strictObject({
|
|
9
|
+
...globalOptionsZod.shape,
|
|
10
|
+
type: z.enum(['Public', 'Private']).optional().alias('t')
|
|
11
|
+
});
|
|
12
12
|
class SpoCdnGetCommand extends SpoCommand {
|
|
13
13
|
get name() {
|
|
14
14
|
return commands.CDN_GET;
|
|
@@ -16,14 +16,8 @@ class SpoCdnGetCommand extends SpoCommand {
|
|
|
16
16
|
get description() {
|
|
17
17
|
return 'Views current status of the specified Microsoft 365 CDN';
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
_SpoCdnGetCommand_instances.add(this);
|
|
22
|
-
this.validTypes = ['Public', 'Private'];
|
|
23
|
-
__classPrivateFieldGet(this, _SpoCdnGetCommand_instances, "m", _SpoCdnGetCommand_initTelemetry).call(this);
|
|
24
|
-
__classPrivateFieldGet(this, _SpoCdnGetCommand_instances, "m", _SpoCdnGetCommand_initOptions).call(this);
|
|
25
|
-
__classPrivateFieldGet(this, _SpoCdnGetCommand_instances, "m", _SpoCdnGetCommand_initValidators).call(this);
|
|
26
|
-
__classPrivateFieldGet(this, _SpoCdnGetCommand_instances, "m", _SpoCdnGetCommand_initTypes).call(this);
|
|
19
|
+
get schema() {
|
|
20
|
+
return options;
|
|
27
21
|
}
|
|
28
22
|
async commandAction(logger, args) {
|
|
29
23
|
const cdnTypeString = args.options.type || 'Public';
|
|
@@ -59,26 +53,5 @@ class SpoCdnGetCommand extends SpoCommand {
|
|
|
59
53
|
}
|
|
60
54
|
}
|
|
61
55
|
}
|
|
62
|
-
_SpoCdnGetCommand_instances = new WeakSet(), _SpoCdnGetCommand_initTelemetry = function _SpoCdnGetCommand_initTelemetry() {
|
|
63
|
-
this.telemetry.push((args) => {
|
|
64
|
-
Object.assign(this.telemetryProperties, {
|
|
65
|
-
cdnType: args.options.type || 'Public'
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
}, _SpoCdnGetCommand_initOptions = function _SpoCdnGetCommand_initOptions() {
|
|
69
|
-
this.options.unshift({
|
|
70
|
-
option: '-t, --type [type]',
|
|
71
|
-
autocomplete: this.validTypes
|
|
72
|
-
});
|
|
73
|
-
}, _SpoCdnGetCommand_initValidators = function _SpoCdnGetCommand_initValidators() {
|
|
74
|
-
this.validators.push(async (args) => {
|
|
75
|
-
if (args.options.type && !this.validTypes.includes(args.options.type)) {
|
|
76
|
-
return `'${args.options.type}' is not a valid CDN type. Allowed values are: ${this.validTypes.join(', ')}.`;
|
|
77
|
-
}
|
|
78
|
-
return true;
|
|
79
|
-
});
|
|
80
|
-
}, _SpoCdnGetCommand_initTypes = function _SpoCdnGetCommand_initTypes() {
|
|
81
|
-
this.types.string.push('type');
|
|
82
|
-
};
|
|
83
56
|
export default new SpoCdnGetCommand();
|
|
84
57
|
//# sourceMappingURL=cdn-get.js.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
-
};
|
|
6
|
-
var _SpoCdnOriginAddCommand_instances, _SpoCdnOriginAddCommand_initTelemetry, _SpoCdnOriginAddCommand_initOptions, _SpoCdnOriginAddCommand_initValidators;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { globalOptionsZod } from '../../../../Command.js';
|
|
7
3
|
import config from '../../../../config.js';
|
|
8
4
|
import request from '../../../../request.js';
|
|
9
5
|
import { formatting } from '../../../../utils/formatting.js';
|
|
10
6
|
import { spo } from '../../../../utils/spo.js';
|
|
11
7
|
import SpoCommand from '../../../base/SpoCommand.js';
|
|
12
8
|
import commands from '../../commands.js';
|
|
9
|
+
export const options = z.strictObject({
|
|
10
|
+
...globalOptionsZod.shape,
|
|
11
|
+
type: z.enum(['Public', 'Private']).optional().alias('t'),
|
|
12
|
+
origin: z.string().alias('r')
|
|
13
|
+
});
|
|
13
14
|
class SpoCdnOriginAddCommand extends SpoCommand {
|
|
14
15
|
get name() {
|
|
15
16
|
return commands.CDN_ORIGIN_ADD;
|
|
@@ -17,12 +18,8 @@ class SpoCdnOriginAddCommand extends SpoCommand {
|
|
|
17
18
|
get description() {
|
|
18
19
|
return 'Adds CDN origin to the current SharePoint Online tenant';
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
_SpoCdnOriginAddCommand_instances.add(this);
|
|
23
|
-
__classPrivateFieldGet(this, _SpoCdnOriginAddCommand_instances, "m", _SpoCdnOriginAddCommand_initTelemetry).call(this);
|
|
24
|
-
__classPrivateFieldGet(this, _SpoCdnOriginAddCommand_instances, "m", _SpoCdnOriginAddCommand_initOptions).call(this);
|
|
25
|
-
__classPrivateFieldGet(this, _SpoCdnOriginAddCommand_instances, "m", _SpoCdnOriginAddCommand_initValidators).call(this);
|
|
21
|
+
get schema() {
|
|
22
|
+
return options;
|
|
26
23
|
}
|
|
27
24
|
async commandAction(logger, args) {
|
|
28
25
|
const cdnTypeString = args.options.type || 'Public';
|
|
@@ -53,29 +50,5 @@ class SpoCdnOriginAddCommand extends SpoCommand {
|
|
|
53
50
|
}
|
|
54
51
|
}
|
|
55
52
|
}
|
|
56
|
-
_SpoCdnOriginAddCommand_instances = new WeakSet(), _SpoCdnOriginAddCommand_initTelemetry = function _SpoCdnOriginAddCommand_initTelemetry() {
|
|
57
|
-
this.telemetry.push((args) => {
|
|
58
|
-
Object.assign(this.telemetryProperties, {
|
|
59
|
-
cdnType: args.options.type || 'Public'
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
}, _SpoCdnOriginAddCommand_initOptions = function _SpoCdnOriginAddCommand_initOptions() {
|
|
63
|
-
this.options.unshift({
|
|
64
|
-
option: '-t, --type [type]',
|
|
65
|
-
autocomplete: ['Public', 'Private']
|
|
66
|
-
}, {
|
|
67
|
-
option: '-r, --origin <origin>'
|
|
68
|
-
});
|
|
69
|
-
}, _SpoCdnOriginAddCommand_initValidators = function _SpoCdnOriginAddCommand_initValidators() {
|
|
70
|
-
this.validators.push(async (args) => {
|
|
71
|
-
if (args.options.type) {
|
|
72
|
-
if (args.options.type !== 'Public' &&
|
|
73
|
-
args.options.type !== 'Private') {
|
|
74
|
-
return `${args.options.type} is not a valid CDN type. Allowed values are Public|Private`;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return true;
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
53
|
export default new SpoCdnOriginAddCommand();
|
|
81
54
|
//# sourceMappingURL=cdn-origin-add.js.map
|