bitbucket-repository-provider 4.4.26 → 4.4.27

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": "4.4.26",
3
+ "version": "4.4.27",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,13 +35,13 @@
35
35
  "matching-iterator": "^2.0.11",
36
36
  "node-fetch": "^3.3.0",
37
37
  "one-time-execution-method": "^3.0.6",
38
- "repository-provider": "^32.4.4"
38
+ "repository-provider": "^32.4.6"
39
39
  },
40
40
  "devDependencies": {
41
41
  "ava": "^5.1.0",
42
42
  "c8": "^7.12.0",
43
43
  "documentation": "^14.0.1",
44
- "repository-provider-test-support": "^2.2.29",
44
+ "repository-provider-test-support": "^2.2.30",
45
45
  "semantic-release": "^19.0.5"
46
46
  },
47
47
  "engines": {
@@ -1,7 +1,7 @@
1
1
  import fetch from "node-fetch";
2
2
  import { replaceWithOneTimeExecutionMethod } from "one-time-execution-method";
3
3
  import { stateActionHandler } from "fetch-rate-limit-util";
4
- import { MultiGroupProvider } from "repository-provider";
4
+ import { MultiGroupProvider, url_attribute } from "repository-provider";
5
5
  import { BitbucketBranch } from "./bitbucket-branch.mjs";
6
6
  import { BitbucketRepositoryGroup } from "./bitbucket-repository-group.mjs";
7
7
  import { BitbucketRepository } from "./bitbucket-repository.mjs";
@@ -64,11 +64,11 @@ export class BitbucketProvider extends MultiGroupProvider {
64
64
  return {
65
65
  ...super.attributes,
66
66
  url: {
67
- type: "url",
67
+ ...url_attribute,
68
68
  default: `https://${domain}/`
69
69
  },
70
70
  api: {
71
- type: "url",
71
+ ...url_attribute,
72
72
  description: "URL of the provider api",
73
73
  env: "{{instanceIdentifier}}API",
74
74
  set: value => (value.endsWith("/") ? value : value + "/"),
@@ -82,7 +82,7 @@ export class BitbucketProvider extends MultiGroupProvider {
82
82
  private: true
83
83
  },
84
84
  "authentication.password": {
85
- type: "string",
85
+ ...url_attribute,
86
86
  description: "Password for plain authentification",
87
87
  env: [
88
88
  "{{instanceIdentifier}}APP_PASSWORD",