@pnp/cli-microsoft365 5.5.0-beta.c34abed → 6.0.0-beta.8352f49
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.
|
@@ -96,6 +96,9 @@ class FlowExportCommand extends AzmgmtCommand_1.default {
|
|
|
96
96
|
const downloadFileUrl = formatArgument === 'json' ? '' : res.packageLink.value;
|
|
97
97
|
const filenameRegEx = /([^\/]+\.zip)/i;
|
|
98
98
|
filenameFromApi = formatArgument === 'json' ? `${res.properties.displayName}.json` : (filenameRegEx.exec(downloadFileUrl) || ['output.zip'])[0];
|
|
99
|
+
// Replace all illegal characters from the file name
|
|
100
|
+
const illegalCharsRegEx = /[\\\/:*?"<>|]/g;
|
|
101
|
+
filenameFromApi = filenameFromApi.replace(illegalCharsRegEx, '_');
|
|
99
102
|
if (this.debug) {
|
|
100
103
|
logger.logToStderr(`Filename from PowerApps API: ${filenameFromApi}`);
|
|
101
104
|
logger.logToStderr('');
|
|
@@ -281,11 +281,11 @@ class SpoListItemSetCommand extends SpoCommand_1.default {
|
|
|
281
281
|
requestBody.push(`
|
|
282
282
|
<Parameters>
|
|
283
283
|
<Parameter Type="String">${key}</Parameter>
|
|
284
|
-
<Parameter Type="String">${options[key]}</Parameter>
|
|
284
|
+
<Parameter Type="String">${options[key].toString()}</Parameter>
|
|
285
285
|
</Parameters>`);
|
|
286
286
|
}
|
|
287
287
|
else {
|
|
288
|
-
requestBody.push({ FieldName: key, FieldValue: options[key] });
|
|
288
|
+
requestBody.push({ FieldName: key, FieldValue: options[key].toString() });
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
});
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@pnp/cli-microsoft365",
|
|
9
|
-
"version": "
|
|
9
|
+
"version": "6.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@azure/msal-node": "^1.9.1",
|
package/package.json
CHANGED