repository-provider 32.2.0 → 32.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.2.0",
3
+ "version": "32.2.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,9 +21,10 @@
21
21
  ],
22
22
  "license": "BSD-2-Clause",
23
23
  "scripts": {
24
- "test": "npm run test:ava",
25
- "test:ava": "ava --timeout 2m tests/*.mjs",
26
- "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
24
+ "test": "npm run test:browser-ava && npm run test:ava",
25
+ "test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs",
26
+ "test:browser-ava": "browser-ava --headless --no-keep-open tests/*-ava.mjs tests/*-ava-browser.mjs",
27
+ "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
27
28
  "docs": "documentation readme --section=API ./src/**/*.mjs",
28
29
  "lint": "npm run lint:docs && npm run lint:tsc",
29
30
  "lint:docs": "documentation lint ./src/**/*.mjs",
@@ -33,15 +34,16 @@
33
34
  "matching-iterator": "^2.0.8"
34
35
  },
35
36
  "devDependencies": {
36
- "ava": "^5.0.0",
37
+ "ava": "^5.1.0",
38
+ "browser-ava": "^1.3.3",
37
39
  "c8": "^7.12.0",
38
40
  "documentation": "^14.0.0",
39
- "repository-provider-test-support": "^2.2.13",
41
+ "repository-provider-test-support": "^2.2.17",
40
42
  "semantic-release": "^19.0.5",
41
- "typescript": "^4.8.3"
43
+ "typescript": "^4.8.4"
42
44
  },
43
45
  "engines": {
44
- "node": ">=16.17.0"
46
+ "node": ">=16.18.1"
45
47
  },
46
48
  "repository": {
47
49
  "type": "git",
@@ -54,6 +56,7 @@
54
56
  "template": {
55
57
  "inheritFrom": [
56
58
  "arlac77/template-arlac77-github",
59
+ "arlac77/template-browser-ava",
57
60
  "arlac77/template-esm-only",
58
61
  "arlac77/template-typescript"
59
62
  ]
@@ -275,7 +275,7 @@ export class PullRequest extends OwnedObject {
275
275
  toString() {
276
276
  return [
277
277
  [this.name, this.title],
278
- ["source", this.source.identifier],
278
+ ["source", this.source?.identifier],
279
279
  ["destination", this.owner.identifier],
280
280
  ...Object.entries(this.constructor.attributes)
281
281
  .filter(