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

This commit is contained in:
Thomas Steiner 2021-10-27 08:57:10 +02:00 committed by GitHub
parent 94519c8250
commit 2c8d041987
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2646 additions and 600 deletions

View File

@ -19,7 +19,6 @@
] ]
}, },
"dependencies": { "dependencies": {
"@dwelle/browser-fs-access": "0.21.3",
"@sentry/browser": "6.2.5", "@sentry/browser": "6.2.5",
"@sentry/integrations": "6.2.5", "@sentry/integrations": "6.2.5",
"@testing-library/jest-dom": "5.11.10", "@testing-library/jest-dom": "5.11.10",
@ -30,6 +29,7 @@
"@types/react": "17.0.3", "@types/react": "17.0.3",
"@types/react-dom": "17.0.3", "@types/react-dom": "17.0.3",
"@types/socket.io-client": "1.4.36", "@types/socket.io-client": "1.4.36",
"browser-fs-access": "0.21.0",
"clsx": "1.1.1", "clsx": "1.1.1",
"fake-indexeddb": "3.1.3", "fake-indexeddb": "3.1.3",
"firebase": "8.3.3", "firebase": "8.3.3",
@ -81,7 +81,7 @@
}, },
"jest": { "jest": {
"transformIgnorePatterns": [ "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 "resetMocks": false
}, },

View File

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

3240
yarn.lock

File diff suppressed because it is too large Load Diff