mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-12-16 06:57:01 +00:00
Update packages, change to node16
This commit is contained in:
4
node_modules/@octokit/endpoint/dist-src/util/merge-deep.js
generated
vendored
4
node_modules/@octokit/endpoint/dist-src/util/merge-deep.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
import isPlainObject from "is-plain-object";
|
||||
import { isPlainObject } from "is-plain-object";
|
||||
export function mergeDeep(defaults, options) {
|
||||
const result = Object.assign({}, defaults);
|
||||
Object.keys(options).forEach(key => {
|
||||
Object.keys(options).forEach((key) => {
|
||||
if (isPlainObject(options[key])) {
|
||||
if (!(key in defaults))
|
||||
Object.assign(result, { [key]: options[key] });
|
||||
|
||||
Reference in New Issue
Block a user