Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
Maintainers
14
Versions
311
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 2.4.1 to 2.4.2-canary.0

2

dist/detect-builders.d.ts

@@ -6,2 +6,4 @@ import { Route } from '@vercel/routing-utils';

message: string;
action?: string;
link?: string;
}

@@ -8,0 +10,0 @@ interface Options {

11

dist/detect-builders.js

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

code: 'unused_function',
message: `The function for ${fnKey} can't be handled by any builder`,
message: `The pattern "${fnKey}" defined in \`functions\` doesn't match any Serverless Functions.`,
action: 'Learn More',
link: 'https://vercel.link/unmatched-function-pattern',
};

@@ -445,7 +447,8 @@ }

if (unusedFunctions.size) {
const [unusedFunction] = Array.from(unusedFunctions);
const [fnKey] = Array.from(unusedFunctions);
return {
code: 'unused_function',
message: `The function for ${unusedFunction} can't be handled by any builder. ` +
`Make sure it is inside the api/ directory.`,
message: `The pattern "${fnKey}" defined in \`functions\` doesn't match any Serverless Functions inside the \`api\` directory.`,
action: 'Learn More',
link: 'https://vercel.link/unmatched-function-pattern',
};

@@ -452,0 +455,0 @@ }

{
"name": "@vercel/build-utils",
"version": "2.4.1",
"version": "2.4.2-canary.0",
"license": "MIT",

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

},
"gitHead": "e19446f89c3461c774b2d545f027766bcb372d05"
"gitHead": "1a1271509609ff0e48f947d61f0a267798238cd7"
}

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc