Sha256: 808aad4fea70618e91a82ab539b14350a62e93878f5f33aeed799c8ef846666d

Contents?: true

Size: 537 Bytes

Versions: 157

Compression:

Stored size: 537 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, descs) {
  for (var key in descs) {
    var desc = descs[key];
    desc.configurable = desc.enumerable = true;
    if ("value" in desc) desc.writable = true;
    (0, _defineProperty2.default)(obj, key, desc);
  }

  return obj;
};

Version data entries

157 entries across 36 versions & 10 rubygems

Version Path
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-syntax-async-functions/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-plugin-check-es2015-constants/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helpers/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-replace-supers/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-regex/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-template/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-hoist-variables/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-get-function-arity/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-function-name/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-define-map/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-helper-call-delegate/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-generator/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.1 node_modules/babel-core/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.0 node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.0.alpha.2 node_modules/babel-runtime/helpers/defineEnumerableProperties.js