10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-15 02:54:46 +00:00

Add node modules and compiled JavaScript from main

This commit is contained in:
Oliver King 2022-07-25 17:21:04 +00:00
parent 05c44ea40f
commit b1f5f99e89
8266 changed files with 1802814 additions and 5 deletions

View file

@ -0,0 +1,33 @@
'use strict';
var isObject = require('is-extendable');
module.exports = function extend(o/*, objects*/) {
if (!isObject(o)) { o = {}; }
var len = arguments.length;
for (var i = 1; i < len; i++) {
var obj = arguments[i];
if (isObject(obj)) {
assign(o, obj);
}
}
return o;
};
function assign(a, b) {
for (var key in b) {
if (hasOwn(b, key)) {
a[key] = b[key];
}
}
}
/**
* Returns true if the given `key` is an own property of `obj`.
*/
function hasOwn(obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
}