raw-body
raw-body copied to clipboard
Get and validate the raw body of a readable stream
Hello, I have this error, I am using Koa middleware. ``` TypeError: stream.on is not a function at readStream (/node_modules/raw-body/index.js:197:10) at executor (/node_modules/raw-body/index.js:113:5) at new Promise () at getRawBody (/node_modules/raw-body/index.js:112:10)...
changelog: https://github.com/ashtuchkin/iconv-lite/blob/master/Changelog.md
I'm confused by [the example](https://github.com/stream-utils/raw-body#using-with-typescript). It imports the entire module as `getRawBody`, but then calls it as a function. When I try to use it this way, I get a...
In TypeScript, NodeJS.ReadableStream is the interface, whereas stream.Readable is a specific implementation of NodeJS.ReadableStream. I believe this library should work with all readable streams, and so should accept the more...
Please update to iconv-lite >= 0.6.0 in order to fix issues with Electron. Project will build fine but fail when running during imports with "webpack_require(...) is not a function". See...
It's all well and good to just wait an indefinite time for a stream to complete reading, but typically when dealing with HTTP (like this module), you probably need some...
This is a tracking issue for release 3.0. **Please keep feature requests in their own issues** If you want to make a comment on a particular change, please make the...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @actions/artifact dependency by @bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...
Bumps [mocha](https://github.com/mochajs/mocha) from 10.7.0 to 11.7.5. Release notes Sourced from mocha's releases. v11.7.5 11.7.5 (2025-11-04) 🩹 Fixes swallow more require errors from *ts files (#5498) (d89dbaf) 🧹 Chores run tests...
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.2 to 4.31.6. Release notes Sourced from github/codeql-action's releases. v4.31.6 CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language...