@uiw/copy-to-clipboard
Advanced tools
Comparing version 1.0.15 to 1.0.16
/**! | ||
* @uiw/copy-to-clipboard v1.0.15 | ||
* @uiw/copy-to-clipboard v1.0.16 | ||
* Copy to clipboard. | ||
@@ -4,0 +4,0 @@ * |
/**! | ||
* @uiw/copy-to-clipboard v1.0.15 | ||
* @uiw/copy-to-clipboard v1.0.16 | ||
* Copy to clipboard. | ||
@@ -4,0 +4,0 @@ * |
/**! | ||
* @uiw/copy-to-clipboard v1.0.15 | ||
* @uiw/copy-to-clipboard v1.0.16 | ||
* Copy to clipboard. | ||
@@ -4,0 +4,0 @@ * |
@@ -1,3 +0,3 @@ | ||
/*! @uiw/copy-to-clipboard v1.0.15 | MIT © 2023 Kenny Wang https://uiwjs.github.io/copy-to-clipboard */ | ||
/*! @uiw/copy-to-clipboard v1.0.16 | MIT © 2023 Kenny Wang https://uiwjs.github.io/copy-to-clipboard */ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).copyTextToClipboard=t()}(this,(function(){"use strict";return function(e,t){if("undefined"==typeof document)return;const o=document.createElement("textarea");o.value=e,o.setAttribute("readonly",""),o.style={position:"absolute",left:"-9999px"},document.body.appendChild(o);const n=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);o.select();let d=!1;try{d=!!document.execCommand("copy")}catch(e){d=!1}document.body.removeChild(o),n&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n)),t&&t(d)}})); | ||
//# sourceMappingURL=copy-to-clipboard.umd.min.js.map |
{ | ||
"name": "@uiw/copy-to-clipboard", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "Copy to clipboard.", | ||
@@ -10,6 +10,2 @@ "main": "dist/copy-to-clipboard.cjs.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
"build": "rollup -c rollup.config.mjs", | ||
"dev": "rollup -c rollup.config.mjs -w" | ||
}, | ||
"files": [ | ||
@@ -37,11 +33,3 @@ "index.d.ts", | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@rollup/plugin-terser": "^0.4.1", | ||
"bannerjs": "^3.0.1", | ||
"rollup": "^3.20.2" | ||
}, | ||
"dependencies": {} | ||
} | ||
"license": "MIT" | ||
} |
@@ -10,2 +10,3 @@ Copy Text to Clipboard | ||
[![Repo Dependents](https://badgen.net/github/dependents-repo/uiwjs/copy-to-clipboard)](https://github.com/uiwjs/copy-to-clipboard/network/dependents) | ||
[![Coverage Status](https://uiwjs.github.io/copy-to-clipboard/badges.svg)](https://uiwjs.github.io/copy-to-clipboard/lcov-report/) | ||
@@ -49,4 +50,14 @@ **This styling is an extra step which is likely not required.** | ||
## Contributors | ||
As always, thanks to our amazing contributors! | ||
<a href="https://github.com/uiwjs/copy-to-clipboard/graphs/contributors"> | ||
<img src="https://uiwjs.github.io/copy-to-clipboard/CONTRIBUTORS.svg" /> | ||
</a> | ||
Made with [contributors](https://github.com/jaywcjlove/github-action-contributors). | ||
### License | ||
Licensed under the MIT License. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
147116
0
34
2443
62
0