securityos/node_modules/next/dist/lib/patch-incorrect-lockfile.d.ts

9 lines
364 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import '../server/node-polyfill-fetch';
/**
* Attempts to patch npm package-lock.json when it
* fails to include optionalDependencies for other platforms
* this can occur when the package-lock is rebuilt from a current
* node_modules install instead of pulling fresh package data
*/
export declare function patchIncorrectLockfile(dir: string): Promise<void>;