Commit a09b1cf
authored
feat: refactor with typescript to support cjs ane esm both (#5328)
BREAKING CHANGE: Drop Node.js < 18.19.0 support
part of #3644
Breaking changes:
- Drop Node.js < 18.19.0 support
- Drop generator function support
use @eggjs/core@4 eggjs/core#2651 parent b6861f1 commit a09b1cf
259 files changed
Lines changed: 4958 additions & 4533 deletions
File tree
- .github
- workflows
- app
- extend
- middleware
- config
- example
- helloworld-commonjs
- app
- controller
- config
- helloworld-typescript
- app
- controller
- middleware
- config
- lib
- core
- messenger
- loader
- scripts
- site/docs
- advanced
- basics
- core
- src
- app
- extend
- middleware
- config
- lib
- core
- messenger
- loader
- test
- app
- extend
- middleware
- bench
- fixtures/apps
- agent-app-sync/app
- agent-app/app
- agent-client-app/app
- agent-throw/app
- aliyun-egg-app/app/controller
- app-die-ignore-code/app
- app-die/app
- app-locals-getter/app
- app-router
- app/controller
- config
- app-server-customized-client-error
- app
- config
- app-server-timeout/app
- app-server-with-hostname/app
- app-server/app
- app-throw/app
- app-ts-type-check
- async-app
- app
- schedule
- body_parser_testapp_disable/app
- body_parser_testapp_ignore/app
- body_parser_testapp_match/app
- body_parser_testapp/app
- cluster_mod_app
- app/controller
- csrf-disable/app/controller
- csrf-enable/app/controller
- csrf-ignore/app/controller
- custom-context-getlogger/app
- controller
- extend
- custom-env-app/app
- custom-framework-demo/app
- controller
- demo
- app
- controller
- development/app
- dnscache_httpclient/app/controller
- dumpconfig-circular
- dumpconfig
- encrypt-cookies/app/controller
- favicon-buffer
- app
- controller
- config
- favicon/app/controller
- get-logger/app
- helper/app
- controller
- i18n/app/controller
- koa-session/app/controller
- loader-plugin/app
- service
- foo3
- locals/app
- logger-reload/app/controller
- logrotator-app/app
- middlewares
- app
- controller
- config
- multipart/app/controller
- notfound-custom-404/app
- onerror/app/controller
- override_method/app
- querystring-extended/app/controller
- reload-worker/app/controller
- response/app
- router-app/app/controller
- secure-app/app/controller
- service-app/app
- controller
- service
- siteFile-custom-cacheControl/app
- subdir-services/app
- controller
- service
- certify-personal/mobile-hi
- cif
- foo
- subdir1/subdir11
- subdir
- tracer-demo/app/controller
- view-render/app/controller
- watcher-development-app/app
- lib
- cluster
- core
- loader
- messenger
- plugins
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
3 | 6 | | |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
0 commit comments