pacc 4.42.0 → 5.0.0

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 CHANGED
@@ -70,6 +70,7 @@ const result = getAttribute({ a: [0,{ b: 4 }]}, "a[1].b");
70
70
  * [integer\_attribute](#integer_attribute-1)
71
71
  * [integer\_attribute](#integer_attribute-2)
72
72
  * [integer\_attribute\_writable](#integer_attribute_writable)
73
+ * [integer\_attribute\_writable](#integer_attribute_writable-1)
73
74
  * [object\_attribute](#object_attribute)
74
75
  * [url\_attribute](#url_attribute)
75
76
  * [url\_attribute\_writable](#url_attribute_writable)
@@ -338,6 +339,10 @@ Type: [AttributeDefinition](#attributedefinition)
338
339
 
339
340
  Type: [AttributeDefinition](#attributedefinition)
340
341
 
342
+ ## integer\_attribute\_writable
343
+
344
+ Type: [AttributeDefinition](#attributedefinition)
345
+
341
346
  ## object\_attribute
342
347
 
343
348
  Type: [AttributeDefinition](#attributedefinition)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pacc",
3
- "version": "4.42.0",
3
+ "version": "5.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -80,7 +80,7 @@ export function prepareValue(value, attribute) {
80
80
  return value;
81
81
  }
82
82
 
83
- export function manadatoryAttributesPresent(object, attributes) {
83
+ export function mandatoryAttributesPresent(object, attributes) {
84
84
  for (const [path, attribute] of attributeIterator(
85
85
  attributes,
86
86
  (name, attribute) => attribute.mandatory
@@ -15,5 +15,5 @@ export function prepareAttributesDefinitions(newDefinitions: any, presentDefinit
15
15
  export function attributeIterator(definition: any, filter: Function, path?: string[]): Iterable<[string[], object]>;
16
16
  export function writableAttributeIterator(definition: any): Generator<[string[], any], void, any>;
17
17
  export function prepareValue(value: any, attribute: any): any;
18
- export function manadatoryAttributesPresent(object: any, attributes: any): boolean;
18
+ export function mandatoryAttributesPresent(object: any, attributes: any): boolean;
19
19
  export function filterWritable(name: any, attribute: any): any;