Socket
Socket
Sign inDemoInstall

cypress

Package Overview
Dependencies
Maintainers
11
Versions
236
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 9.5.3 to 9.5.4

14

lib/exec/spawn.js

@@ -29,5 +29,15 @@ "use strict";

const isHighSierraWarningRe = /\*\*\* WARNING/;
const isRenderWorkerRe = /\.RenderWorker-/;
const GARBAGE_WARNINGS = [isXlibOrLibudevRe, isHighSierraWarningRe, isRenderWorkerRe];
const isRenderWorkerRe = /\.RenderWorker-/; // Chromium (which Electron uses) always makes several attempts to connect to the system dbus.
// This works fine in most desktop environments, but in a docker container, there is no dbus service
// and Chromium emits several error lines, similar to these:
// [1957:0406/160550.146820:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
// [1957:0406/160550.147994:ERROR:bus.cc(392)] Failed to connect to the bus: Address does not contain a colon
// These warnings are absolutely harmless. Failure to connect to dbus means that electron won't be able to access the user's
// credential wallet (none exists in a docker container) and won't show up in the system tray (again, none exists).
// Failure to connect is expected and normal here, but users frequently misidentify these errors as the cause of their problems.
// https://github.com/cypress-io/cypress/issues/19299
const isDbusWarning = /Failed to connect to the bus:/;
const GARBAGE_WARNINGS = [isXlibOrLibudevRe, isHighSierraWarningRe, isRenderWorkerRe, isDbusWarning];
const isGarbageLineWarning = str => {

@@ -34,0 +44,0 @@ return _.some(GARBAGE_WARNINGS, re => {

2

lib/tasks/state.js

@@ -84,3 +84,3 @@ "use strict";

if (buildInfo && !buildInfo.stable) {
version = ['beta', version, buildInfo.commitBranch, buildInfo.commitSha].join('-');
version = ['beta', version, buildInfo.commitBranch, buildInfo.commitSha.slice(0, 8)].join('-');
}

@@ -87,0 +87,0 @@

{
"name": "cypress",
"version": "9.5.3",
"version": "9.5.4",
"main": "index.js",

@@ -69,4 +69,4 @@ "scripts": {

"commitBranch": "develop",
"commitSha": "51ec479d53ce16c91ca9907d745212ce9f6642be",
"commitDate": "2022-03-28T19:23:42.000Z",
"commitSha": "6934c0398fea92cc05714b18f21f7f06645a0b70",
"commitDate": "2022-04-11T17:25:33.000Z",
"stable": true

@@ -73,0 +73,0 @@ },

Sorry, the diff of this file is too big to display

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