@backstage/integration 1.3.1-next.0 → 1.3.1-next.1
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/CHANGELOG.md +9 -0
- package/dist/index.cjs.js +1 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @backstage/integration
|
|
2
2
|
|
|
3
|
+
## 1.3.1-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- eadf56bbbf: Bump `git-url-parse` version to `^13.0.0`
|
|
8
|
+
- 667d917488: Updated dependency `msw` to `^0.47.0`.
|
|
9
|
+
- 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`.
|
|
10
|
+
- 42918e085c: Fixed bug in the `bitbucketServer` integration where token did not take precedence over supplied username and password which is described in the documentation.
|
|
11
|
+
|
|
3
12
|
## 1.3.1-next.0
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -816,8 +816,7 @@ function getBitbucketServerRequestOptions(config) {
|
|
|
816
816
|
const headers = {};
|
|
817
817
|
if (config.token) {
|
|
818
818
|
headers.Authorization = `Bearer ${config.token}`;
|
|
819
|
-
}
|
|
820
|
-
if (config.username && config.password) {
|
|
819
|
+
} else if (config.username && config.password) {
|
|
821
820
|
const buffer = Buffer.from(`${config.username}:${config.password}`, "utf8");
|
|
822
821
|
headers.Authorization = `Basic ${buffer.toString("base64")}`;
|
|
823
822
|
}
|