pmcf 3.13.7 → 3.13.9

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": "pmcf",
3
- "version": "3.13.7",
3
+ "version": "3.13.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/src/base.mjs CHANGED
@@ -507,7 +507,7 @@ export class Base {
507
507
  const context = {
508
508
  stopClass: Base,
509
509
  root: this,
510
- globals: Object.assign({}, this.properties, this.owner.properties)
510
+ globals: Object.assign({}, this.properties, this.owner?.properties)
511
511
  };
512
512
 
513
513
  return expand(object, context);
package/src/root.mjs CHANGED
@@ -77,7 +77,7 @@ export class Root extends Location {
77
77
  for (const type of Object.values(types).sort(
78
78
  (a, b) => (b.priority || 1.0) - (a.priority || 1.0)
79
79
  )) {
80
- if (type.clazz) {
80
+ if (type.clazz?.fileNameGlob) {
81
81
  for await (const name of glob(type.clazz.fileNameGlob, {
82
82
  cwd: this.directory
83
83
  })) {
@@ -10,7 +10,6 @@ const InfluxdbServiceTypeDefinition = {
10
10
  extends: ServiceTypeDefinition,
11
11
  specializationOf: ServiceTypeDefinition,
12
12
  owners: ServiceTypeDefinition.owners,
13
- //: 0.1,
14
13
  key: "name",
15
14
  attributes: {
16
15
  "metrics-disabled": {