Releases: es-shims/es5-shim
Releases · es-shims/es5-shim
v4.1.10
Fixes (shim)
- Fix IE 8 issue with
window.frameElementaccess in a child iframe (#322)
Tests
- Consolidating
Date.parseextended year tests - Account for a
Date.parseprecision variance in Safari 8 - DRY up some Date.parse tests
- Don't create globals in Date tests
- Better failure output when an invalid date's toJSON throws
- Also compare lengths of array-likes
- Extra check on Object.keys(arguments)
- Skip appropriate tests when objects aren't extensible/freezeable/sealable
v4.1.9
Fixes
- Remove "extended", add "unicode" in
String#splitshim, to match ES6 - Object.keys: Preserve the IE 8 dontEnum bugfix, and the automation equality bugfix.
- Object.keys: Prevent a deprecation message from showing up in Chrome.
Performance
- Speed up blacklisted key check for Object.keys automation equality bug.
Tests
- Test on
io.jsv2.4
Dev Deps
- Update
eslint,semver
v4.1.8
Fixes
- Fix an
Object.keysIE 8 bug wherelocalStorage.prototype.constructor === localStoragewould throw (#275) - Shimmed
Object.definePropertyshould not throw for an empty descriptor (#315) - Fix
Date#toISOStringin Safari 5.1 (#243) - Use
Object#propertyIsEnumerableto default the initial "enumerable" value inObject.getOwnPropertyDescriptorsham (#289) - Fix
Array#splicewith large sparse arrays in Safari 7/8, and Opera 12.15 (#295)
Robustness
- Safely use and reference many builtins internally (also see #313)
Tests
- Add
Date#{getUTCDate,getUTCMonth}tests to expose Opera 10.6/11.61/12Datebugs
Dev Deps
- Update
eslint
v4.1.7
v4.1.6
v4.1.5
v4.1.4
Fixes
- Make sure copied
Dateproperties remain non-enumerable. - Using a more reliable check for supported property descriptors in non-IE ES3
- Fix 'constructor' in Object.defineProperties sham in ES3 (#252, #305)
Robustness
- Use a reference to
Array#concatrather than relying on the runtime environment'sconcat.
Testing
- Test on
io.jsv2.1
Refactoring
- Clean up
Array.prototypeiteration methods
v4.1.3
- Use proper license declaration, per https://docs.npmjs.com/files/package.json#license
v4.1.2
Fixes
- In IE 6-8,
Dateinside the function expression does not referenceDateShim(#303) - Date: Ensure all code paths have the correct
constructorproperty - Date: Don't copy non-own properties from original
Date
Tests
- Test up to
io.jsv2.0.0 - Adding sanity check tests for ES5
Numberconstants.
Dev Dependencies
- Update
uglify-js,eslint,semver
Refactors
- Simplify
isPrimitivecheck.
v4.1.1
- Fix name of
parseIntreplacement. - Update copyright year
- Update
eslint,jscs - Lock
uglify-jsdown to v2.4.17, since v2.4.18 and v2.4.19 have a breaking change. - All grade A-supported
node/iojsversions now ship with annpmthat understands^. - Run
travis-citests on latestnodeandiojs; speed up builds; allow 0.8 failures. - Ensure some Object tests don't fail in ES6
- Make sure
Dateinstances don't have an enumerableconstructorproperty, when possible.