github-repository-provider 7.30.23 → 7.30.24
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 +3 -3
- package/src/github-branch.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "7.30.
|
|
3
|
+
"version": "7.30.24",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"matching-iterator": "^2.0.6",
|
|
37
37
|
"node-fetch": "^3.2.6",
|
|
38
38
|
"one-time-execution-method": "^3.0.3",
|
|
39
|
-
"repository-provider": "^
|
|
39
|
+
"repository-provider": "^32.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^4.3.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"etag-cache-leveldb": "^1.2.4",
|
|
46
46
|
"leveldown": "^6.1.1",
|
|
47
47
|
"levelup": "^5.1.1",
|
|
48
|
-
"repository-provider-test-support": "^2.2.
|
|
48
|
+
"repository-provider-test-support": "^2.2.8",
|
|
49
49
|
"semantic-release": "^19.0.3"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
package/src/github-branch.mjs
CHANGED
|
@@ -55,7 +55,7 @@ export class GithubBranch extends Branch {
|
|
|
55
55
|
entries.map(entry => this.writeEntry(entry))
|
|
56
56
|
);
|
|
57
57
|
|
|
58
|
-
const shaLatestCommit = await this.refId
|
|
58
|
+
const shaLatestCommit = await this.refId;
|
|
59
59
|
const latestCommit = await this.owner.commitForSha(shaLatestCommit);
|
|
60
60
|
const tree = await this.owner.addTree(updates, latestCommit.tree.sha);
|
|
61
61
|
const commit = await this.owner.addCommit(
|
|
@@ -99,7 +99,7 @@ export class GithubBranch extends Branch {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
async *entries(patterns) {
|
|
102
|
-
const commit = await this.owner.commitForSha(await this.refId
|
|
102
|
+
const commit = await this.owner.commitForSha(await this.refId);
|
|
103
103
|
|
|
104
104
|
for (const entry of matcher(
|
|
105
105
|
await this.owner.tree(commit.tree.sha),
|