{"name":"object.entries","version":"1.1.9","author":{"name":"Jordan Harband"},"description":"ES2017 spec-compliant Object.entries shim.","license":"MIT","main":"index.js","scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=js,mjs .","postlint":"es-shim-api --bound","pretest":"npm run --silent lint","test":"npm run tests-only","posttest":"npx npm@\">= 10.2\" audit --production","tests-only":"nyc tape 'test/**/*.js'","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.entries.git"},"keywords":["Object.entries","Object.values","Object.keys","entries","values","ES7","ES8","ES2017","shim","object","keys","polyfill","es-shim API"],"dependencies":{"call-bind":"^1.0.8","call-bound":"^1.0.4","define-properties":"^1.2.1","es-object-atoms":"^1.1.1"},"devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^21.1.1","array.prototype.map":"^1.0.8","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","functions-have-names":"^1.2.3","has-strict-mode":"^1.1.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"testling":{"files":"test/index.js","browsers":["iexplore/9.0..latest","firefox/4.0..6.0","firefox/15.0..latest","firefox/nightly","chrome/4.0..10.0","chrome/20.0..latest","chrome/canary","opera/11.6..latest","opera/next","safari/5.0..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2"]},"engines":{"node":">= 0.4"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"object.entries@1.1.9","gitHead":"f4e60eac7c94c37a34c6bd7bd716c930b69116b2","bugs":{"url":"https://github.com/es-shims/Object.entries/issues"},"homepage":"https://github.com/es-shims/Object.entries#readme","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==","shasum":"e4770a6a1444afb61bd39f984018b5bede25f8b3","tarball":"http://registry-npm.ywwl.com/object.entries/download/object.entries-1.1.9.tgz","fileCount":18,"unpackedSize":33658,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAvADEVGbDNVRw0R/CjyimUu365QiYICsoxDtJuiPuI+AiAs5R5+f/kaNQqAM1HWiyA4C7O0R4iPtvwhAqrBmJXrSA=="}],"size":10874,"noattachment":false,"key":"/object.entries/-/object.entries-1.1.9.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/object.entries_1.1.9_1742015159134_0.3555258524190348"},"_hasShrinkwrap":false,"readme":"# object.entries <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 `Object.entries` shim. Invoke its \"shim\" method to shim `Object.entries` if it is unavailable or noncompliant.\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://tc39.github.io/ecma262/#sec-object.entries).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar entries = require('object.entries');\n\nvar obj = { a: 1, b: 2, c: 3 };\nvar expected = [['a', 1], ['b', 2], ['c', 3]];\n\nif (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {\n\t// for environments with Symbol support\n\tvar sym = Symbol();\n\tobj[sym] = 4;\n\tobj.d = sym;\n\texpected.push(['d', sym]);\n}\n\nassert.deepEqual(entries(obj), expected);\n\nif (!Object.entries) {\n\tentries.shim();\n}\n\nassert.deepEqual(Object.entries(obj), expected);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/object.entries\n[npm-version-svg]: https://versionbadg.es/es-shims/Object.entries.svg\n[deps-svg]: https://david-dm.org/es-shims/Object.entries.svg\n[deps-url]: https://david-dm.org/es-shims/Object.entries\n[dev-deps-svg]: https://david-dm.org/es-shims/Object.entries/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Object.entries#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/object.entries.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/object.entries.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/object.entries.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=object.entries\n[codecov-image]: https://codecov.io/gh/es-shims/Object.entries/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Object.entries/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Object.entries\n[actions-url]: https://github.com/es-shims/Object.entries/actions\n","publish_time":1742015159361,"_cnpm_publish_time":1742015159361,"dist-tags":{"latest":"1.1.9"}}