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

cypress

Package Overview
Dependencies
Maintainers
2
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

18

lib/exec/spawn.js
'use strict';
var _ = require('lodash');
var os = require('os');
var cp = require('child_process');

@@ -16,2 +17,12 @@ var Promise = require('bluebird');

function getStdio() {
// https://github.com/cypress-io/cypress/issues/717
// need to switch this else windows crashes
if (os.platform() === 'win32') {
return ['inherit', 'pipe', 'pipe'];
}
return ['inherit', 'inherit', 'ignore'];
}
module.exports = {

@@ -25,3 +36,3 @@ start: function start(args) {

detached: false,
stdio: ['inherit', 'pipe', 'pipe']
stdio: getStdio()
});

@@ -39,4 +50,5 @@

child.stdout.pipe(process.stdout);
child.stderr.pipe(devNull());
// if these are defined then we manually pipe for windows
child.stdout && child.stdout.pipe(process.stdout);
child.stderr && child.stderr.pipe(devNull());

@@ -43,0 +55,0 @@ if (options.detached) {

2

package.json
{
"name": "cypress",
"version": "1.0.0",
"version": "1.0.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "bin": {

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