Update JS and PY dependencies, build for es2020 browsers#28977
Conversation
- Update all JS dependencies minus @mcaptcha/vanilla-glue - Update djlint and workaround false-positive - Fix new lint errors - Regenerate SVGs - Switch to maintained stylelint stylistic plugin - Tested Mermaid, Citation, Swagger, sorting
|
Webpack chokes on BigInt literals in |
|
On the other hand, PaleMoon seems to implement BigInt since v32.4.0 (https://www.palemoon.org/releasenotes.shtml), so I think it's worth to switch to |
|
Now with # es2015
$ du -b --apparent-size public/assets/js
23300624 public/assets/js
# es2020
$ du -b --apparent-size public/assets/js
23235235 public/assets/js |
es2020 browsers
|
@wolfbeast a gentle ping as a heads up about this. |
|
@techknowlogick thanks for the ping. We should have complete support for ES2020 as of 6 months ago, but let me know if you want me to test something. |
* origin/main: [skip ci] Updated translations via Crowdin Fix UI Spacing Errors in mirror settings (go-gitea#28990) Add htmx guidelines (go-gitea#28993) Some refactor for git http (go-gitea#28995) Fix an actions schedule bug (go-gitea#28942) Fix doc img path in profile readme (go-gitea#28994) Introduce htmx and use it to avoid full page load on `Subscribe` and `Follow` (go-gitea#28908) Fix joins in `db.Find(AndCount)` (go-gitea#28978) Update golang links to use https (go-gitea#28980) Fix google logo in security page (go-gitea#28982)
Followup #28977. I forgot to pass the updated option to esbuild-loader, e.g. previously it was only passed to the minifier.
* giteaofficial/main: Add `must-change-password` cli parameter (go-gitea#27626) Include username in email headers (go-gitea#28981) Update tool dependencies (go-gitea#29030) Add artifacts v4 jwt to job message and accept it (go-gitea#28885) Pass es2020 to esbuild-loader as well (go-gitea#29027) Fix default avatar image size in PR diff page (go-gitea#28971) Update JS and PY dependencies, build for `es2020` browsers (go-gitea#28977)
…28977) - Update all JS dependencies minus @mcaptcha/vanilla-glue - Fix new lint errors - Regenerate SVGs - Switch to maintained stylelint stylistic plugin - Tested Mermaid, Citation, Swagger, sorting - Raise ESBuild target to `es2020` as dictated by `pretty-ms` dependency.
Followup go-gitea#28977. I forgot to pass the updated option to esbuild-loader, e.g. previously it was only passed to the minifier.
es2020as dictated bypretty-msdependency.