Commit 6f49885
committed
sqlite: fix doc-kit crash and fill in DEP0210 pr-url
lib/sqlite.js used object-spread (`...sqlite`) to re-export the
internal binding, which crashed tools/doc's api-links generator: it
walks module.exports's ObjectExpression properties expecting a
`value` on each one, and a SpreadElement has no such property
(TypeError: Cannot read properties of undefined (reading 'type')).
This broke the "Build from tarball" CI job.
Destructure the binding's exports into bare identifiers instead,
matching the pattern already used in lib/crypto.js for its deprecated
Hash/Hmac exports.
Also fill in the DEP0210 changes entry's pr-url, now that the pull
request exists.
Assisted-by: claude-code:claude-sonnet-5
Signed-off-by: Guilherme Araújo <arauujogui@gmail.com>1 parent f4036c3 commit 6f49885
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4806 | 4806 | | |
4807 | 4807 | | |
4808 | 4808 | | |
| 4809 | + | |
4809 | 4810 | | |
4810 | 4811 | | |
4811 | 4812 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | | - | |
| 14 | + | |
9 | 15 | | |
10 | | - | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
13 | 23 | | |
0 commit comments