@wordpress/compose 7.0.1 → 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,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.2.0 (2024-06-26)
6
+
7
+ ## 7.1.0 (2024-06-15)
8
+
5
9
  ## 7.0.0 (2024-05-31)
6
10
 
7
11
  ### Breaking Changes
@@ -48,7 +52,7 @@
48
52
 
49
53
  ## 6.19.0 (2023-09-20)
50
54
 
51
- ### Features
55
+ ### New Features
52
56
 
53
57
  - `useStateWithHistory`: Add a new hook to manage state with undo/redo support.
54
58
 
@@ -141,7 +145,7 @@
141
145
 
142
146
  ## 5.7.0 (2022-05-18)
143
147
 
144
- ### Bug Fix
148
+ ### Bug Fixes
145
149
 
146
150
  - `useRefEffect`: Allow `void` as a valid callback return type ([#40798](https://github.com/WordPress/gutenberg/pull/40798)).
147
151
 
@@ -167,7 +171,7 @@
167
171
 
168
172
  ## 5.0.0 (2021-07-29)
169
173
 
170
- ### Breaking Change
174
+ ### Breaking Changes
171
175
 
172
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).
173
177
 
@@ -216,7 +220,7 @@
216
220
 
217
221
  ## 2.1.0 (2018-10-29)
218
222
 
219
- ### Deprecation
223
+ ### Deprecations
220
224
 
221
225
  - `remountOnPropChange` has been deprecated.
222
226
 
@@ -226,6 +230,6 @@
226
230
 
227
231
  ## 2.0.0 (2018-09-05)
228
232
 
229
- ### Breaking Change
233
+ ### Breaking Changes
230
234
 
231
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.0.1",
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.0.1",
36
- "@wordpress/dom": "^4.0.1",
37
- "@wordpress/element": "^6.0.1",
38
- "@wordpress/is-shallow-equal": "^5.0.1",
39
- "@wordpress/keycodes": "^4.0.1",
40
- "@wordpress/priority-queue": "^3.0.1",
41
- "@wordpress/undo-manager": "^1.0.1",
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": "0e973525f7787401b5a544e0727774d52a78639f"
53
+ "gitHead": "aa5b14bb5bdbb8d8a02914e154c3bc1c2f18ace6"
54
54
  }