UNPKG

9.15 kBMarkdownView Raw
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## [v1.2.7](https://github.com/inspect-js/is-callable/compare/v1.2.6...v1.2.7) - 2022-09-23
9
10### Commits
11
12- [Fix] recognize `document.all` in IE 6-10 [`06c1db2`](https://github.com/inspect-js/is-callable/commit/06c1db2b9b2e0f28428e1293eb572f8f93871ec7)
13- [Tests] improve logic for FF 20-35 [`0f7d9b9`](https://github.com/inspect-js/is-callable/commit/0f7d9b9c7fe149ca87e71f0a125ade251a6a578c)
14- [Fix] handle `document.all` in FF 27 (and +, probably) [`696c661`](https://github.com/inspect-js/is-callable/commit/696c661b8c0810c2d05ab172f1607f4e77ddf81e)
15- [Tests] fix proxy tests in FF 42-63 [`985df0d`](https://github.com/inspect-js/is-callable/commit/985df0dd36f8cfe6f1993657b7c0f4cfc19dae30)
16- [readme] update tested browsers [`389e919`](https://github.com/inspect-js/is-callable/commit/389e919493b1cb2010126b0411e5291bf76169bd)
17- [Fix] detect `document.all` in Opera 12.16 [`b9f1022`](https://github.com/inspect-js/is-callable/commit/b9f1022b3d7e466b7f09080bd64c253caf644325)
18- [Fix] HTML elements: properly report as callable in Opera 12.16 [`17391fe`](https://github.com/inspect-js/is-callable/commit/17391fe02b895777c4337be28dca3b364b743b34)
19- [Tests] fix inverted logic in FF3 test [`056ebd4`](https://github.com/inspect-js/is-callable/commit/056ebd48790f46ca18ff5b12f51b44c08ccc3595)
20
21## [v1.2.6](https://github.com/inspect-js/is-callable/compare/v1.2.5...v1.2.6) - 2022-09-14
22
23### Commits
24
25- [Fix] work for `document.all` in Firefox 3 and IE 6-8 [`015132a`](https://github.com/inspect-js/is-callable/commit/015132aaef886ec777b5b3593ef4ce461dd0c7d4)
26- [Test] skip function toString check for nullish values [`8698116`](https://github.com/inspect-js/is-callable/commit/8698116f95eb59df8b48ec8e4585fc1cdd8cae9f)
27- [readme] add "supported engines" section [`0442207`](https://github.com/inspect-js/is-callable/commit/0442207a89a1554d41ba36daf21862ef7ccbd500)
28- [Tests] skip one of the fixture objects in FF 3.6 [`a501141`](https://github.com/inspect-js/is-callable/commit/a5011410bc6edb276c6ec8b47ce5c5d83c4bee15)
29- [Tests] allow `class` constructor tests to fail in FF v45 - v54, which has undetectable classes [`b12e4a4`](https://github.com/inspect-js/is-callable/commit/b12e4a4d8c438678bd7710f9f896680150766b51)
30- [Fix] Safari 4: regexes should not be considered callable [`4b732ff`](https://github.com/inspect-js/is-callable/commit/4b732ffa34346db3f0193ea4e46b7d4e637e6c82)
31- [Fix] properly recognize `document.all` in Safari 4 [`3193735`](https://github.com/inspect-js/is-callable/commit/319373525dc4603346661641840cd9a3e0613136)
32
33## [v1.2.5](https://github.com/inspect-js/is-callable/compare/v1.2.4...v1.2.5) - 2022-09-11
34
35### Commits
36
37- [actions] reuse common workflows [`5bb4b32`](https://github.com/inspect-js/is-callable/commit/5bb4b32dc93987328ab4f396601f751c4a7abd62)
38- [meta] better `eccheck` command [`b9bd597`](https://github.com/inspect-js/is-callable/commit/b9bd597322b6e3a24c74c09881ca73e1d9f9f485)
39- [meta] use `npmignore` to autogenerate an npmignore file [`3192d38`](https://github.com/inspect-js/is-callable/commit/3192d38527c7fc461d05d5aa93d47628e658bc45)
40- [Fix] for HTML constructors, always use `tryFunctionObject` even in pre-toStringTag browsers [`3076ea2`](https://github.com/inspect-js/is-callable/commit/3076ea21d1f6ecc1cb711dcf1da08f257892c72b)
41- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `available-typed-arrays`, `object-inspect`, `safe-publish-latest`, `tape` [`8986746`](https://github.com/inspect-js/is-callable/commit/89867464c42adc5cd375ee074a4574b0295442cb)
42- [meta] add `auto-changelog` [`7dda9d0`](https://github.com/inspect-js/is-callable/commit/7dda9d04e670a69ae566c8fa596da4ff4371e615)
43- [Fix] properly report `document.all` [`da90b2b`](https://github.com/inspect-js/is-callable/commit/da90b2b68dc4f33702c2e01ad07b4f89bcb60984)
44- [actions] update codecov uploader [`c8f847c`](https://github.com/inspect-js/is-callable/commit/c8f847c90e04e54ff73c7cfae86e96e94990e324)
45- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`899ae00`](https://github.com/inspect-js/is-callable/commit/899ae00b6abd10d81fc8bc7f02b345fd885d5f56)
46- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `es-value-fixtures`, `object-inspect`, `tape` [`344e913`](https://github.com/inspect-js/is-callable/commit/344e913b149609bf741aa7345fa32dc0b90d8893)
47- [meta] remove greenkeeper config [`737dce5`](https://github.com/inspect-js/is-callable/commit/737dce5590b1abb16183a63cb9d7d26920b3b394)
48- [meta] npmignore coverage output [`680a883`](https://github.com/inspect-js/is-callable/commit/680a8839071bf36a419fe66e1ced7a3303c27b28)
49
50<!-- auto-changelog-above -->
511.2.4 / 2021-08-05
52=================
53 * [Fix] use `has-tostringtag` approach to behave correctly in the presence of symbol shams
54 * [readme] fix repo URLs
55 * [readme] add actions and codecov badges
56 * [readme] remove defunct badges
57 * [meta] ignore eclint checking coverage output
58 * [meta] use `prepublishOnly` script for npm 7+
59 * [actions] use `node/install` instead of `node/run`; use `codecov` action
60 * [actions] remove unused workflow file
61 * [Tests] run `nyc` on all tests; use `tape` runner
62 * [Tests] use `available-typed-arrays`, `for-each`, `has-symbols`, `object-inspect`
63 * [Dev Deps] update `available-typed-arrays`, `eslint`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape`
64
651.2.3 / 2021-01-31
66=================
67 * [Fix] `document.all` is callable (do not use `document.all`!)
68 * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape`
69 * [Tests] migrate tests to Github Actions
70 * [actions] add "Allow Edits" workflow
71 * [actions] switch Automatic Rebase workflow to `pull_request_target` event
72
731.2.2 / 2020-09-21
74=================
75 * [Fix] include actual fix from 579179e
76 * [Dev Deps] update `eslint`
77
781.2.1 / 2020-09-09
79=================
80 * [Fix] phantomjs‘ Reflect.apply does not throw properly on a bad array-like
81 * [Dev Deps] update `eslint`, `@ljharb/eslint-config`
82 * [meta] fix eclint error
83
841.2.0 / 2020-06-02
85=================
86 * [New] use `Reflect.apply`‑based callability detection
87 * [readme] add install instructions (#55)
88 * [meta] only run `aud` on prod deps
89 * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `make-arrow-function`, `make-generator-function`; add `aud`, `safe-publish-latest`, `make-async-function`
90 * [Tests] add tests for function proxies (#53, #25)
91
921.1.5 / 2019-12-18
93=================
94 * [meta] remove unused Makefile and associated utilities
95 * [meta] add `funding` field; add FUNDING.yml
96 * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `semver`, `tape`, `covert`, `rimraf`
97 * [Tests] use shared travis configs
98 * [Tests] use `eccheck` over `editorconfig-tools`
99 * [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops
100 * [Tests] remove `jscs`
101 * [actions] add automatic rebasing / merge commit blocking
102
1031.1.4 / 2018-07-02
104=================
105 * [Fix] improve `class` and arrow function detection (#30, #31)
106 * [Tests] on all latest node minors; improve matrix
107 * [Dev Deps] update all dev deps
108
1091.1.3 / 2016-02-27
110=================
111 * [Fix] ensure “class “ doesn’t screw up “class” detection
112 * [Tests] up to `node` `v5.7`, `v4.3`
113 * [Dev Deps] update to `eslint` v2, `@ljharb/eslint-config`, `jscs`
114
1151.1.2 / 2016-01-15
116=================
117 * [Fix] Make sure comments don’t screw up “class” detection (#4)
118 * [Tests] up to `node` `v5.3`
119 * [Tests] Add `parallelshell`, run both `--es-staging` and stock tests at once
120 * [Dev Deps] update `tape`, `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`
121 * [Refactor] convert `isNonES6ClassFn` into `isES6ClassFn`
122
1231.1.1 / 2015-11-30
124=================
125 * [Fix] do not throw when a non-function has a function in its [[Prototype]] (#2)
126 * [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `jscs`, `nsp`, `semver`
127 * [Tests] up to `node` `v5.1`
128 * [Tests] no longer allow node 0.8 to fail.
129 * [Tests] fix npm upgrades in older nodes
130
1311.1.0 / 2015-10-02
132=================
133 * [Fix] Some browsers report TypedArray constructors as `typeof object`
134 * [New] return false for "class" constructors, when possible.
135 * [Tests] up to `io.js` `v3.3`, `node` `v4.1`
136 * [Dev Deps] update `eslint`, `editorconfig-tools`, `nsp`, `tape`, `semver`, `jscs`, `covert`, `make-arrow-function`
137 * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
138
1391.0.4 / 2015-01-30
140=================
141 * If @@toStringTag is not present, use the old-school Object#toString test.
142
1431.0.3 / 2015-01-29
144=================
145 * Add tests to ensure arrow functions are callable.
146 * Refactor to aid optimization of non-try/catch code.
147
1481.0.2 / 2015-01-29
149=================
150 * Fix broken package.json
151
1521.0.1 / 2015-01-29
153=================
154 * Add early exit for typeof not "function"
155
1561.0.0 / 2015-01-29
157=================
158 * Initial release.