pmcf 6.58.1 → 6.58.2
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 +1 -1
- package/src/content.mjs +7 -7
package/package.json
CHANGED
package/src/content.mjs
CHANGED
|
@@ -52,9 +52,9 @@ export class content extends core {
|
|
|
52
52
|
default: "private",
|
|
53
53
|
packagingProperty: true
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
dependencies: {
|
|
56
56
|
...string_set_attribute_writable,
|
|
57
|
-
name: "
|
|
57
|
+
name: "dependencies",
|
|
58
58
|
packagingProperty: true
|
|
59
59
|
},
|
|
60
60
|
provides: {
|
|
@@ -104,7 +104,7 @@ export class content extends core {
|
|
|
104
104
|
_packaging = new Set();
|
|
105
105
|
_provides = new Set();
|
|
106
106
|
_replaces = new Set();
|
|
107
|
-
|
|
107
|
+
_dependencies = new Set();
|
|
108
108
|
_optional = new Set();
|
|
109
109
|
_groups = new Set();
|
|
110
110
|
_hooks = new Set();
|
|
@@ -201,13 +201,13 @@ export class content extends core {
|
|
|
201
201
|
);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
set
|
|
205
|
-
this.
|
|
204
|
+
set dependencies(value) {
|
|
205
|
+
this._dependencies = union(value, this._dependencies);
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
get
|
|
208
|
+
get dependencies() {
|
|
209
209
|
return this.expand(
|
|
210
|
-
this.unionFromDirections(["this", "extends"], "
|
|
210
|
+
this.unionFromDirections(["this", "extends"], "_dependencies")
|
|
211
211
|
);
|
|
212
212
|
}
|
|
213
213
|
|