Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
Maintainers
8
Versions
306
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/build-utils - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

4

dist/prerender.d.ts

@@ -12,2 +12,3 @@ import { File } from './types';

initialStatus?: number;
passQuery?: boolean;
}

@@ -24,4 +25,5 @@ export declare class Prerender {

initialStatus?: number;
constructor({ expiration, lambda, fallback, group, bypassToken, allowQuery, initialHeaders, initialStatus, }: PrerenderOptions);
passQuery?: boolean;
constructor({ expiration, lambda, fallback, group, bypassToken, allowQuery, initialHeaders, initialStatus, passQuery, }: PrerenderOptions);
}
export {};

@@ -5,3 +5,3 @@ "use strict";

class Prerender {
constructor({ expiration, lambda, fallback, group, bypassToken, allowQuery, initialHeaders, initialStatus, }) {
constructor({ expiration, lambda, fallback, group, bypassToken, allowQuery, initialHeaders, initialStatus, passQuery, }) {
this.type = 'Prerender';

@@ -19,2 +19,9 @@ this.expiration = expiration;

this.group = group;
if (passQuery === true) {
this.passQuery = true;
}
else if (typeof passQuery !== 'boolean' &&
typeof passQuery !== 'undefined') {
throw new Error(`The \`passQuery\` argument for \`Prerender\` must be a boolean.`);
}
if (bypassToken == null) {

@@ -21,0 +28,0 @@ this.bypassToken = null;

{
"name": "@vercel/build-utils",
"version": "6.2.0",
"version": "6.2.1",
"license": "MIT",

@@ -54,3 +54,3 @@ "main": "./dist/index.js",

},
"gitHead": "a585969dd3b77a4ed36d6a2ca11b34f9050489f1"
"gitHead": "c1c8b454cc29de4bd306b87078f36d6416ceb90f"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc