@uiw/copy-to-clipboard
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,1 +1,11 @@ | ||
/*! | ||
* @uiw/copy-to-clipboard v1.0.3 | ||
* Copy to clipboard. | ||
* | ||
* Copyright (c) 2018 undefined | ||
* https://github.com/uiw-react/copy-to-clipboard.git | ||
* | ||
* Licensed under the MIT license. | ||
*/ | ||
'use strict'; | ||
@@ -2,0 +12,0 @@ |
@@ -0,1 +1,11 @@ | ||
/*! | ||
* @uiw/copy-to-clipboard v1.0.3 | ||
* Copy to clipboard. | ||
* | ||
* Copyright (c) 2018 undefined | ||
* https://github.com/uiw-react/copy-to-clipboard.git | ||
* | ||
* Licensed under the MIT license. | ||
*/ | ||
function copyTextToClipboard(text, cb) { | ||
@@ -2,0 +12,0 @@ const textArea = document.createElement('textarea'); |
@@ -0,1 +1,11 @@ | ||
/*! | ||
* @uiw/copy-to-clipboard v1.0.3 | ||
* Copy to clipboard. | ||
* | ||
* Copyright (c) 2018 undefined | ||
* https://github.com/uiw-react/copy-to-clipboard.git | ||
* | ||
* Licensed under the MIT license. | ||
*/ | ||
(function (global, factory) { | ||
@@ -2,0 +12,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
{ | ||
"name": "@uiw/copy-to-clipboard", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Copy to clipboard.", | ||
@@ -29,2 +29,3 @@ "main": "dist/copy-to-clipboard.cjs.js", | ||
"devDependencies": { | ||
"bannerjs": "^1.0.5", | ||
"rollup": "^0.65.2", | ||
@@ -31,0 +32,0 @@ "rollup-plugin-commonjs": "^9.1.6", |
import resolve from 'rollup-plugin-node-resolve'; | ||
import commonjs from 'rollup-plugin-commonjs'; | ||
import banner from 'bannerjs'; | ||
import pkg from './package.json'; | ||
@@ -12,3 +13,4 @@ | ||
file: pkg.browser, | ||
format: 'umd' | ||
format: 'umd', | ||
banner: banner.multibanner(), | ||
}, | ||
@@ -31,6 +33,6 @@ plugins: [ | ||
output: [ | ||
{ file: pkg.main, format: 'cjs' }, | ||
{ file: pkg.module, format: 'es' } | ||
{ file: pkg.main, format: 'cjs', banner: banner.multibanner() }, | ||
{ file: pkg.module, format: 'es', banner: banner.multibanner() } | ||
] | ||
} | ||
]; |
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
9212
208
4