mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-10 22:21:11 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
node_modules/parse5/lib/utils
13
node_modules/parse5/lib/utils/merge_options.js
generated
vendored
13
node_modules/parse5/lib/utils/merge_options.js
generated
vendored
|
@ -1,13 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function mergeOptions(defaults, options) {
|
||||
options = options || Object.create(null);
|
||||
|
||||
return [defaults, options].reduce(function (merged, optObj) {
|
||||
Object.keys(optObj).forEach(function (key) {
|
||||
merged[key] = optObj[key];
|
||||
});
|
||||
|
||||
return merged;
|
||||
}, Object.create(null));
|
||||
};
|
18
node_modules/parse5/lib/utils/mixin.js
generated
vendored
18
node_modules/parse5/lib/utils/mixin.js
generated
vendored
|
@ -1,18 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var Mixin = module.exports = function (host) {
|
||||
var originalMethods = {},
|
||||
overriddenMethods = this._getOverriddenMethods(this, originalMethods);
|
||||
|
||||
Object.keys(overriddenMethods).forEach(function (key) {
|
||||
if (typeof overriddenMethods[key] === 'function') {
|
||||
originalMethods[key] = host[key];
|
||||
host[key] = overriddenMethods[key];
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Mixin.prototype._getOverriddenMethods = function () {
|
||||
throw new Error('Not implemented');
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue