@muze-nl/jsfs-solid 0.2.0 → 0.2.1
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/dist/browser.js +7 -1
- package/dist/browser.js.map +2 -2
- package/dist/browser.min.js +3 -3
- package/dist/browser.min.js.map +3 -3
- package/package.json +2 -2
- package/package.json~ +0 -37
package/dist/browser.js
CHANGED
|
@@ -8128,7 +8128,7 @@
|
|
|
8128
8128
|
result2 += "/";
|
|
8129
8129
|
}
|
|
8130
8130
|
}
|
|
8131
|
-
return result2;
|
|
8131
|
+
return "" + result2;
|
|
8132
8132
|
}
|
|
8133
8133
|
static isAbsolute(path) {
|
|
8134
8134
|
if (path instanceof _Path) {
|
|
@@ -14439,6 +14439,12 @@
|
|
|
14439
14439
|
}
|
|
14440
14440
|
function groupBy(data, pointerFunctions) {
|
|
14441
14441
|
let pointerFn = pointerFunctions.shift();
|
|
14442
|
+
if (typeof pointerFn == "string") {
|
|
14443
|
+
pointerFn = _[pointerFn];
|
|
14444
|
+
}
|
|
14445
|
+
if (typeof pointerFn != "function") {
|
|
14446
|
+
throw new Error("groupBy parameters must be either a property name or a pointer function (e.g.: _.name)");
|
|
14447
|
+
}
|
|
14442
14448
|
let groups = getMatchingGroups(data, pointerFn);
|
|
14443
14449
|
if (pointerFunctions.length) {
|
|
14444
14450
|
for (let group in groups) {
|