netlify-headers-parser
Advanced tools
Comparing version 7.0.3 to 7.1.0
export declare const parseAllHeaders: ({ headersFiles, netlifyConfigPath, configHeaders, minimal, }: { | ||
headersFiles?: any[]; | ||
headersFiles?: never[] | undefined; | ||
netlifyConfigPath: any; | ||
configHeaders?: any[]; | ||
minimal?: boolean; | ||
configHeaders?: never[] | undefined; | ||
minimal?: boolean | undefined; | ||
}) => Promise<{ | ||
@@ -7,0 +7,0 @@ headers: import("./types.js").Header[]; |
@@ -13,3 +13,5 @@ import isPlainObj from 'is-plain-obj'; | ||
} | ||
const results = headers.map((header, index) => parseHeader(header, index, minimal)).filter(Boolean); | ||
const results = headers | ||
.map((header, index) => parseHeader(header, index, minimal)) | ||
.filter(Boolean); | ||
return splitResults(results); | ||
@@ -16,0 +18,0 @@ }; |
{ | ||
"name": "netlify-headers-parser", | ||
"version": "7.0.3", | ||
"version": "7.1.0", | ||
"description": "Parses Netlify headers into a JavaScript object representation", | ||
@@ -49,3 +49,3 @@ "type": "module", | ||
"homepage": "https://github.com/netlify/build#readme", | ||
"gitHead": "778bfe266735cbe5f545657e3acfd8b6bb646ed2" | ||
"gitHead": "e22d6106d734d2b4b7b49d2a2350be21913c0cbf" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18125
412