browser-ava 2.2.33 → 2.2.34

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-ava",
3
- "version": "2.2.33",
3
+ "version": "2.2.34",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -27,11 +27,11 @@
27
27
  },
28
28
  "scripts": {
29
29
  "prepare": "npx playwright install",
30
- "test": "npm run test:ava",
30
+ "test": "node --run test:ava",
31
31
  "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
32
32
  "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
33
33
  "docs": "documentation readme --section=API ./src/**/*.mjs",
34
- "lint": "npm run lint:docs",
34
+ "lint": "node --run lint:docs",
35
35
  "lint:docs": "documentation lint ./src/**/*.mjs"
36
36
  },
37
37
  "dependencies": {
@@ -42,20 +42,20 @@
42
42
  "globby": "^14.0.2",
43
43
  "koa": "^2.15.3",
44
44
  "koa-static": "^5.0.0",
45
- "playwright": "^1.48.1",
45
+ "playwright": "^1.48.2",
46
46
  "ws": "^8.18.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@types/node": "^22.7.6",
50
- "ava": "^6.1.3",
49
+ "@types/node": "^22.8.2",
50
+ "ava": "^6.2.0",
51
51
  "c8": "^10.1.2",
52
52
  "documentation": "^14.0.3",
53
- "execa": "^9.4.1",
54
- "semantic-release": "^24.1.2"
53
+ "execa": "^9.5.1",
54
+ "semantic-release": "^24.2.0"
55
55
  },
56
56
  "engines": {
57
- "node": ">=22.9.0",
58
- "bun": ">=1.0"
57
+ "node": ">=22.10.0",
58
+ "bun": ">=1.1"
59
59
  },
60
60
  "repository": {
61
61
  "type": "git",
@@ -10,6 +10,9 @@ import { isEqual } from "./eql.mjs";
10
10
  let ws = new WebSocket(`ws://${location.host}`);
11
11
  ws.onerror = console.error;
12
12
 
13
+ ArrayBuffer.prototype.toJSON = function () {
14
+ return this.toString();
15
+ };
13
16
  BigInt.prototype.toJSON = function () {
14
17
  return this.toString();
15
18
  };
@@ -141,7 +144,7 @@ async function execHooks(hooks, t) {
141
144
  }
142
145
 
143
146
  async function runTest(parent, tm, testInstance) {
144
- test.meta.file = tm.file;
147
+ test.meta.file = tm.file;
145
148
 
146
149
  if (!testInstance.skip && !testInstance.todo) {
147
150
  const t = testContext(testInstance, parent);