Skip to content

Releases: es-shims/es5-shim

v4.1.10

27 Aug 07:44
Compare
Choose a tag to compare

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

18 Jul 19:51
Compare
Choose a tag to compare

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

04 Jul 00:04
Compare
Choose a tag to compare

Fixes

  • Fix an Object.keys IE 8 bug where localStorage.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 in Object.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/12 Date bugs

Dev Deps

  • Update eslint

v4.1.7

04 Jul 00:03
Compare
Choose a tag to compare

Fixes

  • Make sure Date.parse is not enumerable (#310)

Tests

  • Test on io.js v2.3

Dev Deps

  • Update eslint

v4.1.6

04 Jul 00:02
Compare
Choose a tag to compare

Fixes

  • Support IE 8 when document.domain is set (#306, #150)

Misc

  • Remove version from bower.json (#307)

v4.1.5

03 Jul 23:56
Compare
Choose a tag to compare

Fixes

  • Add a failing runtime check for Safari 8 Date.parse

Dev Deps

  • Update eslint, semver

Testing

  • Test on io.js v2.2

v4.1.4

30 May 20:11
Compare
Choose a tag to compare

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's concat.

Testing

  • Test on io.js v2.1

Refactoring

  • Clean up Array.prototype iteration methods

v4.1.3

30 May 20:11
Compare
Choose a tag to compare

v4.1.2

21 May 06:08
Compare
Choose a tag to compare

Fixes

  • In IE 6-8, Date inside the function expression does not reference DateShim (#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

11 Apr 20:11
Compare
Choose a tag to compare
  • 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 an npm that understands ^.
  • Run travis-ci tests on latest node and iojs; speed up builds; allow 0.8 failures.
  • Ensure some Object tests don't fail in ES6
  • Make sure Date instances don't have an enumerable constructor property, when possible.