Sha256: fbcb2e655e91159f4fa6dfd64df9cb0a49c1714c374417b67d45691e7df48ac8

Contents?: true

Size: 631 Bytes

Versions: 30

Compression:

Stored size: 631 Bytes

Contents

var defineProperty = require("./defineProperty");

function _objectSpread(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i] != null ? Object(arguments[i]) : {};
    var ownKeys = Object.keys(source);

    if (typeof Object.getOwnPropertySymbols === 'function') {
      ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
        return Object.getOwnPropertyDescriptor(source, sym).enumerable;
      }));
    }

    ownKeys.forEach(function (key) {
      defineProperty(target, key, source[key]);
    });
  }

  return target;
}

module.exports = _objectSpread;

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.3 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.2 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.1 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3.5 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-5.0.0 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3.4 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3.3 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3.2 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3.1 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.3 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.2.3 node_modules/@babel/runtime/helpers/objectSpread.js
tang-0.2.1 spec/tang_app/node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.2.2 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.2.1 node_modules/@babel/runtime/helpers/objectSpread.js
trusty-cms-4.2 node_modules/@babel/runtime/helpers/objectSpread.js