@wordpress/e2e-tests 9.10.1-next.v.202605131032.0 → 9.12.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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/e2e-tests",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.12.0",
|
|
4
4
|
"description": "Test plugins and mu-plugins for E2E tests in WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"npm": ">=8.19.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@wordpress/interactivity": "^6.
|
|
28
|
-
"@wordpress/interactivity-router": "^2.
|
|
27
|
+
"@wordpress/interactivity": "^6.47.0",
|
|
28
|
+
"@wordpress/interactivity-router": "^2.47.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"jest": ">=29",
|
|
32
32
|
"puppeteer-core": ">=23",
|
|
33
|
-
"react": "^
|
|
34
|
-
"react-dom": "^
|
|
33
|
+
"react": "^19.2.4",
|
|
34
|
+
"react-dom": "^19.2.4"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d653c5fd6161571a0c2ebde28553d6e25624eacc"
|
|
40
40
|
}
|
|
@@ -10,9 +10,15 @@
|
|
|
10
10
|
const { __ } = wp.i18n;
|
|
11
11
|
const { registerPlugin } = wp.plugins;
|
|
12
12
|
|
|
13
|
+
const { unlock } =
|
|
14
|
+
wp.privateApis.__dangerousOptInToUnstableAPIsOnlyForCoreModules(
|
|
15
|
+
'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',
|
|
16
|
+
'@wordpress/core-data'
|
|
17
|
+
);
|
|
18
|
+
|
|
13
19
|
function CustomConnectionLimitModal() {
|
|
14
20
|
const connectionStatus = useSelect( function ( select ) {
|
|
15
|
-
return select( 'core' ).getSyncConnectionStatus() || null;
|
|
21
|
+
return unlock( select( 'core' ) ).getSyncConnectionStatus() || null;
|
|
16
22
|
}, [] );
|
|
17
23
|
|
|
18
24
|
const error =
|