repository-provider 29.2.1 → 29.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/README.md CHANGED
@@ -68,6 +68,8 @@ console.log(await readme.getString());
68
68
  * [toString](#tostring)
69
69
  * [displayName](#displayname)
70
70
  * [fullName](#fullname)
71
+ * [fullCondensedName](#fullcondensedname)
72
+ * [identifier](#identifier)
71
73
  * [isWritable](#iswritable)
72
74
  * [equals](#equals)
73
75
  * [Parameters](#parameters-8)
@@ -218,7 +220,7 @@ console.log(await readme.getString());
218
220
  * [Parameters](#parameters-50)
219
221
  * [decline](#decline)
220
222
  * [reviews](#reviews)
221
- * [identifier](#identifier)
223
+ * [identifier](#identifier-1)
222
224
  * [validStates](#validstates)
223
225
  * [defaultListStates](#defaultliststates)
224
226
  * [validMergeMethods](#validmergemethods)
@@ -247,8 +249,7 @@ console.log(await readme.getString());
247
249
  * [Parameters](#parameters-56)
248
250
  * [repository](#repository-2)
249
251
  * [fullName](#fullname-3)
250
- * [fullCondensedName](#fullcondensedname)
251
- * [identifier](#identifier-1)
252
+ * [fullCondensedName](#fullcondensedname-1)
252
253
  * [toString](#tostring-1)
253
254
  * [issuesURL](#issuesurl)
254
255
  * [homePageURL](#homepageurl-1)
@@ -271,7 +272,6 @@ console.log(await readme.getString());
271
272
  * [Properties](#properties-10)
272
273
  * [fullName](#fullname-4)
273
274
  * [slug](#slug)
274
- * [identifier](#identifier-2)
275
275
  * [entry](#entry-1)
276
276
  * [Parameters](#parameters-60)
277
277
  * [entries](#entries-1)
@@ -502,6 +502,18 @@ Complete name in the hierachy.
502
502
 
503
503
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
504
504
 
505
+ ### fullCondensedName
506
+
507
+ Complete name in the hierachy.
508
+
509
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
510
+
511
+ ### identifier
512
+
513
+ Short human readable identifier with provider and branch.
514
+
515
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
516
+
505
517
  ### isWritable
506
518
 
507
519
  By default cannot be written to.
@@ -1484,12 +1496,6 @@ But skipping the branch name if it is the default branch.
1484
1496
 
1485
1497
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 'user/repo#branch'
1486
1498
 
1487
- ### identifier
1488
-
1489
- Short human readable identifier with provider and branch.
1490
-
1491
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
1492
-
1493
1499
  ### toString
1494
1500
 
1495
1501
  Same as identifier.
@@ -1620,12 +1626,6 @@ Name of the repo as used in the URL.
1620
1626
 
1621
1627
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
1622
1628
 
1623
- ### identifier
1624
-
1625
- Short human readable identifier with provider and branch.
1626
-
1627
- Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
1628
-
1629
1629
  ### entry
1630
1630
 
1631
1631
  Lookup entries form the head of the default branch.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "29.2.1",
3
+ "version": "29.2.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -27,7 +27,7 @@
27
27
  "docs": "documentation readme --section=API ./src/**/*.mjs",
28
28
  "lint": "npm run lint:docs && npm run lint:tsc",
29
29
  "lint:docs": "documentation lint ./src/**/*.mjs",
30
- "lint:tsc": "tsc --allowJs --checkJs --noEmit -t es2022 ./src/*.mjs"
30
+ "lint:tsc": "tsc --allowJs --checkJs --noEmit -t es2022 -m node16 ./src/*.mjs"
31
31
  },
32
32
  "dependencies": {
33
33
  "matching-iterator": "^2.0.4"
@@ -36,9 +36,9 @@
36
36
  "ava": "^4.2.0",
37
37
  "c8": "^7.11.3",
38
38
  "documentation": "^13.2.5",
39
- "repository-provider-test-support": "^2.1.18",
39
+ "repository-provider-test-support": "^2.1.19",
40
40
  "semantic-release": "^19.0.2",
41
- "typescript": "^4.6.3"
41
+ "typescript": "^4.7.2"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=16.15.0"
package/src/branch.mjs CHANGED
@@ -7,7 +7,7 @@ import { Commit } from "./commit.mjs";
7
7
  /**
8
8
  * Abstract branch.
9
9
  * @see {@link Repository#_addBranch}
10
- * @param {Repository} repository
10
+ * @param {RepositoryOwner} owner
11
11
  * @param {string} name
12
12
  * @param {Object} options
13
13
  *
@@ -9,7 +9,7 @@ import { BaseProvider } from "./base-provider.mjs";
9
9
  * Abstract pull request.
10
10
  * {@link Repository#addPullRequest}
11
11
  * @param {Branch} source merge source
12
- * @param {Branch} destination merge target
12
+ * @param {Branch} owner merge target
13
13
  * @param {string} name
14
14
  * @param {Object} options
15
15
  * @param {string} [options.title]