Sha256: 70d45035be6f050d301ad46f50129500720431336f236393e1bc115ebd48e14c

Contents?: true

Size: 267 Bytes

Versions: 58

Compression:

Stored size: 267 Bytes

Contents

function _classPrivateFieldBase(receiver, privateKey) {
  if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
    throw new TypeError("attempted to use private field on non-instance");
  }

  return receiver;
}

module.exports = _classPrivateFieldBase;

Version data entries

58 entries across 48 versions & 8 rubygems

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