@cloudbase/cals 0.5.13-alpha.8 → 0.5.13-alpha.9

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.
@@ -496,7 +496,7 @@ function _generateOneItemDTS(inputData, itemType) {
496
496
  console.log(datasourceInfoList);
497
497
  replaceRules.push({
498
498
  from: new RegExp(`(\\$${item.widgetId}_start\\$).*(\\$${item.widgetId}_end\\$)`),
499
- to: `$1${JSON.stringify(datasourceInfoList)}$2`
499
+ to: `$1${encodeURIComponent(JSON.stringify(datasourceInfoList))}$2`
500
500
  });
501
501
  }
502
502
  return `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/cals",
3
- "version": "0.5.13-alpha.8",
3
+ "version": "0.5.13-alpha.9",
4
4
  "description": "Common application specifications",
5
5
  "main": "lib/utils/index.js",
6
6
  "source": "src/utils/index.ts",