-
Notifications
You must be signed in to change notification settings - Fork 108
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
SECURITY: npm audit found an issue in request dep. #62
Comments
@mikolalysenko any chance fixing the security issue ? |
@SVillette hi! I'm about to fix it in a special fork as told in that attached issue. Thanks for reminding. Will post it here with mention. |
Any update? 👀 |
Almost got back here. 🐌 |
For anyone blocked on this issue — I'm maintaining a near-equivalent library,
Example: import { getPixels, savePixels } from 'ndarray-pixels';
import fs from 'node:fs';
// read
const pixels = await getPixels(bytesIn, 'image/png'); // Uint8Array -> ndarray
// modify
for (let i = 0; i < pixels.shape[0]; ++i) {
for (let j = 0; j < pixels.shape[1]; ++j) {
pixels.set(i, j, 255);
}
}
// write
const bytesOut = await savePixels(pixels, 'image/png'); // ndarray -> Uint8Array |
@donmccurdy can it be used with ericblade/quagga2#494 ? |
@houd1ni Yes, looking at the usage here... ... you'd just need to fetch the URL first (using |
Hi! See ericblade/quagga2#494
The text was updated successfully, but these errors were encountered: