0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

[ci] format

This commit is contained in:
Jacob Lamb 2024-04-03 06:04:18 +00:00 committed by astrobot-houston
parent a9a3694a98
commit 6599b93f0d

View file

@ -59,9 +59,12 @@ const ISR_PATH = `/_isr?${ASTRO_PATH_PARAM}=$0`;
// https://vercel.com/docs/concepts/functions/serverless-functions/runtimes/node-js#node.js-version
const SUPPORTED_NODE_VERSIONS: Record<
string,
{ status: 'default' } | { status: 'beta' } | { status: 'retiring'; removal: Date | string; warnDate: Date } | { status: 'deprecated'; removal: Date }
| { status: 'default' }
| { status: 'beta' }
| { status: 'retiring'; removal: Date | string; warnDate: Date }
| { status: 'deprecated'; removal: Date }
> = {
18: { status: 'retiring', removal: "Early 2025", warnDate: new Date('October 1 2024') },
18: { status: 'retiring', removal: 'Early 2025', warnDate: new Date('October 1 2024') },
20: { status: 'default' },
};