Commit Graph

470 Commits

Author SHA1 Message Date
renovate[bot]
7894ba3fb2
chore(deps): update dependency eslint-plugin-n to ~15.2.5 (#567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:28:14 +07:00
renovate[bot]
deedcd3c54
chore(deps): update dependency eslint-plugin-promise to ~6.0.1 (#568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:42 +07:00
renovate[bot]
c6e98bafd8
chore(deps): update dependency eslint to ~8.23.0 (#569)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:32 +07:00
renovate[bot]
cf3c52c7b4
chore(deps): update dependency stylelint to ~14.11.0 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:26:13 +07:00
renovate[bot]
3d77e01b5f
fix(deps): update dependency knex to ~2.3.0 (#571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 13:25:14 +07:00
Bobby
8fcfc29ea3
feat: package.json scripts
explicitly enable NODE_ENV=production env var for start scripts
2022-08-21 21:44:24 +07:00
Bobby
18ff2f0893
feat: volta pinned node & yarn versions 2022-08-20 06:38:37 +07:00
renovate[bot]
83c6cee482
chore(deps): update dependency postcss-preset-env to ~7.8.0 (#564)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:45:55 +07:00
renovate[bot]
e554c0c031
chore(deps): update dependency eslint to ~8.22.0 (#563)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:43:46 +07:00
renovate[bot]
0cd747aa22
chore(deps): update dependency stylelint to ~14.10.0 (#562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:43:34 +07:00
renovate[bot]
bfe46b90cb
chore(deps): update dependency cssnano to ~5.1.13 (#561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:40:35 +07:00
renovate[bot]
96c7d6b7e4
chore(deps): update dependency postcss to ~8.4.16 (#559)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:40:25 +07:00
renovate[bot]
f3e4f1cd57
fix(deps): update dependency systeminformation to ~5.12.6 (#560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:40:04 +07:00
Bobby Wibowo
4bb0af4ca7
revert: last 2 commits
this reverts commit 0e4f483506 and aca4a02f53

lel, im going crazy with this
2022-08-05 01:12:58 +07:00
renovate[bot]
aca4a02f53
fix(deps): update dependency hyper-express to v6.4.5 (#558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-05 00:59:16 +07:00
Bobby Wibowo
2dccaacf33
fix(deps): force hyper-express@6.4.2
i forgot merely reverting isn't enough for those that does not use
stock yarn.lock file
2022-08-04 21:50:48 +07:00
Bobby Wibowo
3a597cc51f
revert: "fix(deps): update dependency hyper-express to ~6.4.4 (#556)"
this reverts commit 13f9178438

i'm getting some weird issue with request stream timing
2022-08-04 21:48:43 +07:00
renovate[bot]
13f9178438
fix(deps): update dependency hyper-express to ~6.4.4 (#556)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 18:50:07 +07:00
renovate[bot]
d618286913
fix(deps): update dependency systeminformation to ~5.12.3 (#557)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 18:49:57 +07:00
Bobby Wibowo
bc76d93ac4
revert: "fix(deps): update dependency hyper-express to ~6.4.3 (#552)"
this reverts commit 80cfea0e83

relevant issue: https://github.com/kartikk221/hyper-express/issues/101
2022-08-03 17:44:39 +07:00
renovate[bot]
80cfea0e83
fix(deps): update dependency hyper-express to ~6.4.3 (#552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 17:37:04 +07:00
renovate[bot]
971cf82d68
fix(deps): update dependency jszip to ~3.10.1 (#553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 17:34:38 +07:00
renovate[bot]
0dc408f82c
fix(deps): update dependency systeminformation to ~5.12.2 (#554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 17:34:19 +07:00
renovate[bot]
48dbe5a2ed
chore(deps): update dependency eslint to ~8.21.0 (#555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 17:33:44 +07:00
Bobby Wibowo
2389974c7d
feat: ServeStaticQuick
chokidar is now a production dependency

please read the comments in ServeStaticQuick.js for a description of
what the class does

public and dist directories are now served with that class by default

before starting hyper-express on the listen port, await for all
ServeLiveDirectory and ServeStaticQuick instances
2022-07-31 14:31:25 +07:00
renovate[bot]
fa9ca96d66
chore(deps): update dependency browserslist to ~4.21.3 (#548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-30 05:05:48 +07:00
renovate[bot]
d1e61f0ec8
fix(deps): update dependency rate-limiter-flexible to ~2.3.8 (#549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-30 05:05:37 +07:00
renovate[bot]
0f81fd07b8
fix(deps): update dependency helmet to ~5.1.1 (#546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 07:50:51 +07:00
renovate[bot]
3482d0a5b1
fix(deps): update dependency knex to ~2.2.0 (#544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 07:50:37 +07:00
renovate[bot]
ce23275bb5
chore(deps): update dependency eslint to ~8.20.0 (#542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 07:50:22 +07:00
renovate[bot]
603af0d001
fix(deps): update dependency better-sqlite3 to ~7.6.2 (#541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 07:49:58 +07:00
renovate[bot]
63620be3bf
fix(deps): update dependency hyper-express to ~6.4.2 (#547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 07:49:30 +07:00
Bobby Wibowo
61461d2c26
feat(deps): added etag, fresh, and range-parser
aside from fresh, the other 2 are already dependencies of hyper-express,
so it barely increased production dependencies size

i suspect fresh will also be used by it anyways, since it's a pretty
generic library to handle conditional GET requests
2022-07-21 23:58:47 +07:00
Bobby
05448842b8
feat(deps): update hyper-express to ~6.4.1 2022-07-20 04:42:40 +07:00
Bobby
e574cb4498
chore: merge branch 'safe.fiery.me' into safe.fiery.me-feat/hyper-express 2022-07-16 03:27:05 +07:00
Bobby
40b00ea95f
chore(deps): systeminformation 2022-07-16 03:02:14 +07:00
renovate[bot]
6dac68767c
fix(deps): update dependency systeminformation to v5.12.1 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:11:24 +07:00
renovate[bot]
4469ef50ab
chore(deps): update dependency stylelint-config-standard-scss to v5 (#538)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:08:49 +07:00
renovate[bot]
6c1500e5dc
chore(deps): update dependency browserslist to ~4.21.2 (#535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:07:29 +07:00
renovate[bot]
3409a0ccab
fix(deps): update dependency better-sqlite3 to ~7.6.1 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-16 02:07:18 +07:00
Bobby
bdbd78bad1
fix(deps): update hyper-express to ~6.3.0 2022-07-15 00:29:54 +07:00
Bobby Wibowo
edbb6ef9f0
fix(deps): update hyper-express to ~6.2.6 2022-07-14 14:13:42 +07:00
Bobby Wibowo
7f9d05da26
feat: multer -> hyper-express multipartfield
get outta here multer, lmao
2022-07-12 13:07:13 +07:00
Bobby Wibowo
8f2a8400ea
chore: bump minimum node version to 14+ 2022-07-12 10:32:09 +07:00
Bobby Wibowo
3ce3547d15
chore(deps): standardize some deps version strings 2022-07-12 08:57:18 +07:00
Bobby Wibowo
4f540223ae
chore(deps): update systeminformation to ~5.11.25 2022-07-12 08:56:56 +07:00
Bobby Wibowo
c95173b323
fix(deps): update hyper-express to ~6.2.5
this fixes headers can have duplicates
2022-07-12 08:56:24 +07:00
Bobby Wibowo
79631ce624
feat: RateLimiter custom middleware class
this adds new production dependency rate-limiter-flexible

this deprecates old rateLimits option in config

to use the new rate limiters, the new option is named rateLimiters and
rateLimitersWhitelist
please consult config.sample.js

rate limiters will also be now processed before any other middlewares,
as only makes sense
2022-07-12 08:48:09 +07:00
Bobby Wibowo
1727499bb1
chore(deps): remove @bobbywibowo/serve-static
said library doesn't really work out of the box with hyper-express

i tried modifying my fork, but it really didn't go well
most likely the required underlying internals are just too different
2022-07-12 06:31:03 +07:00
Bobby Wibowo
5800ec2ad6
feat: init safe.fiery.me-feat/hyper-express 2022-07-10 19:43:26 +07:00
renovate[bot]
3dfb0bec37
chore(deps): update dependency eslint to ~8.19.0 (#532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:59 +07:00
renovate[bot]
dcd7e42734
chore(deps): update dependency eslint-plugin-n to ~15.2.4 (#531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:42 +07:00
renovate[bot]
b99253e78b
chore(deps): update dependency browserslist to ~4.21.1 (#529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:22 +07:00
renovate[bot]
112cc7c4f1
fix(deps): update dependency systeminformation to v5.11.23 (#530)
https://github.com/sebhildebrandt/systeminformation/issues/705

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-10 11:56:05 +07:00
Bobby Wibowo
ab96bd5d99
feat: queue cloudflare purge cache with fastq 2022-06-29 17:52:16 +07:00
Bobby Wibowo
3d2651f07b
fix(deps): temp bind systeminformation@5.11.20
https://github.com/sebhildebrandt/systeminformation/issues/705
2022-06-29 15:47:37 +07:00
renovate[bot]
e55be5ee0a
fix(deps): update dependency sharp to ~0.30.7 (#524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:59:13 +07:00
renovate[bot]
bdd17ba103
chore(deps): update dependency postcss-preset-env to ~7.7.2 (#523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:57:41 +07:00
renovate[bot]
8da197166d
fix(deps): update dependency systeminformation to ~5.11.22 (#525)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-28 12:57:27 +07:00
renovate[bot]
57d16dbe2c
chore(deps): update dependency eslint to ~8.18.0 (#522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:32 +07:00
renovate[bot]
15b4db865b
chore(deps): update dependency browserslist to ~4.21.0 (#521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:20 +07:00
renovate[bot]
647cf9e54f
chore(deps): update dependency cssnano to ~5.1.12 (#520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:15:02 +07:00
renovate[bot]
476a6decb7
chore(deps): update dependency stylelint to ~14.9.1 (#518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:14:49 +07:00
renovate[bot]
f0fb6d4994
fix(deps): update dependency systeminformation to ~5.11.21 (#517)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 17:14:39 +07:00
Bobby Wibowo
409d0c4ffd
refactor: relocate db scripts 2022-06-22 13:53:01 +07:00
Bobby Wibowo
afc58503b7
fix(deps): sqlite3 -> better-sqlite3 (WARNING)
please update your config.js file to match the change in sample config,
which is changing database.client option from sqlite3 to better-sqlite3

this should not require additional steps on your end, since knex.js
exists in between lolisafe and the database driver as an abstraction
2022-06-22 12:17:00 +07:00
renovate[bot]
104d0e99c3
chore(deps): update dependency eslint to ~8.17.0 (#515)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:35:47 +07:00
renovate[bot]
a1270c55c6
chore(deps): update dependency browserslist to ~4.20.4 (#513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:56 +07:00
renovate[bot]
ec89c66e16
chore(deps): update dependency eslint-plugin-n to ~15.2.3 (#514)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:48 +07:00
renovate[bot]
ca9c4bce9e
chore(deps): update dependency gulp-eslint-new to ~1.5.1 (#516)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 11:34:29 +07:00
renovate[bot]
499c581c00
chore(deps): update dependency cssnano to ~5.1.11 (#512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 04:29:43 +07:00
Bobby
6768fa46f6
fix(deps): knex from ~0.21.21 to ~2.1.0 (WARNING)
turns out this fork can already proceed as-is into knex v2

WARNING: for those that fork this project and do anything significant
with database handling, please consult the following upgrade notice:
https://github.com/knex/knex/blob/master/UPGRADING.md
to see if your changes will be affected or not
** make sure to start with 0.95.0+ upgrade notice **
2022-06-04 03:57:21 +07:00
Bobby
a43eeea00a
fix(deps): multer CVE-2022-24434
https://github.com/expressjs/multer/issues/1095

https://github.com/expressjs/multer/compare/v1.4.4...v1.4.5-lts.1
2022-06-04 02:58:56 +07:00
renovate[bot]
ee952fd0eb
chore(deps): update dependency stylelint-config-standard-scss to v4 (#507)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:51:43 +07:00
renovate[bot]
676e512ac9
chore(deps): update dependency postcss-preset-env to ~7.7.1 (#511)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:50:52 +07:00
renovate[bot]
289b7dbaee
chore(deps): update dependency cssnano to ~5.1.10 (#508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:49:55 +07:00
renovate[bot]
b69d34a232
chore(deps): update dependency eslint-plugin-n to ~15.2.1 (#509)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:49:08 +07:00
renovate[bot]
0c9d6f645e
chore(deps): update dependency stylelint to ~14.8.5 (#505)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:42 +07:00
renovate[bot]
a2e8645a63
chore(deps): update dependency del to ~6.1.1 (#504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:25 +07:00
renovate[bot]
d638c8c3df
fix(deps): update dependency systeminformation to ~5.11.16 (#510)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:47:15 +07:00
renovate[bot]
e12ff90ed2
fix(deps): update dependency sharp to ~0.30.6 (#506)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-04 02:35:12 +07:00
renovate[bot]
011bc0cb89
fix(deps): update dependency jszip to ~3.10.0 (#501)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:46:56 +07:00
renovate[bot]
dc8684d7ff
chore(deps): update dependency postcss-preset-env to ~7.6.0 (#499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:46:44 +07:00
renovate[bot]
d510a4fc4d
fix(deps): update dependency helmet to ~5.1.0 (#500)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:45:32 +07:00
renovate[bot]
ed12ad1274
chore(deps): update dependency stylelint to ~14.8.3 (#498)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:44:54 +07:00
renovate[bot]
6187425c23
chore(deps): update dependency del to ~6.1.0 (#497)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:41:20 +07:00
renovate[bot]
415bb48d96
chore(deps): update dependency gulp-eslint-new to ~1.4.4 (#495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:41:11 +07:00
renovate[bot]
392c3955f8
chore(deps): update dependency postcss to ~8.4.14 (#496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:39:35 +07:00
renovate[bot]
008fb56671
chore(deps): update dependency cssnano to ~5.1.9 (#494)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:39:05 +07:00
renovate[bot]
3cb0c8eaf5
chore(deps): update dependency eslint to ~8.16.0 (#492)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:55 +07:00
renovate[bot]
b1de2a40d8
fix(deps): update dependency systeminformation to ~5.11.15 (#491)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:41 +07:00
renovate[bot]
b13af979c6
chore(deps): update dependency bulma to ~0.9.4 (#490)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-21 16:38:21 +07:00
Bobby
851eaacd8e
fix(deps): @bobbywibowo/serve-static v0.18.0-alpha
align to versions used in express@4.18.1

additionally no longer always require() the package even when not needed
2022-05-08 13:03:24 +07:00
renovate[bot]
4d4dffc5ae
fix(deps): update dependency express to ~4.18.1 (#485)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:13:05 +07:00
renovate[bot]
247fdce962
chore(deps): update dependency stylelint to ~14.8.2 (#484)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:11:09 +07:00
renovate[bot]
4eb54b93c1
fix(deps): update dependency express-rate-limit to ~6.4.0 (#486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:10:58 +07:00
renovate[bot]
e5f3809424
chore(deps): update dependency postcss-preset-env to ~7.5.0 (#483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:07:36 +07:00
renovate[bot]
829b076b1e
chore(deps): update dependency eslint-plugin-n to ~15.2.0 (#482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:06:38 +07:00
renovate[bot]
2f01088d78
chore(deps): update dependency eslint to ~8.14.0 (#481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-07 02:06:28 +07:00
Bobby
b4e32a6001
fix: removed readline dependency
it was honestly never supposed to be written that way
but i very rarely used it so i never noticed

the actual readline module that we use is a node core module
https://nodejs.org/docs/latest-v12.x/api/readline.html#readline_readline_createinterface_options

additionally improved its formatting and whatnot
2022-05-07 01:35:07 +07:00