Merge 'bindings/javascript: Switch to napi v3' from Diego Reis

Switch to napi [v3](https://napi.rs/blog/announce-v3).
With the exception of `Statement.iterate()`,  the behavior is preserved.
I had to temporarily remove it because the trait `Generator` doesn't
supports the new lifetime scoped values, I already brought this issue in
napi's discord server and it should be fixed soon.

Closes #2262
This commit is contained in:
Pekka Enberg
2025-07-25 20:19:37 +03:00
15 changed files with 3821 additions and 2166 deletions

File diff suppressed because it is too large Load Diff