Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/copy-to-clipboard

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/copy-to-clipboard - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

dist/badges.svg

2

dist/copy-to-clipboard.cjs.js
/**!
* @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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc