New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

copy-paste

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copy-paste - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

14

index.js
var child_process = require("child_process");
var spawn = child_process.spawn;
var execSync = child_process.execSync
var util = require("util");
var execSync = (function() {
if(child_process.execSync) { // Use native execSync if avaiable
return function(cmd) { return child_process.execSync(cmd); };
} else {
try { // Try using fallback package if available
var execSync = require("sync-exec");
return function(cmd) { return execSync(cmd).stdout; };
} catch(e) {}
}
return null;
})();
var config;

@@ -19,0 +7,0 @@

4

package.json
{ "name": "copy-paste"
, "version": "1.4.0"
, "version": "1.5.0"
, "description": "A command line utility that allows read/write (i.e copy/paste) access to the system clipboard."

@@ -18,4 +18,2 @@ , "keywords": [ "copy", "paste", "copy and paste", "clipboard" ]

{ "iconv-lite": "^0.4.8" }
, "optionalDependencies":
{ "sync-exec": "~0.6.x" }
, "devDependencies":

@@ -22,0 +20,0 @@ { "mocha": "*", "should": ">=8.2.1" }

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