@vercel/build-utils
Advanced tools
+6
-0
| # @vercel/build-utils | ||
| ## 13.6.2 | ||
| ### Patch Changes | ||
| - add partialFallback flag to prerender output ([#14703](https://github.com/vercel/vercel/pull/14703)) | ||
| ## 13.6.1 | ||
@@ -4,0 +10,0 @@ |
@@ -20,2 +20,3 @@ import type { File, HasField, Chain } from './types'; | ||
| exposeErrBody?: boolean; | ||
| partialFallback?: boolean; | ||
| } | ||
@@ -49,4 +50,5 @@ export declare class Prerender { | ||
| exposeErrBody?: boolean; | ||
| constructor({ expiration, staleExpiration, lambda, fallback, group, bypassToken, allowQuery, allowHeader, initialHeaders, initialStatus, passQuery, sourcePath, experimentalBypassFor, experimentalStreamingLambdaPath, chain, exposeErrBody, }: PrerenderOptions); | ||
| partialFallback?: boolean; | ||
| constructor({ expiration, staleExpiration, lambda, fallback, group, bypassToken, allowQuery, allowHeader, initialHeaders, initialStatus, passQuery, sourcePath, experimentalBypassFor, experimentalStreamingLambdaPath, chain, exposeErrBody, partialFallback, }: PrerenderOptions); | ||
| } | ||
| export {}; |
@@ -41,3 +41,4 @@ "use strict"; | ||
| chain, | ||
| exposeErrBody | ||
| exposeErrBody, | ||
| partialFallback | ||
| }) { | ||
@@ -174,2 +175,9 @@ this.type = "Prerender"; | ||
| } | ||
| if (partialFallback === true) { | ||
| this.partialFallback = true; | ||
| } else if (typeof partialFallback !== "boolean" && typeof partialFallback !== "undefined") { | ||
| throw new Error( | ||
| `The \`partialFallback\` argument for \`Prerender\` must be a boolean.` | ||
| ); | ||
| } | ||
| } | ||
@@ -176,0 +184,0 @@ } |
+2
-2
| { | ||
| "name": "@vercel/build-utils", | ||
| "version": "13.6.1", | ||
| "version": "13.6.2", | ||
| "license": "Apache-2.0", | ||
@@ -54,3 +54,3 @@ "main": "./dist/index.js", | ||
| "@vercel/error-utils": "2.0.3", | ||
| "@vercel/routing-utils": "6.0.0" | ||
| "@vercel/routing-utils": "6.0.1" | ||
| }, | ||
@@ -57,0 +57,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 3 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1414599
0.06%32394
0.06%