Sha256: bd5e92d6fb2363a97fc1c149b89a78edd34e63af74bbc587c42782adee223db8

Contents?: true

Size: 715 Bytes

Versions: 30

Compression:

Stored size: 715 Bytes

Contents

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

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.push.apply(ownKeys, 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;
module.exports["default"] = module.exports, module.exports.__esModule = true;

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
isomorfeus-preact-10.5.7 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-preact-10.5.6 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-preact-10.5.5 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-preact-10.5.4 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.6 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-preact-10.5.3 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.5 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-preact-10.5.2 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.4 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.3 node_modules/@babel/runtime/helpers/objectSpread.js