Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
0
Maintainers
9
Versions
296
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.8.0 to 7.9.0

6

CHANGELOG.md
# @vercel/build-utils
## 7.9.0
### Minor Changes
- Add `base` parameter to `scanParentDirs()` ([#11261](https://github.com/vercel/vercel/pull/11261))
## 7.8.0

@@ -4,0 +10,0 @@

2

dist/fs/run-user-scripts.d.ts

@@ -78,3 +78,3 @@ /// <reference types="node" />

export declare function getNodeVersion(destPath: string, nodeVersionFallback?: string | undefined, config?: Config, meta?: Meta, availableVersions?: number[]): Promise<NodeVersion>;
export declare function scanParentDirs(destPath: string, readPackageJson?: boolean): Promise<ScanParentDirsResult>;
export declare function scanParentDirs(destPath: string, readPackageJson?: boolean, base?: string): Promise<ScanParentDirsResult>;
export declare function walkParentDirs({ base, start, filename, }: WalkParentDirsProps): Promise<string | null>;

@@ -81,0 +81,0 @@ export declare function runNpmInstall(destPath: string, args?: string[], spawnOpts?: SpawnOptions, meta?: Meta, nodeVersion?: NodeVersion): Promise<boolean>;

@@ -203,6 +203,6 @@ "use strict";

}
async function scanParentDirs(destPath, readPackageJson = false) {
async function scanParentDirs(destPath, readPackageJson = false, base = "/") {
(0, import_assert.default)(import_path.default.isAbsolute(destPath));
const pkgJsonPath = await walkParentDirs({
base: "/",
base,
start: destPath,

@@ -213,3 +213,3 @@ filename: "package.json"

const [yarnLockPath, npmLockPath, pnpmLockPath, bunLockPath] = await walkParentDirsMulti({
base: "/",
base,
start: destPath,

@@ -216,0 +216,0 @@ filenames: [

{
"name": "@vercel/build-utils",
"version": "7.8.0",
"version": "7.9.0",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc