Releases: es-shims/es5-shim
Releases · es-shims/es5-shim
v4.1.10
Fixes (shim)
- Fix IE 8 issue with
window.frameElement
access in a child iframe (#322)
Tests
- Consolidating
Date.parse
extended year tests - Account for a
Date.parse
precision 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#split
shim, 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.js
v2.4
Dev Deps
- Update
eslint
,semver
v4.1.8
Fixes
- Fix an
Object.keys
IE 8 bug wherelocalStorage.prototype.constructor === localStorage
would throw (#275) - Shimmed
Object.defineProperty
should not throw for an empty descriptor (#315) - Fix
Date#toISOString
in Safari 5.1 (#243) - Use
Object#propertyIsEnumerable
to default the initial "enumerable" value inObject.getOwnPropertyDescriptor
sham (#289) - Fix
Array#splice
with 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/12Date
bugs
Dev Deps
- Update
eslint
v4.1.7
v4.1.6
v4.1.5
v4.1.4
Fixes
- Make sure copied
Date
properties 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#concat
rather than relying on the runtime environment'sconcat
.
Testing
- Test on
io.js
v2.1
Refactoring
- Clean up
Array.prototype
iteration 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,
Date
inside the function expression does not referenceDateShim
(#303) - Date: Ensure all code paths have the correct
constructor
property - Date: Don't copy non-own properties from original
Date
Tests
- Test up to
io.js
v2.0.0
- Adding sanity check tests for ES5
Number
constants.
Dev Dependencies
- Update
uglify-js
,eslint
,semver
Refactors
- Simplify
isPrimitive
check.
v4.1.1
- Fix name of
parseInt
replacement. - Update copyright year
- Update
eslint
,jscs
- Lock
uglify-js
down to v2.4.17, since v2.4.18 and v2.4.19 have a breaking change. - All grade A-supported
node
/iojs
versions now ship with annpm
that understands^
. - Run
travis-ci
tests on latestnode
andiojs
; speed up builds; allow 0.8 failures. - Ensure some Object tests don't fail in ES6
- Make sure
Date
instances don't have an enumerableconstructor
property, when possible.