Skip to content

Commit

Permalink
Update wordpress monorepo (#40564)
Browse files Browse the repository at this point in the history
* Update wordpress monorepo

* Downgrade dataviews, let's leave that for a separate PR.

* Copy `structuredClone` into jest-environment-jsdom

* Add ts-expect-error for WordPress/gutenberg#67847

* Apparently we can't use a ts file everywhere.

---------

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12290272503

Upstream-Ref: Automattic/jetpack@e11a66a
  • Loading branch information
manzoorwanijk authored and matticbot committed Dec 12, 2024
1 parent 448695e commit 7f992bd
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 19 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

This is an alpha version! The changes listed here are not final.

### Changed
- Updated package dependencies.

## [0.75.0] - 2024-12-09
### Changed
- Changed text domain from 'jetpack' to 'jetpack-publicize-components'. [#40368]
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,25 @@
"@automattic/jetpack-shared-extension-utils": "^0.16.2-alpha",
"@automattic/popup-monitor": "1.0.2",
"@automattic/social-previews": "2.1.0-beta.8",
"@wordpress/annotations": "3.13.0",
"@wordpress/api-fetch": "7.13.0",
"@wordpress/block-editor": "14.8.0",
"@wordpress/blocks": "14.2.0",
"@wordpress/components": "28.13.0",
"@wordpress/compose": "7.13.0",
"@wordpress/core-data": "7.13.0",
"@wordpress/data": "10.13.0",
"@wordpress/annotations": "3.14.0",
"@wordpress/api-fetch": "7.14.0",
"@wordpress/block-editor": "14.9.0",
"@wordpress/blocks": "14.3.0",
"@wordpress/components": "29.0.0",
"@wordpress/compose": "7.14.0",
"@wordpress/core-data": "7.14.0",
"@wordpress/data": "10.14.0",
"@wordpress/dataviews": "4.9.0",
"@wordpress/date": "5.13.0",
"@wordpress/edit-post": "8.13.0",
"@wordpress/editor": "14.13.0",
"@wordpress/element": "6.13.0",
"@wordpress/hooks": "4.13.0",
"@wordpress/html-entities": "4.13.0",
"@wordpress/i18n": "5.13.0",
"@wordpress/icons": "10.13.0",
"@wordpress/media-utils": "5.13.0",
"@wordpress/notices": "5.13.0",
"@wordpress/date": "5.14.0",
"@wordpress/edit-post": "8.14.0",
"@wordpress/editor": "14.14.0",
"@wordpress/element": "6.14.0",
"@wordpress/hooks": "4.14.0",
"@wordpress/html-entities": "4.14.0",
"@wordpress/i18n": "5.14.0",
"@wordpress/icons": "10.14.0",
"@wordpress/media-utils": "5.14.0",
"@wordpress/notices": "5.14.0",
"clsx": "2.1.1",
"prop-types": "15.8.1",
"react-page-visibility": "7.0.0",
Expand All @@ -63,7 +63,7 @@
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"@types/react": "18.3.12",
"@wordpress/babel-plugin-import-jsx-pragma": "5.13.0",
"@wordpress/babel-plugin-import-jsx-pragma": "5.14.0",
"babel-jest": "29.4.3",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
Expand Down
1 change: 1 addition & 0 deletions src/social-store/selectors/social-image-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SocialImageGeneratorConfig, SocialSettingsFields } from '../types';
* Returns the Social Image Generator settings for the current site.
*/
export const getSocialImageGeneratorConfig = createRegistrySelector( select => () => {
// @ts-expect-error TS2339 - https://github.com/WordPress/gutenberg/issues/67847
const { getSite } = select( coreStore );

const settings = getSite( undefined, { _fields: SIG_SETTINGS_KEY } ) as SocialSettingsFields;
Expand Down
1 change: 1 addition & 0 deletions src/social-store/selectors/utm-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { SocialSettingsFields, UtmSettingsConfig } from '../types';
* Returns the UTM state.
*/
export const getUtmSettings = createRegistrySelector( select => () => {
// @ts-expect-error TS2339 - https://github.com/WordPress/gutenberg/issues/67847
const { getSite } = select( coreStore );

const settings = getSite( undefined, { _fields: UTM_ENABLED_KEY } ) as SocialSettingsFields;
Expand Down

0 comments on commit 7f992bd

Please sign in to comment.