Es5 Shim Versions Save

ECMAScript 5 compatibility shims for legacy (and modern) JavaScript engines

v4.5.15

2 years ago

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

4 years ago

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

4 years ago

Fix

  • exclude deprecated Firefox keys (#460)

v4.5.11

5 years ago

Note: this version is missing minified files.

Fix

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

v4.5.12

5 years ago

Meta

  • republish broken 4.5.11

Fix

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

v4.5.10

6 years ago

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 (https://github.com/ljharb/object-keys/issues/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

7 years ago

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

8 years ago

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

8 years ago

Fix (shim)

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

v4.5.6

8 years ago

Fix (shim)

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

Tests

  • test on node v5.7

Dev Deps

  • update uglify-js