{"name":"reflect.ownkeys","version":"1.1.6","description":"ES2015 spec-compliant shim for Reflect.ownKeys","main":"index.js","exports":{".":"./index.js","./auto":"./auto.js","./polyfill":"./polyfill.js","./implementation":"./implementation.js","./shim":"./shim.js","./package.json":"./package.json"},"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 lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --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/es-shims/Reflect.ownKeys.git"},"keywords":["es6","es2015","reflect","ownkeys","polyfill","shim","es-shim API"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"contributors":[{"name":"Glen Mailer","email":"glen@stainlessed.co.uk"}],"funding":{"url":"https://github.com/sponsors/ljharb"},"license":"MIT","bugs":{"url":"https://github.com/es-shims/Reflect.ownKeys/issues"},"homepage":"https://github.com/es-shims/Reflect.ownKeys","devDependencies":{"@es-shims/api":"^2.5.1","@ljharb/eslint-config":"^22.1.3","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"^8.57.1","functions-have-names":"^1.2.3","has-strict-mode":"^1.1.0","has-symbols":"^1.1.0","in-publish":"^2.0.1","npmignore":"^0.3.5","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0"},"dependencies":{"call-bind":"^1.0.8","define-data-property":"^1.1.4","define-properties":"^1.2.1","es-set-tostringtag":"^2.1.0","globalthis":"^1.0.4","own-keys":"^1.0.1"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"engines":{"node":">= 0.4"},"gitHead":"249120172891c410aeb3e723956389666de6a95b","_id":"reflect.ownkeys@1.1.6","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-TGR/oOsHTIuZ64t1ECTsEcOSs0cwI1WRc+4Fijlus6Tnhv1mW+cEe+igMwv489gwSDax187tH7HfAw1HdeF95w==","shasum":"1eccf1cd34e1d7cb6805605a0cb5caee991cfce9","tarball":"http://registry-npm.ywwl.com/reflect.ownkeys/download/reflect.ownkeys-1.1.6.tgz","fileCount":15,"unpackedSize":24891,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDDCKfOgvKAn/6eoRLzPeJvqaMXU/vSOEesC6Lb6N5xZQIgB8igJqO8EcRjq4Zlsp5iDKWobD/7Br54qn73RuUsFpw="}],"size":8447,"noattachment":false,"key":"/reflect.ownkeys/-/reflect.ownkeys-1.1.6.tgz"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"},{"name":"glenjamin","email":"glenjamin@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/reflect.ownkeys_1.1.6_1767399794661_0.6115677421999546"},"_hasShrinkwrap":false,"readme":"# reflect.ownkeys <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 ES2015 spec-compliant `Reflect.ownKeys` shim. Invoke its \"shim\" method to shim `Reflect.ownKeys` 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.es/ecma262/#sec-reflect.ownkeys).\n\nMost common usage:\n```js\nvar assert = require('assert');\nvar ownKeys = require('reflect.ownkeys');\n\nvar obj = { a: 1, b: 2, c: 3 };\nvar expected = ['a', 'b', 'c'];\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(sym, 'd');\n}\n\nassert.deepEqual(ownKeys(obj), expected);\n\nif (!Reflect.ownKeys) {\n\townKeys.shim();\n}\n\nassert.deepEqual(Reflect.ownKeys(obj), expected);\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n[package-url]: https://npmjs.com/package/reflect.ownkeys\n[npm-version-svg]: https://versionbadg.es/es-shims/Reflect.ownKeys.svg\n[deps-svg]: https://david-dm.org/es-shims/Reflect.ownKeys.svg\n[deps-url]: https://david-dm.org/es-shims/Reflect.ownKeys\n[dev-deps-svg]: https://david-dm.org/es-shims/Reflect.ownKeys/dev-status.svg\n[dev-deps-url]: https://david-dm.org/es-shims/Reflect.ownKeys#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/reflect.ownkeys.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/reflect.ownkeys.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/reflect.ownkeys.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=reflect.ownkeys\n[codecov-image]: https://codecov.io/gh/es-shims/Reflect.ownKeys/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/es-shims/Reflect.ownKeys/\n[actions-image]: https://img.shields.io/github/check-runs/es-shims/Reflect.ownKeys/main\n[actions-url]: https://github.com/es-shims/Reflect.ownKeys/actions\n","publish_time":1767399794810,"_cnpm_publish_time":1767399794810,"dist-tags":{"latest":"1.1.6"}}