github-repository-provider 7.23.30 → 7.23.31
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 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "7.23.
|
|
3
|
+
"version": "7.23.31",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"matching-iterator": "^2.0.0",
|
|
37
37
|
"node-fetch": "3.1.0",
|
|
38
38
|
"one-time-execution-method": "^2.0.9",
|
|
39
|
-
"repository-provider": "^25.5.
|
|
39
|
+
"repository-provider": "^25.5.8"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"ava": "^3.15.0",
|
|
43
43
|
"c8": "^7.10.0",
|
|
44
44
|
"documentation": "^13.2.5",
|
|
45
|
-
"repository-provider-test-support": "^1.8.
|
|
45
|
+
"repository-provider-test-support": "^1.8.2",
|
|
46
46
|
"semantic-release": "^18.0.0"
|
|
47
47
|
},
|
|
48
48
|
"engines": {
|
package/src/github-branch.mjs
CHANGED
|
@@ -22,7 +22,7 @@ export class GithubBranch extends Branch {
|
|
|
22
22
|
const res = await this.provider.fetch(`repos/${this.slug}/git/blobs`, {
|
|
23
23
|
method: "POST",
|
|
24
24
|
body: JSON.stringify({
|
|
25
|
-
content: await entry.
|
|
25
|
+
content: await entry.string,
|
|
26
26
|
encoding: "utf8"
|
|
27
27
|
})
|
|
28
28
|
});
|
|
@@ -198,9 +198,7 @@ export class GithubBranch extends Branch {
|
|
|
198
198
|
class LazyBufferContentEntry extends BufferContentEntryMixin(ContentEntry) {
|
|
199
199
|
constructor(name, branch) {
|
|
200
200
|
super(name);
|
|
201
|
-
|
|
202
|
-
branch: { value: branch }
|
|
203
|
-
});
|
|
201
|
+
this.branch = branch;
|
|
204
202
|
}
|
|
205
203
|
|
|
206
204
|
get buffer() {
|