Migration datamodels !

This commit is contained in:
2026-01-09 17:11:12 +01:00
parent 901df5b395
commit 66fe1418f0
3922 changed files with 316803 additions and 2103 deletions

25
node_modules/collection-map/index.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
/*!
* collection-map <https://github.com/jonschlinkert/collection-map>
*
* Copyright (c) 2015, 2017, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
var makeIterator = require('make-iterator');
var forOwn = require('for-own');
var map = require('arr-map');
module.exports = function(collection, fn, thisArg) {
if (!Array.isArray(collection)) {
var iterator = makeIterator(fn, thisArg);
var result = [];
forOwn(collection, function(value, key) {
result.push(iterator(value, key, collection));
});
return result;
}
return map(collection, fn, thisArg);
};