pacc 10.0.2 → 10.0.3
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/README.md +8 -8
- package/package.json +4 -4
- package/src/attributes.mjs +3 -1
package/README.md
CHANGED
|
@@ -82,9 +82,9 @@ tokens "abc" "
|
|
|
82
82
|
* [AttributeDefinition](#attributedefinition)
|
|
83
83
|
* [Properties](#properties-1)
|
|
84
84
|
* [default\_attribute](#default_attribute)
|
|
85
|
-
* [default\_attribute](#default_attribute-1)
|
|
86
85
|
* [default\_attribute\_writable](#default_attribute_writable)
|
|
87
|
-
* [
|
|
86
|
+
* [string\_attribute](#string_attribute)
|
|
87
|
+
* [string\_attribute\_writable](#string_attribute_writable)
|
|
88
88
|
* [string\_collection\_attribute](#string_collection_attribute)
|
|
89
89
|
* [string\_collection\_attribute\_writable](#string_collection_attribute_writable)
|
|
90
90
|
* [string\_set\_attribute](#string_set_attribute)
|
|
@@ -119,9 +119,9 @@ tokens "abc" "
|
|
|
119
119
|
* [number\_attribute\_writable](#number_attribute_writable)
|
|
120
120
|
* [integer\_attribute](#integer_attribute)
|
|
121
121
|
* [integer\_attribute](#integer_attribute-1)
|
|
122
|
-
* [integer\_attribute](#integer_attribute-2)
|
|
123
122
|
* [integer\_attribute\_writable](#integer_attribute_writable)
|
|
124
123
|
* [integer\_attribute\_writable](#integer_attribute_writable-1)
|
|
124
|
+
* [size\_attribute](#size_attribute)
|
|
125
125
|
* [object\_attribute](#object_attribute)
|
|
126
126
|
* [url\_attribute](#url_attribute)
|
|
127
127
|
* [url\_attribute\_writable](#url_attribute_writable)
|
|
@@ -310,15 +310,15 @@ Common attribute properties.
|
|
|
310
310
|
|
|
311
311
|
Type: [AttributeDefinition](#attributedefinition)
|
|
312
312
|
|
|
313
|
-
## default\_attribute
|
|
313
|
+
## default\_attribute\_writable
|
|
314
314
|
|
|
315
315
|
Type: [AttributeDefinition](#attributedefinition)
|
|
316
316
|
|
|
317
|
-
##
|
|
317
|
+
## string\_attribute
|
|
318
318
|
|
|
319
319
|
Type: [AttributeDefinition](#attributedefinition)
|
|
320
320
|
|
|
321
|
-
##
|
|
321
|
+
## string\_attribute\_writable
|
|
322
322
|
|
|
323
323
|
Type: [AttributeDefinition](#attributedefinition)
|
|
324
324
|
|
|
@@ -460,7 +460,7 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
460
460
|
|
|
461
461
|
Type: [AttributeDefinition](#attributedefinition)
|
|
462
462
|
|
|
463
|
-
## integer\_attribute
|
|
463
|
+
## integer\_attribute\_writable
|
|
464
464
|
|
|
465
465
|
Type: [AttributeDefinition](#attributedefinition)
|
|
466
466
|
|
|
@@ -468,7 +468,7 @@ Type: [AttributeDefinition](#attributedefinition)
|
|
|
468
468
|
|
|
469
469
|
Type: [AttributeDefinition](#attributedefinition)
|
|
470
470
|
|
|
471
|
-
##
|
|
471
|
+
## size\_attribute
|
|
472
472
|
|
|
473
473
|
Type: [AttributeDefinition](#attributedefinition)
|
|
474
474
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacc",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@mitata/counters": "^0.0.8",
|
|
46
|
-
"aggregated-map": "^1.0.
|
|
46
|
+
"aggregated-map": "^1.0.6",
|
|
47
47
|
"ava": "^8.0.1",
|
|
48
|
-
"browser-ava": "^2.3.
|
|
48
|
+
"browser-ava": "^2.3.63",
|
|
49
49
|
"c8": "^11.0.0",
|
|
50
50
|
"documentation": "^14.0.3",
|
|
51
51
|
"mitata": "^1.0.34",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
|
-
"node": ">=26.
|
|
61
|
+
"node": ">=26.3.1"
|
|
62
62
|
},
|
|
63
63
|
"repository": {
|
|
64
64
|
"type": "git",
|
package/src/attributes.mjs
CHANGED
|
@@ -75,7 +75,9 @@ export function* extendingAttributeIterator(type, filter, path) {
|
|
|
75
75
|
if (type.extends) {
|
|
76
76
|
yield* extendingAttributeIterator(type.extends, filter, path);
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
if (type.hasOwnProperty("attributes")) {
|
|
79
|
+
yield* attributeIterator(type.attributes, filter, path);
|
|
80
|
+
}
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
export const filterWritable = attribute => attribute.writable;
|