chore: bump browser-fs-acccess to 0.20.5 (#4018)

* bump browser-fs-acccess to 0.20.5

* add null check
This commit is contained in:
David Luzar 2021-10-02 18:27:26 +02:00 committed by GitHub
parent e8b462cc31
commit bea4a1e066
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",
"@types/socket.io-client": "1.4.36",
"browser-fs-access": "0.18.0",
"browser-fs-access": "0.20.5",
"clsx": "1.1.1",
"firebase": "8.3.3",
"i18next-browser-languagedetector": "6.1.0",

View File

@ -142,7 +142,7 @@ export const actionSaveToActiveFile = register({
...appState,
fileHandle,
toastMessage: fileHandleExists
? fileHandle.name
? fileHandle?.name
? t("toast.fileSavedToFilename").replace(
"{filename}",
`"${fileHandle.name}"`,

View File

@ -3218,10 +3218,10 @@ brorand@^1.0.1, brorand@^1.1.0:
version "1.1.0"
resolved "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz"
browser-fs-access@0.18.0:
version "0.18.0"
resolved "https://registry.yarnpkg.com/browser-fs-access/-/browser-fs-access-0.18.0.tgz#d69758ff83ce6a16bb0ece2541742bc3cd86db65"
integrity sha512-1B6CTTpYl0kP5sP+rJ8osy4Yka8WqnrXHqChMZZVzlw7pQ2VJ+IiLEP7SxonHjtMMSLCnpd24mU08FIExXb2DQ==
browser-fs-access@0.20.5:
version "0.20.5"
resolved "https://registry.yarnpkg.com/browser-fs-access/-/browser-fs-access-0.20.5.tgz#16bea029f6dc14787c8b394360f32f3b8cf06f50"
integrity sha512-ROPZ9ZYC4gptm0JRH/DgTm9dDLzUrOksBw8VMcUm7TINyaan5KUJPkklEurl0WTapfuy5T85GSP6bRmX/BpbnA==
browser-process-hrtime@^1.0.0:
version "1.0.0"