PHP 8.2.30
Preview: assign.js Size: 413 B
//opt/alt/alt-nodejs9/root/lib/node_modules/npm/node_modules/libnpx/node_modules/yargs/lib/assign.js

// lazy Object.assign logic that only works for merging
// two objects; eventually we should replace this with Object.assign.
module.exports = function assign (defaults, configuration) {
  var o = {}
  configuration = configuration || {}

  Object.keys(defaults).forEach(function (k) {
    o[k] = defaults[k]
  })
  Object.keys(configuration).forEach(function (k) {
    o[k] = configuration[k]
  })

  return o
}

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
1.44 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
2.42 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
413 B lrw-r--r-- 2021-09-28 11:28:14
Edit Download
11.26 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
3.02 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
2.10 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
267 B lrw-r--r-- 2021-09-28 11:28:14
Edit Download
13.30 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
10.15 KB lrw-r--r-- 2021-09-28 11:28:14
Edit Download
241 B lrw-r--r-- 2021-09-28 11:28:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).