github-repository-provider 9.2.6 → 9.2.7
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 +4 -4
- package/src/github-branch.mjs +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "github-repository-provider",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"content-entry": "^13.
|
|
38
|
+
"content-entry": "^13.6.0",
|
|
39
39
|
"fetch-link-util": "^1.1.3",
|
|
40
40
|
"fetch-rate-limit-util": "^4.5.2",
|
|
41
41
|
"matching-iterator": "^2.1.3",
|
|
42
42
|
"one-time-execution-method": "^3.1.3",
|
|
43
|
-
"repository-provider": "^35.4.
|
|
43
|
+
"repository-provider": "^35.4.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^22.15.17",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"etag-cache-leveldb": "^2.1.14",
|
|
51
51
|
"leveldown": "^6.1.1",
|
|
52
52
|
"levelup": "^5.1.1",
|
|
53
|
-
"repository-provider-test-support": "^3.1.
|
|
53
|
+
"repository-provider-test-support": "^3.1.29",
|
|
54
54
|
"semantic-release": "^24.2.3",
|
|
55
55
|
"typescript": "^5.8.3"
|
|
56
56
|
},
|
package/src/github-branch.mjs
CHANGED
|
@@ -89,7 +89,7 @@ export class GithubBranch extends Branch {
|
|
|
89
89
|
|
|
90
90
|
const entry = new BufferContentEntry(
|
|
91
91
|
name,
|
|
92
|
-
|
|
92
|
+
{ mode: json.mode },
|
|
93
93
|
Buffer.from(json.content, "base64")
|
|
94
94
|
);
|
|
95
95
|
|
|
@@ -131,8 +131,8 @@ export class GithubBranch extends Branch {
|
|
|
131
131
|
{
|
|
132
132
|
const e = new BufferContentEntry(
|
|
133
133
|
entry.path,
|
|
134
|
-
{ mode:
|
|
135
|
-
async
|
|
134
|
+
{ mode: entry.mode },
|
|
135
|
+
async entry => {
|
|
136
136
|
const { json } = await this.provider.fetchJSON(
|
|
137
137
|
`${this.api}/contents/${entry.name}?ref=${this.ref}`
|
|
138
138
|
);
|