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
1
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.3 to 1.0.4

10

dist/copy-to-clipboard.cjs.js

@@ -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() :

3

package.json
{
"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() }
]
}
];
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