Commit 3f8afdb
authored
Modernize (#32)
* Use prettier instead of clang-format
We're formatting TypeScript, not C/C++.
* Modernize
This bumps the version to 0.1.19 because the type of `AbortController`
is not backwards compatible.
- Remove obsolete dependencies.
- abort-controller; `AbortController` is stable since Node 15.4.0.
- source-map-support; `--enable-source-maps` is supported since Node
12.12.0.
- Update dependencies.
- Enable strict mode in `tsconfig.json`.
- Use `which(..., {nothrow: true})` and distinguish between
binary-not-in-PATH and binary-access-failed. Log an error.
- Check for presence of clangd binary in zip archive before extracting.
- Use native promises APIs instead of `promisify`.
- Assign severity to all logs (no more `console.log`).1 parent 37ee1af commit 3f8afdb
File tree
10 files changed
+2923
-2168
lines changed- .github/workflows
- src
- test
10 files changed
+2923
-2168
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
0 commit comments