{
  "manifest": {
    "name": "object.getownpropertydescriptors",
    "version": "2.1.8",
    "author": {
      "name": "Jordan Harband",
      "email": "ljharb@gmail.com"
    },
    "funding": {
      "url": "https://github.com/sponsors/ljharb"
    },
    "description": "ES2017 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.",
    "license": "MIT",
    "main": "index.js",
    "scripts": {
      "prepack": "npmignore --auto --commentLines=autogenerated",
      "prepublish": "not-in-publish || npm run prepublishOnly",
      "prepublishOnly": "safe-publish-latest",
      "pretest": "npm run --silent lint",
      "test": "npm run --silent tests-only",
      "posttest": "aud --production",
      "tests-only": "nyc tape 'test/**/*.js'",
      "lint": "eslint --ext=js,mjs .",
      "postlint": "es-shim-api --bound",
      "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://github.com/es-shims/object.getownpropertydescriptors.git"
    },
    "keywords": [
      "Object.getOwnPropertyDescriptors",
      "descriptor",
      "property descriptor",
      "ES8",
      "ES2017",
      "shim",
      "polyfill",
      "getOwnPropertyDescriptor",
      "es-shim API"
    ],
    "dependencies": {
      "array.prototype.reduce": "^1.0.6",
      "call-bind": "^1.0.7",
      "define-properties": "^1.2.1",
      "es-abstract": "^1.23.2",
      "es-object-atoms": "^1.0.0",
      "gopd": "^1.0.1",
      "safe-array-concat": "^1.1.2"
    },
    "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",
      "functions-have-names": "^1.2.3",
      "has-strict-mode": "^1.0.1",
      "in-publish": "^2.0.1",
      "mock-property": "^1.0.3",
      "npmignore": "^0.3.1",
      "nyc": "^10.3.2",
      "safe-publish-latest": "^2.0.0",
      "tape": "^5.7.5"
    },
    "testling": {
      "files": [
        "test/index.js",
        "test/shimmed.js"
      ],
      "browsers": [
        "iexplore/9.0..latest",
        "firefox/4.0..6.0",
        "firefox/15.0..latest",
        "firefox/nightly",
        "chrome/5.0..10.0",
        "chrome/20.0..latest",
        "chrome/canary",
        "opera/12.0..latest",
        "opera/next",
        "safari/5.0..latest",
        "ipad/6.0..latest",
        "iphone/6.0..latest",
        "android-browser/4.2"
      ]
    },
    "engines": {
      "node": ">= 0.8"
    },
    "auto-changelog": {
      "output": "CHANGELOG.md",
      "template": "keepachangelog",
      "unreleased": false,
      "commitLimit": false,
      "backfillLimit": false,
      "hideCredit": true,
      "startingVersion": "2.1.6"
    },
    "publishConfig": {
      "ignore": [
        ".github/workflows"
      ]
    },
    "_registry": "npm",
    "_loc": "/homez.1033/heliovt/.cache/yarn/v6/npm-object-getownpropertydescriptors-2.1.8-2f1fe0606ec1a7658154ccd4f728504f69667923-integrity/node_modules/object.getownpropertydescriptors/package.json",
    "readmeFilename": "README.md",
    "readme": "# object.getownpropertydescriptors <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 ES2017 spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.\nInvoke its \"shim\" method to shim `Object.getOwnPropertyDescriptors` if it is unavailable, and if `Object.getOwnPropertyDescriptor` is available.\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://github.com/tc39/ecma262/pull/582).\n\n## Example\n\n```js\nvar getDescriptors = require('object.getownpropertydescriptors');\nvar assert = require('assert');\nvar obj = { normal: Infinity };\nvar enumDescriptor = {\n\tenumerable: false,\n\twritable: false,\n\tconfigurable: true,\n\tvalue: true\n};\nvar writableDescriptor = {\n\tenumerable: true,\n\twritable: true,\n\tconfigurable: true,\n\tvalue: 42\n};\nvar symbol = Symbol();\nvar symDescriptor = {\n\tenumerable: true,\n\twritable: true,\n\tconfigurable: false,\n\tvalue: [symbol]\n};\n\nObject.defineProperty(obj, 'enumerable', enumDescriptor);\nObject.defineProperty(obj, 'writable', writableDescriptor);\nObject.defineProperty(obj, 'symbol', symDescriptor);\n\nvar descriptors = getDescriptors(obj);\n\nassert.deepEqual(descriptors, {\n\tnormal: {\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tconfigurable: true,\n\t\tvalue: Infinity\n\t},\n\tenumerable: enumDescriptor,\n\twritable: writableDescriptor,\n\tsymbol: symDescriptor\n});\n```\n\n```js\nvar getDescriptors = require('object.getownpropertydescriptors');\nvar assert = require('assert');\n/* when Object.getOwnPropertyDescriptors is not present */\ndelete Object.getOwnPropertyDescriptors;\nvar shimmedDescriptors = getDescriptors.shim();\nassert.equal(shimmedDescriptors, getDescriptors);\nassert.deepEqual(shimmedDescriptors(obj), getDescriptors(obj));\n```\n\n```js\nvar getDescriptors = require('object.getownpropertydescriptors');\nvar assert = require('assert');\n/* when Object.getOwnPropertyDescriptors is present */\nvar shimmedDescriptors = getDescriptors.shim();\nassert.notEqual(shimmedDescriptors, getDescriptors);\nassert.deepEqual(shimmedDescriptors(obj), getDescriptors(obj));\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.org/package/object.getownpropertydescriptors\n[npm-version-svg]: http://versionbadg.es/es-shims/Object.getOwnPropertyDescriptors.svg\n[travis-svg]: https://travis-ci.org/es-shims/Object.getOwnPropertyDescriptors.svg\n[travis-url]: https://travis-ci.org/es-shims/Object.getOwnPropertyDescriptors\n[deps-svg]: https://david-dm.org/es-shims/Object.getOwnPropertyDescriptors.svg\n[deps-url]: https://david-dm.org/es-shims/Object.getOwnPropertyDescriptors\n[dev-deps-svg]: https://david-dm.org/es-shims/Object.getOwnPropertyDescriptors/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Object.getOwnPropertyDescriptors#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object.getownpropertydescriptors.png?downloads=true&stars=true\n[license-image]: http://img.shields.io/npm/l/object.getownpropertydescriptors.svg\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/object.getownpropertydescriptors.svg\n[downloads-url]: http://npm-stat.com/charts.html?package=object.getownpropertydescriptors\n[codecov-image]: https://codecov.io/gh/es-shims/Object.getOwnPropertyDescriptors/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Object.getOwnPropertyDescriptors/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.getOwnPropertyDescriptors\n[actions-url]: https://github.com/es-shims/Object.getOwnPropertyDescriptors/actions\n",
    "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2015 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\n"
  },
  "artifacts": [],
  "remote": {
    "resolved": "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.8.tgz#2f1fe0606ec1a7658154ccd4f728504f69667923",
    "type": "tarball",
    "reference": "https://registry.yarnpkg.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.8.tgz",
    "hash": "2f1fe0606ec1a7658154ccd4f728504f69667923",
    "integrity": "sha512-qkHIGe4q0lSYMv0XI4SsBTJz3WaURhLvd0lKSgtVuOsJ2krg4SgMw3PIRQFMp07yi++UR3se2mkcLqsBNpBb/A==",
    "registry": "npm",
    "packageName": "object.getownpropertydescriptors",
    "cacheIntegrity": "sha512-qkHIGe4q0lSYMv0XI4SsBTJz3WaURhLvd0lKSgtVuOsJ2krg4SgMw3PIRQFMp07yi++UR3se2mkcLqsBNpBb/A== sha1-Lx/gYG7Bp2WBVMzU9yhQT2lmeSM="
  },
  "registry": "npm",
  "hash": "2f1fe0606ec1a7658154ccd4f728504f69667923"
}