Releases: es-shims/es5-shim
Releases · es-shims/es5-shim
v4.4.1
v4.4.0
New Stuff
- Detect and patch
RegExp#toString
in IE 8, which returns flags in the wrong order (#364)
Fixes (shim)
- Patch
Array#sort
on {Chrome, Safari, IE < 9, FF 4} that throws improperly, per ES5 (#354) - In IE 6,
window.external
makesObject.keys
throw Array#slice
: boxed string access on IE <= 8 (#349)Array#join
: fix IE 6-8 join called on string literal (#352)- Ensure that
Error#message
andError#name
are non-enumerable (#358)
Fixes (sham)
Object.getOwnPropertyDescriptor
: In Opera 11.6,propertyIsEnumerable
is a nonshadowable global, liketoString
Robustness
- Use a bound form of
Array#slice.call
Tests
- Properly check for descriptor support in IE <= 8
- test on
node
v5.1
- Add
Array#slice
tests (#346)
Dev Deps
- update
uglify-js
,eslint
,jscs
,uglify-js
,semver
Docs
- Fix broken UMD links (#344)
v4.3.1
v4.3.0
New Shims (shim)
Array#push
: in IE <= 7,Array#push
was not generic (#336)Array#push
in Opera10.6
has a super weird bug when pushingundefined
Array#join
: In IE <= 7, passingundefined
didn't use the default separator (#333)Error#toString
: prints out the proper message in IE 7 and below (#334)Number#toPrecision
: IE 7 and below incorrectly throw when an explicitundefined
precision is passed (#340)
Fixes (shim)
String#lastIndexOf
: ensure the correct length in IE 8- ensure
parseInt
accepts negative and plus-prefixed hex values (#332)
Robustness
- Use a bound
Array#push
instead of relying onFunction#call
Dev Deps
- update
eslint
,@ljharb/eslint-config
,jscs
Tests
- Add some conditionals to avoid impossible-to-fix test failures in IE 6-8, due to it being unable to distinguish between
undefined
and an absent index (#114) - Fix false negatives in IE 6-8 with jasmine comparing arrays to arraylikes (#114)
- add additional
Array#shift
tests (#337) - Add additional
Array#splice
tests (#339) - Add
Array#pop
tests, just in case (#338) - include
global
tests in HTML test files - Make sure the HTML tests run with the right charset
- ensure
node
v0.8
tests stay passing. - Prevent nondeterminism in the tests - this sometime produced values that are one ms off
- test on
node
v5.0
- fix npm upgrades for older nodes
v4.2.0
v4.1.15
Fixes (shim)
- new Date + Date.parse: Fix a Safari 8 & 9 bug where the
ms
arg is treated as a signed instead of unsigned int (#329) - add 'frame' to blacklisted keys (#330)
Tests
- Test on
node
v4.2
- Date: prevent nondeterminism in the tests - this sometime produced values that are one ms off
Dev Deps
- update
eslint
,@ljharb/eslint-config
,jscs
,uglify-js
v4.1.14
v4.1.13
v4.1.12
v4.1.11
Fixes (shim)
- Object.keys in Safari 9 has some bugs. (Already fixed in Webkit Nightly)
- Omit !Date.parse check in the if statement (#323)
Fixes (sham)
- Fix Object.create sham to not set proto (#301)
- Add a typeof check to Object.getPrototypeOf (#319, #320)
Tests
- up to
io.js
v3.1
- Make sure
Object.getPrototypeOf
tests don't fail when engines implement ES6 semantics
Docs
- Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG (#318)
Dev Dependencies
- Update
eslint
,uglify-js
,jscs
; use my personal sharedeslint
config