Releases: paulmillr/es6-shim
Releases · paulmillr/es6-shim
v0.33.5
IE 8 fixes, because yay old browsers
- IE 6-8 have wacky scoping issues with named function expressions.
- this broke
NumberShim
- Apparently in IE 8, RegExp#test is an own property of regexes, not a prototype method
- this broke
NumberShim
- this broke
- Make sure to treat
es5-sham
'sObject.defineProperty
as unsupported, in IE 8
v0.33.4
Fixes
- Add test, and fix, for
JSON.stringify(Object(Symbol()))
throwing on Chrome 45 - Wrap
JSON.stringify
whenSymbol
exists and it fails to serialize them correctly - fix
Reflect.defineProperty
on edge v0.12
Robustness
- Cache
Array.isArray
internally
Refactoring
- Use internal
overrideNative
helper for String.prototype HTML methods - Update
is-arguments
implementation; don't call down legacy code path in modern engines
Tests
- Add
evalmd
to verify that example code blocks are valid - Adding a test for Safari 7.1 and later (runtime check added in 8a8ddd3)
- Add additional
JSON.stringify
test forSymbol
and objectSymbol
values - up to
io.js
v3.3
,node
v4.1
Dev Deps
- update
es5-shim
,mocha
,chai
v0.33.3
v0.33.2
v0.33.1
New
- Add support for binary and octal literals in strings to the
Number
constructor (#358)
Docs
- Update spec link to final spec
Fixes
Reflect.enumerate
: does not necessarily wait until the firstnext()
to determine keys.
Refactors
- split up some tests; name some functions; remove unnecessary code
- make ObjectIterator properties non-enumerable
- Refactor
RegExp
wrapping code so most of it can be reused.
Tests
- Test up to
io.js
v3.1
Dev Dependencies
- update
grunt-contrib-connect
,jscs
v0.33.0
Breaking Change
- Avoid CSP errors in Chrome apps by using global var detection (#301)
Performance
- Rearranging some of the Map/Set runtime shim clobberings to be more efficient.
Refactor
- Implement
Array.of
directly, rather than in terms ofArray.from
Dev Deps
- Update
chai
,es5-shim
,promises-aplus-tests
,uglify-js
Tests
- Add test for
Object.getPrototypeOf
accepting primitives. - Bail out of individual
Reflect
tests when the methods don’t exist - Test on latest
io.js
v0.32.3
Fixes
- Override or wrap native
Reflect
methods in Microsoft Edge v0.11 as required. - Edge v0.11:
Array.from([], undefined)
should not throw - Fix a bug in
Array.from handles iterables
runtime clobbering, which would always replace the native function - Ensure that
Set#has
has the correct name in Edge v0.11
Tests
- Add
Map
/Set
error messages for Edge v0.11 - Fix
Math.fround
test value for Edge v0.11 - Bail out of
Map
/Set
test blocks if they don't exist
Documentation
- Update ES5 subclassing instructions in the README.
Dev Dependencies
- Update
es5-shim
v0.32.2
Fixes
Object.assign
with no sources should coerce to an object (#348)String#includes
should throw when given aRegExp
(#349)RegExp()
should not throw (#350)- Create
Value.defineByDescriptor
, fix internalcreate
whenObject.create
is unavailable. (#352)
Spec Compliance
- Update
Promise.reject
to match official ECMA-262 spec.
Dev Dependencies
- Update
es5-shim
v0.32.1
v0.32.0
Spec Compliance
Fixes
- Ensure
Map
,Set
, andPromise
shims all throw when used without "new".
Tests
- Fix the pending exceptions test for Safari 5.1
Refactoring
- Since the String HTML shims will be iterated anyways, no need to defineProperties them twice.
Dev Dependencies
- Update
chai
,es5-shim