pmcf 3.10.11 → 3.10.12
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 +3 -3
- package/src/types.mjs +4 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.12",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ip-utilties": "^1.4.9",
|
|
55
55
|
"npm-pkgbuild": "^18.2.31",
|
|
56
|
-
"pacc": "^4.
|
|
56
|
+
"pacc": "^4.23.0",
|
|
57
57
|
"package-directory": "^8.1.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^24.5.
|
|
60
|
+
"@types/node": "^24.5.1",
|
|
61
61
|
"ava": "^6.4.1",
|
|
62
62
|
"c8": "^10.1.3",
|
|
63
63
|
"documentation": "^14.0.3",
|
package/src/types.mjs
CHANGED
|
@@ -29,11 +29,8 @@ export function resolveTypeLinks() {
|
|
|
29
29
|
type.owners = [];
|
|
30
30
|
}
|
|
31
31
|
for (const [path, attribute] of attributeIterator(type.attributes)) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type.identifier = attribute;
|
|
35
|
-
}
|
|
36
|
-
|
|
32
|
+
const name = path.join(".");
|
|
33
|
+
attribute.name = name;
|
|
37
34
|
const ts = [];
|
|
38
35
|
|
|
39
36
|
for (const type of asArray(attribute.type)) {
|
|
@@ -54,25 +51,9 @@ export function resolveTypeLinks() {
|
|
|
54
51
|
}
|
|
55
52
|
attribute.type = ts;
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (!baseTypes.has(property.type)) {
|
|
60
|
-
const type = types[property.type];
|
|
61
|
-
if (type) {
|
|
62
|
-
property.type = type;
|
|
63
|
-
} else {
|
|
64
|
-
console.error(
|
|
65
|
-
"Unknown type",
|
|
66
|
-
property.type,
|
|
67
|
-
type.name,
|
|
68
|
-
name
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
54
|
+
if (attribute.isKey) {
|
|
55
|
+
type.identifier = { name, ...attribute };
|
|
72
56
|
}
|
|
73
|
-
|
|
74
|
-
property.type = asArray(property.type);
|
|
75
|
-
*/
|
|
76
57
|
}
|
|
77
58
|
}
|
|
78
59
|
|