bitbucket-repository-provider 3.9.6 → 3.9.8
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bitbucket-repository-provider",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
"lint:docs": "documentation lint ./src/**/*.mjs"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"content-entry": "^2.9.
|
|
33
|
+
"content-entry": "^2.9.3",
|
|
34
34
|
"matching-iterator": "^2.0.0",
|
|
35
35
|
"node-fetch": "^3.1.0",
|
|
36
36
|
"one-time-execution-method": "^2.0.9",
|
|
37
|
-
"repository-provider": "^25.5.
|
|
37
|
+
"repository-provider": "^25.5.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"ava": "^3.15.0",
|
|
41
41
|
"c8": "^7.10.0",
|
|
42
42
|
"documentation": "^13.2.5",
|
|
43
|
-
"repository-provider-test-support": "^1.
|
|
43
|
+
"repository-provider-test-support": "^1.8.2",
|
|
44
44
|
"semantic-release": "^18.0.0"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
package/src/bitbucket-branch.mjs
CHANGED
|
@@ -75,7 +75,7 @@ export class BitbucketBranch extends Branch {
|
|
|
75
75
|
//searchParams.set("parents", XXX);
|
|
76
76
|
|
|
77
77
|
for (const u of updates) {
|
|
78
|
-
searchParams.set(u.name, await u.
|
|
78
|
+
searchParams.set(u.name, await u.string);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
return this.fetch(`repositories/${this.slug}/src`, {
|
|
@@ -107,7 +107,11 @@ export class BitbucketRepository extends Repository {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
|
|
110
|
+
|
|
111
|
+
if(!res.ok) {
|
|
112
|
+
// TODO handle error
|
|
113
|
+
console.log(res.ok, res.status, res.statusText);
|
|
114
|
+
}
|
|
111
115
|
|
|
112
116
|
const json = await res.json();
|
|
113
117
|
|