node_modules: update (#332)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-01 09:48:38 +02:00
1 parent c1dac70e3a
commit 6bf0a2f26a
95 files changed
+1102 -503

No files matched your search

+5 -2
View File
@@ -2,8 +2,8 @@
* A header value split into the value token and its parameters, the result of parseHeaderValue
*/
export interface ParsedHeaderValue {
/** The value ahead of the parameters, for example the content type */
value: string | false;
/** The value ahead of the parameters, for example the content type, an empty string when there is none */
value: string;
/** Parameter values keyed by lowercase parameter name */
params: Record<string, string>;
}
@@ -25,6 +25,9 @@ export interface EncodedHeaderParam {
/** Parameter value of this part */
value: string;
}
/** The names @types/nodemailer used for the two types above */
export type HeaderValue = StructuredHeaderValue;
export type ParsedHeaderParam = EncodedHeaderParam;
/**
* Checks if a value is plaintext string (uses only printable 7bit chars)
*
+1 -1
View File
@@ -402,7 +402,7 @@ function buildHeaderParam(key, data, maxLength) {
*/
function parseHeaderValue(str) {
const response = {
value: false,
value: '',
params: {}
};
// Parameter names come from a caller supplied contentType/contentDisposition. A