You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
Maintainers
12
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.1 to 2.3.2-canary.0

4

dist/detect-builders.js

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

frontendBuilder = {
use: '@now/static',
use: '@vercel/static',
src: `${usedOutputDirectory}/**/*`,

@@ -170,3 +170,3 @@ config: {

frontendBuilder = {
use: '@now/static',
use: '@vercel/static',
src: '!{api/**,package.json}',

@@ -173,0 +173,0 @@ config: {

@@ -38,8 +38,9 @@ "use strict";

if (engineRange) {
const found = allOptions.some(o => {
// the array is already in order so return the first
// match which will be the newest version of node
selection = o;
return semver_1.intersects(o.range, engineRange);
});
const found = semver_1.validRange(engineRange) &&
allOptions.some(o => {
// the array is already in order so return the first
// match which will be the newest version of node
selection = o;
return semver_1.intersects(o.range, engineRange);
});
if (!found) {

@@ -46,0 +47,0 @@ const intro = isAuto || !engineRange

@@ -164,2 +164,26 @@ /// <reference types="node" />

}
export interface StartDevServerOptions {
/**
* Name of entrypoint file for this particular build job. Value
* `files[entrypoint]` is guaranteed to exist and be a valid File reference.
* `entrypoint` is always a discrete file and never a glob, since globs are
* expanded into separate builds at deployment time.
*/
entrypoint: string;
/**
* A writable temporary directory where you are encouraged to perform your
* build process. This directory will be populated with the restored cache.
*/
workPath: string;
/**
* An arbitrary object passed by the user in the build definition defined
* in `now.json`.
*/
config: Config;
/**
* Runtime environment variables configuration from the project's `now.json`
* and local `.env` file.
*/
env: Env;
}
export interface StartDevServerSuccess {

@@ -186,3 +210,3 @@ /**

*/
declare namespace PackageJson {
export declare namespace PackageJson {
/**

@@ -297,2 +321,1 @@ * An author or contributor

}
export {};
{
"name": "@vercel/build-utils",
"version": "2.3.1",
"version": "2.3.2-canary.0",
"license": "MIT",

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

},
"gitHead": "8189fb2373ccdc12e8682f795e05754b468a18b8"
"gitHead": "f61b36495c4c1573ede1835645e43aee0b2cd588"
}

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