repository-provider 32.2.0 → 32.2.2
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 +12 -9
- package/src/pull-request.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "repository-provider",
|
|
3
|
-
"version": "32.2.
|
|
3
|
+
"version": "32.2.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -21,27 +21,29 @@
|
|
|
21
21
|
],
|
|
22
22
|
"license": "BSD-2-Clause",
|
|
23
23
|
"scripts": {
|
|
24
|
-
"test": "npm run test:ava",
|
|
25
|
-
"test:ava": "ava --timeout 2m tests
|
|
26
|
-
"
|
|
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",
|
|
30
31
|
"lint:tsc": "tsc --allowJs --checkJs --noEmit -t esnext -m esnext ./src/*.mjs"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
|
-
"matching-iterator": "^2.0.
|
|
34
|
+
"matching-iterator": "^2.0.10"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"ava": "^5.
|
|
37
|
+
"ava": "^5.1.0",
|
|
38
|
+
"browser-ava": "^1.3.5",
|
|
37
39
|
"c8": "^7.12.0",
|
|
38
40
|
"documentation": "^14.0.0",
|
|
39
|
-
"repository-provider-test-support": "^2.2.
|
|
41
|
+
"repository-provider-test-support": "^2.2.19",
|
|
40
42
|
"semantic-release": "^19.0.5",
|
|
41
|
-
"typescript": "^4.8.
|
|
43
|
+
"typescript": "^4.8.4"
|
|
42
44
|
},
|
|
43
45
|
"engines": {
|
|
44
|
-
"node": ">=16.
|
|
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
|
]
|
package/src/pull-request.mjs
CHANGED
|
@@ -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
|
|
278
|
+
["source", this.source?.identifier],
|
|
279
279
|
["destination", this.owner.identifier],
|
|
280
280
|
...Object.entries(this.constructor.attributes)
|
|
281
281
|
.filter(
|