NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #621 most downloaded on npm
Improved typeof detection for node.js and the browser.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 6.5 years
Nearly every release is documented
notes for 16 of 17 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
17 releases · first in 2013
remove xvfb pre-test step in travis by @koddsson in #136
Full Changelog: v4.0.9...v4.1.0
One column per quarter.
Extra null check since typeof null = object, however null.location throws an error
stop caching existence of window
detection logic in quasi-browser environments
build: ensure node uses umd build
Do not call getter when checking for Symbol.toStringTag in obj
<a name"4.0.3">
favor extended array toStringTag where available
<a name"4.0.2">
ensure stringIteratorExists checks String.prototype
<a name"4.0.1">
do not support environments (namely, IE8) without Array.isArray and Object.getPrototypeOf.
<a name"4.0.0"></a>
do not support environments (namely, IE8) without
Array.isArray and Object.getPrototypeOf.
(69d089bb)
All strings will no longer be lowercase. If you want them in lowercase, simply add .toLowerCase() to the return value.
<a name"3.0.0"></a>
All strings will no longer be lowercase. If you want them in lowercase,
simply add .toLowerCase() to the return value.
(48c81086)
fixed link for node formatting on README.md
<a name"2.0.2"></a>
check if Symbol.toStringTag exists before using
<a name"2.0.1"></a>
correct all spec inconsistencies
<a name"2.0.0"></a>
Any component uses will no longer be able to use this lib with component
(e3d55e03)
This removes the Library class, which - among all known dependencies -
is not used. The dependencies checked were:
As none of these dependencies use Library in any way, we can easily
remove it without impacting the ecosystem, and on the plus side - we
can focus on making type-detect's core utility as good as it can be.
(c86104e6)
Supports all new ES6 primitives, as well as Objects which override their toStringTag using `Symbol.toStringTag`.
Supports all new ES6 primitives, as well as Objects which override their
toStringTag using Symbol.toStringTag.
Supports primitive Object instances over literals - for example
new String('foo') and 'foo' both report a type of 'string'.
Support calling the library without the new keyword.
Support calling the library without the new keyword.
Add support for browserify. #### Code Features & Fixes - #2 Add support for Browserify (#1). By @bajtos
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →