{"_id":"mock-property","_rev":"9-b3ea292fd1ddc97076ffde8fba1944e0","name":"mock-property","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"mock-property","version":"1.0.0","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.0.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"301518a59fb545312a407c8d1a861aba0357b4a6","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.0.0.tgz","fileCount":9,"integrity":"sha512-imC60k5A55GPUU43PqczbubOyyxCudIgneACKzL3PKfsBk08dc1HgNNU8siQbEIAPPjVUhc+gb0v0ypZ/iP9pw==","signatures":[{"sig":"MEQCIHweIz3fYthzrRP4aPCD4M90jcRyz3qqU4RM8a7GWoyqAiA0CE80q+8+93KEmtidxJK/iIx3vVZtRb2cqzjAkEvBTw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiWzi6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTMw//fhzbxofq3Z/P+53qVh/UlEjq3D48irtwihsnTptFk3AlR0Vb\r\n6y2aMOf1Jj18XZVVGExtX8gcEXZTmv4/MvV3N4SheRFGUERrE6McO8lBDGC5\r\nVpXFLrlNqxibdiSxPKb6q0B0sl7GLUuNOvwnF4pMqyChrVMrMy6G4NZCA4eH\r\n25q07pr/my0TPMBYM0K8RKozJQqHDa5Ff/qHQQY/quNUjwalANUIO5MfQZO3\r\nJ1L82ZkmkeG33WjYo/VojVmGIMnNTkIKdUchY4AL6R6pALvTG+aVHHgRxkdA\r\nNlbiG+8oxZSQqaWNZB8wCQczUEgUDPhxJ1/XE6GbBj1rdk8OeGS/ChCnqx+r\r\nJGXviFGnPG64v/xAgiYpvZMQXRQxCr2HRde4D4BcB6uRAQGdsrsnIYStAqKK\r\nrzqtd4uAIJQ4PPp7XW5hnMfNP2cdYyhlttuUdZ94T58i7GR3TXguJrJpRtTr\r\n9o+y4vzYg2NDh/wJxCTJ1MibuCZBAKU7UVilfkS66FCZJz2sEHN+fjH2fjNn\r\na40q/SDUBVUwPTzYnK0S1ZoYpyGySYtKa4z1gjzghRMlI8h1Iek2QMkhvHFS\r\nGWBs9vAEWpiN7Xrn2kqPPYiE+0MPeVtf9m+QSLRGtSf9sXZOlidaKzQ2kjjD\r\n4Pmpw9QGPIepQdFeEktF4wFtjog7Y5olJRQ=\r\n=imQ4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"e373797d1483d6e8ac77aa703235167885dcee69","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"8.3.1","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"_nodeVersion":"17.9.0","dependencies":{"has":"^1.0.3","isarray":"^2.0.5","functions-have-names":"^1.2.2","has-property-descriptors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"aud":"^2.0.0","nyc":"^10.3.2","tape":"^5.5.3","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.12.0","es-value-fixtures":"^1.2.1","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.0.0_1650145466168_0.5572703803874826","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"mock-property","version":"1.0.1","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.0.1","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"2cfed3b741856fdd510975c67e5216b0c1f8bdd3","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.0.1.tgz","fileCount":10,"integrity":"sha512-85e35o0R+tF5BbYBLdPhbQ19P2R43s1hh/EbeuEbrd0EVBe+73ezeTlLBfnjl0QlMdr+ISfT0ov71Zb7s/uOTw==","signatures":[{"sig":"MEQCIGjFSnS5rCHrfMS9c2OXXe+J/982qHseVIoPc3GEn0U4AiAayw2Z/j/tjeZiY943yU9doJ9XKXRs0Es35/QBn5faeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":973856},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"71931e8e7f50d028e98f5b62b17ab22201a790d1","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"deprecated":"this version accidentally includes a testing HTML file - it works fine otherwise","repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"10.1.0","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"_nodeVersion":"20.8.0","dependencies":{"has":"^1.0.3","gopd":"^1.0.1","isarray":"^2.0.5","define-data-property":"^1.1.0","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.0"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.3","nyc":"^10.3.2","tape":"^5.7.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","npmignore":"^0.3.0","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.12.3","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.0.1_1697066376817_0.9290062526638176","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"mock-property","version":"1.0.2","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.0.2","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"82791adffeebbda94705a48cab267586d2e0508a","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.0.2.tgz","fileCount":9,"integrity":"sha512-GHVKHd3bFiXtvZtp23+8+EQLMeDJWcEVrSA2pOBs1KB5Uh2ww8Q+9fYDljS67k3GzU4DIDBa6+qRIgfZ2Bp+gQ==","signatures":[{"sig":"MEUCIQDhEB74ZJMF6+ylXtbs8pZCLzFEWqiem059Wgu6pb/dGAIgCKlFInIX5W8jVsFW7nQcm1bcaiWXC9rUopywEo+2e+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46327},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"5ab9340d268cccecf41511be8841af9355cb3534","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"10.1.0","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"_nodeVersion":"20.8.0","dependencies":{"has":"^1.0.3","gopd":"^1.0.1","isarray":"^2.0.5","define-data-property":"^1.1.0","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.0"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.3","nyc":"^10.3.2","tape":"^5.7.1","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","npmignore":"^0.3.0","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.12.3","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.0.2_1697066397896_0.48424271132143293","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"mock-property","version":"1.0.3","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.0.3","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"3e37c50a56609d548cabd56559fde3dd8767b10c","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.0.3.tgz","fileCount":9,"integrity":"sha512-2emPTb1reeLLYwHxyVx993iYyCHEiRRO+y8NFXFPL5kl5q14sgTK76cXyEKkeKCHeRw35SfdkUJ10Q1KfHuiIQ==","signatures":[{"sig":"MEUCIBTXBKUebxCX7WjK2/vuVLdUJ5OAaacxnADwUl4DdGYoAiEA4s3eI8PB+pcYe007aE82H56JECI7WbAm9rLm3DEE4wo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46967},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"e9535fc5f87baf5252f1ddb801560cec7f57fa42","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"10.2.0","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"_nodeVersion":"21.0.0","dependencies":{"gopd":"^1.0.1","hasown":"^2.0.0","isarray":"^2.0.5","define-data-property":"^1.1.1","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.0"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.3","nyc":"^10.3.2","tape":"^5.7.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","npmignore":"^0.3.0","in-publish":"^2.0.1","auto-changelog":"^2.4.0","object-inspect":"^1.13.1","es-value-fixtures":"^1.4.2","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.1.0"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.0.3_1697866883926_0.8203307067606296","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"mock-property","version":"1.1.0","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.1.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"b38b9961476d2e54cde2033b62847b9546b3670d","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.1.0.tgz","fileCount":11,"integrity":"sha512-1/JjbLoGwv87xVsutkX0XJc0M0W4kb40cZl/K41xtTViBOD9JuFPKfyMNTrLJ/ivYAd0aPqu/vduamXO0emTFQ==","signatures":[{"sig":"MEUCIH0dhT9fkSq8Ziv+ObPGIXc0o0VrHHHGOpqMTEbhB3O+AiEA4UZPcp6KYz1tWeT9I3kv1smTDrumOlK6Tlfy7NwQ9Wg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":58097},"main":"index.js","types":"./index.d.ts","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"bc826e17ee3222f70ffbf9ac0adee52540ca2569","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc && attw -P","posttest":"npx npm@'>=10.2' audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"overrides":{"tape":{"mock-property@1":"file:../../"}},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"10.8.2","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"sideEffects":false,"_nodeVersion":"22.5.1","dependencies":{"gopd":"^1.0.1","hasown":"^2.0.2","isarray":"^2.0.5","object-inspect":"^1.13.2","define-data-property":"^1.1.4","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.2"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"nyc":"^10.3.2","tape":"^5.8.1","eslint":"=8.8.0","evalmd":"^0.0.19","encoding":"^0.1.13","for-each":"^0.3.3","npmignore":"^0.3.1","in-publish":"^2.0.1","typescript":"next","@types/gopd":"^1.0.3","@types/node":"^0.12.25","@types/tape":"^5.6.4","has-symbols":"^1.0.3","@types/isarray":"^2.0.2","auto-changelog":"^2.4.0","@types/for-each":"^0.3.3","@ljharb/tsconfig":"^0.2.0","es-value-fixtures":"^1.4.2","@types/has-bigints":"^1.0.2","@types/has-symbols":"^1.0.2","@types/is-callable":"^1.1.2","safe-publish-latest":"^2.0.0","@types/get-intrinsic":"^1.2.2","@types/object.assign":"^4.1.0","@arethetypeswrong/cli":"^0.15.3","@ljharb/eslint-config":"^21.1.1","@types/object-inspect":"^1.13.0","@types/es-value-fixtures":"^1.4.4","@types/make-arrow-function":"^1.2.2","@types/make-async-function":"^1.0.2","@types/functions-have-names":"^1.2.2","@types/make-generator-function":"^2.0.3","@types/has-property-descriptors":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.1.0_1722932574088_0.92692562617123","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"mock-property","version":"1.1.1","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"mock-property@1.1.1","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/mock-property#readme","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"9c258356aeadcee54fa1a6eb9b5912981ffa627c","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.1.1.tgz","fileCount":11,"integrity":"sha512-TtGywy8gGOCShx9y5+NbcydEfCWclvd+WrAv43YxA2BgItNNkUwfs+7wVHrM/Ch+op/uVCi+3ej980CIIZ5jrA==","signatures":[{"sig":"MEUCIQCZJ75CFp5rOSDrQNm2MPNk7aXFkMFjGqPHabK1AGhkmwIgKNKuCXoSM/TCa5pdh/d/GSGDlyYnQ2PKUFaP9e/nrcQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60300},"main":"index.js","types":"./index.d.ts","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"232749664e85d9b595d73e246dcf64f8ac96426d","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc && attw -P","posttest":"npx npm@\">=10.2\" audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com","approver":{"name":"ljharb","email":"ljharb@gmail.com"}},"testling":{"files":"test/index.js"},"overrides":{"tape":{"mock-property@1":"file:../../"}},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"11.16.0","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"gopd":"^1.2.0","hasown":"^2.0.4","isarray":"^2.0.5","object-inspect":"^1.13.4","define-data-property":"^1.1.4","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.2"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"nyc":"^10.3.2","tape":"^5.10.2","eslint":"^8.57.1","evalmd":"^0.0.19","for-each":"^0.3.5","npmignore":"^0.3.5","in-publish":"^2.0.1","typescript":"next","@types/gopd":"^1.0.3","@types/node":"^12.20.55","has-symbols":"^1.1.0","@types/eslint":"^8.56.12","@types/isarray":"^2.0.3","auto-changelog":"^2.6.0","@ljharb/tsconfig":"^0.3.2","es-value-fixtures":"^1.7.1","safe-publish-latest":"^2.0.0","@arethetypeswrong/cli":"^0.18.3","@ljharb/eslint-config":"^22.2.3","@types/object-inspect":"^1.13.0","@types/functions-have-names":"^1.2.2","@types/has-property-descriptors":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mock-property_1.1.1_1781902619125_0.1059148314393763","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"_id":"mock-property@1.1.2","bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"dist":{"shasum":"f3e590ff4d7c9c73f697011ce6951c00dda86d96","tarball":"https://registry.npmjs.org/mock-property/-/mock-property-1.1.2.tgz","integrity":"sha512-Rw0vY0wBdNtm3sbANVMDUgO5Htew9xotKoqcdK/a4rW8jf5KEl6MAWGMBhjKng6gpPjX8SmO8f+65ssnxNroTw==","fileCount":11,"unpackedSize":61056,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCgH93BtlV2E7H6zr9l7kaoeJnsd2OghiOQccer+2Jf/gIgD1FdaVfkzIocCQWjtf59XPwbbnoS1RBEnJFx6Gq87zs="}]},"main":"index.js","name":"mock-property","types":"./index.d.ts","author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"funding":{"url":"https://github.com/sponsors/ljharb"},"gitHead":"aa6c4b93629487bb407e65cb66aff5ded4abe4c3","license":"MIT","scripts":{"lint":"eslint --ext=.js,.mjs .","test":"npm run tests-only","prelint":"evalmd README.md","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","postlint":"tsc && attw -P","posttest":"npx npm@\">=10.2\" audit --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"version":"1.1.2","_npmUser":{"name":"ljharb","email":"ljharb@gmail.com","approver":{"name":"ljharb","email":"ljharb@gmail.com"}},"homepage":"https://github.com/ljharb/mock-property#readme","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"testling":{"files":"test/index.js"},"overrides":{"tape":{"mock-property@1":"file:../../"}},"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"_npmVersion":"11.16.0","description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.3.0","dependencies":{"gopd":"^1.2.0","hasown":"^2.0.4","isarray":"^2.0.5","es-errors":"^1.3.0","object-inspect":"^1.13.4","define-data-property":"^1.1.4","functions-have-names":"^1.2.3","has-property-descriptors":"^1.0.2"},"publishConfig":{"ignore":[".github/workflows"]},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","hideCredit":true,"unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"nyc":"^10.3.2","tape":"^5.10.2","eslint":"^8.57.1","evalmd":"^0.0.19","for-each":"^0.3.5","npmignore":"^0.3.5","in-publish":"^2.0.1","typescript":"next","@types/gopd":"^1.0.3","@types/node":"^12.20.55","has-symbols":"^1.1.0","@types/eslint":"^8.56.12","@types/isarray":"^2.0.3","auto-changelog":"^2.6.0","@ljharb/tsconfig":"^0.3.2","es-value-fixtures":"^1.7.1","safe-publish-latest":"^2.0.0","@arethetypeswrong/cli":"^0.18.3","@ljharb/eslint-config":"^22.2.3","@types/object-inspect":"^1.13.0","@types/functions-have-names":"^1.2.2","@types/has-property-descriptors":"^1.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mock-property_1.1.2_1781936936733_0.29627493854855746"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-16T21:44:26.167Z","modified":"2026-06-20T06:28:56.934Z","1.0.0":"2022-04-16T21:44:26.297Z","1.0.1":"2023-10-11T23:19:37.030Z","1.0.2":"2023-10-11T23:19:58.045Z","1.0.3":"2023-10-21T05:41:24.136Z","1.1.0":"2024-08-06T08:22:54.381Z","1.1.1":"2026-06-19T20:56:59.202Z","1.1.2":"2026-06-20T06:28:56.814Z"},"bugs":{"url":"https://github.com/ljharb/mock-property/issues"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","homepage":"https://github.com/ljharb/mock-property#readme","keywords":["testing","mock","object","property","value","descriptor","test","delete","define"],"repository":{"url":"git+https://github.com/ljharb/mock-property.git","type":"git"},"description":"Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"readme":"# mock-property <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\nGiven an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.\n\n## Example\n\n```js\nvar mockProperty = require('mock-property');\nvar assert = require('assert');\n\nvar i = 0;\nvar object = {\n\ta: 1,\n\tget b() {\n\t\ti += 1;\n\t\treturn 'b ' + i;\n\t}\n};\n\nassert.equal(object.a, 1);\nassert.equal(object.b, 'b 1');\nassert.equal(object.b, 'b 2');\n\nvar restoreA = mockProperty(object, 'a', { 'delete': true });\nassert.equal('a' in object, false);\n\nvar restoreB = mockProperty(object, 'b', { value: 42 });\nassert.equal(object.b, 42);\n\nrestoreA();\nassert.equal('a' in object, true);\n\nrestoreB();\nassert.equal(object.b, 'b 3');\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n## Security\n\nPlease email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report.\n\n[package-url]: https://npmjs.org/package/mock-property\n[npm-version-svg]: https://versionbadg.es/ljharb/mock-property.svg\n[deps-svg]: https://david-dm.org/ljharb/mock-property.svg\n[deps-url]: https://david-dm.org/ljharb/mock-property\n[dev-deps-svg]: https://david-dm.org/ljharb/mock-property/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/mock-property#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/mock-property.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/mock-property.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/mock-property.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=mock-property\n[codecov-image]: https://codecov.io/gh/ljharb/mock-property/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/mock-property/\n[actions-image]: https://img.shields.io/github/check-runs/ljharb/mock-property/main\n[actions-url]: https://github.com/ljharb/mock-property/actions\n","readmeFilename":"README.md","users":{"flumpus-dev":true}}