Skip to content

v4.3.0

Compare
Choose a tag to compare
@ljharb ljharb released this 08 Nov 07:07
· 226 commits to master since this release

New Shims (shim)

  • Array#push: in IE <= 7, Array#push was not generic (#336)
  • Array#push in Opera 10.6 has a super weird bug when pushing undefined
  • Array#join: In IE <= 7, passing undefined 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 explicit undefined 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 on Function#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