repository-provider 26.0.1 → 26.0.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.
Files changed (2) hide show
  1. package/README.md +16 -9
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -66,6 +66,7 @@ console.log(await readme.getString());
66
66
  * [equals](#equals)
67
67
  * [Parameters](#parameters-8)
68
68
  * [attributes](#attributes)
69
+ * [writableAttributes](#writableattributes)
69
70
  * [attributeMapping](#attributemapping)
70
71
  * [description](#description)
71
72
  * [id](#id)
@@ -178,6 +179,7 @@ console.log(await readme.getString());
178
179
  * [equals](#equals-3)
179
180
  * [Parameters](#parameters-45)
180
181
  * [displayName](#displayname)
182
+ * [update](#update)
181
183
  * [toJSON](#tojson-2)
182
184
  * [Project](#project)
183
185
  * [Parameters](#parameters-46)
@@ -275,7 +277,6 @@ console.log(await readme.getString());
275
277
  * [isLocked](#islocked-1)
276
278
  * [isDisabled](#isdisabled-1)
277
279
  * [isTemplate](#istemplate)
278
- * [update](#update)
279
280
  * [branch](#branch-1)
280
281
  * [Parameters](#parameters-65)
281
282
  * [defaultBranch](#defaultbranch)
@@ -361,6 +362,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
361
362
  * `type` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
362
363
  * `writable` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**
363
364
  * `private` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**
365
+ * `description` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
364
366
 
365
367
  ## definePropertiesFromOptions
366
368
 
@@ -423,7 +425,8 @@ In other words only produce key value pairs if value is defined.
423
425
 
424
426
  * `object` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
425
427
  * `initial` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** (optional, default `{}`)
426
- * `skip` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** keys not to put in the result (optional, default `[]`)
428
+ * `attributes` (optional, default `object.constructor.attributes`)
429
+ * `attibutes` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to operator on
427
430
 
428
431
  Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** initial + defined values
429
432
 
@@ -460,7 +463,7 @@ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/G
460
463
  ### Parameters
461
464
 
462
465
  * `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
463
- * `additionalProperties`
466
+ * `additionalProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
464
467
 
465
468
  ### equals
466
469
 
@@ -474,7 +477,11 @@ Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/
474
477
 
475
478
  ### attributes
476
479
 
477
- options
480
+ Attributes definitions
481
+
482
+ ### writableAttributes
483
+
484
+ Returns **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** writable attributes
478
485
 
479
486
  ### attributeMapping
480
487
 
@@ -1050,7 +1057,7 @@ Object with a name.
1050
1057
 
1051
1058
  * `name` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
1052
1059
  * `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
1053
- * `additionalProperties`
1060
+ * `additionalProperties` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)**
1054
1061
 
1055
1062
  ### Properties
1056
1063
 
@@ -1072,6 +1079,10 @@ Beatified name use for human displaying only.
1072
1079
 
1073
1080
  Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** human readable name
1074
1081
 
1082
+ ### update
1083
+
1084
+ Preserve object attributes in the backing store.
1085
+
1075
1086
  ### toJSON
1076
1087
 
1077
1088
  Provide name and all defined attributes.
@@ -1639,10 +1650,6 @@ By default we are not a template.
1639
1650
 
1640
1651
  Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** false
1641
1652
 
1642
- ### update
1643
-
1644
- Updates repositroy attributes.
1645
-
1646
1653
  ### branch
1647
1654
 
1648
1655
  Lookup branch by name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repository-provider",
3
- "version": "26.0.1",
3
+ "version": "26.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  "ava": "^3.15.0",
36
36
  "c8": "^7.10.0",
37
37
  "documentation": "^13.2.5",
38
- "repository-provider-test-support": "^1.8.7",
38
+ "repository-provider-test-support": "^1.8.11",
39
39
  "semantic-release": "^18.0.1"
40
40
  },
41
41
  "engines": {