@automattic/jetpack-shared-extension-utils 0.16.0 → 0.16.2

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
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.16.2] - 2024-12-16
9
+ ### Changed
10
+ - Updated package dependencies. [#40564]
11
+
12
+ ## [0.16.1] - 2024-12-09
13
+ ### Changed
14
+ - Internal updates.
15
+
8
16
  ## [0.16.0] - 2024-12-04
9
17
  ### Changed
10
18
  - Changed text domain from 'jetpack' to 'jetpack-shared-extension-utils'. [#40368]
@@ -503,6 +511,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
503
511
  ### Changed
504
512
  - Core: prepare utility for release
505
513
 
514
+ [0.16.2]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.16.1...0.16.2
515
+ [0.16.1]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.16.0...0.16.1
506
516
  [0.16.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.20...0.16.0
507
517
  [0.15.20]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.19...0.15.20
508
518
  [0.15.19]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.18...0.15.19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "description": "Utility functions used by the block editor extensions",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
6
6
  "bugs": {
@@ -19,15 +19,15 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@automattic/jetpack-analytics": "^0.1.33",
22
- "@automattic/jetpack-components": "^0.64.0",
23
- "@automattic/jetpack-connection": "^0.36.0",
24
- "@wordpress/api-fetch": "7.13.0",
25
- "@wordpress/compose": "7.13.0",
26
- "@wordpress/data": "10.13.0",
27
- "@wordpress/element": "6.13.0",
28
- "@wordpress/i18n": "5.13.0",
29
- "@wordpress/plugins": "7.13.0",
30
- "@wordpress/url": "4.13.0",
22
+ "@automattic/jetpack-components": "^0.65.0",
23
+ "@automattic/jetpack-connection": "^0.36.2",
24
+ "@wordpress/api-fetch": "7.14.0",
25
+ "@wordpress/compose": "7.14.0",
26
+ "@wordpress/data": "10.14.0",
27
+ "@wordpress/element": "6.14.0",
28
+ "@wordpress/i18n": "5.14.0",
29
+ "@wordpress/plugins": "7.14.0",
30
+ "@wordpress/url": "4.14.0",
31
31
  "lodash": "4.17.21"
32
32
  },
33
33
  "devDependencies": {
@@ -38,7 +38,7 @@
38
38
  "@testing-library/dom": "10.4.0",
39
39
  "@testing-library/react": "16.0.1",
40
40
  "@testing-library/user-event": "14.5.2",
41
- "@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
41
+ "@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
42
42
  "babel-jest": "29.3.1",
43
43
  "jest": "29.7.0",
44
44
  "jest-environment-jsdom": "29.7.0",
@@ -25,7 +25,7 @@ export function* updateJetpackModuleStatus( settings ) {
25
25
  const data = yield fetchJetpackModules();
26
26
  yield setJetpackModules( { data } );
27
27
  return true;
28
- } catch ( e ) {
28
+ } catch {
29
29
  const oldSettings = select( JETPACK_MODULES_STORE_ID ).getJetpackModules();
30
30
  yield setJetpackModules( oldSettings );
31
31
  return false;
@@ -49,7 +49,7 @@ export function* fetchModules() {
49
49
  const data = yield fetchJetpackModules();
50
50
  yield setJetpackModules( { data } );
51
51
  return true;
52
- } catch ( e ) {
52
+ } catch {
53
53
  const oldSettings = select( JETPACK_MODULES_STORE_ID ).getJetpackModules();
54
54
  yield setJetpackModules( oldSettings );
55
55
  return false;
@@ -13,6 +13,7 @@ export default function registerJetpackPlugin( name, settings ) {
13
13
  const unavailable = ! available;
14
14
 
15
15
  if ( unavailable ) {
16
+ // eslint-disable-next-line no-undef -- webpack defines it
16
17
  if ( 'production' !== process.env.NODE_ENV ) {
17
18
  // eslint-disable-next-line no-console
18
19
  console.warn(
@@ -1,5 +1,3 @@
1
- /* eslint-disable react/react-in-jsx-scope */
2
-
3
1
  import { createHigherOrderComponent } from '@wordpress/compose';
4
2
 
5
3
  import './style.scss';