Sha256: c1362e22e9285058661407cf3ffe1bc76109c3ebe3169bdb54a3962239c53485

Contents?: true

Size: 347 Bytes

Versions: 45

Compression:

Stored size: 347 Bytes

Contents

function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
  if (receiver !== classConstructor) {
    throw new TypeError("Private static access of wrong provenance");
  }

  if (descriptor.get) {
    return descriptor.get.call(receiver);
  }

  return descriptor.value;
}

module.exports = _classStaticPrivateFieldSpecGet;

Version data entries

45 entries across 38 versions & 6 rubygems

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