@swc/plugin-formatjs 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @swc/plugin-formatjs
2
2
 
3
+ ## 3.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - f226c4b: Generate the same ID after React Compiler
8
+
3
9
  ## 3.2.2
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/plugin-formatjs",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "FormatJS SWC plugin",
5
5
  "main": "swc_plugin_formatjs.wasm",
6
6
  "homepage": "https://swc.rs",
package/src/lib.rs CHANGED
@@ -16,7 +16,7 @@ pub fn process(mut program: Program, metadata: TransformPluginProgramMetadata) -
16
16
  let plugin_options: FormatJSPluginOptions = if let Some(plugin_config) = plugin_config {
17
17
  serde_json::from_str(&plugin_config).unwrap_or_else(|f| {
18
18
  println!("Could not deserialize instrumentation option");
19
- println!("{:#?}", f);
19
+ println!("{f:#?}");
20
20
  Default::default()
21
21
  })
22
22
  } else {
Binary file