Releases: paulmillr/es6-shim
Releases · paulmillr/es6-shim
v0.35.6
Fixes
Math.hypot: fix a bug in node v12.11 - v12.15- internal
ToStringoperation should throw on Symbols
Robustness
- call-bind
Array.prototype.join
Refactors
String.raw: match latest spec- address unused function args
Misc
- [readme] updating standalone shim links
- [Meta] Make LICENSE parseable by GitHub
v0.35.5
v0.35.4
Fixes
- protect against evil build processes by ensuring these feature tests don‘t look like no-ops that are safe to remove
- broken
hasULPDistance→ workingwithinULPDistancehelper acosh: fix precision (#338)Math.{asinh,atanh,cosh,sinh}precision (from #338)- Google Translate adds a broken
Setto the global scope (#438) - Distinguish Set and Map iterators (#387)
Docs
- Tweaking documentation specifying inclusion order (#435)
v0.35.3
v0.35.2
Fix
- ensure
document.allis not treated as a non-object-coercible (#428)
Performance
Dev Deps
- update
es5-shim,eslint,@ljharb/eslint-config,jscs,jshint,mocha,promises-plus-tests,uglify-js
Tests
- up to
nodev7.2,v5.12,v4.6; improve test matrix - avoid function name inference in node 7+
- add Firefox Nightly error messages to fix false failure
v0.35.1
Fixes (shim)
- Functions are objects (#418)
- use
createDataPropertyOrThrowinArray.from, rather than[[Put]](#415)
Refactors
- Use
iteratorResultinternally for iterator result objects - Simplify logic for Math.tanh (#412)
Robustness
- cache
Mathconstants - cache
Math.exp - don’t rely on a
Mathlookup insideMath.asinh - use cached
Number.isNaN - cache
Math.sign
Dev Deps
- update
es5-shim,eslint,@ljharb/eslint-config,jscs,uglify-js,grunt-contrib-connect,grunt-contrib-watch,evalmd,jshint
Tests
- up to
nodev6.1,v5.10,v4.4 npm run --silent, use “pretest” for lintingRegExp#toString: Chrome Canary 51 produces/undefined/
Docs
- update ES6 draft comment URLs to point to the published spec
v0.35.0
Breaking Changes
- remove
Reflect.enumerate(#405)
New Stuff (shim)
- Add
Array#indexOffrom post-ES6 errata - Ensure
RegExp#toStringis compliant
New Stuff (sham)
- Add
Function#toStringtoes6-sham
Fixes
- ensure that a non-object
globals.Reflectdoesn’t break the shim (#392) - In ES3 browsers (like Safari 4)
Reflect.getPrototypeOfis undefined Object.keys: handle regexes in ES3 browsers (#287)
Performance
- Early exit from tanh for values outside of +-20 at limits of JS precision (#411)
Tests
Function#nameonnew Functions is empty string in v8Function#nameis non-configurable pre-ES6- Test up to
nodev5.7,v4.3
v0.34.4
v0.34.3
v0.34.2
Fixes
JSON.stringifyshould ignore a replacer arg unless it’s an array or function.Array#copyWithin: check for inherited properties as wellArray#copyWithin: should delete the target key if the source key is not present
Performance
- Optimize Map/Set fast key path (#397)
Tests
- fix
Reflect.enumeratetests to not callnexttoo many times
Dev Deps
- update
jscs,jshint
Docs
- update license year to 2016 (#400)