cypress 14.0.0 → 14.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/exec/spawn.js +13 -1
  2. package/package.json +3 -3
package/lib/exec/spawn.js CHANGED
@@ -82,7 +82,19 @@ const isDebugScenario4 = /^\[[^\]]+debug_utils\.cc[^\]]+\] Hit debug scenario: 4
82
82
  * [78887:1023/114920.074882:ERROR:gl_display.cc(14)] EGL Driver message (Error) eglQueryDeviceAttribEXT: Bad attribute.
83
83
  */
84
84
  const isEGLDriverMessage = /^\[[^\]]+gl_display\.cc[^\]]+\] EGL Driver message \(Error\) eglQueryDeviceAttribEXT: Bad attribute\./;
85
- const GARBAGE_WARNINGS = [isXlibOrLibudevRe, isHighSierraWarningRe, isRenderWorkerRe, isDbusWarning, isCertVerifyProcBuiltin, isHostVulkanDriverWarning, isContainerVulkanDriverWarning, isContainerVulkanStack, isDebugScenario4, isEGLDriverMessage];
85
+
86
+ /**
87
+ * Mesa/GLX related warnings that occur in certain Linux environments without proper GPU support
88
+ * or when running in containers. These are benign warnings that don't affect functionality.
89
+ * Samples:
90
+ * error: XDG_RUNTIME_DIR is invalid or not set in the environment.
91
+ * MESA: error: ZINK: failed to choose pdev
92
+ * glx: failed to create drisw screen
93
+ */
94
+ const isXdgRuntimeError = /^error: XDG_RUNTIME_DIR is invalid or not set/;
95
+ const isMesaZinkError = /^MESA: error: ZINK: failed to choose pdev/;
96
+ const isGlxDriverError = /^glx: failed to create drisw screen/;
97
+ const GARBAGE_WARNINGS = [isXlibOrLibudevRe, isHighSierraWarningRe, isRenderWorkerRe, isDbusWarning, isCertVerifyProcBuiltin, isHostVulkanDriverWarning, isContainerVulkanDriverWarning, isContainerVulkanStack, isDebugScenario4, isEGLDriverMessage, isXdgRuntimeError, isMesaZinkError, isGlxDriverError];
86
98
  const isGarbageLineWarning = str => {
87
99
  return _.some(GARBAGE_WARNINGS, re => {
88
100
  return re.test(str);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress",
3
- "version": "14.0.0",
3
+ "version": "14.0.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "postinstall": "node index.js --exec install",
@@ -123,8 +123,8 @@
123
123
  },
124
124
  "buildInfo": {
125
125
  "commitBranch": "develop",
126
- "commitSha": "90b017c1c19991517fcfbdc8e906db8b0cae0588",
127
- "commitDate": "2025-01-16T13:53:56.000Z",
126
+ "commitSha": "6f067bcab5db953ee777df9b9823130bcd8b49a7",
127
+ "commitDate": "2025-02-04T23:01:56.000Z",
128
128
  "stable": true
129
129
  },
130
130
  "description": "Cypress is a next generation front end testing tool built for the modern web",