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

clipboardy

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipboardy - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

index.js

@@ -31,3 +31,3 @@ 'use strict';

exports.read = () => platform().paste();
exports.read = () => platform().paste({stripEof: false});

@@ -42,2 +42,2 @@ exports.writeSync = input => {

exports.readSync = () => platform().pasteSync().stdout;
exports.readSync = () => platform().pasteSync({stripEof: false}).stdout;

@@ -10,14 +10,6 @@ 'use strct';

module.exports = {
copy: opts => {
const input = opts.input;
delete opts.input;
return execa(winWriteBinPath, [input], opts);
},
copy: opts => execa(winWriteBinPath, opts),
paste: opts => execa.stdout(winReadBinPath, opts),
copySync: opts => {
const input = opts.input;
delete opts.input;
return execa.sync(winWriteBinPath, [input], opts);
},
copySync: opts => execa.sync(winWriteBinPath, opts),
pasteSync: opts => execa.sync(winReadBinPath, opts)
};
{
"name": "clipboardy",
"version": "1.1.2",
"version": "1.1.3",
"description": "Access the system clipboard (copy/paste)",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -59,2 +59,3 @@ # clipboardy [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/clipboardy.svg?branch=master)](https://travis-ci.org/sindresorhus/clipboardy) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/gflt3gjn1ia0a3vo/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/clipboardy/branch/master)

- [clipboard-cli](https://github.com/sindresorhus/clipboard-cli) - CLI for this module
- [copy-text-to-clipboard](https://github.com/sindresorhus/copy-text-to-clipboard) - Copy text to the clipboard in the browser

@@ -61,0 +62,0 @@

Sorry, the diff of this file is not supported yet

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