@automattic/social-previews 1.1.4 → 1.1.5

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/package.json +9 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.1.5 (2022-08-24)
4
+
5
+ - Declare an optional peer dependency on `@babel/runtime`, for CommonJS environments. This dependency already existed previously, it just wasn't declared.
6
+
3
7
  ## v1.1.4 (2022-05-25)
4
8
 
5
9
  - Add missing dependency on `@emotion/react`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/social-previews",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "A suite of components to generate previews for a post for both social and search engines.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -38,8 +38,8 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@emotion/react": "^11.4.1",
41
- "@wordpress/components": "^19.9.0",
42
- "@wordpress/i18n": "^4.7.0",
41
+ "@wordpress/components": "^19.15.0",
42
+ "@wordpress/i18n": "^4.9.0",
43
43
  "classnames": "^2.3.1",
44
44
  "lodash": "^4.17.21",
45
45
  "moment": "^2.26.0",
@@ -52,7 +52,13 @@
52
52
  "react-dom": "^17.0.2"
53
53
  },
54
54
  "peerDependencies": {
55
+ "@babel/runtime": "^7",
55
56
  "react": "^17.0.2",
56
57
  "react-dom": "^17.0.2"
58
+ },
59
+ "peerDependenciesMeta": {
60
+ "@babel/runtime": {
61
+ "optional": true
62
+ }
57
63
  }
58
64
  }