UNPKG

define-accessor-property

Version:

Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.

16 lines (10 loc) 846 B
# 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.0.0 - 2024-02-16 ### Commits - Initial implementation, tests, readme, types [`5a73627`](https://github.com/ljharb/define-accessor-property/commit/5a736277e752fc62a47024dc7c945818a6fd7b45) - Initial commit [`9a787dd`](https://github.com/ljharb/define-accessor-property/commit/9a787dd3f6a379d9ee78056bfcb2536d755c6992) - npm init [`6ffef9b`](https://github.com/ljharb/define-accessor-property/commit/6ffef9bba69c28d0de174bcbd0e1a2cdc0b85cf8) - Only apps should have lockfiles [`cb5f2e5`](https://github.com/ljharb/define-accessor-property/commit/cb5f2e5f436f2cb46fbe5491623f7c2bf15ec572)