From 91c2e104f4e5db7e1c0c6a2075703b6b084ccc06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Zi=C3=B3=C5=82kowski?= Date: Thu, 18 Aug 2022 19:40:02 +0200 Subject: [PATCH] Packages: Ensure dependencies use version ranges (#43355) * Packages: Ensure dependencies use version ranges * Add entries to CHANGELOG files --- package-lock.json | 6 +++--- packages/block-library/CHANGELOG.md | 6 +++++- packages/block-library/package.json | 2 +- packages/components/CHANGELOG.md | 1 + packages/components/package.json | 4 ++-- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ade08c693fc96..5b6ec5085b54b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16610,7 +16610,7 @@ "change-case": "^4.1.2", "classnames": "^2.3.1", "colord": "^2.7.0", - "fast-average-color": "4.3.0", + "fast-average-color": "^4.3.0", "lodash": "^4.17.21", "memize": "^1.1.0", "micromodal": "^0.4.10", @@ -16686,8 +16686,8 @@ "@emotion/react": "^11.7.1", "@emotion/serialize": "^1.0.2", "@emotion/styled": "^11.6.0", - "@emotion/utils": "1.0.0", - "@floating-ui/react-dom": "1.0.0", + "@emotion/utils": "^1.0.0", + "@floating-ui/react-dom": "^1.0.0", "@use-gesture/react": "^10.2.6", "@wordpress/a11y": "file:packages/a11y", "@wordpress/compose": "file:packages/compose", diff --git a/packages/block-library/CHANGELOG.md b/packages/block-library/CHANGELOG.md index 591c642d9ca50..fe41dc065008a 100644 --- a/packages/block-library/CHANGELOG.md +++ b/packages/block-library/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Bug Fix + +- Ensure all dependencies allow version ranges ([#43355](https://github.com/WordPress/gutenberg/pull/43355)). + ## 7.12.0 (2022-08-10) ## 7.11.0 (2022-07-27) @@ -18,7 +22,7 @@ ### Enhancement -- Declare blocks as __experimental in block.json to automate syncing Gutenberg packages to WordPress ([#40655](https://github.com/WordPress/gutenberg/pull/40655)). +- Declare blocks as \_\_experimental in block.json to automate syncing Gutenberg packages to WordPress ([#40655](https://github.com/WordPress/gutenberg/pull/40655)). ## 7.5.0 (2022-05-04) diff --git a/packages/block-library/package.json b/packages/block-library/package.json index 8bd388c6e9f66..1a22fe7cf0823 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -63,7 +63,7 @@ "change-case": "^4.1.2", "classnames": "^2.3.1", "colord": "^2.7.0", - "fast-average-color": "4.3.0", + "fast-average-color": "^4.3.0", "lodash": "^4.17.21", "memize": "^1.1.0", "micromodal": "^0.4.10", diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 7c088222c9b4c..d2da776b33961 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -12,6 +12,7 @@ - `Popover`: fix and improve opening animation ([#43186](https://github.com/WordPress/gutenberg/pull/43186)). - `Popover`: fix incorrect deps in hooks resulting in incorrect positioning after calling `update` ([#43267](https://github.com/WordPress/gutenberg/pull/43267/)). - `FontSizePicker`: Fix excessive margin between label and input ([#43304](https://github.com/WordPress/gutenberg/pull/43304)). +- Ensure all dependencies allow version ranges ([#43355](https://github.com/WordPress/gutenberg/pull/43355)). - `Popover`: make sure offset middleware always applies the latest frame offset values ([#43329](https://github.com/WordPress/gutenberg/pull/43329/)). ### Enhancements diff --git a/packages/components/package.json b/packages/components/package.json index deeee6b65da69..e9e2c395dbf97 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -35,8 +35,8 @@ "@emotion/react": "^11.7.1", "@emotion/serialize": "^1.0.2", "@emotion/styled": "^11.6.0", - "@emotion/utils": "1.0.0", - "@floating-ui/react-dom": "1.0.0", + "@emotion/utils": "^1.0.0", + "@floating-ui/react-dom": "^1.0.0", "@use-gesture/react": "^10.2.6", "@wordpress/a11y": "file:../a11y", "@wordpress/compose": "file:../compose",