DenisCarriere / geocoder-geojson

Geocoding results in GeoJSON format
https://www.npmjs.com/package/geocoder-geojson
MIT License
21 stars 10 forks source link

Remove color.js dependency #5

Closed terry90 closed 7 years ago

terry90 commented 7 years ago

color.js dependency generates this waring due to a dynamic require:

WARNING in ./~/colors/lib/extendStringPrototype.js
Critical dependencies:
101:31-45 the request of a dependency is an expression
 @ ./~/colors/lib/extendStringPrototype.js 101:31-45

This lib is kinda deprecated, since it is used only once in this project, either remove it or replace it with something like https://github.com/chalk/chalk

DenisCarriere commented 7 years ago

👍 I'm going to remove it, good call. In the future I will try to use the Fetch API and remove axios entirely, however last time I did that nothing worked anymore 😢