repository-provider 32.0.1 → 32.0.4

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
@@ -1427,7 +1427,7 @@ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
1427
1427
 
1428
1428
  ### refId
1429
1429
 
1430
- Get sha of a ref.
1430
+ Get sha of our ref.
1431
1431
 
1432
1432
  Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** sha of the ref
1433
1433
 
@@ -1533,7 +1533,7 @@ options
1533
1533
 
1534
1534
  ## isProtected
1535
1535
 
1536
- Can the branch be modified.
1536
+ Can the ref be modified.
1537
1537
 
1538
1538
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
1539
1539
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "32.0.1",
3
+ "version": "32.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,13 +30,13 @@
30
30
  "lint:tsc": "tsc --allowJs --checkJs --noEmit -t es2022 -m node16 ./src/*.mjs"
31
31
  },
32
32
  "dependencies": {
33
- "matching-iterator": "^2.0.6"
33
+ "matching-iterator": "^2.0.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "ava": "^4.3.0",
37
37
  "c8": "^7.11.3",
38
38
  "documentation": "^13.2.5",
39
- "repository-provider-test-support": "^2.2.8",
39
+ "repository-provider-test-support": "^2.2.9",
40
40
  "semantic-release": "^19.0.3",
41
41
  "typescript": "^4.7.4"
42
42
  },
package/src/branch.mjs CHANGED
@@ -3,7 +3,6 @@ import { PullRequest } from "./pull-request.mjs";
3
3
  import { Repository } from "./repository.mjs";
4
4
  import { Commit } from "./commit.mjs";
5
5
 
6
-
7
6
  /**
8
7
  * Abstract branch.
9
8
  * @see {@link Repository#_addBranch}
package/src/commit.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
 
2
-
3
2
  /**
4
3
  * @typedef {Object} CommitResult
5
4
  * @property {string} ref
@@ -1,11 +1,9 @@
1
1
  import { matcher } from "matching-iterator";
2
- import { optionJSON } from "./attribute.mjs";
3
2
  import { OwnedObject } from "./owned-object.mjs";
4
3
  import { Hook } from "./hook.mjs";
5
4
  import { Tag } from "./tag.mjs";
6
5
  import { Branch } from "./branch.mjs";
7
6
  import { PullRequest } from "./pull-request.mjs";
8
- import { BaseProvider } from "./base-provider.mjs";
9
7
 
10
8
  /**
11
9
  * Abstract repository