UNPKG

has-override-mistake

Version:

Determine whether the environment has the so-called "override mistake" - [[Set]]ing a property whose ancestor is nonwritable throws.

26 lines (17 loc) 1.71 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.0.1](https://github.com/inspect-js/has-override-mistake/compare/v1.0.0...v1.0.1) - 2024-02-29 ### Commits - add types [`4599b8c`](https://github.com/inspect-js/has-override-mistake/commit/4599b8c07b9402174a39bdd495a3a6df110d8592) - [Fix] don‘t bother checking in IE 6 - 8 [`8a08d25`](https://github.com/inspect-js/has-override-mistake/commit/8a08d251a640b299093e0b47216437576dff1ce7) - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `semver`, `tape` [`210a194`](https://github.com/inspect-js/has-override-mistake/commit/210a194abdc0437425b046c8763f5702af38745e) - [Tests] fix tests for IE 8 [`7f383c5`](https://github.com/inspect-js/has-override-mistake/commit/7f383c5fb5f7ab6f2ec53b554bde36aa7a2644f8) - [meta] add `sideEffects` flag [`1fc5e33`](https://github.com/inspect-js/has-override-mistake/commit/1fc5e33adcbb58626cfeea5e6eb3de39b93cc79e) ## v1.0.0 - 2023-05-09 ### Commits - Initial implementation, tests, readme [`7b94725`](https://github.com/inspect-js/has-override-mistake/commit/7b94725b06b13dfee37f785b1749c9a4435a8e39) - Initial commit [`d715fd8`](https://github.com/inspect-js/has-override-mistake/commit/d715fd8901ec50676db20cd530e5c3b8dbe81a58) - npm init [`2b6d7a1`](https://github.com/inspect-js/has-override-mistake/commit/2b6d7a13e53058edc73c5477a0a5a94224a9af82) - Only apps should have lockfiles [`fbf64e1`](https://github.com/inspect-js/has-override-mistake/commit/fbf64e1b8185ad939b3760599fd0e4b6df2ee55c)