@lvce-editor/main-area-worker 9.45.0 → 9.45.1

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.
@@ -3898,15 +3898,8 @@ const Directory = 3;
3898
3898
  const DirectoryExpanded = 4;
3899
3899
  const File = 7;
3900
3900
 
3901
- const isLocalEditorInput = editorInput => {
3902
- if (editorInput.type !== 'editor') {
3903
- return false;
3904
- }
3905
- return editorInput.uri.startsWith('file://') || !editorInput.uri.includes('://');
3906
- };
3907
-
3908
3901
  const shouldCheckDirectoryEditorInput = editorInput => {
3909
- if (!isLocalEditorInput(editorInput)) {
3902
+ if (editorInput.type !== 'editor') {
3910
3903
  return false;
3911
3904
  }
3912
3905
  const baseName = editorInput.uri.slice(editorInput.uri.lastIndexOf('/') + 1);
@@ -5166,7 +5159,7 @@ const getDropAction = async uris => {
5166
5159
  type: 'editor',
5167
5160
  uri
5168
5161
  }))) {
5169
- if (uri.startsWith('file://')) {
5162
+ if (uri.includes('://')) {
5170
5163
  return {
5171
5164
  command: 'setUri',
5172
5165
  value: uri
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-area-worker",
3
- "version": "9.45.0",
3
+ "version": "9.45.1",
4
4
  "description": "Main Area Worker",
5
5
  "repository": {
6
6
  "type": "git",