repository-provider 32.6.6 → 32.6.8
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": "repository-provider",
|
|
3
|
-
"version": "32.6.
|
|
3
|
+
"version": "32.6.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"browser-ava": "^1.3.25",
|
|
38
38
|
"c8": "^7.13.0",
|
|
39
39
|
"documentation": "^14.0.1",
|
|
40
|
-
"repository-provider-test-support": "^2.2.
|
|
40
|
+
"repository-provider-test-support": "^2.2.37",
|
|
41
41
|
"semantic-release": "^20.1.1",
|
|
42
42
|
"typescript": "^4.9.5"
|
|
43
43
|
},
|
package/src/attribute-extras.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import { setAttribute, getAttribute } from "./attribute.mjs";
|
|
3
2
|
|
|
4
3
|
/**
|
|
@@ -155,11 +154,7 @@ export function optionJSON(
|
|
|
155
154
|
? Object.keys(attributes).reduce((a, c) => {
|
|
156
155
|
const value = object[c];
|
|
157
156
|
if (value !== undefined && !(value instanceof Function)) {
|
|
158
|
-
|
|
159
|
-
a[c] = [...value];
|
|
160
|
-
} else {
|
|
161
|
-
a[c] = value;
|
|
162
|
-
}
|
|
157
|
+
a[c] = value instanceof Set ? [...value] : value;
|
|
163
158
|
}
|
|
164
159
|
return a;
|
|
165
160
|
}, initial)
|
package/src/base-provider.mjs
CHANGED
|
@@ -410,13 +410,6 @@ export class BaseProvider extends BaseObject {
|
|
|
410
410
|
return this;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
/**
|
|
414
|
-
* @return url of the provider.
|
|
415
|
-
*/
|
|
416
|
-
get url() {
|
|
417
|
-
return "/";
|
|
418
|
-
}
|
|
419
|
-
|
|
420
413
|
/**
|
|
421
414
|
* List all defined entries from attributes.
|
|
422
415
|
* return {object}
|