Sha256: 58045f7d0a15fb744587dadb0d0ff620838c99efb4f11a1ce09597f2cade69e3

Contents?: true

Size: 640 Bytes

Versions: 36

Compression:

Stored size: 640 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _classApplyDescriptorDestructureSet;
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;
  }
}

//# sourceMappingURL=classApplyDescriptorDestructureSet.js.map

Version data entries

36 entries across 32 versions & 3 rubygems

Version Path
immosquare-cleaner-0.1.67 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.66 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.65 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.64 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.63 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
rapid_stack-0.2.0 templates/frontend/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
rapid_stack-0.1.1 templates/FrontEnd/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
rapid_stack-0.1.0 templates/FrontEnd/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.62 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.61 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.60 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.59 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.58 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.57 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.56 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.55 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.54 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.53 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.52 node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/classApplyDescriptorDestructureSet.js