@wordpress/compose 7.1.0 → 7.2.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,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.2.0 (2024-06-26)
6
+
5
7
  ## 7.1.0 (2024-06-15)
6
8
 
7
9
  ## 7.0.0 (2024-05-31)
@@ -50,7 +52,7 @@
50
52
 
51
53
  ## 6.19.0 (2023-09-20)
52
54
 
53
- ### Features
55
+ ### New Features
54
56
 
55
57
  - `useStateWithHistory`: Add a new hook to manage state with undo/redo support.
56
58
 
@@ -143,7 +145,7 @@
143
145
 
144
146
  ## 5.7.0 (2022-05-18)
145
147
 
146
- ### Bug Fix
148
+ ### Bug Fixes
147
149
 
148
150
  - `useRefEffect`: Allow `void` as a valid callback return type ([#40798](https://github.com/WordPress/gutenberg/pull/40798)).
149
151
 
@@ -169,7 +171,7 @@
169
171
 
170
172
  ## 5.0.0 (2021-07-29)
171
173
 
172
- ### Breaking Change
174
+ ### Breaking Changes
173
175
 
174
176
  - Upgraded React components to work with v17.0 ([#29118](https://github.com/WordPress/gutenberg/pull/29118)). There are no new features in React v17.0 as explained in the [blog post](https://reactjs.org/blog/2020/10/20/react-v17.html).
175
177
 
@@ -218,7 +220,7 @@
218
220
 
219
221
  ## 2.1.0 (2018-10-29)
220
222
 
221
- ### Deprecation
223
+ ### Deprecations
222
224
 
223
225
  - `remountOnPropChange` has been deprecated.
224
226
 
@@ -228,6 +230,6 @@
228
230
 
229
231
  ## 2.0.0 (2018-09-05)
230
232
 
231
- ### Breaking Change
233
+ ### Breaking Changes
232
234
 
233
235
  - Change how required built-ins are polyfilled with Babel 7 ([#9171](https://github.com/WordPress/gutenberg/pull/9171)). If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Compose
2
2
 
3
- The `compose` package is a collection of handy [Hooks](https://reactjs.org/docs/hooks-intro.html) and [Higher Order Components](https://facebook.github.io/react/docs/higher-order-components.html) (HOCs) you can use to wrap your WordPress components and provide some basic features like: state, instance id, pure...
3
+ The `compose` package is a collection of handy [Hooks](https://react.dev/reference/react/hooks) and [Higher Order Components](https://legacy.reactjs.org/docs/higher-order-components.html) (HOCs) you can use to wrap your WordPress components and provide some basic features like: state, instance id, pure...
4
4
 
5
5
  The `compose` function is inspired by [flowRight](https://lodash.com/docs/#flowRight) from Lodash and works the same way. It comes from functional programming, and allows you to compose any number of functions. You might also think of this as layering functions; `compose` will execute the last function first, then sequentially move back through the previous functions passing the result of each function upward.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/compose",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "WordPress higher-order components (HOCs).",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -32,13 +32,13 @@
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.16.0",
34
34
  "@types/mousetrap": "^1.6.8",
35
- "@wordpress/deprecated": "^4.1.0",
36
- "@wordpress/dom": "^4.1.0",
37
- "@wordpress/element": "^6.1.0",
38
- "@wordpress/is-shallow-equal": "^5.1.0",
39
- "@wordpress/keycodes": "^4.1.0",
40
- "@wordpress/priority-queue": "^3.1.0",
41
- "@wordpress/undo-manager": "^1.1.0",
35
+ "@wordpress/deprecated": "^4.2.0",
36
+ "@wordpress/dom": "^4.2.0",
37
+ "@wordpress/element": "^6.2.0",
38
+ "@wordpress/is-shallow-equal": "^5.2.0",
39
+ "@wordpress/keycodes": "^4.2.0",
40
+ "@wordpress/priority-queue": "^3.2.0",
41
+ "@wordpress/undo-manager": "^1.2.0",
42
42
  "change-case": "^4.1.2",
43
43
  "clipboard": "^2.0.11",
44
44
  "mousetrap": "^1.6.5",
@@ -50,5 +50,5 @@
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "66d3bf12e67d16deddc4b4a9ec42e1d0bed3479a"
53
+ "gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
54
54
  }