{"_id":"dunder-proto","_rev":"3689905","name":"dunder-proto","description":"If available, the `Object.prototype.__proto__` accessor and mutator, call-bound","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2025-02-13T05:46:46.000Z","created":"2024-12-06T16:23:40.899Z","1.0.1":"2024-12-17T02:12:47.047Z","1.0.0":"2024-12-06T16:23:40.899Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/es-shims/dunder-proto.git"},"versions":{"1.0.1":{"name":"dunder-proto","version":"1.0.1","description":"If available, the `Object.prototype.__proto__` accessor and mutator, call-bound","main":false,"exports":{"./get":"./get.js","./set":"./set.js","./package.json":"./package.json"},"sideEffects":false,"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":"tsc -p . && attw -P","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --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/dunder-proto.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/dunder-proto/issues"},"homepage":"https://github.com/es-shims/dunder-proto#readme","dependencies":{"call-bind-apply-helpers":"^1.0.1","es-errors":"^1.3.0","gopd":"^1.2.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/tape":"^5.7.0","auto-changelog":"^2.5.0","encoding":"^0.1.13","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.9.0","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"dunder-proto@1.0.1","gitHead":"c6f4b69ab80c495777870f6a5f6a22db16ecaecb","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"shasum":"d7ae667e1dc83482f8b70fd0f6eefc50da30f58a","size":5049,"noattachment":false,"key":"/dunder-proto/-/dunder-proto-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/dunder-proto/download/dunder-proto-1.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dunder-proto_1.0.1_1734401566883_0.3382373483141208"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-17T02:12:47.047Z","publish_time":1734401567047,"_source_registry_name":"default","_cnpm_publish_time":1734401567047},"1.0.0":{"name":"dunder-proto","version":"1.0.0","description":"If available, the `Object.prototype.__proto__` accessor and mutator, call-bound","main":false,"exports":{"./get":"./get.js","./set":"./set.js","./package.json":"./package.json"},"sideEffects":false,"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":"tsc -p . && attw -P","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --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/dunder-proto.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/dunder-proto/issues"},"homepage":"https://github.com/es-shims/dunder-proto#readme","dependencies":{"call-bind-apply-helpers":"^1.0.0","es-errors":"^1.3.0","gopd":"^1.2.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.0","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","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.9.0","typescript":"next"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"testling":{"files":"test/index.js"},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"_id":"dunder-proto@1.0.0","gitHead":"7aaad8673f95c39e5c6c7c0a58e8b99f79471a08","_nodeVersion":"23.3.0","_npmVersion":"10.9.0","dist":{"shasum":"c2fce098b3c8f8899554905f4377b6d85dabaa80","size":4614,"noattachment":false,"key":"/dunder-proto/-/dunder-proto-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/dunder-proto/download/dunder-proto-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dunder-proto_1.0.0_1733502220694_0.358216166786711"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-06T16:23:40.899Z","publish_time":1733502220899,"_source_registry_name":"default","_cnpm_publish_time":1733502220899}},"readme":"# dunder-proto <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nIf available, the `Object.prototype.__proto__` accessor and mutator, call-bound.\n\n## Getting started\n\n```sh\nnpm install --save dunder-proto\n```\n\n## Usage/Examples\n\n```js\nconst assert = require('assert');\nconst getDunder = require('dunder-proto/get');\nconst setDunder = require('dunder-proto/set');\n\nconst obj = {};\n\nassert.equal('toString' in obj, true);\nassert.equal(getDunder(obj), Object.prototype);\n\nsetDunder(obj, null);\n\nassert.equal('toString' in obj, false);\nassert.equal(getDunder(obj), null);\n```\n\n## Tests\n\nClone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/dunder-proto\n[npm-version-svg]: https://versionbadg.es/es-shims/dunder-proto.svg\n[deps-svg]: https://david-dm.org/es-shims/dunder-proto.svg\n[deps-url]: https://david-dm.org/es-shims/dunder-proto\n[dev-deps-svg]: https://david-dm.org/es-shims/dunder-proto/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/dunder-proto#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/dunder-proto.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/dunder-proto.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/dunder-proto.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=dunder-proto\n[codecov-image]: https://codecov.io/gh/es-shims/dunder-proto/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/dunder-proto/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/dunder-proto\n[actions-url]: https://github.com/es-shims/dunder-proto/actions\n","_attachments":{},"homepage":"https://github.com/es-shims/dunder-proto#readme","bugs":{"url":"https://github.com/es-shims/dunder-proto/issues"},"license":"MIT"}