azu / kvs

Lightweight key-value storage library for Browser, Node.js, and In-Memory.
MIT License
182 stars 6 forks source link

Change `target` to `es2018` #26

Closed azu closed 2 years ago

azu commented 2 years ago

https://github.com/azu/kvs/blob/d9bbeca2af6968915092fcbe40199e04434ff03d/tsconfig.json#L9 Current target is es2015. But, This library require AsyncIterator.

A browser that support AsyncIterator

AsyncIterator has been landed on ES2018.

https://github.com/tc39/proposals/blob/main/finished-proposals.md

So, We can change target to es2018 as minor update.

It will reduce file size.