mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-21 05:24:45 +00:00
.
This commit is contained in:
parent
9fff29ba6c
commit
00c3b50fca
7278 changed files with 0 additions and 1778943 deletions
18
node_modules/lodash/_mapToArray.js
generated
vendored
18
node_modules/lodash/_mapToArray.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
/**
|
||||
* Converts `map` to its key-value pairs.
|
||||
*
|
||||
* @private
|
||||
* @param {Object} map The map to convert.
|
||||
* @returns {Array} Returns the key-value pairs.
|
||||
*/
|
||||
function mapToArray(map) {
|
||||
var index = -1,
|
||||
result = Array(map.size);
|
||||
|
||||
map.forEach(function(value, key) {
|
||||
result[++index] = [key, value];
|
||||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = mapToArray;
|
Loading…
Add table
Add a link
Reference in a new issue