Sha256: 0d9df4e8a9daac240b93d24da0ba08e1499d4fc1215656a6165cbabd5c87c808

Contents?: true

Size: 413 Bytes

Versions: 43

Compression:

Stored size: 413 Bytes

Contents

// 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
}

Version data entries

43 entries across 25 versions & 10 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
disco_app-0.18.0 test/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
disco_app-0.18.2 test/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
enju_library-0.3.8 spec/dummy/node_modules/sass-graph/node_modules/yargs/lib/assign.js
ilog-0.4.1 node_modules/webpack-dev-server/node_modules/yargs/lib/assign.js
ilog-0.4.1 node_modules/webpack/node_modules/yargs/lib/assign.js
ilog-0.4.1 node_modules/browser-sync/node_modules/yargs/lib/assign.js
ilog-0.4.1 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ilog-0.4.1 node_modules/localtunnel/node_modules/yargs/lib/assign.js
ilog-0.4.0 node_modules/localtunnel/node_modules/yargs/lib/assign.js
ilog-0.4.0 node_modules/webpack/node_modules/yargs/lib/assign.js
ilog-0.4.0 node_modules/browser-sync/node_modules/yargs/lib/assign.js
ilog-0.4.0 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ilog-0.4.0 node_modules/webpack-dev-server/node_modules/yargs/lib/assign.js
ilog-0.3.3 node_modules/webpack-dev-server/node_modules/yargs/lib/assign.js
ilog-0.3.3 node_modules/sass-graph/node_modules/yargs/lib/assign.js
ilog-0.3.3 node_modules/webpack/node_modules/yargs/lib/assign.js
ilog-0.3.3 node_modules/browser-sync/node_modules/yargs/lib/assign.js
ilog-0.3.3 node_modules/localtunnel/node_modules/yargs/lib/assign.js
jester-data-8.0.0 node_modules/sass-graph/node_modules/yargs/lib/assign.js