cypress 14.0.0 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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.1",
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": "cbc28a6d3871e036d60aed4b7034dccf34888ff2",
127
+ "commitDate": "2025-01-28T16:57:05.000Z",
128
128
  "stable": true
129
129
  },
130
130
  "description": "Cypress is a next generation front end testing tool built for the modern web",