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

@cucumber/electron

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cucumber/electron - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

CONTRIBUTING.md

12

bin/cucumber-electron.js
#!/usr/bin/env node
var spawn = require('child_process').spawn
var path = require('path')
const spawn = require('child_process').spawn
const path = require('path')
var electron = require('electron')
const electron = require('electron')
var args = process.argv.slice(2)
const args = process.argv.slice(2)
if (args.length === 1 && args[0] === '--help' || args[0] === '-h') {

@@ -25,3 +25,3 @@ showHelp()

var child = spawn(electron, args)
const child = spawn(electron, args)
child.stdout.pipe(process.stdout)

@@ -31,3 +31,3 @@ process.stdin.pipe(child.stdin)

child.stderr.on('data', function (data) {
var str = data.toString('utf8')
const str = data.toString('utf8')
// Mute irrelevant chromium errors

@@ -34,0 +34,0 @@ if (str.match(/^\[\d+:\d+/) || str.match(/Couldn't set selectedTextBackgroundColor/)) return

@@ -12,3 +12,11 @@ # CHANGE LOG

<!-- Releases -->
### [Unreleased](https://github.com/cucumber/cucumber-electron/compare/v2.7.1...master)
### [v2.7.1](https://github.com/cucumber/cucumber-electron/compare/v2.7.0...v2.7.1)
* Add `<!DOCTYPE html>` to avoid quirks mode
* Change package name from `cucumber-electron` to `@cucumber/electron`
* Upgrade dependencies
* Switch from `yarn.lock` to `package-lock.json`
### [2.7.0](https://github.com/cucumber/cucumber-electron/compare/v2.6.0...v2.7.0)

@@ -15,0 +23,0 @@

@@ -7,7 +7,7 @@ const { spawn } = require('child_process')

const assert = require('assert')
const mkdirp = require('mkdirp-promise')
const rmfr = require('rmfr')
const colors = require('colors')
const writeFile = promisify(fs.writeFile)
const rmdir = promisify(fs.rmdir)
const mkdir = promisify(fs.mkdir)

@@ -23,3 +23,3 @@ const { setWorldConstructor, setDefaultTimeout, Before } = require('cucumber')

const dir = path.resolve(path.join(this.tempDir, path.dirname(filePath)))
await mkdirp(dir)
await mkdir(dir, { recursive: true })
await writeFile(

@@ -148,7 +148,7 @@ path.join(this.tempDir, filePath),

Before(function () {
return rmfr(this.tempDir)
Before(async function () {
await rmdir(this.tempDir, { recursive: true })
})
Before(function () {
return mkdirp(this.tempDir)
Before(async function () {
await mkdir(this.tempDir, { recursive: true })
})
{
"name": "@cucumber/electron",
"version": "2.7.0",
"version": "2.7.1",
"description": "Runs cucumber.js in electron",

@@ -20,3 +20,3 @@ "main": "index.js",

"dependencies": {
"ansi-to-html": "^0.6.11",
"ansi-to-html": "^0.6.14",
"electron-window": "^0.8.1"

@@ -29,11 +29,8 @@ },

"devDependencies": {
"colors": "^1.3.2",
"cucumber": "5.0.3",
"colors": "^1.4.0",
"cucumber": "6.0.5",
"debug": "^4.1.1",
"electron": "^5.0.2",
"eslint": "^5.10.0",
"fs-promise": "^2.0.3",
"mkdirp-promise": "^5.0.1",
"rmfr": "^2.0.0"
"electron": "^8.2.0",
"eslint": "^6.8.0"
}
}

@@ -14,3 +14,3 @@ module.exports = function patchDebug({ isTTY }) {

const cacheKey = Object.keys(require.cache).find(
key => require.cache[key].exports == originalDebug
key => require.cache[key].exports === originalDebug
)

@@ -17,0 +17,0 @@ const nodeDebug = require('debug/src/node')

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