Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
Maintainers
30
Versions
308
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.8.1-canary.0 to 2.8.1-canary.1

6

dist/fs/node-version.d.ts
import { NodeVersion } from '../types';
export declare function getLatestNodeVersion(): NodeVersion;
export declare function getLatestNodeVersion(): {
readonly major: 14;
readonly range: "14.x";
readonly runtime: "nodejs14.x";
};
export declare function getDiscontinuedNodeVersions(): NodeVersion[];
export declare function getSupportedNodeVersion(engineRange?: string, isAuto?: boolean): Promise<NodeVersion>;

12

dist/fs/node-version.js

@@ -12,5 +12,11 @@ "use strict";

const allOptions = [
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
{ major: 10, range: '10.x', runtime: 'nodejs10.x' },
{
major: 10,
range: '10.x',
runtime: 'nodejs10.x',
discontinueDate: new Date('2021-03-30'),
},
{
major: 8,

@@ -22,5 +28,5 @@ range: '8.10.x',

];
const pleaseSet = 'Please set "engines": { "node": "' +
const pleaseSet = 'Please change your Project Settings or set "engines": { "node": "' +
getLatestNodeVersion().range +
'" } in your `package.json` file to upgrade to Node.js ' +
'" } in your `package.json` file to use Node.js ' +
getLatestNodeVersion().major +

@@ -27,0 +33,0 @@ '.';

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

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

},
"gitHead": "e09ceca95ddfb64c7704d8753147bc05f7c7657c"
"gitHead": "196433ec9d462407eee54f2908415918f8f6fb8f"
}

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