Sha256: 2eac82e66b867d81ce7d24ff3bcae0530cd0d0d8913ff84621d7bc32e6342ecf

Contents?: true

Size: 540 Bytes

Versions: 156

Compression:

Stored size: 540 Bytes

Contents

"use strict";

exports.__esModule = true;

var _defineProperty = require("../core-js/object/define-property");

var _defineProperty2 = _interopRequireDefault(_defineProperty);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

exports.default = function (obj, key, value) {
  if (key in obj) {
    (0, _defineProperty2.default)(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }

  return obj;
};

Version data entries

156 entries across 35 versions & 10 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.50 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.49 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.48 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.47 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.46 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.45 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.44 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.43 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.42 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.41 node_modules/babel-runtime/helpers/defineProperty.js
immosquare-cleaner-0.1.40 node_modules/babel-runtime/helpers/defineProperty.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/helpers/defineProperty.js
ilog-0.4.1 node_modules/babel-runtime/helpers/defineProperty.js
ilog-0.4.0 node_modules/babel-runtime/helpers/defineProperty.js
ilog-0.3.3 node_modules/babel-runtime/helpers/defineProperty.js
optimacms-0.4.3 spec/dummy/node_modules/babel-runtime/helpers/defineProperty.js
optimacms-0.4.2 spec/dummy/node_modules/babel-runtime/helpers/defineProperty.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/babel-runtime/helpers/defineProperty.js
lux_assets-0.2.11 ./node_modules/babel-runtime/helpers/defineProperty.js