diff --git a/.changeset/spicy-boxes-cry.md b/.changeset/spicy-boxes-cry.md deleted file mode 100644 index 6201fdae..00000000 --- a/.changeset/spicy-boxes-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"react-share": patch ---- - -Fixed `exports` in package.json to comply with the `publint` and `attw` tools. May solve issues when your project uses CommonJS modules and Node.js v16 or newer. diff --git a/CHANGELOG.md b/CHANGELOG.md index 03feb355..972992f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 5.0.4 + +### Patch Changes + +- 1c50111: Fixed `exports` in package.json to comply with the `publint` and `attw` tools. May solve issues when your project uses CommonJS modules and Node.js v16 or newer. + ## 5.0.3 ### Patch Changes diff --git a/package.json b/package.json index ba6bcd8d..c7e67957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-share", - "version": "5.0.3", + "version": "5.0.4", "description": "Social media share buttons and share counts for React.", "type": "module", "main": "./dist/index.cjs", @@ -11,7 +11,9 @@ "require": "./dist/index.cjs" }, "sideEffects": false, - "files": ["dist"], + "files": [ + "dist" + ], "scripts": { "build": "vite build", "build-demo": "vite build --config vite.demo.config.js",