@lvce-editor/renderer-process 10.34.0 → 10.35.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.
@@ -6593,6 +6593,9 @@ const set = ($Iframe, permissionPolicy) => {
6593
6593
  };
6594
6594
 
6595
6595
  const setIframeSandBox = ($Iframe, sandbox) => {
6596
+ if (sandbox.length === 0) {
6597
+ return;
6598
+ }
6596
6599
  $Iframe.sandbox.add(...sandbox);
6597
6600
  };
6598
6601
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "10.34.0",
3
+ "version": "10.35.0",
4
4
  "description": "",
5
5
  "main": "dist/rendererProcessMain.js",
6
6
  "type": "module",