kit icon indicating copy to clipboard operation
kit copied to clipboard

web development, streamlined

Results 1158 kit issues
Sort by recently updated
recently updated
newest added

Ways that types in SvelteKit apps could be improved: ## Implicit `params` and `props` for `load` functions (update: done) ```svelte /** @type {import('@sveltejs/kit').Load */ export async function load({ params, fetch...

feature request
types / typescript

### Describe the bug I'm building my own adapter with typescript, and I use `tsc -b` to build it. Since the new routing change, I get a type error when...

enhancement

### Describe the problem When doing a client-side `__data.json` request, errors thrown with the `error` helper function inside `hooks.server.ts` , will not return the correct error object. It works as...

enhancement
low hanging fruit

### Describe the bug I was trying to create a custom error page for route /tee. But creating the +error.svelte file inside this directory doesn't solve the problem even though...

documentation

### Describe the problem I've now twice gotten burned by using the "wrong" fetch in my loaders. Running fetch("/api/my-endpoint") with the global fetch that's in scope will puke, since "/api/my-endpoint"...

enhancement
low hanging fruit

### Describe the bug Single-quotes are missing in the header for the CSP directive `require-trusted-types-for`. When configuring CSP for `require-trusted-types-for: ['script']`, the output looks like `require-trusted-types-for script`. It is thus...

bug
low hanging fruit

### Describe the problem One of the recommendations by https://csp-evaluator.withgoogle.com regarding `script-src` is the following: > Consider adding 'unsafe-inline' (ignored by browsers supporting nonces/hashes) to be backward compatible with older...

bug
enhancement

### Describe the bug A `SvelteKit` application makes a request to `__data/json` even when no actual `load` function gets exported inside `+page.server.js`. I would expect that no unnecessary request gets...

enhancement

### Describe the bug `import.meta.env` is undefined after upgrading to v432, causing vitest to fail. ### Reproduction PR of the upgrade branch. Only contains changes for the upgrade. - https://github.com/mermaid-js/mermaid-live-editor/pull/983...

bug
p1-important

### Describe the bug Shouldn't invalidate(url) work for urls that are fetched in both: shared and server load functions? currently it's only working using depends but not when using fetch....

bug