@wordpress/element 5.3.2 → 5.5.0

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
@@ -2,10 +2,14 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 5.5.0 (2023-03-01)
6
+
5
7
  ### New Features
6
8
 
7
9
  - Started exporting the `flushSync` function from `react-dom`
8
10
 
11
+ ## 5.4.0 (2023-02-15)
12
+
9
13
  ## 5.3.0 (2023-02-01)
10
14
 
11
15
  ## 5.2.0 (2023-01-11)
@@ -66,7 +70,7 @@
66
70
 
67
71
  ### Bug Fix
68
72
 
69
- - Serialize will now keep correct casing for SVG attributes ([#38936](https://github.com/WordPress/gutenberg/pull/38936)).
73
+ - Serialize will now keep correct casing for SVG attributes ([#38936](https://github.com/WordPress/gutenberg/pull/38936)).
70
74
 
71
75
  ## 4.1.0 (2022-01-27)
72
76
 
package/README.md CHANGED
@@ -38,11 +38,9 @@ Let's render a customized greeting into an empty element:
38
38
  );
39
39
  }
40
40
 
41
- wp.element.createRoot(document.getElementById( 'greeting' ))
42
- .render(
43
- wp.element.createElement( Greeting, { toWhom: 'World' } )
44
- )
45
- );
41
+ wp.element
42
+ .createRoot( document.getElementById( 'greeting' ) )
43
+ .render( wp.element.createElement( Greeting, { toWhom: 'World' } ) );
46
44
  </script>
47
45
  ```
48
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/element",
3
- "version": "5.3.2",
3
+ "version": "5.5.0",
4
4
  "description": "Element React module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -31,7 +31,7 @@
31
31
  "@babel/runtime": "^7.16.0",
32
32
  "@types/react": "^18.0.21",
33
33
  "@types/react-dom": "^18.0.6",
34
- "@wordpress/escape-html": "^2.26.1",
34
+ "@wordpress/escape-html": "^2.28.0",
35
35
  "change-case": "^4.1.2",
36
36
  "is-plain-object": "^5.0.0",
37
37
  "react": "^18.2.0",
@@ -40,5 +40,5 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
- "gitHead": "1e2b2f680c6378f789d6660bc04b30e35e3a33a3"
43
+ "gitHead": "d5e03a74b79e3ca84afda24375474a103a063ee4"
44
44
  }