0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/cli/tools
Nayeem Rahman 8b31fc23cd
refactor: Move source map lookups to core (#14274)
The following transformations gradually faced by "JsError" have all been 
moved up front to "JsError::from_v8_exception()": 

- finding the first non-"deno:" source line; 
- moving "JsError::script_resource_name" etc. into the first error stack 
in case of syntax errors; 
- source mapping "JsError::script_resource_name" etc. when wrapping 
the error even though the frame locations are source mapped earlier; 
- removing "JsError::{script_resource_name,line_number,start_column,end_column}"
entirely in favour of "js_error.frames.get(0)". 

We also no longer pass a js-side callback to "core/02_error.js" from cli. 
I avoided doing this on previous occasions because the source map lookups 
were in an awkward place.
2022-04-15 16:08:09 +02:00
..
coverage refactor: Move source map lookups to core (#14274) 2022-04-15 16:08:09 +02:00
repl fix: upgrade to swc_ecmascript 0.143 (#14238) 2022-04-08 12:31:47 -04:00
vendor chore: upgrade to Rust 1.59 (#13767) 2022-02-24 20:03:12 -05:00
bench.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
doc.rs feat(cli): Replace bundling with eszip in deno compile (#13563) 2022-02-15 18:03:46 +05:30
fmt.rs feat(cli/fmt): ignore .git folder when formatting files (#14138) 2022-03-29 14:57:42 -04:00
installer.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
lint.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
mod.rs feat: "deno bench" subcommand (#13713) 2022-03-11 23:07:02 +01:00
standalone.rs feat: Add "deno check" subcommand for type checking (#14072) 2022-04-11 01:12:51 +02:00
task.rs feat(task): add unstable warning to deno task (#13966) 2022-03-15 21:24:07 -04:00
test.rs feat(test): format user code output (#14271) 2022-04-15 14:24:41 +02:00
upgrade.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00