{"_id":"define-data-property","_rev":"3212717","name":"define-data-property","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","dist-tags":{"latest":"1.1.4"},"maintainers":[{"name":"ljharb","email":""}],"time":{"modified":"2024-02-22T02:27:35.000Z","created":"2023-09-12T21:50:35.200Z","1.1.4":"2024-02-13T16:56:02.666Z","1.1.3":"2024-02-12T19:29:34.489Z","1.1.2":"2024-02-06T05:12:44.907Z","1.1.1":"2023-10-13T04:26:04.684Z","1.1.0":"2023-09-13T14:16:33.642Z","1.0.1":"2023-09-12T22:38:25.481Z","1.0.0":"2023-09-12T21:50:35.200Z"},"users":{},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/ljharb/define-data-property.git"},"versions":{"1.1.4":{"name":"define-data-property","version":"1.1.4","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","types":"./index.d.ts","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"es-define-property":"^1.0.0","es-errors":"^1.3.0","gopd":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/call-bind":"^1.0.5","@types/define-properties":"^1.1.5","@types/es-value-fixtures":"^1.4.4","@types/for-each":"^0.3.3","@types/get-intrinsic":"^1.2.2","@types/gopd":"^1.0.3","@types/has-property-descriptors":"^1.0.3","@types/object-inspect":"^1.8.4","@types/object.getownpropertydescriptors":"^2.1.4","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","hasown":"^2.0.1","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","object.getownpropertydescriptors":"^2.1.7","reflect.ownkeys":"^1.1.4","safe-publish-latest":"^2.0.0","tape":"^5.7.4","typescript":"next"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","types/reflect.ownkeys"]},"_id":"define-data-property@1.1.4","gitHead":"e313da59d1f65e1549ac59539a7a8ac17632df60","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"894dc141bb7d3060ae4366f6a0107e68fbe48c5e","size":8913,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.1.4.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.1.4_1707843362459_0.46572134524154896"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-13T16:56:02.666Z","publish_time":1707843362666,"_source_registry_name":"default","_cnpm_publish_time":1707843362666},"1.1.3":{"name":"define-data-property","version":"1.1.3","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","types":"./index.d.ts","exports":{".":"./index.js","./package.json":"./package.json"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"es-errors":"^1.3.0","get-intrinsic":"^1.2.4","gopd":"^1.0.1","has-property-descriptors":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/call-bind":"^1.0.5","@types/define-properties":"^1.1.5","@types/es-value-fixtures":"^1.4.4","@types/for-each":"^0.3.3","@types/get-intrinsic":"^1.2.2","@types/gopd":"^1.0.3","@types/has-property-descriptors":"^1.0.3","@types/object-inspect":"^1.8.4","@types/object.getownpropertydescriptors":"^2.1.3","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","hasown":"^2.0.1","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","object.getownpropertydescriptors":"^2.1.7","reflect.ownkeys":"^1.1.4","safe-publish-latest":"^2.0.0","tape":"^5.7.4","typescript":"next"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","types/reflect.ownkeys"]},"_id":"define-data-property@1.1.3","gitHead":"aff45d1d858b9464c705e17921cf939044f21435","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"281845e04737d709c2de99e278546189b65d3055","size":8897,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.1.3.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.1.3_1707766174247_0.9457180358882731"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-12T19:29:34.489Z","publish_time":1707766174489,"_source_registry_name":"default","_cnpm_publish_time":1707766174489},"1.1.2":{"name":"define-data-property","version":"1.1.2","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","exports":{".":[{"types":"./index.d.ts","default":"./index.js"},"./index.js"],"./package.json":"./package.json"},"sideEffects":false,"types":"./index.d.ts","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated && npm run emit-types","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","preemit-types":"rm -f *.ts *.ts.map test/*.ts test/*.ts.map","emit-types":"npm run tsc -- --noEmit false --emitDeclarationOnly","postemit-types":"rm test/*.ts test/*.ts.map","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"es-errors":"^1.3.0","get-intrinsic":"^1.2.2","gopd":"^1.0.1","has-property-descriptors":"^1.0.1"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/es-value-fixtures":"^1.4.4","@types/for-each":"^0.3.3","@types/get-intrinsic":"^1.2.2","@types/gopd":"^1.0.3","@types/has":"^1.0.1","@types/has-property-descriptors":"^1.0.3","@types/object-inspect":"^1.8.4","@types/object.getownpropertydescriptors":"^2.1.3","@types/tape":"^5.6.4","aud":"^2.0.4","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","hasown":"^2.0.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","object-inspect":"^1.13.1","object.getownpropertydescriptors":"^2.1.7","reflect.ownkeys":"^1.1.4","safe-publish-latest":"^2.0.0","tape":"^5.7.4","typescript":"next"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","!*.ts","!*.ts.map","types/reflect.ownkeys"]},"_id":"define-data-property@1.1.2","gitHead":"73254db9848cbc27750e0142b806925ed7a8eddf","_nodeVersion":"21.6.0","_npmVersion":"10.2.4","dist":{"shasum":"f3c33b4f0102360cd7c0f5f28700f5678510b63a","size":8884,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.1.2.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.1.2_1707196364735_0.12281242571101125"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-06T05:12:44.907Z","publish_time":1707196364907,"_source_registry_name":"default","_cnpm_publish_time":1707196364907},"1.1.1":{"name":"define-data-property","version":"1.1.1","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","exports":{".":[{"types":"./index.d.ts","default":"./index.js"},"./index.js"],"./package.json":"./package.json"},"sideEffects":false,"types":"./index.d.ts","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated && npm run emit-types","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","preemit-types":"rm -f *.ts *.ts.map test/*.ts test/*.ts.map","emit-types":"npm run tsc -- --noEmit false --emitDeclarationOnly","postemit-types":"rm test/*.ts test/*.ts.map","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"get-intrinsic":"^1.2.1","gopd":"^1.0.1","has-property-descriptors":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/es-value-fixtures":"^1.4.1","@types/for-each":"^0.3.1","@types/get-intrinsic":"^1.2.0","@types/gopd":"^1.0.1","@types/has":"^1.0.0","@types/has-property-descriptors":"^1.0.1","@types/object-inspect":"^1.8.2","@types/object.getownpropertydescriptors":"^2.1.2","@types/tape":"^5.6.1","aud":"^2.0.3","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","object.getownpropertydescriptors":"^2.1.7","reflect.ownkeys":"^1.1.4","safe-publish-latest":"^2.0.0","tape":"^5.7.1","typescript":"^5.3.0-dev.20231012"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","!*.ts","!*.ts.map","types/reflect.ownkeys"]},"_id":"define-data-property@1.1.1","gitHead":"7638baa9864aa3cdc507553b35b5e10be08212ea","_nodeVersion":"20.8.0","_npmVersion":"10.1.0","dist":{"shasum":"c35f7cd0ab09883480d12ac5cb213715587800b3","size":8435,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.1.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.1.1_1697171164458_0.5428761435920464"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-13T04:26:04.684Z","publish_time":1697171164684,"_source_registry_name":"default","_cnpm_publish_time":1697171164684},"1.1.0":{"name":"define-data-property","version":"1.1.0","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","exports":{".":[{"types":"./index.d.ts","default":"./index.js"},"./index.js"],"./package.json":"./package.json"},"sideEffects":false,"types":"./index.d.ts","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","preemit-types":"rm -f *.ts *.ts.map test/*.ts test/*.ts.map","emit-types":"npm run tsc -- --noEmit false --emitDeclarationOnly","postemit-types":"rm test/*.ts test/*.ts.map","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"get-intrinsic":"^1.2.1","gopd":"^1.0.1","has-property-descriptors":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/es-value-fixtures":"^1.4.0","@types/for-each":"^0.3.0","@types/get-intrinsic":"^1.2.0","@types/gopd":"^1.0.0","@types/has":"^1.0.0","@types/has-property-descriptors":"^1.0.0","@types/object-inspect":"^1.8.2","@types/object.getownpropertydescriptors":"^2.1.2","@types/tape":"^5.6.1","aud":"^2.0.3","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","object.getownpropertydescriptors":"^2.1.7","safe-publish-latest":"^2.0.0","tape":"^5.6.6","typescript":"^5.3.0-dev.20230912"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","!*.ts","!*.ts.map"]},"_id":"define-data-property@1.1.0","gitHead":"48c2253c040b9fddc0529794fdc75205cb153e75","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"0db13540704e1d8d479a0656cf781267531b9451","size":10201,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.1.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.1.0_1694614593303_0.8475718042895619"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-13T14:16:33.642Z","publish_time":1694614593642,"_source_registry_name":"default","_cnpm_publish_time":1694614593642},"1.0.1":{"name":"define-data-property","version":"1.0.1","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","exports":{".":[{"types":"./index.d.ts","default":"./index.js"},"./index.js"],"./package.json":"./package.json"},"sideEffects":false,"types":"./index.d.ts","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","tsc":"tsc -p .","preemit-types":"rm -f *.ts *.ts.map test/*.ts test/*.ts.map","emit-types":"npm run tsc -- --noEmit false --emitDeclarationOnly","postemit-types":"rm test/*.ts test/*.ts.map","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"npm run tsc","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"get-intrinsic":"^1.2.1","gopd":"^1.0.1","has-property-descriptors":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/es-value-fixtures":"^1.4.0","@types/for-each":"^0.3.0","@types/get-intrinsic":"^1.2.0","@types/gopd":"^1.0.0","@types/has":"^1.0.0","@types/has-property-descriptors":"^1.0.0","@types/object-inspect":"^1.8.2","@types/object.getownpropertydescriptors":"^2.1.2","@types/tape":"^5.6.1","aud":"^2.0.3","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","object.getownpropertydescriptors":"^2.1.7","safe-publish-latest":"^2.0.0","tape":"^5.6.6","typescript":"^5.3.0-dev.20230912"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows","!*.ts","!*.ts.map"]},"_id":"define-data-property@1.0.1","gitHead":"e5f68b053eecd6fb74635eb4d4171261a702000c","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"37589faaa735405b557fcb9537b46b575655c4cb","size":9742,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.0.1.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.0.1_1694558305329_0.7134712194214405"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-12T22:38:25.481Z","publish_time":1694558305481,"_source_registry_name":"default","_cnpm_publish_time":1694558305481},"1.0.0":{"name":"define-data-property","version":"1.0.0","description":"Define a data property on an object. Will fall back to assignment in an engine without descriptors.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prelint":"evalmd README.md","lint":"eslint --ext=js,mjs .","postlint":"tsc -p .","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/ljharb/define-data-property.git"},"keywords":["define","data","property","object","accessor","javascript","ecmascript","enumerable","configurable","writable"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"homepage":"https://github.com/ljharb/define-data-property#readme","dependencies":{"get-intrinsic":"^1.2.1","gopd":"^1.0.1","has-property-descriptors":"^1.0.0"},"devDependencies":{"@ljharb/eslint-config":"^21.1.0","@types/es-value-fixtures":"^1.4.0","@types/for-each":"^0.3.0","@types/get-intrinsic":"^1.2.0","@types/gopd":"^1.0.0","@types/has":"^1.0.0","@types/has-property-descriptors":"^1.0.0","@types/object-inspect":"^1.8.2","@types/object.getownpropertydescriptors":"^2.1.2","@types/tape":"^5.6.0","aud":"^2.0.3","auto-changelog":"^2.4.0","es-value-fixtures":"^1.4.2","eslint":"=8.8.0","evalmd":"^0.0.19","for-each":"^0.3.3","has":"^1.0.3","in-publish":"^2.0.1","npmignore":"^0.3.0","nyc":"^10.3.2","object-inspect":"^1.12.3","object.getownpropertydescriptors":"^2.1.7","safe-publish-latest":"^2.0.0","tape":"^5.6.6","typescript":"^5.2.2"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"define-data-property@1.0.0","gitHead":"2d3526ee48118d5a2cd5a00195be0f6eac0ce155","_nodeVersion":"20.6.0","_npmVersion":"9.8.1","dist":{"shasum":"2b3257f747191027e14ef0e8361cd330127f8a3b","size":6884,"noattachment":false,"key":"/define-data-property/-/define-data-property-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/define-data-property/download/define-data-property-1.0.0.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/define-data-property_1.0.0_1694555435020_0.8320474911840359"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-12T21:50:35.200Z","publish_time":1694555435200,"_source_registry_name":"default","_cnpm_publish_time":1694555435200}},"readme":"# define-data-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[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nDefine a data property on an object. Will fall back to assignment in an engine without descriptors.\n\nThe three `non*` argument can also be passed `null`, which will use the existing state if available.\n\nThe `loose` argument will mean that if you attempt to set a non-normal data property, in an environment without descriptor support, it will fall back to normal assignment.\n\n## Usage\n\n```javascript\nvar defineDataProperty = require('define-data-property');\nvar assert = require('assert');\n\nvar obj = {};\ndefineDataProperty(obj, 'key', 'value');\ndefineDataProperty(\n\tobj,\n\t'key2',\n\t'value',\n\ttrue, // nonEnumerable, optional\n\tfalse, // nonWritable, optional\n\ttrue, // nonConfigurable, optional\n\tfalse // loose, optional\n);\n\nassert.deepEqual(\n\tObject.getOwnPropertyDescriptors(obj),\n\t{\n\t\tkey: {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: true,\n\t\t\tvalue: 'value',\n\t\t\twritable: true,\n\t\t},\n\t\tkey2: {\n\t\t\tconfigurable: false,\n\t\t\tenumerable: false,\n\t\t\tvalue: 'value',\n\t\t\twritable: true,\n\t\t},\n\t}\n);\n```\n\n[package-url]: https://npmjs.org/package/define-data-property\n[npm-version-svg]: https://versionbadg.es/ljharb/define-data-property.svg\n[deps-svg]: https://david-dm.org/ljharb/define-data-property.svg\n[deps-url]: https://david-dm.org/ljharb/define-data-property\n[dev-deps-svg]: https://david-dm.org/ljharb/define-data-property/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/define-data-property#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/define-data-property.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/define-data-property.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/define-data-property.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=define-data-property\n[codecov-image]: https://codecov.io/gh/ljharb/define-data-property/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/define-data-property/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/define-data-property\n[actions-url]: https://github.com/ljharb/define-data-property/actions\n","_attachments":{},"homepage":"https://github.com/ljharb/define-data-property#readme","bugs":{"url":"https://github.com/ljharb/define-data-property/issues"},"license":"MIT"}