pelias / placeholder

stand-alone coarse geocoder
https://placeholder.demo.geocode.earth
MIT License
313 stars 35 forks source link

Upgrade to better-sqlite 7 #201

Closed orangejulius closed 3 years ago

orangejulius commented 3 years ago

better-sqlite 7 is a pretty big release, with some changes including dropping support for really old Node.js versions, dropping the Integer module dependency and instead using native BigInts, etc.

Using this version is also required to support the newest Node.js versions as well as ARM CPUs like the Apple M1.

To upgrade, we have to bump both the direct dependency on better-sqlite and our dependency on pelias-whosonfirst, which I guess we forgot to upgrade a while back.

orangejulius commented 3 years ago

Whoops! Turns out I already made this exact change back in c1f3ac4, but didn't have it checked out locally somehow. Oh well :)