Commit e2ea721
committed
Update JavaScript codebase to use ESM module
Dropped support for Node.js 16, 18.
Upadted ESLint to v9 since assert is not supported in v8. See:
eslint/eslint#15305
Droppin support for Node v16, v18 should be fine as they are both EOL.
Consequently had to drop support for Wikimedia/eslint rules as it
doesn't yet support ESLint v9.
Bug: https://phabricator.wikimedia.org/T407180
Change-Id: I44dee29b49804da5a13d986352148931baf7cb341 parent 1ee3f4c commit e2ea721
File tree
8 files changed
+724
-683
lines changed- .github/workflows
- docs
- src
- tests/js
8 files changed
+724
-683
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments