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.2 node_modules/babel-helper-get-function-arity/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-hoist-variables/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-optimise-call-expression/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-regex/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helper-replace-supers/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-helpers/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-messages/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-check-es2015-constants/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-external-helpers/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-syntax-async-functions/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-arrow-functions/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-block-scoped-functions/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-block-scoping/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-classes/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-computed-properties/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-destructuring/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-duplicate-keys/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-for-of/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-function-name/node_modules/babel-runtime/helpers/defineEnumerableProperties.js
babel-schmooze-sprockets-0.1.2 node_modules/babel-plugin-transform-es2015-literals/node_modules/babel-runtime/helpers/defineEnumerableProperties.js