chore(sites): update deps (#8752)

* Push

* Fix Ts 5.1 type generation error
pull/8755/head
Puru Vijay 2 years ago committed by GitHub
parent ae38d6425e
commit aec4137d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

File diff suppressed because it is too large Load Diff

@ -17,7 +17,7 @@
},
"dependencies": {
"@jridgewell/sourcemap-codec": "^1.4.15",
"@supabase/supabase-js": "^2.24.0",
"@supabase/supabase-js": "^2.25.0",
"@sveltejs/repl": "0.5.0-next.4",
"cookie": "^0.5.0",
"devalue": "^4.3.2",
@ -27,23 +27,23 @@
},
"devDependencies": {
"@resvg/resvg-js": "^2.4.1",
"@sveltejs/adapter-vercel": "^3.0.0",
"@sveltejs/kit": "^1.20.0",
"@sveltejs/site-kit": "6.0.0-next.4",
"@sveltejs/adapter-vercel": "^3.0.1",
"@sveltejs/kit": "^1.20.4",
"@sveltejs/site-kit": "6.0.0-next.5",
"@sveltejs/vite-plugin-svelte": "^2.4.1",
"@types/marked": "^5.0.0",
"@types/node": "^20.2.6",
"@types/node": "^20.3.1",
"@types/prettier": "^2.7.3",
"degit": "^2.8.4",
"dotenv": "^16.1.4",
"dotenv": "^16.3.0",
"jimp": "^0.22.8",
"magic-string": "^0.30.0",
"marked": "^5.1.0",
"node-fetch": "^3.3.1",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"sass": "^1.62.1",
"satori": "^0.9.1",
"sass": "^1.63.4",
"satori": "^0.10.1",
"satori-html": "^0.3.2",
"shelljs": "^0.8.5",
"shiki": "^0.14.2",
@ -52,8 +52,8 @@
"svelte-check": "^3.4.3",
"svelte-preprocess": "^5.0.4",
"tiny-glob": "^0.2.9",
"typescript": "^5.0.4",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-imagetools": "^5.0.4"
}
}
}

@ -31,7 +31,10 @@ function get_types(code, statements) {
for (const statement of statements) {
const modifiers = ts.canHaveModifiers(statement) ? ts.getModifiers(statement) : undefined;
const export_modifier = modifiers?.find((modifier) => modifier.kind === 93);
const export_modifier = modifiers?.find(
(modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword
);
if (!export_modifier) continue;
if (

@ -1,18 +0,0 @@
import { DocsMobileNav } from '@sveltejs/site-kit/docs';
export const load = async ({ data, parent }) => {
const contents = await parent();
return {
mobile_nav_start: {
label: 'Contents',
icon: 'contents',
component: DocsMobileNav,
props: {
contents: contents.sections,
pageContents: data.page
}
},
...data
};
};
Loading…
Cancel
Save