0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-22 13:13:32 -05:00
denoland-deno/cli/tools
Marvin Hagemeister 703fdd8607
fix: panic with js lint plugins and invalid js syntax (#28006)
Noticed that the LSP might panic during serialization when working on a
file with a syntax error.

This PR changes the serialization so that invalid nodes are simply
serialized to the invalid node `0`. The plugin code treats the node with
id `0` as an invalid node and will ignore it during visiting.

I'm not sure how to write a test for the LSP.
2025-02-07 12:35:44 +01:00
..
bench feat(bench): add --permit-no-files (#27048) 2025-02-03 16:18:09 +00:00
coverage fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
doc refactor: update deno_doc, use prismjs, remove internal reference html generation logic (#26885) 2024-11-19 08:56:04 -08:00
init fix(init): correct dev task for --lib (#27860) 2025-01-29 16:53:13 +00:00
jupyter fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
lint fix: panic with js lint plugins and invalid js syntax (#28006) 2025-02-07 12:35:44 +01:00
registry fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
repl fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
run refactor: create NpmInstaller (#27626) 2025-01-13 17:35:18 -05:00
test feat(lint): add JavaScript plugin support (#27203) 2025-02-05 16:59:24 +01:00
check.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
clean.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
compile.rs fix(compile): never include the specified output executable in itself (#27877) 2025-02-06 23:23:10 +00:00
doc.rs fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
fmt.rs refactor: add WorkspaceFactory and ResolverFactory (#27766) 2025-01-23 18:52:55 -05:00
info.rs fix(check): support sloppy imports with "compilerOptions.rootDirs" (#27973) 2025-02-05 23:08:10 +00:00
installer.rs fix(install/global): warn about not including auto-discovered config file (#27745) 2025-01-27 14:18:27 -05:00
mod.rs chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
serve.rs refactor: create deno_lib crate (#27673) 2025-01-15 09:35:46 -05:00
task.rs feat(task): add support for task wildcards (#27007) 2025-01-30 14:37:10 +01:00
upgrade.rs refactor: move denort to separate crate (#27688) 2025-01-17 20:39:29 +00:00