소스 검색

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

Thomas Steiner 3 년 전
부모
커밋
2c8d041987
3개의 변경된 파일284개의 추가작업 그리고 159개의 파일을 삭제
  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";

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 281 - 156
yarn.lock


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.