TimonKK / clickhouse

NodeJS client for ClickHouse
Apache License 2.0
221 stars 122 forks source link

Add version ranges to package.json dependencies? #64

Closed MasterOdin closed 3 years ago

MasterOdin commented 3 years ago

All packages for this project are defined using exact versions:

https://github.com/TimonKK/clickhouse/blob/9dea3c0c3e4f3e2fe64e59dad762f1db044bf9bf/package.json#L52-L61

Would it be possible to move these to using version ranges (e.g. `"lodash": "^4.17.19")?

As it stands, for my use case, in adding this package, we're getting some duplication of packages, giving an increase in bundle size. For example, our application uses lodash 4.17.20 overall, but in adding this library, we're now also including lodash 4.17.19 in the bundle.

Happy to open a PR if so desired to do this.