Skip to content

Commit

Permalink
build: Update swc_core to v5.0.0 (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Nov 6, 2024
1 parent bc7da2f commit 4957abd
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 78 deletions.
112 changes: 56 additions & 56 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 21 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,29 @@ serde_json = "1.0.117"
sourcemap = "9.0.0"
swc_atoms = "2.0.0"
swc_cached = "1.0.0"
swc_common = "3.0.0"
swc_core = "4.0.0"
swc_css_ast = "3.0.0"
swc_css_codegen = "3.0.0"
swc_css_compat = "3.0.0"
swc_css_minifier = "3.0.0"
swc_css_parser = "3.0.0"
swc_css_prefixer = "3.0.0"
swc_css_visit = "3.0.0"
swc_ecma_ast = "3.0.0"
swc_ecma_codegen = "3.0.0"
swc_ecma_minifier = "4.0.0"
swc_ecma_parser = "4.0.0"
swc_ecma_transforms = "4.0.0"
swc_ecma_transforms_base = "4.0.0"
swc_ecma_transforms_react = "4.0.0"
swc_ecma_transforms_testing = "4.0.0"
swc_ecma_utils = "4.0.0"
swc_ecma_visit = "3.0.0"
swc_common = "4.0.0"
swc_core = "5.0.0"
swc_css_ast = "4.0.0"
swc_css_codegen = "4.0.0"
swc_css_compat = "4.0.0"
swc_css_minifier = "4.0.0"
swc_css_parser = "4.0.0"
swc_css_prefixer = "4.0.0"
swc_css_visit = "4.0.0"
swc_ecma_ast = "4.0.0"
swc_ecma_codegen = "4.0.0"
swc_ecma_minifier = "5.0.0"
swc_ecma_parser = "5.0.0"
swc_ecma_transforms = "5.0.0"
swc_ecma_transforms_base = "5.0.0"
swc_ecma_transforms_react = "5.0.0"
swc_ecma_transforms_testing = "5.0.0"
swc_ecma_utils = "5.0.0"
swc_ecma_visit = "4.0.0"
swc_plugin_macro = "1.0.0"
swc_plugin_proxy = "3.0.0"
swc_plugin_proxy = "4.0.0"
swc_trace_macro = "2.0.0"
testing = "3.0.0"
testing = "4.0.0"
tracing = "0.1.40"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ fn report(
let file = file_lines_cache.get_or_insert_with(|| cm.lookup_char_pos(css_span.lo));

let lo = if let Some(loc) = &err.loc {
Some(file.file.analyze().lines[(loc.line + 1) as usize] + BytePos(loc.column))
Some(file.file.lines[(loc.line + 1) as usize] + BytePos(loc.column))
} else {
None
};
Expand Down

0 comments on commit 4957abd

Please sign in to comment.