pmcf 6.53.0 → 6.53.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/content.mjs +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmcf",
3
- "version": "6.53.0",
3
+ "version": "6.53.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/content.mjs CHANGED
@@ -67,6 +67,11 @@ export class content extends core {
67
67
  name: "replaces",
68
68
  packagingProperty: true
69
69
  },
70
+ conflicts: {
71
+ ...string_set_attribute_writable,
72
+ name: "conflicts",
73
+ packagingProperty: true
74
+ },
70
75
  optional: {
71
76
  ...string_set_attribute_writable,
72
77
  name: "optional",
@@ -103,6 +108,7 @@ export class content extends core {
103
108
  _optional = new Set();
104
109
  _groups = new Set();
105
110
  _hooks = new Set();
111
+ _conflicts = new Set();
106
112
 
107
113
  get host() {
108
114
  return this.owner.host;
@@ -205,6 +211,16 @@ export class content extends core {
205
211
  );
206
212
  }
207
213
 
214
+ set conflicts(value) {
215
+ this._conflicts = union(value, this._conflicts);
216
+ }
217
+
218
+ get conflicts() {
219
+ return this.expand(
220
+ this.unionFromDirections(["this", "extends"], "_conflicts")
221
+ );
222
+ }
223
+
208
224
  set optional(value) {
209
225
  this._optional = union(value, this._optional);
210
226
  }