@automattic/jetpack-shared-extension-utils 0.15.19 → 0.16.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
@@ -5,6 +5,15 @@ 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.0] - 2024-12-04
9
+ ### Changed
10
+ - Changed text domain from 'jetpack' to 'jetpack-shared-extension-utils'. [#40368]
11
+ - Updated package dependencies. [#40363]
12
+
13
+ ## [0.15.20] - 2024-12-02
14
+ ### Fixed
15
+ - Fix wrong output type on use-module-status hook. [#40364]
16
+
8
17
  ## [0.15.19] - 2024-11-26
9
18
  ### Changed
10
19
  - Update dependencies. [#40231]
@@ -494,6 +503,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
494
503
  ### Changed
495
504
  - Core: prepare utility for release
496
505
 
506
+ [0.16.0]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.20...0.16.0
507
+ [0.15.20]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.19...0.15.20
497
508
  [0.15.19]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.18...0.15.19
498
509
  [0.15.18]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.17...0.15.18
499
510
  [0.15.17]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.15.16...0.15.17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.15.19",
3
+ "version": "0.16.0",
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.63.0",
23
- "@automattic/jetpack-connection": "^0.35.20",
24
- "@wordpress/api-fetch": "7.12.0",
25
- "@wordpress/compose": "7.12.0",
26
- "@wordpress/data": "10.12.0",
27
- "@wordpress/element": "6.12.0",
28
- "@wordpress/i18n": "5.12.0",
29
- "@wordpress/plugins": "7.12.0",
30
- "@wordpress/url": "4.12.0",
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",
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.12.0",
41
+ "@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
42
42
  "babel-jest": "29.3.1",
43
43
  "jest": "29.7.0",
44
44
  "jest-environment-jsdom": "29.7.0",
@@ -6,7 +6,7 @@ import { JETPACK_MODULES_STORE_ID } from '../../modules-state';
6
6
  * Manage a Jetpack module's status (get and set).
7
7
  *
8
8
  * @param {string} name - The module's name.
9
- * @return {boolean} Whether the module is active.
9
+ * @return {object} Module status/control object.
10
10
  */
11
11
  const useModuleStatus = name => {
12
12
  const { isModuleActive, isChangingStatus, isLoadingModules } = useSelect(
package/src/plan-utils.js CHANGED
@@ -144,14 +144,14 @@ const usableBlockWithFreePlan = [
144
144
  mediaPlaceholder: true,
145
145
  mediaReplaceFlow: true,
146
146
  fileType: 'video',
147
- description: __( 'Upgrade your plan to use video covers', 'jetpack' ),
147
+ description: __( 'Upgrade your plan to use video covers', 'jetpack-shared-extension-utils' ),
148
148
  },
149
149
  {
150
150
  name: 'core/audio',
151
151
  mediaPlaceholder: true,
152
152
  mediaReplaceFlow: true,
153
153
  fileType: 'audio',
154
- description: __( 'Upgrade your plan to upload audio', 'jetpack' ),
154
+ description: __( 'Upgrade your plan to upload audio', 'jetpack-shared-extension-utils' ),
155
155
  },
156
156
  ];
157
157