UNPKG

reflect.ownkeys

Version:

ES2015 spec-compliant shim for Reflect.ownKeys

140 lines (104 loc) 13.4 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [v1.1.6](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.5...v1.1.6) - 2026-01-02 ### Commits - [meta] remove .npmignore [`b5707c1`](https://github.com/es-shims/Reflect.ownKeys/commit/b5707c1f591081f708ba3f1ffd4b5376fb9f9e02) - [Refactor] use `define-data-property` instead of the entirety of `es-abstract` [`73a5a5e`](https://github.com/es-shims/Reflect.ownKeys/commit/73a5a5ebb37ded1204aafde6b725c5cb361be522) - [Dev Deps] update `@ljharb/eslint-config`, `eslint`, `has-strict-mode`, `npmignore` [`4ab1531`](https://github.com/es-shims/Reflect.ownKeys/commit/4ab15312c963c1afb32030ddd6edf5f7aec7ea89) - [Deps] update `es-abstract`, `es-set-tostringtag` [`9a41ed6`](https://github.com/es-shims/Reflect.ownKeys/commit/9a41ed6db969c2f133f0bc36dcbce5bf2fdbe64f) - [readme] replace runkit CI badge with shields.io check-runs badge [`469fe78`](https://github.com/es-shims/Reflect.ownKeys/commit/469fe789fbbc4b3a8dd15ee2538f7dadbdf3eb8e) ## [v1.1.5](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.4...v1.1.5) - 2024-12-29 ### Commits - [meta] remove useless ESM [`409aed3`](https://github.com/es-shims/Reflect.ownKeys/commit/409aed33bb39e20eaa3ebfe0843850107789c864) - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `auto-changelog`, `has-symbols`, `npmignore`, `tape` [`26459fa`](https://github.com/es-shims/Reflect.ownKeys/commit/26459fa55c0f4492ebf4a520135eff95b4b198c8) - [Deps] update `call-bind`, `define-properties`, `es-abstract`, `es-set-tostringtag`, `globalthis` [`01e75d0`](https://github.com/es-shims/Reflect.ownKeys/commit/01e75d0bdb7ff820444aa49767f72de13a8a4590) - [Refactor] use `own-keys` [`8726824`](https://github.com/es-shims/Reflect.ownKeys/commit/87268243942519ab13e99e4ec2d5589169045b52) - [Deps] update `es-abstract`, `own-keys` [`68cfc76`](https://github.com/es-shims/Reflect.ownKeys/commit/68cfc763072a4199720baf57e0e2e04804a1a827) - [meta] add missing `engines.node` [`36fecb9`](https://github.com/es-shims/Reflect.ownKeys/commit/36fecb95890a3869850632c7392b2ed215768291) - [Tests] replace `aud` with `npm audit` [`1f3cca2`](https://github.com/es-shims/Reflect.ownKeys/commit/1f3cca218a524c0782000d569a814a32faa3daa1) - [Dev Deps] add missing peer dep [`f00ecf4`](https://github.com/es-shims/Reflect.ownKeys/commit/f00ecf458fcd2103992a025bc16dc61b12a9fafb) ## [v1.1.4](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.3...v1.1.4) - 2023-08-29 ### Commits - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`061ea8e`](https://github.com/es-shims/Reflect.ownKeys/commit/061ea8ec71335ef10feaf069d66b4929b0f44d83) - [Deps] update `define-properties`, `es-abstract` [`2834d7f`](https://github.com/es-shims/Reflect.ownKeys/commit/2834d7f8627c5fcc3be24137a4704ba0198c5fd3) ## [v1.1.3](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.2...v1.1.3) - 2023-01-19 ### Commits - [Deps] update `es-abstract`, `es-set-tostringtag` [`9fa81be`](https://github.com/es-shims/Reflect.ownKeys/commit/9fa81be688b7af52f6303a97dd0c79d03cc5249b) - [Dev Deps] update `@ljharb/eslint-config`, `tape` [`68534a7`](https://github.com/es-shims/Reflect.ownKeys/commit/68534a74bdede2141e461d763732b30df9dfc598) ## [v1.1.2](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.1...v1.1.2) - 2022-12-21 ### Commits - [Refactor] use `es-set-tostringtag` [`5b6e7bd`](https://github.com/es-shims/Reflect.ownKeys/commit/5b6e7bd85e7fd45e230a7520e9a918e0511e97b2) - [Dev Deps] update `aud` [`d7d33e6`](https://github.com/es-shims/Reflect.ownKeys/commit/d7d33e66849abd7c91dbd3f77d66a3ea500342e2) - [Deps] update `es-abstract` [`04b342c`](https://github.com/es-shims/Reflect.ownKeys/commit/04b342ceebe672899a6d3be275a93cf8cd24b1ef) ## [v1.1.1](https://github.com/es-shims/Reflect.ownKeys/compare/v1.1.0...v1.1.1) - 2022-11-07 ### Commits - [actions] reuse common workflows [`fce754f`](https://github.com/es-shims/Reflect.ownKeys/commit/fce754f520640f5be0a58cccd8bc9ef38e1f105f) - [meta] use `npmignore` to autogenerate an npmignore file [`ae06130`](https://github.com/es-shims/Reflect.ownKeys/commit/ae061304ec59a6347819454e60ca2bfe28f3501d) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `functions-have-names`, `has-symbols`, `tape` [`f8c24f1`](https://github.com/es-shims/Reflect.ownKeys/commit/f8c24f1b7a58c8fcc1e815d523d42dabf2d9097e) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `safe-publish-latest`, `tape` [`a25e141`](https://github.com/es-shims/Reflect.ownKeys/commit/a25e14152d87b9d6235963e62c484ca8453f58d6) - [actions] update codecov uploader [`22a8d65`](https://github.com/es-shims/Reflect.ownKeys/commit/22a8d6577bc50c503215c1c4340355e56a914226) - [actions] update rebase action to use reusable workflow [`483bf80`](https://github.com/es-shims/Reflect.ownKeys/commit/483bf805982b468e6bd1112c5a3e2cace23f0b4b) - [Deps] update `define-properties`, `es-abstract`, `globalthis` [`1e1a633`](https://github.com/es-shims/Reflect.ownKeys/commit/1e1a6336d10b97832ed9293fc138390b6b2f4bcc) ## [v1.1.0](https://github.com/es-shims/Reflect.ownKeys/compare/v1.0.2...v1.1.0) - 2021-10-04 ### Commits - [New] add main ESM entry point [`a4eda1e`](https://github.com/es-shims/Reflect.ownKeys/commit/a4eda1e847f70a2a842776595fcfe92be8aebd77) - [actions] use `node/install` instead of `node/run`; use `codecov` action [`b4d419e`](https://github.com/es-shims/Reflect.ownKeys/commit/b4d419e229fcd892dcce2a9ba371d9fdaf84fd6a) - [Fix] shim `Reflect[Symbol.toStringTag]` when needed [`c5952eb`](https://github.com/es-shims/Reflect.ownKeys/commit/c5952ebcec0fda7e17533b6106e8efc7294d5800) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `auto-changelog`, `tape` [`de6abd1`](https://github.com/es-shims/Reflect.ownKeys/commit/de6abd1afb7d4ed2a3e986276f1d5c6086e5045b) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `call-bind`, `tape` [`49bbcd3`](https://github.com/es-shims/Reflect.ownKeys/commit/49bbcd35024a54dfdbb2522a6fd0f7e4576f23a4) - [readme] add github actions/codecov badges [`422dfdd`](https://github.com/es-shims/Reflect.ownKeys/commit/422dfddbca9734957ea2b6a44d9a5939c5bccd87) - [Dev Deps] update `eslint`, `has-symbols`, `tape` [`6c3825d`](https://github.com/es-shims/Reflect.ownKeys/commit/6c3825dde83e23222b4daf55738d0e578b77a82d) - [Deps] update `es-abstract`, `globalthis` [`eca0e12`](https://github.com/es-shims/Reflect.ownKeys/commit/eca0e12ee821f27ef56c492c6741c12a97109f93) - [actions] update workflows [`ee73576`](https://github.com/es-shims/Reflect.ownKeys/commit/ee73576034928654629bca2b01cde1eddfd84432) - [meta] use `prepublishOnly` script for npm 7+ [`f470670`](https://github.com/es-shims/Reflect.ownKeys/commit/f470670341fc906241bd0d7558b451ebb10167f3) - [actions] update workflows [`a6e7274`](https://github.com/es-shims/Reflect.ownKeys/commit/a6e7274616c28abbe9ee293e54184071c4fd8faf) - [Deps] update `es-abstract` [`ec32dd8`](https://github.com/es-shims/Reflect.ownKeys/commit/ec32dd8e2d27b44d87dcb65ad49ba84d18741761) - [Fix] move `call-bind` to prod deps [`4056614`](https://github.com/es-shims/Reflect.ownKeys/commit/40566140f6172128b3247b48ec2218710adbc1ae) - [Deps] update `es-abstract` [`93bbc28`](https://github.com/es-shims/Reflect.ownKeys/commit/93bbc285db06dc3dde366f4944a724b624eb03b1) ## [v1.0.2](https://github.com/es-shims/Reflect.ownKeys/compare/v1.0.1...v1.0.2) - 2020-12-24 ### Commits - [Tests] migrate tests to Github Actions [`542dff9`](https://github.com/es-shims/Reflect.ownKeys/commit/542dff9a5eb6469d91c12100d26c0b907a7a756a) - [Tests] complete test suite [`913267b`](https://github.com/es-shims/Reflect.ownKeys/commit/913267bd32a0b5c27ee355cf242f2e5f944a89a0) - [meta] do not publish github action workflow files [`ec9eeae`](https://github.com/es-shims/Reflect.ownKeys/commit/ec9eeae95281ef6b7be0722fb3bf461bcec2b657) - [Tests] run `nyc` on all tests; use `tape` runner [`8483ad1`](https://github.com/es-shims/Reflect.ownKeys/commit/8483ad1950cbe878faf6992113880a398c885f75) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`9ef3908`](https://github.com/es-shims/Reflect.ownKeys/commit/9ef39089ed6db9f8dc4c31822c8282f8f7dd5a03) - [readme] fix repo URLs; remove defunct badges [`f29aadc`](https://github.com/es-shims/Reflect.ownKeys/commit/f29aadc1f2bd12bb7626df1047cec06690ddc854) - [Fix] `shim`: install `Reflect` on the global when it is not available [`d7d00e0`](https://github.com/es-shims/Reflect.ownKeys/commit/d7d00e08ce990996d32a9aa524237b62afc17fcd) - [actions] add "Allow Edits" workflow [`00dfcd4`](https://github.com/es-shims/Reflect.ownKeys/commit/00dfcd41bae67352d6658fc4792b802f3bad62f4) - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`05a5da6`](https://github.com/es-shims/Reflect.ownKeys/commit/05a5da610ae2b5b485bce805ba6b135c6025a004) - [Refactor] use `call-bind` instead of `es-abstract` where appropriate; update `es-abstract` [`2e2116c`](https://github.com/es-shims/Reflect.ownKeys/commit/2e2116c10c06bc0248ac13a194f8b62dec7a195e) - [actions] switch Automatic Rebase workflow to `pull_request_target` event [`613356b`](https://github.com/es-shims/Reflect.ownKeys/commit/613356b5f1004591c3086f36a803c3f42359f7fe) - [Dev Deps] update `aud`, `auto-changelog` [`175764b`](https://github.com/es-shims/Reflect.ownKeys/commit/175764bcbc0a9ce46c12dbd73a8a28d5598041b9) - [Dev Deps] update `auto-changelog`, `tape` [`abd63ef`](https://github.com/es-shims/Reflect.ownKeys/commit/abd63efe8ddd17c7a98f97d4a5045a13b00d19fd) - [Tests] only audit prod deps [`98f754e`](https://github.com/es-shims/Reflect.ownKeys/commit/98f754e28c46827bd984557202ac928464a62167) - [Deps] update `es-abstract` [`e532e6f`](https://github.com/es-shims/Reflect.ownKeys/commit/e532e6f20ef032dbbf0efa3dbf07af5c0f62c77a) ## [v1.0.1](https://github.com/es-shims/Reflect.ownKeys/compare/v1.0.0...v1.0.1) - 2020-01-31 ### Commits - [readme] add greenkeeper badge [`c846b42`](https://github.com/es-shims/Reflect.ownKeys/commit/c846b42092c51c3226c593a567aac0f6ab13738d) - [Dev Deps] update `@ljharb/eslint-config`, `tape` [`2da9d9a`](https://github.com/es-shims/Reflect.ownKeys/commit/2da9d9af79f92b423acc44eb6f1e606cea4d8da7) - [Fix] do not mutate the builtin function [`86a55d8`](https://github.com/es-shims/Reflect.ownKeys/commit/86a55d88ad355f23c63b965b8902e3609a7f1cd8) - [Deps] update `es-abstract` [`d57567a`](https://github.com/es-shims/Reflect.ownKeys/commit/d57567aa3d02717c013d930a260bc3d431c55d77) ## [v1.0.0](https://github.com/es-shims/Reflect.ownKeys/compare/v0.2.0...v1.0.0) - 2020-01-15 ### Commits - [Tests] switch from `mocha` to `tape` [`7c89acb`](https://github.com/es-shims/Reflect.ownKeys/commit/7c89acb3a5d139bcfc79c8d25929002303fc6d4c) - [Tests] add `eslint` [`06b73d1`](https://github.com/es-shims/Reflect.ownKeys/commit/06b73d1c39c761eff5c3993ece8f75be23da8cbe) - [meta] add `auto-changelog` [`f84b409`](https://github.com/es-shims/Reflect.ownKeys/commit/f84b409b058c28b3b8e1ea9cef8e3ac663e78e3f) - [Breaking] refactor to use robust implementation, and conform to the es-shim API interface [`2180eab`](https://github.com/es-shims/Reflect.ownKeys/commit/2180eab9172427e69392172dc8ce84b1bbfb235d) - [readme] update docs and repo URLs [`45be649`](https://github.com/es-shims/Reflect.ownKeys/commit/45be649f0a7e284c984fee872a95ffe1764ac746) - [Breaking] add "exports" to `package.json` [`6c25c03`](https://github.com/es-shims/Reflect.ownKeys/commit/6c25c03dfd3573fe969fb4d9de0497770b54193c) - [Tests] use shared travis-ci configs [`adb8dd8`](https://github.com/es-shims/Reflect.ownKeys/commit/adb8dd85434d0180ac9fbda013f437d3f01a7ae6) - [actions] add automatic rebasing / merge commit blocking [`b80d8f3`](https://github.com/es-shims/Reflect.ownKeys/commit/b80d8f3099e80970931f4cd8cacd6efbade2c634) - [Tests] avoid caring about key ordering for now [`6624e2b`](https://github.com/es-shims/Reflect.ownKeys/commit/6624e2be8344a7745ed9501a1a7fd7026c4c3683) - Only apps should have lockfiles [`d418feb`](https://github.com/es-shims/Reflect.ownKeys/commit/d418feb6802ffaceff1764a68298e2edb43a6e12) - [meta] add `funding` field [`ef508d0`](https://github.com/es-shims/Reflect.ownKeys/commit/ef508d0b6e38f55f05f5ba9c4a8b31ca38f1007f) - [meta] add `safe-publish-latest` [`97d4a84`](https://github.com/es-shims/Reflect.ownKeys/commit/97d4a845a4e4d029c074b526263c0df97af86335) - [Tests] add `npx aud` in `posttest` [`5c57ad5`](https://github.com/es-shims/Reflect.ownKeys/commit/5c57ad5b59567dd5c04098d37e645fdb97737a4a) ## v0.2.0 - 2016-02-06 ### Commits - initial working version [`c313fc9`](https://github.com/es-shims/Reflect.ownKeys/commit/c313fc997468056a81411570b4ac9159acee5e49) - Initial commit [`474e08e`](https://github.com/es-shims/Reflect.ownKeys/commit/474e08ef44d35e399724070ab560d8ab9bd3ddcc) - Ensure tests pass on Node 0.10 [`cc661df`](https://github.com/es-shims/Reflect.ownKeys/commit/cc661df1fae045f2dee7818aaaa036aface98c1b) - initial [`65f2063`](https://github.com/es-shims/Reflect.ownKeys/commit/65f2063f1923fea87b41ffb08db8a54490292bdf) - start version low [`145c9d9`](https://github.com/es-shims/Reflect.ownKeys/commit/145c9d9ae39ab099aae2cf978783d56920b34257)