Skip to content

Releases: es-shims/es5-shim

v4.5.15

24 Apr 20:25
v4.5.15
24b4c2d
Compare
Choose a tag to compare

Fixes

  • es5-sham: getPrototypeOf: avoid infinite loop in pre-__proto__ browsers
  • split: add a function name to the "broken capturing groups" shim

Refactors

  • [Robustness] cache Math methods

Docs

  • [readme] add standalone shims

Meta Stuff

  • [meta] add in-publish to avoid running the minifier on install
  • [meta] run aud in posttest
  • [Tests] migrate tests to Github Actions (#474)
  • [Tests] run nyc on all tests
  • [actions] add "Allow Edits" workflow
  • [actions] switch Automatic Rebase workflow to pull_request_target event
  • [Dev Deps] update eslint, @ljharb/eslint-config

v4.5.14

22 Mar 20:37
8f33c6b
Compare
Choose a tag to compare

Fixes

  • handle no deleteCount to splice() in Opera (#465)

Refactors

  • remove unnecessary comparison

Meta Stuff

  • remove unused Makefile and associated utilities
  • add funding field
  • Rename CHANGES to CHANGELOG.md

v4.5.13

14 Jan 19:30
d5297ad
Compare
Choose a tag to compare

Fix

  • exclude deprecated Firefox keys (#460)

v4.5.12

27 Sep 17:20
508dcbe
Compare
Choose a tag to compare

Meta

  • republish broken 4.5.11

Fix

  • sync Object.keys excluded list from object-keys (#456)

v4.5.11

27 Sep 17:20
a48b26c
Compare
Choose a tag to compare

Note: this version is missing minified files.

Fix

  • sync Object.keys excluded list from object-keys (#456)

v4.5.10

16 Dec 07:48
a265a13
Compare
Choose a tag to compare

Fixes

  • Safari 11 throws on .sort({}), but not on .sort(null)
  • ensure the shimmed parseInt throws with Symbols (#450)
  • skip over localStorage, which can’t be accessed on file://
  • Accessing window.top.{constructor|prototype} throws error in iOS (#445)
  • avoid width and height on window, to prevent reflow (ljharb/object-keys#31)
  • ensure minified literal of 1000000000000000128 stays as that literal (#441)

Robustness

  • always prefer String(x) over x.toString()

Tests

  • up to node v9.3, v8.9, v7.10, v6.12, v5.12, v4.8; improve test matrix; use nvm install-latest-npm; comment out OS X builds; pin included builds to LTS
  • parseInt: add another test for NaN parsing (#433)

Dev Deps

  • uglify-js: add --support-ie8 and peg to v2.7.x since it doesn’t follow semver
  • [Dev Deps] update eslint, @ljharb/eslint-config, jscs, uglify-js, semver; remove concurrently (#421)

v4.5.9

13 Jun 18:03
30ebdda
Compare
Choose a tag to compare

Fix

  • parseInt and parseFloat should both accept null/undefined (#402)

Tests

  • test up to node v6.2

Dev Deps

  • update eslint, @ljharb/eslint-config, jscs, concurrently

v4.5.8

09 Apr 06:55
Compare
Choose a tag to compare

Fix (shim)

  • Check if property descriptor is configurable before re-defining it (#394, #373)

Dev Deps

  • update eslint, jscs, @ljharb/eslint-config

Tests

  • up to node v5.10, v4.4
  • Use concurrently instead of parallelshell
  • use pretest to run the linter

v4.5.7

09 Apr 06:54
Compare
Choose a tag to compare

Fix (shim)

  • fix bind in IE 8: Update is-callable implementation to v1.1.3 (#390)

v4.5.6

27 Feb 05:14
Compare
Choose a tag to compare

Fix (shim)

  • new Date(new Date()) should work in IE 8 (#389)

Tests

  • test on node v5.7

Dev Deps

  • update uglify-js