Browse Source

Migrate the implementation back to browser-fs-access (#4106)

Thomas Steiner 3 năm trước cách đây
mục cha
commit
2c8d041987
3 tập tin đã thay đổi với 284 bổ sung159 xóa
  1. 2 2
      package.json
  2. 1 1
      src/data/filesystem.ts
  3. 281 156
      yarn.lock

+ 2 - 2
package.json

@@ -19,7 +19,6 @@
     ]
   },
   "dependencies": {
-    "@dwelle/browser-fs-access": "0.21.3",
     "@sentry/browser": "6.2.5",
     "@sentry/integrations": "6.2.5",
     "@testing-library/jest-dom": "5.11.10",
@@ -30,6 +29,7 @@
     "@types/react": "17.0.3",
     "@types/react-dom": "17.0.3",
     "@types/socket.io-client": "1.4.36",
+    "browser-fs-access": "0.21.0",
     "clsx": "1.1.1",
     "fake-indexeddb": "3.1.3",
     "firebase": "8.3.3",
@@ -81,7 +81,7 @@
   },
   "jest": {
     "transformIgnorePatterns": [
-      "node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|@dwelle/browser-fs-access)/)"
+      "node_modules/(?!(roughjs|points-on-curve|path-data-parser|points-on-path|browser-fs-access)/)"
     ],
     "resetMocks": false
   },

+ 1 - 1
src/data/filesystem.ts

@@ -4,7 +4,7 @@ import {
   fileSave as _fileSave,
   FileSystemHandle,
   supported as nativeFileSystemSupported,
-} from "@dwelle/browser-fs-access";
+} from "browser-fs-access";
 import { EVENT, MIME_TYPES } from "../constants";
 import { AbortError } from "../errors";
 import { debounce } from "../utils";

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 281 - 156
yarn.lock


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác