Sha256: 82404ea03f77543d4ab0b527e08e35c0c7d6a3385a2fe2b81d7cd04e5f882772

Contents?: true

Size: 576 Bytes

Versions: 34

Compression:

Stored size: 576 Bytes

Contents

function _classApplyDescriptorDestructureSet(receiver, descriptor) {
  if (descriptor.set) {
    if (!("__destrObj" in descriptor)) {
      descriptor.__destrObj = {
        set value(v) {
          descriptor.set.call(receiver, v);
        }

      };
    }

    return descriptor.__destrObj;
  } else {
    if (!descriptor.writable) {
      throw new TypeError("attempted to set read only private field");
    }

    return descriptor;
  }
}

module.exports = _classApplyDescriptorDestructureSet;
module.exports["default"] = module.exports, module.exports.__esModule = true;

Version data entries

34 entries across 33 versions & 5 rubygems

Version Path
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.10 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.9 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.15.2 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.8 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
isomorfeus-redux-4.1.7 node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.18.4 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.18.1 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.14.0 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js