From 4ae00755f429b25bef3887eebfdf6dbd893ba714 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Wed, 24 Apr 2024 02:41:02 -0700 Subject: [PATCH] v4.1.0 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 https://github.com/lgarron/clipboard-polyfill/issues/167 for more information. --- package-lock.json | 4 ++-- package.json | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 607f67b..94f3a7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "clipboard-polyfill", - "version": "4.0.2", + "version": "4.1.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "clipboard-polyfill", - "version": "4.0.2", + "version": "4.1.0", "license": "MIT", "devDependencies": { "@biomejs/biome": "^1.1.0", diff --git a/package.json b/package.json index c5c0cf9..69c46b4 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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",