{"_id":"object.getprototypeof","_rev":"3443217","name":"object.getprototypeof","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","dist-tags":{"latest":"1.0.6"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-08-27T19:26:15.000Z","created":"2021-01-12T19:52:36.538Z","1.0.6":"2024-03-17T06:54:09.213Z","1.0.5":"2023-09-07T17:05:33.358Z","1.0.4":"2022-11-07T06:54:55.505Z","1.0.3":"2021-10-04T06:19:12.956Z","1.0.2":"2021-09-08T15:39:34.800Z","1.0.1":"2021-01-13T00:39:18.018Z","1.0.0":"2021-01-12T19:52:36.538Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"versions":{"1.0.6":{"name":"object.getprototypeof","version":"1.0.6","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.4","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.7.5"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.7","define-properties":"^1.2.1","es-object-atoms":"^1.0.0","reflect.getprototypeof":"^1.0.5"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"object.getprototypeof@1.0.6","gitHead":"84e050f32735818e0967790e51ecf35fb9343439","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"shasum":"723393426cb4f354029878631da0fc619ca20cff","size":7592,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.6_1710658449051_0.6178697939283166"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-17T06:54:09.213Z","publish_time":1710658449213,"_source_registry_name":"default","_cnpm_publish_time":1710658449213},"1.0.5":{"name":"object.getprototypeof","version":"1.0.5","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.4.2","@ljharb/eslint-config":"^21.1.0","aud":"^2.0.3","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.6"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.2.0","es-abstract":"^1.22.1","reflect.getprototypeof":"^1.0.4"},"publishConfig":{"ignore":[".github/workflows"]},"_id":"object.getprototypeof@1.0.5","gitHead":"a019b8c97fe1469da81fe8588f3edb7e63b32279","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"82d147e21f415e08663d46d17445f36562a938eb","size":7514,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.5.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.5_1694106333177_0.3420928535595209"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-07T17:05:33.358Z","publish_time":1694106333358,"_source_registry_name":"default","_cnpm_publish_time":1694106333358},"1.0.4":{"name":"object.getprototypeof","version":"1.0.4","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.2.3","@ljharb/eslint-config":"^21.0.0","aud":"^2.0.1","auto-changelog":"^2.4.0","eslint":"=8.8.0","evalmd":"^0.0.19","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.4","es-abstract":"^1.20.4","reflect.getprototypeof":"^1.0.2"},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"e7582e2d8e39e2f8fdc67a7f0d80b78a6d37a3d8","_id":"object.getprototypeof@1.0.4","_nodeVersion":"19.0.1","_npmVersion":"8.19.2","dist":{"shasum":"d662d3d13f9cda65f01d1ea2ba86f0097676f83b","size":7417,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.4_1667804095267_0.7766069844775905"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-07T06:55:03.393Z","publish_time":1667804095505,"_cnpm_publish_time":1667804095505},"1.0.3":{"name":"object.getprototypeof","version":"1.0.3","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./auto":"./auto.js","./package.json":"./package.json"},"scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.2.2","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","evalmd":"^0.0.19","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.19.1","reflect.getprototypeof":"^1.0.2"},"gitHead":"7dabfd850ff6731ee16c8aeb96faba90b531cadb","_id":"object.getprototypeof@1.0.3","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"92e0c2320ffd3990f3378c9c3489929af31a190f","size":7079,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.3_1633328352824_0.7220013769552764"},"_hasShrinkwrap":false,"publish_time":1633328352956,"_cnpm_publish_time":1633328352956},"1.0.2":{"name":"object.getprototypeof","version":"1.0.2","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./auto":"./auto.js","./package.json":"./package.json"},"scripts":{"prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.2.1","@ljharb/eslint-config":"^18.0.0","aud":"^1.1.5","auto-changelog":"^2.3.0","eslint":"^7.32.0","evalmd":"^0.0.19","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.3.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.6","reflect.getprototypeof":"^1.0.0"},"gitHead":"6bb0df435e983fac1aebfd4536f640c26c35b195","_id":"object.getprototypeof@1.0.2","_nodeVersion":"16.9.0","_npmVersion":"7.21.1","dist":{"shasum":"a993d88ca63d68f9c328186dd17d76d4188b3624","size":6962,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.2_1631115574659_0.7470504982496216"},"_hasShrinkwrap":false,"publish_time":1631115574800,"_cnpm_publish_time":1631115574800},"1.0.1":{"name":"object.getprototypeof","version":"1.0.1","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./polyfill":[{"import":"./polyfill.mjs","default":"./polyfill.js"},"./polyfill.js"],"./implementation":[{"import":"./implementation.mjs","default":"./implementation.js"},"./implementation.js"],"./shim":[{"import":"./shim.mjs","default":"./shim.js"},"./shim.js"],"./auto":[{"import":"./auto.mjs","default":"./auto.js"},"./auto.js"],"./package.json":"./package.json"},"scripts":{"prepublish":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.17.0","evalmd":"^0.0.19","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.1.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.2","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1","reflect.getprototypeof":"^1.0.0"},"gitHead":"b3f11d87c4d2970a02d1eb0263bd396b066ad52f","_id":"object.getprototypeof@1.0.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"dce7a9e6335b04db2e218afc5f423352a8ee3ada","size":6548,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.1_1610498357801_0.499280610125282"},"_hasShrinkwrap":false,"publish_time":1610498358018,"_cnpm_publish_time":1610498358018},"1.0.0":{"name":"object.getprototypeof","version":"1.0.0","description":"An ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible","main":"index.js","type":"commonjs","exports":{".":[{"import":"./index.mjs","default":"./index.js"},"./index.js"],"./polyfill":[{"import":"./polyfill.mjs","default":"./polyfill.js"},"./polyfill.js"],"./implementation":[{"import":"./implementation.mjs","default":"./implementation.js"},"./implementation.js"],"./shim":[{"import":"./shim.mjs","default":"./shim.js"},"./shim.js"],"./auto":[{"import":"./auto.mjs","default":"./auto.js"},"./auto.js"],"./package.json":"./package.json"},"scripts":{"prepublish":"safe-publish-latest","prelint":"evalmd README.md","lint":"eslint .","postlint":"es-shim-api --bound","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","tests-esm":"nyc node test/index.mjs","test":"npm run tests-only && npm run tests-esm","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/es-shims/Object.getPrototypeOf.git"},"keywords":["Object.getPrototypeOf","proto","__proto__","[[Prototype]]","getPrototypeOf","ES5","shim","polyfill","es-shim API","browser"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","engines":{"node":">= 0.4"},"devDependencies":{"@es-shims/api":"^2.1.2","@ljharb/eslint-config":"^17.3.0","aud":"^1.1.3","auto-changelog":"^2.2.1","eslint":"^7.16.0","evalmd":"^0.0.19","nyc":"^10.3.2","safe-publish-latest":"^1.1.4","tape":"^5.0.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"dependencies":{"call-bind":"^1.0.0","define-properties":"^1.1.3","es-abstract":"^1.18.0-next.1","get-intrinsic":"^1.0.2","which-builtin-type":"^1.0.1"},"gitHead":"e8c40e3fc65dd9427df95d6c0367c664dad8d254","_id":"object.getprototypeof@1.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"910861088487fe5b4207d6cc4774bede99351109","size":6766,"noattachment":false,"key":"/object.getprototypeof/-/object.getprototypeof-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/object.getprototypeof/download/object.getprototypeof-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/object.getprototypeof_1.0.0_1610481156406_0.014475929211994032"},"_hasShrinkwrap":false,"publish_time":1610481156538,"_cnpm_publish_time":1610481156538}},"readme":"# object.getprototypeof <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nAn ES5 mostly-spec-compliant `Object.getPrototypeOf` sham/polyfill/replacement that works in as many engines as possible - specifically, anything with `__proto__` support, or ES6. Built-in types will also work correctly in older engines.\n\nThis package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the [spec](https://www.ecma-international.org/ecma-262/5.1/).\n\n## Example\n\n```js\nvar getPrototypeOf = require('object.getprototypeof');\nvar assert = require('assert');\n\nassert.equal(getPrototypeOf(true), Boolean.prototype);\nassert.equal(getPrototypeOf(42), Number.prototype);\nassert.equal(getPrototypeOf(''), String.prototype);\nassert.equal(getPrototypeOf(/a/g), RegExp.prototype);\nassert.equal(getPrototypeOf(new Date()), Date.prototype);\nassert.equal(getPrototypeOf(function () {}), Function.prototype);\nassert.equal(getPrototypeOf([]), Array.prototype);\nassert.equal(getPrototypeOf({}), Object.prototype);\n```\n\n```js\nvar getPrototypeOf = require('object.getprototypeof');\nvar assert = require('assert');\n/* when Object.getPrototypeOf is not present */\ndelete Object.getPrototypeOf;\nvar shimmed = getPrototypeOf.shim();\nassert.equal(shimmed, getPrototypeOf.getPolyfill());\n\nassert.equal(Object.getPrototypeOf(true), Boolean.prototype);\nassert.equal(Object.getPrototypeOf(42), Number.prototype);\nassert.equal(Object.getPrototypeOf(''), String.prototype);\nassert.equal(Object.getPrototypeOf(/a/g), RegExp.prototype);\nassert.equal(Object.getPrototypeOf(new Date()), Date.prototype);\nassert.equal(Object.getPrototypeOf(function () {}), Function.prototype);\nassert.equal(Object.getPrototypeOf([]), Array.prototype);\nassert.equal(Object.getPrototypeOf({}), Object.prototype);\n```\n\n```js\nvar getPrototypeOf = require('object.getprototypeof');\nvar assert = require('assert');\n/* when Object.getPrototypeOf is present */\nvar shimmedGetPrototypeOf = getPrototypeOf.shim();\nassert.equal(shimmedGetPrototypeOf, Object.getPrototypeOf);\nassert.equal(Object.getPrototypeOf([]), Array.prototype);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/object.getprototypeof\n[npm-version-svg]: https://versionbadg.es/es-shims/Object.getPrototypeOf.svg\n[deps-svg]: https://david-dm.org/es-shims/Object.getPrototypeOf.svg\n[deps-url]: https://david-dm.org/es-shims/Object.getPrototypeOf\n[dev-deps-svg]: https://david-dm.org/es-shims/Object.getPrototypeOf/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Object.getPrototypeOf#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object.getprototypeof.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/object.getprototypeof.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/object.getprototypeof.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=object.getprototypeof\n[codecov-image]: https://codecov.io/gh/es-shims/Object.getPrototypeOf/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Object.getPrototypeOf/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.getPrototypeOf\n[actions-url]: https://github.com/es-shims/Object.getPrototypeOf/actions\n","_attachments":{},"homepage":"https://github.com/es-shims/Object.getPrototypeOf","bugs":{"url":"https://github.com/es-shims/Object.getPrototypeOf/issues"},"license":"MIT"}