Sha256: 45d838cdb077c2083862a22e2c85cce5e7fd80946e1275cec632b2fca84a09f5

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _objectSpread2;
var _defineProperty = require("defineProperty");
function ownKeys(object, enumerableOnly) {
  var keys = Object.keys(object);
  if (Object.getOwnPropertySymbols) {
    var symbols = Object.getOwnPropertySymbols(object);
    if (enumerableOnly) {
      symbols = symbols.filter(function (sym) {
        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
      });
    }
    keys.push.apply(keys, symbols);
  }
  return keys;
}
function _objectSpread2(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = arguments[i] != null ? arguments[i] : {};
    if (i % 2) {
      ownKeys(Object(source), true).forEach(function (key) {
        _defineProperty(target, key, source[key]);
      });
    } else if (Object.getOwnPropertyDescriptors) {
      Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
    } else {
      ownKeys(Object(source)).forEach(function (key) {
        Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
      });
    }
  }
  return target;
}

//# sourceMappingURL=objectSpread2.js.map

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
trusty-cms-6.3.1 node_modules/@babel/helpers/lib/helpers/objectSpread2.js
immosquare-cleaner-0.1.39 node_modules/@babel/helpers/lib/helpers/objectSpread2.js
immosquare-cleaner-0.1.38 node_modules/@babel/helpers/lib/helpers/objectSpread2.js