Sha256: 00cb0de701c69c002d93f5bc79126aed7387f4ddc0ac944b61b63d0e4d7c3254

Contents?: true

Size: 609 Bytes

Versions: 30

Compression:

Stored size: 609 Bytes

Contents

import defineProperty from "./defineProperty";
export default 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;
}

Version data entries

30 entries across 30 versions & 5 rubygems

Version Path
trusty-cms-4.1.9 node_modules/@babel/runtime/helpers/esm/objectSpread.js
trusty-cms-4.1.8 node_modules/@babel/runtime/helpers/esm/objectSpread.js
tang-0.2.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/objectSpread.js
trusty-cms-4.1.7 node_modules/@babel/runtime/helpers/esm/objectSpread.js
tang-0.1.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/objectSpread.js
tang-0.0.9 spec/tang_app/node_modules/@babel/runtime/helpers/esm/objectSpread.js
trusty-cms-4.1.6 node_modules/@babel/runtime/helpers/esm/objectSpread.js
trusty-cms-4.1.5 node_modules/@babel/runtime/helpers/esm/objectSpread.js
enju_library-0.3.8 spec/dummy/node_modules/@babel/runtime/helpers/esm/objectSpread.js
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/objectSpread.js