bitbucket-repository-provider 4.4.23 → 4.4.24

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2022 by arlac77
1
+ Copyright (c) 2017-2023 by arlac77
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitbucket-repository-provider",
3
- "version": "4.4.23",
3
+ "version": "4.4.24",
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.3.19"
38
+ "repository-provider": "^32.4.0"
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.25",
44
+ "repository-provider-test-support": "^2.2.29",
45
45
  "semantic-release": "^19.0.5"
46
46
  },
47
47
  "engines": {
@@ -4,6 +4,14 @@ import { RepositoryGroup } from "repository-provider";
4
4
  *
5
5
  */
6
6
  export class BitbucketRepositoryGroup extends RepositoryGroup {
7
+
8
+ static get attributes() {
9
+ return {
10
+ ...super.attributes,
11
+ uuid: { type: "string", isKey: true }
12
+ };
13
+ }
14
+
7
15
  static get attributeMapping() {
8
16
  return {
9
17
  ...super.attributeMapping,
@@ -14,6 +14,14 @@ import { Repository } from "repository-provider";
14
14
  * @property {string} user
15
15
  */
16
16
  export class BitbucketRepository extends Repository {
17
+ static get attributes() {
18
+ return {
19
+ ...super.attributes,
20
+ uuid: { type: "string", isKey: true },
21
+ fork_policy: { type: "string", default: "allow_forks" }
22
+ };
23
+ }
24
+
17
25
  static get attributMapping() {
18
26
  return {
19
27
  ...super.attributeMappin,