scijs / get-pixels

Reads an image into an ndarray
MIT License
543 stars 108 forks source link

get-pixels has outdated jpeg-js version #34

Closed benwiley4000 closed 6 years ago

benwiley4000 commented 7 years ago

get-pixels's specified jpeg-js version in the package.json is old (^0.1.1) and won't resolve to the latest version (0.2.0).

~If the resolution of #26 in jpeg-js can happen soon I'd wait to publish a new get-pixels version.~ It's merged! This will make it possible to use uglifyjs on a client library importing get-pixels.

Currently, running uglifyjs fails because of jpeg-js's use of const.

Related issue in save-pixels - also undesirable that the two packages require different versions of jpeg-js.