@lvce-editor/file-system-worker 5.20.2 → 5.20.4

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.
@@ -2032,15 +2032,15 @@ const stat = async dirent => {
2032
2032
  return stat$3(dirent);
2033
2033
  };
2034
2034
  const exists = async uri => {
2035
- if (isFetch(uri) || isHtml(uri)) {
2035
+ if (isMemory(uri)) {
2036
+ return exists$2(uri);
2037
+ }
2038
+ if (isFetch(uri) || isHtml(uri) || isProviderUri(uri)) {
2036
2039
  return invoke$2('FileSystem.exists', uri);
2037
2040
  }
2038
2041
  if (isHttp(uri)) {
2039
2042
  return exists$1(uri);
2040
2043
  }
2041
- if (isMemory(uri)) {
2042
- return exists$2(uri);
2043
- }
2044
2044
  return exists$3(uri);
2045
2045
  };
2046
2046
  const createFile = async uri => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/file-system-worker",
3
- "version": "5.20.2",
3
+ "version": "5.20.4",
4
4
  "description": "File System Worker",
5
5
  "keywords": [
6
6
  "Lvce Editor"