cypress-fail-on-console-error 5.1.1 → 5.1.3

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/README.md +1 -1
  2. package/package.json +12 -13
package/README.md CHANGED
@@ -23,7 +23,7 @@ failOnConsoleError();
23
23
  | Parameter | Default | <div style="width:300px">Description</div> |
24
24
  |--- |--- |--- |
25
25
  | `consoleMessages` | `[]` | Exclude console messages from throwing `AssertionError`. Types `RegExp` and `string` are accepted. Strings will be converted to regular expression. [RegExp.test()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test?retiredLocale=de) will be used for console message matching. Make sure to [escape special characters](https://javascript.info/regexp-escaping). When console message property `stacktrace` exists, then the whole stacktrace can be matched. |
26
- | `consoleTypes` | `['error']` | Define console types for observation. `error`, `warn`, `info`, `debug`, `trace , `table` are accepted values.
26
+ | `consoleTypes` | `['error']` | Define console types for observation. `error`, `warn`, `info`, `debug`, `trace` , `table` are accepted values.
27
27
  | `debug` | `false` | Enable debug logs for `consoleMessage_configConsoleMessage_match` and `consoleMessage_excluded` to cypress runner
28
28
 
29
29
  <br/>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cypress-fail-on-console-error",
3
- "version": "5.1.1",
3
+ "version": "5.1.3",
4
4
  "description": "fail cypress test on console error",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -38,25 +38,24 @@
38
38
  "homepage": "https://github.com/nils-hoyer/cypress-fail-on-console-error#readme",
39
39
  "dependencies": {
40
40
  "chai": "^4.3.10",
41
- "sinon": "^17.0.0",
41
+ "sinon": "^21.0.0",
42
42
  "sinon-chai": "^3.7.0",
43
43
  "type-detect": "^4.0.8"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@cypress/mount-utils": "^4.0.0",
47
- "@types/chai": "4.3.14",
48
- "@types/expect": "24.3.0",
49
- "@types/mocha": "10.0.6",
50
- "@types/sinon": "17.0.3",
47
+ "@types/chai": "4.3.20",
48
+ "@types/mocha": "10.0.10",
49
+ "@types/sinon": "21.0.0",
51
50
  "@types/sinon-chai": "3.2.12",
52
51
  "@types/type-detect": "4.0.3",
53
- "cypress": "13.7.3",
54
- "mocha": "10.4.0",
55
- "prettier": "3.2.5",
56
- "prettier-plugin-organize-imports": "3.2.4",
57
- "rimraf": "5.0.5",
58
- "typescript": "5.4.5",
59
- "vite": "^5.0.0",
52
+ "cypress": "15.8.1",
53
+ "mocha": "11.7.5",
54
+ "prettier": "3.7.4",
55
+ "prettier-plugin-organize-imports": "4.3.0",
56
+ "rimraf": "6.1.2",
57
+ "typescript": "5.9.3",
58
+ "vite": "^7.0.0",
60
59
  "vitest": "^1.0.0"
61
60
  }
62
61
  }