Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
/**
|
|
* Parses input into a SemVer interface
|
|
* @param {string} input - string representation of a semver version
|
|
* @returns {SemVer}
|
|
*/
|
|
export function parseSemver(input: string): SemVer;
|
|
/**
|
|
* Returns the version of Next.js installed in the project, or undefined if it cannot be determined.
|
|
* @returns {SemVer | undefined}
|
|
*/
|
|
export function getNextjsVersion(): SemVer | undefined;
|
|
/**
|
|
* Checks if the current Next.js version supports Turbopack externalize transitive dependencies.
|
|
* This was introduced in Next.js v16.1.0-canary.3
|
|
* @param {SemVer | undefined} version
|
|
* @returns {boolean}
|
|
*/
|
|
export function supportsTurbopackExternalizeTransitiveDependencies(version: SemVer | undefined): boolean;
|
|
/**
|
|
* Represents Semantic Versioning object
|
|
*/
|
|
export type SemVer = {
|
|
buildmetadata?: string;
|
|
/**
|
|
* - undefined if not a canary version
|
|
*/
|
|
canaryVersion?: number;
|
|
major?: number;
|
|
minor?: number;
|
|
patch?: number;
|
|
prerelease?: string;
|
|
};
|
|
//# sourceMappingURL=withPayload.utils.d.ts.map |