nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨
https://nodejs.org
Other
107.72k stars 29.66k forks source link

Wrong position of the `zlib.crc32` section #55800

Open ijisol opened 3 days ago

ijisol commented 3 days ago

Affected URL(s)

https://nodejs.org/api/zlib.html#zlibcrc32data-value

Description of the problem

https://github.com/nodejs/node/blob/e225f000343fad84f449e26eec916d8743a0d5f0/lib/zlib.js#L848

The crc32 is not a method of ZlibBase. It is a standalone function of the module.

RedYetiDev commented 3 days ago

PRs are welcome!

ijisol commented 3 days ago

@RedYetiDev I would like to if I could, but to be honest, I don't know how to do it. 😅

aduh95 commented 1 day ago

It's a matter of modifying doc/api/zlib.md.