11 Commits

Author SHA1 Message Date
Azri Kahar
e58b7d0cc3 Turn GCS credentials from camelCase to snake_case (#8601)
* turn GCS credentials from camelCase to snake_case

* add comment for GCS credentials edge case
2021-10-07 11:43:19 -04:00
Nicola Krumschmidt
d64ca14348 Explicitly set catch parameters to any type (#7654)
This fixes not being able to build the repo due to type issues
introduced by the Typescript 4.4 option "useUnknownInCatchVariables",
which is enabled by default in strict mode.
2021-08-27 10:33:30 -04:00
rijkvanzanten
5704cd46d2 Set resumable false to destStream in GCS 2021-05-21 21:19:14 -04:00
Pascal Jufer
acd41eb0be Syntax fixes (#5367)
* Declare return types on functions

And a very few other type related minor fixes

* Minor syntax fixes

* Remove unnecessary escape chars in regexes
* Remove unnecessary awaits
* Replace deprecated req.connection with req.socket
* Replace deprecated upload with uploadOne
* Remove unnecessary eslint-disable-next-line comments
* Comment empty functions / catch or finally clauses
* Fix irregular whitespaces
* Add missing returns (null)
* Remove unreachable code
* A few logical fixes
* Remove / Handle non-null assertions which are certainly unnecessary (e.g. in
tests)
2021-04-29 12:11:43 -04:00
rijkvanzanten
cc868ae60c Normalize the filepath when retrieving fullpath
Fixes #4751
2021-04-14 17:53:55 -04:00
Maarten Docter
22ad2d61e7 Replace path.normalize with normalize-path (#4643)
* Replace path.normalize with normalize-path

* Update package-lock

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-03-25 17:43:21 -04:00
rijkvanzanten
1a0807435b Apply flatlist fix to azure/gcs 2021-03-12 16:34:37 -05:00
rijkvanzanten
a5cb9f6b6a Update docs, tweak type 2021-03-03 16:38:21 -05:00
Rijk van Zanten
5f08b5e331 Support root option in S3/Azure/GCS (#4364)
* Support `root` option in S3

* Ignore GCS key files for local testing

* Default root to empty string

* Add dev watchers to drive-* packages

* Add file rootpath to Azure
2021-03-03 16:37:44 -05:00
Rijk van Zanten
b81cfe0a49 Implement byte-range requests on /assets (#4136)
Fixes #3640
2021-02-17 17:56:44 -05:00
Rijk van Zanten
35830a5dfe Move Flydrive home and implement Azure (#4110)
* Add new packages

* Update docs

* Update linked packages

* Setup file pointers

* Don't require getStream to be async

* List credits

* Load azure in storage

* Fix typo in docs

* Fix another typo

* Remove not about raising an issue
2021-02-16 18:33:50 -05:00