mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-06-29 06:36:02 +00:00
node_modules
This commit is contained in:
parent
5e3f23f92c
commit
806116bda4
734 changed files with 224451 additions and 0 deletions
26
node_modules/bottleneck/lib/parser.js
generated
vendored
Normal file
26
node_modules/bottleneck/lib/parser.js
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
"use strict";
|
||||
|
||||
exports.load = function (received, defaults, onto = {}) {
|
||||
var k, ref, v;
|
||||
|
||||
for (k in defaults) {
|
||||
v = defaults[k];
|
||||
onto[k] = (ref = received[k]) != null ? ref : v;
|
||||
}
|
||||
|
||||
return onto;
|
||||
};
|
||||
|
||||
exports.overwrite = function (received, defaults, onto = {}) {
|
||||
var k, v;
|
||||
|
||||
for (k in received) {
|
||||
v = received[k];
|
||||
|
||||
if (defaults[k] !== void 0) {
|
||||
onto[k] = v;
|
||||
}
|
||||
}
|
||||
|
||||
return onto;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue