Releases: es-shims/es5-shim
Releases · es-shims/es5-shim
v4.4.1
v4.4.0
New Stuff
- Detect and patch
RegExp#toStringin IE 8, which returns flags in the wrong order (#364)
Fixes (shim)
- Patch
Array#sorton {Chrome, Safari, IE < 9, FF 4} that throws improperly, per ES5 (#354) - In IE 6,
window.externalmakesObject.keysthrow Array#slice: boxed string access on IE <= 8 (#349)Array#join: fix IE 6-8 join called on string literal (#352)- Ensure that
Error#messageandError#nameare non-enumerable (#358)
Fixes (sham)
Object.getOwnPropertyDescriptor: In Opera 11.6,propertyIsEnumerableis a nonshadowable global, liketoString
Robustness
- Use a bound form of
Array#slice.call
Tests
- Properly check for descriptor support in IE <= 8
- test on
nodev5.1 - Add
Array#slicetests (#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#pushwas not generic (#336)Array#pushin Opera10.6has a super weird bug when pushingundefinedArray#join: In IE <= 7, passingundefineddidn'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 explicitundefinedprecision is passed (#340)
Fixes (shim)
String#lastIndexOf: ensure the correct length in IE 8- ensure
parseIntaccepts negative and plus-prefixed hex values (#332)
Robustness
- Use a bound
Array#pushinstead 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
undefinedand an absent index (#114) - Fix false negatives in IE 6-8 with jasmine comparing arrays to arraylikes (#114)
- add additional
Array#shifttests (#337) - Add additional
Array#splicetests (#339) - Add
Array#poptests, just in case (#338) - include
globaltests in HTML test files - Make sure the HTML tests run with the right charset
- ensure
nodev0.8tests stay passing. - Prevent nondeterminism in the tests - this sometime produced values that are one ms off
- test on
nodev5.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
msarg is treated as a signed instead of unsigned int (#329) - add 'frame' to blacklisted keys (#330)
Tests
- Test on
nodev4.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.jsv3.1 - Make sure
Object.getPrototypeOftests 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 sharedeslintconfig