Commit Graph

17 Commits

Author SHA1 Message Date
rbmj deeedad19e
Make jsdoc/type-checker happy Pt 3 (#1070)
* png-chunks-extract.extract has no create_date

* `new Buffer.from` is not a thing

* handle failed character read

* stop lying about your return value

* what we get for mixing booleans and strings

* localeCompare makes more sense and fixes types

* uhh wtf, there is no callback in readFileSync

* no subtracting Dates, only Numbers (timestamps)

* handle if no file in request

* changing types makes typechecker mad

* handle false or undefined character read

* default param does not exist

* can't have same property assigned twice

* json5.parse expects a string, not buffer

* handle invalid thumbnail type

* handle invalid thumbnail type case

* ignore bad axios typing

* fix ambiguous typing

* types is incorrect? no .destroy(). use type guard

* include intended error handling of refactor

* Make API urls const

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-08-31 19:44:58 +03:00
Cohee ba712f61eb Bump package version 2023-08-29 20:20:06 +03:00
Cohee 9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee 9c614529ca Make all file write operations atomic 2023-08-17 15:20:02 +03:00
Cohee ea7268febd Replace tokenizer packages with agnai versions (not crash dumping to console) 2023-08-15 18:08:34 +03:00
Cohee ea4b1759aa Bump package version 2023-08-10 12:48:59 +03:00
Cohee 26a9c2889f Bump package version 2023-08-08 23:12:26 +03:00
Cohee 8c70b1decd Bump package version 2023-08-08 22:54:02 +03:00
Cohee 151f4d322c #883 Add option to disable CSRF tokens 2023-08-06 16:42:15 +03:00
Cohee 29a3c5d590 Fix npm audit 2023-08-01 23:25:09 +03:00
Cohee 29d841a50b Bump package version 2023-07-31 12:54:49 +03:00
Cohee f36cf088a1 Bump package version 2023-07-29 22:50:52 +03:00
Cohee1207 ef3c8a19fe Bump package version 2023-07-22 14:19:32 +03:00
Cohee dcaa9842ef Bump package version 2023-07-21 19:17:22 +03:00
Cohee 788dc537d0 #752 Fix node 20 startup 2023-07-21 17:42:15 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00