mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-10-09 18:04:08 +07:00
node_modules: update (#332)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
c1dac70e3a
commit
6bf0a2f26a
95 files changed
+1102
-503
No files matched your search
+10
-1
@@ -17,7 +17,7 @@ export interface RelaxedBodyOptions {
|
||||
* a non-empty body always ends with CRLF. Bytes are canonicalized as they arrive,
|
||||
* so a line of any length costs constant memory.
|
||||
*/
|
||||
export default class RelaxedBody extends Transform {
|
||||
declare class RelaxedBody extends Transform {
|
||||
bodyHash: crypto.Hash;
|
||||
/** Bytes of the original body seen so far */
|
||||
byteLength: number;
|
||||
@@ -25,3 +25,12 @@ export default class RelaxedBody extends Transform {
|
||||
constructor(options?: RelaxedBodyOptions);
|
||||
updateHash(chunk: Buffer, final?: boolean): void;
|
||||
}
|
||||
/**
|
||||
* Type aliases in the layout of @types/nodemailer, so `RelaxedBody.Options` style references keep working
|
||||
*/
|
||||
declare namespace RelaxedBody {
|
||||
type Options = RelaxedBodyOptions;
|
||||
}
|
||||
/** The same alias as a module level export, for `import * as RelaxedBody` and `import RelaxedBody = require()` */
|
||||
export type { RelaxedBodyOptions as Options };
|
||||
export default RelaxedBody;
|
||||
Reference in new issue
Block a user