Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
No EOL
407 B
Text
10 lines
No EOL
407 B
Text
export const minNodeVersion = 10;
|
|
/**
|
|
* @hidden
|
|
*/
|
|
export const parseVersion = (version) => {
|
|
const [, major, minor, patch] = /^v([0-9]+)\.([0-9]+)\.([0-9]+)/.exec(version) || [];
|
|
return { major: Number(major), minor: Number(minor), patch: Number(patch) };
|
|
};
|
|
export const compareVersion = (a, b) => a.major - b.major || a.minor - b.minor || a.patch - b.patch;
|
|
//# sourceMappingURL=versions.js.map |