Sha256: 688050cb6f5fa47c1825abd2051dc5d1c105a1c322b44290aaac394379d74029

Contents?: true

Size: 507 Bytes

Versions: 17

Compression:

Stored size: 507 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _defineProperty;
var _toPropertyKey = require("./toPropertyKey.js");
function _defineProperty(obj, key, value) {
  key = (0, _toPropertyKey.default)(key);
  if (key in obj) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }
  return obj;
}

//# sourceMappingURL=defineProperty.js.map

Version data entries

17 entries across 13 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.51 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.50 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.49 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.48 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.47 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.46 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.45 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.44 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.43 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.42 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.41 node_modules/@babel/helpers/lib/helpers/defineProperty.js
immosquare-cleaner-0.1.40 node_modules/@babel/helpers/lib/helpers/defineProperty.js
wice_grid-7.1.0 node_modules/@babel/helpers/lib/helpers/defineProperty.js