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-redux-4.2.0 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.10 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.9 node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.15.2 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.8 node_modules/@babel/runtime/helpers/objectSpread.js
isomorfeus-redux-4.1.7 node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.18.4 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.18.1 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.14.0 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/objectSpread.js