{
  "manifest": {
    "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"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-define-data-property-1.1.4-894dc141bb7d3060ae4366f6a0107e68fbe48c5e-integrity/node_modules/define-data-property/package.json",
    "readmeFilename": "README.md",
    "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",
    "licenseText": "MIT License\n\nCopyright (c) 2023 Jordan Harband\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz#894dc141bb7d3060ae4366f6a0107e68fbe48c5e",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.4.tgz",
    "hash": "894dc141bb7d3060ae4366f6a0107e68fbe48c5e",
    "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
    "registry": "npm",
    "packageName": "define-data-property",
    "cacheIntegrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A== sha1-iU3BQbt9MGCuQ2b2oBB+aPvkjF4="
  },
  "registry": "npm",
  "hash": "894dc141bb7d3060ae4366f6a0107e68fbe48c5e"
}