Skip to content

Commit 625372f

Browse files
authored
build: Update swc_core to v15.0.1 (#417)
1 parent a37d60d commit 625372f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+352
-182
lines changed

Cargo.lock

Lines changed: 76 additions & 75 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,31 @@ serde_repr = "0.1"
4242
sha2 = "0.10"
4343
similar-asserts = "1.4.2"
4444
sourcemap = "9.0.0"
45-
swc_atoms = "4.0.0"
45+
swc_atoms = "5.0.0"
4646
swc_cached = "2.0.0"
47-
swc_common = "7.0.0"
48-
swc_core = "14.0.0"
49-
swc_css_ast = "7.0.0"
50-
swc_css_codegen = "7.0.0"
51-
swc_css_compat = "7.0.0"
52-
swc_css_minifier = "7.0.0"
53-
swc_css_parser = "7.0.0"
54-
swc_css_prefixer = "8.0.0"
55-
swc_css_visit = "7.0.0"
56-
swc_ecma_ast = "7.0.0"
57-
swc_ecma_codegen = "7.0.0"
58-
swc_ecma_minifier = "11.0.0"
59-
swc_ecma_parser = "9.0.0"
60-
swc_ecma_transforms = "12.0.0"
61-
swc_ecma_transforms_base = "10.0.0"
62-
swc_ecma_transforms_react = "10.0.0"
63-
swc_ecma_transforms_testing = "10.0.0"
64-
swc_ecma_utils = "10.0.0"
65-
swc_ecma_visit = "7.0.0"
47+
swc_common = "8.0.0"
48+
swc_core = "15.0.1"
49+
swc_css_ast = "8.0.0"
50+
swc_css_codegen = "8.0.0"
51+
swc_css_compat = "8.0.0"
52+
swc_css_minifier = "8.0.0"
53+
swc_css_parser = "8.0.0"
54+
swc_css_prefixer = "9.0.0"
55+
swc_css_visit = "8.0.0"
56+
swc_ecma_ast = "8.0.0"
57+
swc_ecma_codegen = "8.0.1"
58+
swc_ecma_minifier = "12.0.0"
59+
swc_ecma_parser = "10.0.0"
60+
swc_ecma_transforms = "13.0.0"
61+
swc_ecma_transforms_base = "11.0.0"
62+
swc_ecma_transforms_react = "11.0.0"
63+
swc_ecma_transforms_testing = "11.0.0"
64+
swc_ecma_utils = "11.0.0"
65+
swc_ecma_visit = "8.0.0"
6666
swc_plugin_macro = "1.0.0"
67-
swc_plugin_proxy = "7.0.0"
67+
swc_plugin_proxy = "8.0.0"
6868
swc_trace_macro = "2.0.0"
69-
testing = "7.0.0"
69+
testing = "8.0.0"
7070
tracing = "0.1.40"
7171
widestring = "1.0.2"
7272

clippy.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ disallowed-names = [
1919
ignore-interior-mutability = [
2020
"bytes::Bytes",
2121
"swc_atoms::Atom",
22-
"swc_atoms::JsWord",
2322
"swc_ecma_ast::Id",
2423
]
2524
msrv = "1.70"

crates/swc_experimental_babel/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ homepage = { workspace = true }
1010
license = { workspace = true }
1111
repository = { workspace = true }
1212
rust-version = { workspace = true }
13-
version = "0.4.0"
13+
version = "0.5.0"
1414

1515
[dependencies]
1616
anyhow = { workspace = true }

packages/emotion/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @swc/plugin-emotion
22

3+
## 9.0.0
4+
5+
### Major Changes
6+
7+
- f0fee1d: Update swc_core to v15.0.1
8+
39
## 8.7.2
410

511
### Patch Changes

packages/emotion/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Source code for plugin itself (not transforms) are copied from https://github.co
3434
3535
# @swc/plugin-emotion
3636
37+
## 9.0.0
38+
39+
### Major Changes
40+
41+
- f0fee1d: Update swc_core to v15.0.1
42+
3743
## 8.7.2
3844
3945
### Patch Changes

packages/emotion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@swc/plugin-emotion",
3-
"version": "8.7.2",
3+
"version": "9.0.0",
44
"description": "SWC plugin for emotion css-in-js library",
55
"main": "swc_plugin_emotion.wasm",
66
"scripts": {

packages/emotion/transform/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = { workspace = true }
77
name = "swc_emotion"
88
repository = { workspace = true }
99
rust-version = { workspace = true }
10-
version = "0.81.0"
10+
version = "0.82.0"
1111

1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

packages/emotion/transform/src/import_map.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ use std::sync::Arc;
33
use once_cell::sync::Lazy;
44
use rustc_hash::FxHashMap;
55
use serde::{Deserialize, Serialize};
6-
use swc_atoms::JsWord;
6+
use swc_atoms::Atom;
77

88
use crate::{EmotionModuleConfig, ExportItem, ExprKind};
99

1010
/// key: `importSource`
11-
pub type ImportMap = FxHashMap<JsWord, ImportMapValue>;
11+
pub type ImportMap = FxHashMap<Atom, ImportMapValue>;
1212

1313
/// key: `localExportName`
14-
pub type ImportMapValue = FxHashMap<JsWord, ImportItemConfig>;
14+
pub type ImportMapValue = FxHashMap<Atom, ImportItemConfig>;
1515

1616
#[derive(Debug, Clone, Serialize, Deserialize)]
1717
#[serde(rename_all = "camelCase", deny_unknown_fields)]
@@ -22,7 +22,7 @@ pub struct ImportItemConfig {
2222

2323
/// `(packageName, exportName)`
2424
#[derive(Debug, Clone, Serialize, Deserialize)]
25-
pub struct ItemSpecifier(pub JsWord, pub JsWord);
25+
pub struct ItemSpecifier(pub Atom, pub Atom);
2626

2727
static EMOTION_OFFICIAL_LIBRARIES: Lazy<Arc<Vec<EmotionModuleConfig>>> = Lazy::new(|| {
2828
Arc::new(vec![

packages/formatjs/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @swc/plugin-formatjs
22

3+
## 3.0.0
4+
5+
### Major Changes
6+
7+
- f0fee1d: Update swc_core to v15.0.1
8+
39
## 2.4.0
410

511
### Minor Changes

0 commit comments

Comments
 (0)