@lvce-editor/extension-host-worker 5.37.1 → 5.38.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.
@@ -2964,6 +2964,9 @@ const isFileProtocol = protocol => {
2964
2964
  };
2965
2965
  const getRemoteUrlSync = uri => {
2966
2966
  const protocol = getProtocol(uri);
2967
+ if (protocol === 'http://' || protocol === 'https://') {
2968
+ return uri;
2969
+ }
2967
2970
  const withoutPrefix = uri.startsWith('file://') ? uri.slice('file://'.length) : uri;
2968
2971
  if (platform === Remote && isFileProtocol(protocol)) {
2969
2972
  if (uri.startsWith('/')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-host-worker",
3
- "version": "5.37.1",
3
+ "version": "5.38.0",
4
4
  "description": "Webworker for the extension host functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"