@wordpress/plugins 7.50.0 → 7.51.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,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 7.51.0 (2026-07-14)
6
+
7
+ ### Enhancements
8
+
9
+ - Widen React peer dependency ranges to `^18 || ^19` to support both React 18 and React 19 environments ([#80024](https://github.com/WordPress/gutenberg/pull/80024)).
10
+
5
11
  ## 7.50.0 (2026-07-01)
6
12
 
7
13
  ## 7.49.0 (2026-06-24)
@@ -36,7 +36,7 @@ import type { WPPlugin } from '../../api';
36
36
  *
37
37
  * @return {Component} The component to be rendered.
38
38
  */
39
- declare function PluginArea({ scope, onError }: {
39
+ declare function PluginArea({ scope, onError, }: {
40
40
  scope?: string;
41
41
  onError?: (name: WPPlugin['name'], error: Error) => void;
42
42
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-area/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAS1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,UAAU,CAAE,EACpB,KAAK,EACL,OAAO,EACP,EAAE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAE,IAAI,EAAE,QAAQ,CAAE,MAAM,CAAE,EAAE,KAAK,EAAE,KAAK,KAAM,IAAI,CAAC;CAC7D,+BAgEA;eAEc,UAAU"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-area/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAS1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,iBAAS,UAAU,CAAE,EACpB,KAAK,EACL,OAAO,GACP,EAAE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,CAAE,IAAI,EAAE,QAAQ,CAAE,MAAM,CAAE,EAAE,KAAK,EAAE,KAAK,KAAM,IAAI,CAAC;CAC7D,+BAgEA;eAEc,UAAU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/plugins",
3
- "version": "7.50.0",
3
+ "version": "7.51.0",
4
4
  "description": "Plugins module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -42,13 +42,13 @@
42
42
  "wpScript": true,
43
43
  "types": "build-types",
44
44
  "dependencies": {
45
- "@wordpress/components": "^36.1.0",
46
- "@wordpress/compose": "^8.3.0",
47
- "@wordpress/deprecated": "^4.50.0",
48
- "@wordpress/element": "^8.2.0",
49
- "@wordpress/hooks": "^4.50.0",
50
- "@wordpress/icons": "^15.1.0",
51
- "@wordpress/is-shallow-equal": "^5.50.0",
45
+ "@wordpress/components": "^37.0.0",
46
+ "@wordpress/compose": "^8.4.0",
47
+ "@wordpress/deprecated": "^4.51.0",
48
+ "@wordpress/element": "^8.3.0",
49
+ "@wordpress/hooks": "^4.51.0",
50
+ "@wordpress/icons": "^15.2.0",
51
+ "@wordpress/is-shallow-equal": "^5.51.0",
52
52
  "memize": "^2.1.0",
53
53
  "react-is": "^18.3.0"
54
54
  },
@@ -58,9 +58,9 @@
58
58
  "@types/react-is": "^18.3.1"
59
59
  },
60
60
  "peerDependencies": {
61
- "@types/react": "^18.3.27",
62
- "react": "^18.0.0",
63
- "react-dom": "^18.0.0"
61
+ "@types/react": "^18 || ^19",
62
+ "react": "^18 || ^19",
63
+ "react-dom": "^18 || ^19"
64
64
  },
65
65
  "peerDependenciesMeta": {
66
66
  "@types/react": {
@@ -70,5 +70,5 @@
70
70
  "publishConfig": {
71
71
  "access": "public"
72
72
  },
73
- "gitHead": "fee6e24e8e63d36f6bbcf487c193461e9bd79753"
73
+ "gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
74
74
  }