@automattic/jetpack-components 0.56.1 → 0.56.3

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,15 @@
2
2
 
3
3
  ### This is a list detailing changes for the Jetpack RNA Components package releases.
4
4
 
5
+ ## [0.56.3] - 2024-10-10
6
+ ### Changed
7
+ - Components - getRedirectUrl: use file extension on import for linter to find definitions
8
+ - Updated package dependencies.
9
+
10
+ ## [0.56.2] - 2024-10-07
11
+ ### Changed
12
+ - Updated package dependencies. [#39594]
13
+
5
14
  ## [0.56.1] - 2024-10-02
6
15
  ### Changed
7
16
  - Updated package dependencies. [#39610]
@@ -1176,6 +1185,8 @@
1176
1185
  ### Changed
1177
1186
  - Update node version requirement to 14.16.1
1178
1187
 
1188
+ [0.56.3]: https://github.com/Automattic/jetpack-components/compare/0.56.2...0.56.3
1189
+ [0.56.2]: https://github.com/Automattic/jetpack-components/compare/0.56.1...0.56.2
1179
1190
  [0.56.1]: https://github.com/Automattic/jetpack-components/compare/0.56.0...0.56.1
1180
1191
  [0.56.0]: https://github.com/Automattic/jetpack-components/compare/0.55.17...0.56.0
1181
1192
  [0.55.17]: https://github.com/Automattic/jetpack-components/compare/0.55.16...0.55.17
@@ -48,20 +48,17 @@ const JetpackFooter: React.FC< JetpackFooterProps > = ( {
48
48
  const [ isMd ] = useBreakpointMatch( 'md', '<=' );
49
49
  const [ isLg ] = useBreakpointMatch( 'lg', '>' );
50
50
 
51
- const { isActive, connectedPlugins } = useSelect(
52
- select => {
53
- const connectionStatus = select( CONNECTION_STORE_ID ) as {
54
- getConnectedPlugins: () => { slug: string }[];
55
- getConnectionStatus: () => { isActive: boolean };
56
- };
51
+ const { isActive, connectedPlugins } = useSelect( select => {
52
+ const connectionStatus = select( CONNECTION_STORE_ID ) as {
53
+ getConnectedPlugins: () => { slug: string }[];
54
+ getConnectionStatus: () => { isActive: boolean };
55
+ };
57
56
 
58
- return {
59
- connectedPlugins: connectionStatus?.getConnectedPlugins(),
60
- ...connectionStatus.getConnectionStatus(),
61
- };
62
- },
63
- [ CONNECTION_STORE_ID ]
64
- );
57
+ return {
58
+ connectedPlugins: connectionStatus?.getConnectedPlugins(),
59
+ ...connectionStatus.getConnectionStatus(),
60
+ };
61
+ }, [] );
65
62
  const siteAdminUrl = getSiteAdminUrl();
66
63
  const areAdminLinksEnabled =
67
64
  siteAdminUrl &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "0.56.1",
3
+ "version": "0.56.3",
4
4
  "description": "Jetpack Components Package",
5
5
  "author": "Automattic",
6
6
  "license": "GPL-2.0-or-later",
@@ -15,17 +15,17 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@automattic/format-currency": "1.0.1",
18
- "@automattic/jetpack-boost-score-api": "^0.1.40",
18
+ "@automattic/jetpack-boost-score-api": "^0.1.42",
19
19
  "@babel/runtime": "^7",
20
- "@wordpress/browserslist-config": "6.7.0",
21
- "@wordpress/components": "28.7.0",
22
- "@wordpress/compose": "7.7.0",
23
- "@wordpress/data": "10.7.0",
24
- "@wordpress/date": "5.7.0",
25
- "@wordpress/element": "6.7.0",
26
- "@wordpress/i18n": "5.7.0",
27
- "@wordpress/icons": "10.7.0",
28
- "@wordpress/notices": "5.7.0",
20
+ "@wordpress/browserslist-config": "6.9.0",
21
+ "@wordpress/components": "28.9.0",
22
+ "@wordpress/compose": "7.9.0",
23
+ "@wordpress/data": "10.9.0",
24
+ "@wordpress/date": "5.9.0",
25
+ "@wordpress/element": "6.9.0",
26
+ "@wordpress/i18n": "5.9.0",
27
+ "@wordpress/icons": "10.9.0",
28
+ "@wordpress/notices": "5.9.0",
29
29
  "clsx": "2.1.1",
30
30
  "prop-types": "^15.7.2",
31
31
  "qrcode.react": "3.1.0",
@@ -35,13 +35,13 @@
35
35
  "uplot-react": "1.1.4"
36
36
  },
37
37
  "devDependencies": {
38
- "@automattic/jetpack-base-styles": "^0.6.32",
38
+ "@automattic/jetpack-base-styles": "^0.6.34",
39
39
  "@babel/core": "7.24.7",
40
40
  "@babel/preset-react": "7.24.7",
41
41
  "@jest/globals": "29.4.3",
42
- "@storybook/addon-actions": "8.2.9",
43
- "@storybook/blocks": "8.2.9",
44
- "@storybook/react": "8.2.9",
42
+ "@storybook/addon-actions": "8.3.5",
43
+ "@storybook/blocks": "8.3.5",
44
+ "@storybook/react": "8.3.5",
45
45
  "@testing-library/dom": "10.4.0",
46
46
  "@testing-library/react": "16.0.1",
47
47
  "@testing-library/user-event": "14.5.2",
@@ -56,7 +56,7 @@
56
56
  "react-dom": "18.3.1",
57
57
  "require-from-string": "2.0.2",
58
58
  "resize-observer-polyfill": "1.5.1",
59
- "storybook": "8.2.9",
59
+ "storybook": "8.3.5",
60
60
  "ts-dedent": "2.2.0",
61
61
  "typescript": "5.0.4",
62
62
  "webpack": "5.94.0",
@@ -1,6 +1,6 @@
1
1
  /* global jetpack_redirects */
2
2
 
3
- import { GetRedirectUrlArgs, QueryVars } from './types';
3
+ import { GetRedirectUrlArgs, QueryVars } from './types.js';
4
4
 
5
5
  /**
6
6
  * Builds an URL using the jetpack.com/redirect/ service