Missing resolveObjectURL
method in node:buffer
module #12322
Closed
Description
What version of Bun is running?
1.1.17
What platform is your computer?
Linux 6.5.0-1024-oem x86_64 x86_64
What steps can reproduce the bug?
I tried this:
import { resolveObjectURL } from 'node:buffer'
// ...
const blob = resolveObjectURL('blob:xxx') // Error: Method not implemented
What is the expected behavior?
It would be nice to have that method implemented as well, because the other methods usually used in combine with it (URL.createObjectURL
and URL.revokeObjectURL
) are already implemented in Bun.
What do you see instead?
I get the error Method not implemented
when using that method in my code, and as I can see here:
bun/src/bun.js/modules/NodeBufferModule.h
Line 195 in 5a0b935