diff --git a/.changeset/healthy-elephants-own.md b/.changeset/healthy-elephants-own.md new file mode 100644 index 00000000..6d89eece --- /dev/null +++ b/.changeset/healthy-elephants-own.md @@ -0,0 +1,5 @@ +--- +'@guardian/braze-components': minor +--- + +Broader @guardian/source peer dependency range diff --git a/package.json b/package.json index a92f0c1d..84d25b93 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@guardian/grid-client": "^1.1.1", "@guardian/libs": "^16.0.0", "@guardian/node-riffraff-artifact": "^0.3.2", - "@guardian/source": "^1.0.1", + "@guardian/source": "^6.0.0", "@rollup/plugin-alias": "^3.1.1", "@rollup/plugin-babel": "^5.1.0", "@rollup/plugin-commonjs": "^14.0.0", @@ -96,7 +96,7 @@ "peerDependencies": { "@emotion/react": "^11.1.2", "@guardian/libs": "^16.0.0", - "@guardian/source": "^1.0.1", + "@guardian/source": ">= 1.0.1 < 7", "react": "17.0.2 || 18.2.0" }, "publishConfig": { diff --git a/yarn.lock b/yarn.lock index 8f82f963..2497fec0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3045,10 +3045,10 @@ yaml "^1.7.2" yargs "^15.4.1" -"@guardian/source@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@guardian/source/-/source-1.0.1.tgz#27e3ee2d44a1fbbd7c24705cccdbf643e3958ba4" - integrity sha512-LzOwkpDuKbOmVv7aOldEJhqaaKdNRP3EpWOAlJVfK08jDTwWtdM5CYTOn/8blJHLTUnEAcxZ6dH+S5zalGhFgg== +"@guardian/source@^6.0.0": + version "6.1.0" + resolved "https://registry.yarnpkg.com/@guardian/source/-/source-6.1.0.tgz#9c4e289a4529002e4f3252577a28c237457e52ae" + integrity sha512-Vez2zPyOa6SLNUSQ6XOIwFPGOcgRrg9MgRQTvG9ERUsYamuDFC3WiGi5U3tMll23WEekKSshd8jDZsAyWz5u5w== dependencies: mini-svg-data-uri "1.4.4"