@pnp/cli-microsoft365-spfx-toolkit 1.9.0 → 1.10.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/.eslintcache +1 -1
- package/dist/Auth.js +7 -6
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/Auth.js
CHANGED
|
@@ -139,12 +139,13 @@ class Auth {
|
|
|
139
139
|
return accessToken.accessToken;
|
|
140
140
|
}
|
|
141
141
|
else {
|
|
142
|
-
if (
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
142
|
+
if (debug) {
|
|
143
|
+
if (!accessToken) {
|
|
144
|
+
logger.logToStderr(`No token found for resource ${resource}.`);
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
logger.logToStderr(`Access token expired. Token: ${accessToken.accessToken}, ExpiresAt: ${accessToken.expiresOn}`);
|
|
148
|
+
}
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
let getTokenPromise;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365-spfx-toolkit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365-spfx-toolkit",
|
|
9
|
-
"version": "1.
|
|
9
|
+
"version": "1.10.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-common": "^13.2.1",
|