Sha256: aa6e3fc6a9c156c324edb6dacb89bed878b2eb2e668b9b14b826dacfd69f898f

Contents?: true

Size: 289 Bytes

Versions: 49

Compression:

Stored size: 289 Bytes

Contents

function _defineProperty(obj, key, value) {
  if (key in obj) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true
    });
  } else {
    obj[key] = value;
  }

  return obj;
}

module.exports = _defineProperty;

Version data entries

49 entries across 49 versions & 8 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/defineProperty.js
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/defineProperty.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.3 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.2 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.1 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3.5 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-5.0.0 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3.4 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3.3 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3.2 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3.1 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.3 node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.2.3 node_modules/@babel/runtime/helpers/defineProperty.js
tang-0.2.1 spec/tang_app/node_modules/@babel/runtime/helpers/defineProperty.js
trusty-cms-4.2.2 node_modules/@babel/runtime/helpers/defineProperty.js