@lvce-editor/iframe-worker 3.6.2 → 3.6.3

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.
@@ -938,7 +938,7 @@ const getWebViewPath = (webViews, webViewId) => {
938
938
  return webView.path;
939
939
  };
940
940
  const isWindowsPath = path => {
941
- return path.startsWith('A:/') || path.startsWith('B:/') || path.startsWith('C:/') || path.startsWith('D:/') || path.startsWith('E:/');
941
+ return path.startsWith('A:\\') || path.startsWith('B:\\') || path.startsWith('C:\\') || path.startsWith('D:\\') || path.startsWith('E:\\');
942
942
  };
943
943
  const getWebViewUri = (webViews, webViewId) => {
944
944
  const webViewPath = getWebViewPath(webViews, webViewId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/iframe-worker",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
4
4
  "description": "Web Worker to manage creation and lifecycle of iframes in Lvce Editor",
5
5
  "main": "dist/iframeWorkerMain.js",
6
6
  "type": "module",