Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you update to the latest jimp package? It will make this library work in CF workers. #61

Closed
CMCDragonkai opened this issue Oct 25, 2024 · 5 comments

Comments

@CMCDragonkai
Copy link

The CF workers has a special environment, the latest jimp dependency makes it compatible.

All you need to do is update the package version of jimp.

@Ghustavh97
Copy link
Contributor

It looks like the latest version of jimp has breaking changes. Tests are failing. I don't know when I will get time to be able to update it.

@CMCDragonkai
Copy link
Author

We were able to to make use of it just by bumping up the version. See: master...CDeltakai:potrace:master.

However not sure about the tests.

@CMCDragonkai
Copy link
Author

const Jimp = require('jimp').default || require('jimp');

@Ghustavh97
Copy link
Contributor

Nice, that actually worked. Thanks. Check out v4.0.0 with the latest version of jimp. Thanks for the help.

@CMCDragonkai
Copy link
Author

Nice thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants