@uiw/copy-to-clipboard 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  /**!
2
- * @uiw/copy-to-clipboard v1.0.13
2
+ * @uiw/copy-to-clipboard v1.0.14
3
3
  * Copy to clipboard.
4
4
  *
5
5
  * Copyright (c) 2023 Kenny Wang
6
6
  * https://github.com/uiwjs/copy-to-clipboard.git
7
7
  *
8
- * @website: https://github.com/uiwjs/copy-to-clipboard.git
8
+ * @website: https://uiwjs.github.io/copy-to-clipboard
9
9
 
10
10
  * Licensed under the MIT license
11
11
  */
@@ -1,11 +1,11 @@
1
1
  /**!
2
- * @uiw/copy-to-clipboard v1.0.13
2
+ * @uiw/copy-to-clipboard v1.0.14
3
3
  * Copy to clipboard.
4
4
  *
5
5
  * Copyright (c) 2023 Kenny Wang
6
6
  * https://github.com/uiwjs/copy-to-clipboard.git
7
7
  *
8
- * @website: https://github.com/uiwjs/copy-to-clipboard.git
8
+ * @website: https://uiwjs.github.io/copy-to-clipboard
9
9
 
10
10
  * Licensed under the MIT license
11
11
  */
@@ -1,11 +1,11 @@
1
1
  /**!
2
- * @uiw/copy-to-clipboard v1.0.13
2
+ * @uiw/copy-to-clipboard v1.0.14
3
3
  * Copy to clipboard.
4
4
  *
5
5
  * Copyright (c) 2023 Kenny Wang
6
6
  * https://github.com/uiwjs/copy-to-clipboard.git
7
7
  *
8
- * @website: https://github.com/uiwjs/copy-to-clipboard.git
8
+ * @website: https://uiwjs.github.io/copy-to-clipboard
9
9
 
10
10
  * Licensed under the MIT license
11
11
  */
@@ -1,3 +1,3 @@
1
- /*! @uiw/copy-to-clipboard v1.0.13 | MIT © 2023 Kenny Wang https://github.com/uiwjs/copy-to-clipboard.git */
1
+ /*! @uiw/copy-to-clipboard v1.0.14 | MIT © 2023 Kenny Wang https://uiwjs.github.io/copy-to-clipboard */
2
2
  !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){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 c=!1;try{c=!!document.execCommand("copy")}catch(e){c=!1}document.body.removeChild(o),n&&document.getSelection&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(n)),t&&t(c)}}));
3
3
  //# sourceMappingURL=copy-to-clipboard.umd.min.js.map
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@uiw/copy-to-clipboard",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Copy to clipboard.",
5
5
  "main": "dist/copy-to-clipboard.cjs.js",
6
6
  "module": "dist/copy-to-clipboard.esm.js",
7
7
  "browser": "dist/copy-to-clipboard.umd.js",
8
+ "homepage": "https://uiwjs.github.io/copy-to-clipboard",
8
9
  "types": "index.d.ts",
9
10
  "scripts": {
10
11
  "build": "rollup -c rollup.config.mjs",
@@ -12,7 +13,8 @@
12
13
  },
13
14
  "files": [
14
15
  "index.d.ts",
15
- "dist"
16
+ "dist",
17
+ "README.md"
16
18
  ],
17
19
  "keywords": [
18
20
  "copy",