@wordpress/block-directory 4.2.0 → 4.3.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
+ ## 4.3.0 (2023-02-01)
6
+
5
7
  ## 4.2.0 (2023-01-11)
6
8
 
7
9
  ## 4.1.0 (2023-01-02)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-directory",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "description": "Extend editor with block directory features to search, download and install blocks.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -26,24 +26,24 @@
26
26
  "react-native": "src/index",
27
27
  "dependencies": {
28
28
  "@babel/runtime": "^7.16.0",
29
- "@wordpress/a11y": "^3.25.0",
30
- "@wordpress/api-fetch": "^6.22.0",
31
- "@wordpress/block-editor": "^11.2.0",
32
- "@wordpress/blocks": "^12.2.0",
33
- "@wordpress/components": "^23.2.0",
34
- "@wordpress/compose": "^6.2.0",
35
- "@wordpress/core-data": "^6.2.0",
36
- "@wordpress/data": "^8.2.0",
37
- "@wordpress/edit-post": "^7.2.0",
38
- "@wordpress/editor": "^13.2.0",
39
- "@wordpress/element": "^5.2.0",
40
- "@wordpress/hooks": "^3.25.0",
41
- "@wordpress/html-entities": "^3.25.0",
42
- "@wordpress/i18n": "^4.25.0",
43
- "@wordpress/icons": "^9.16.0",
44
- "@wordpress/notices": "^3.25.0",
45
- "@wordpress/plugins": "^5.2.0",
46
- "@wordpress/url": "^3.26.0",
29
+ "@wordpress/a11y": "^3.26.0",
30
+ "@wordpress/api-fetch": "^6.23.0",
31
+ "@wordpress/block-editor": "^11.3.0",
32
+ "@wordpress/blocks": "^12.3.0",
33
+ "@wordpress/components": "^23.3.0",
34
+ "@wordpress/compose": "^6.3.0",
35
+ "@wordpress/core-data": "^6.3.0",
36
+ "@wordpress/data": "^8.3.0",
37
+ "@wordpress/edit-post": "^7.3.0",
38
+ "@wordpress/editor": "^13.3.0",
39
+ "@wordpress/element": "^5.3.0",
40
+ "@wordpress/hooks": "^3.26.0",
41
+ "@wordpress/html-entities": "^3.26.0",
42
+ "@wordpress/i18n": "^4.26.0",
43
+ "@wordpress/icons": "^9.17.0",
44
+ "@wordpress/notices": "^3.26.0",
45
+ "@wordpress/plugins": "^5.3.0",
46
+ "@wordpress/url": "^3.27.0",
47
47
  "change-case": "^4.1.2"
48
48
  },
49
49
  "peerDependencies": {
@@ -53,5 +53,5 @@
53
53
  "publishConfig": {
54
54
  "access": "public"
55
55
  },
56
- "gitHead": "204c880ff65295768e9695dfee6c7a9fee1fdd05"
56
+ "gitHead": "cab6ebe2b4c5dbacfd753dcae4a2406559c4813c"
57
57
  }
@@ -15,8 +15,6 @@ import { useSelect } from '@wordpress/data';
15
15
  import DownloadableBlockListItem from '../';
16
16
  import { plugin } from '../../test/fixtures';
17
17
 
18
- jest.useFakeTimers();
19
-
20
18
  jest.mock( '@wordpress/data/src/components/use-select', () => {
21
19
  // This allows us to tweak the returned value on each test.
22
20
  const mock = jest.fn();
@@ -68,9 +66,7 @@ describe( 'DownloadableBlockListItem', () => {
68
66
  } );
69
67
 
70
68
  it( 'should try to install the block plugin', async () => {
71
- const user = userEvent.setup( {
72
- advanceTimers: jest.advanceTimersByTime,
73
- } );
69
+ const user = userEvent.setup();
74
70
 
75
71
  useSelect.mockImplementation( () => ( {
76
72
  isInstalling: false,