Closed vweevers closed 3 years ago
@ralphtheninja @juliangruber I tested and looked up some more ES6+ features. We can now use many goodies: Symbol
, destructuring, rest parameters, block scoped let/const, Map, Set, String.prototype.startsWith
, Array.from()
, etc.
If we drop support of Safari < 11.1 (2018-04-12, 0.43% global share) and Safari iOS < 11.3 (2018-03-29, 0.69%) then we can also use Rest/Spread Properties and Spread in object literals. That alone is not worth it, but...
If we drop support of Safari < 12 (2018-09-17, 0.5%) and Safari iOS < 12 (2018-09-17, 0.78%) then we can use async generators with for await...of
✨. See https://github.com/Level/abstract-leveldown/pull/338 for an example. I previously planned to only support that on node.
React with thumbs up to drop those versions. I'm for.
Across the board, drop legacy range options (https://github.com/Level/community/issues/86), node 6, node 8, IE11, stock Android browser, Safari 9-11. Use latest
buffer
,standard
,sinon
andnyc
. Require support of Promise,queue-microtask
, const, let, Object.assign, arrow functions and async generators.Tasks:
level-concat-iterator
level-supports
abstract-leveldown
codec
errors
level-iterator-stream
encoding-down
level-js
memdown
leveldown
deferred-leveldown
levelup
packager
level
rocksdb
leveldown
level-compose
level-ws
level-test
level-rocksdb
:subleveldown
abstract-leveldown
,encoding-down
,levelup
,level-concat-iterator
(dev)Checklevel-option-wrap
multileveldown
:abstract-leveldown
,encoding-down
,levelup
level-party
level
,multileveldown
,subleveldown
(dev)level-mem
level-bench
webpack-starter
browserify-starter
electron-demo
(skipping)level-ttl