Skip to content

Commit

Permalink
v4.1.0
Browse files Browse the repository at this point in the history
Release notes:

- Fix an issue where the contents of a `NotAllowedError` could be copied when
  - `navigator.clipboard.writeText()` fails, but
  - a further fallback succeeds.

See #167 for more information.
  • Loading branch information
lgarron committed Apr 24, 2024
1 parent bda35b5 commit 4ae0075
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clipboard-polyfill",
"version": "4.0.2",
"version": "4.1.0",
"description": "A polyfill for the asynchronous clipboard API",
"type": "module",
"devDependencies": {
Expand Down Expand Up @@ -31,7 +31,11 @@
"bugs": {
"url": "https://github.com/lgarron/clipboard-polyfill/issues"
},
"files": ["/dist", "/overwrite-globals", "README.md"],
"files": [
"/dist",
"/overwrite-globals",
"README.md"
],
"scripts": {
"build": "node script/build.js && npx tsc --project tsconfig.json",
"build-demo": "node script/build-demo.js",
Expand Down

0 comments on commit 4ae0075

Please sign in to comment.