Initial Save

This commit is contained in:
jackbeeby
2025-03-28 12:30:19 +11:00
parent e381994f19
commit d8773925e8
9910 changed files with 982718 additions and 0 deletions

24
node_modules/graphql/polyfills/flatMap.mjs generated vendored Normal file
View File

@@ -0,0 +1,24 @@
// Workaround to make older Flow versions happy
var flatMapMethod = Array.prototype.flatMap;
/* eslint-disable no-redeclare */
// $FlowFixMe
var flatMap = flatMapMethod ? function (list, fn) {
return flatMapMethod.call(list, fn);
} : function (list, fn) {
var result = [];
for (var _i2 = 0; _i2 < list.length; _i2++) {
var _item = list[_i2];
var value = fn(_item);
if (Array.isArray(value)) {
result = result.concat(value);
} else {
result.push(value);
}
}
return result;
};
export default flatMap;