web development for the rest of us
37 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packages/svelte/tests/hydration/test.ts | 85 | // TODO convert this to structured data, for more robust comparison? |
| MEDIUM | packages/svelte/tests/runtime-legacy/shared.ts | 300 | // TODO convert this to structured data, for more robust comparison? |
| MEDIUM | …ckages/svelte/src/compiler/phases/3-transform/index.js | 40 | // include source content; makes it easier/more robust looking up the source map code |
| MEDIUM | …ckages/svelte/src/compiler/phases/3-transform/index.js | 99 | // include source content; makes it easier/more robust looking up the source map code |
| MEDIUM | …es/svelte/src/compiler/phases/3-transform/css/index.js | 57 | // include source content; makes it easier/more robust looking up the source map code |
| MEDIUM | …c/compiler/phases/2-analyze/visitors/DeclarationTag.js | 49 | // TODO 6.0 once non-async and non-runes mode is gone investigate making this more robust |
| MEDIUM | …/compiler/phases/2-analyze/visitors/AwaitExpression.js | 68 | // @ts-expect-error we could probably use a neater/more robust mechanism |
| MEDIUM | …/compiler/phases/2-analyze/visitors/AwaitExpression.js | 92 | // @ts-expect-error we could probably use a neater/more robust mechanism |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …src/compiler/phases/2-analyze/visitors/SnippetBlock.js | 37 | context.state.analysis.module.scope.declarations.set(name, binding); |
| CRITICAL | …velte/src/compiler/phases/2-analyze/css/css-analyze.js | 133 | const parent_is_global = node.metadata.rule.metadata.parent_rule.prelude.children.some( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | documentation/docs/07-misc/06-v4-migration-guide.md | 201 | |
| LOW | packages/svelte/elements.d.ts | 1 | // Type definitions for Svelte HTML, based on JSX React 18 typings |
| LOW | packages/svelte/elements.d.ts | 21 | // Saransh Kataria <https://github.com/saranshkataria> |
| LOW | …time-runes/samples/async-overlap-multiple-7/_config.js | 81 | a 1 | b 2 | c 1 | d 3 |
| LOW | …time-runes/samples/async-overlap-multiple-7/_config.js | 101 | // ); |
| LOW | …time-runes/samples/async-overlap-multiple-7/_config.js | 121 | // a 1 | b 2 | c 1 | d 3 |
| LOW | …time-runes/samples/async-overlap-multiple-5/_config.js | 81 | // assert.htmlEqual( |
| LOW | …time-runes/samples/async-overlap-multiple-5/_config.js | 101 | // <button>pop</button> |
| LOW | …elte/tests/css/samples/unicode-identifier/expected.css | 21 | #\31 .svelte-xyz span:where(.svelte-xyz) { color: green; } |
| LOW | …s/runtime-legacy/samples/sigil-static-hash/main.svelte | 1 | #foo |
| LOW | packages/svelte/scripts/generate-browser-support.ts | 1 | // Regenerates `documentation/docs/07-misc/05-browser-support.md`. |
| LOW | packages/svelte/scripts/generate-browser-support.ts | 61 | // `CSSStyleDeclaration` until v126 (May 2024) — pre-126 the read |
| LOW | …/svelte/src/internal/client/dom/elements/attributes.js | 341 | // and this wouldn't be reached in case of undefined because of the equality check below |
| LOW | packages/svelte/src/reactivity/media-query.js | 1 | import { on } from '../events/index.js'; |
| LOW | packages/svelte/src/compiler/migrate/index.js | 601 | nr_of_props++; |
| LOW | …compiler/phases/3-transform/client/visitors/IfBlock.js | 81 | b.arrow([b.id('$$render')], first_if ? b.block([first_if]) : b.block([])) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …phases/3-transform/server/visitors/shared/component.js | 112 | // Bindings are a bit special: we don't want to add them to (async) deriveds but we need to check if they have blocke |
| LOW | …r/phases/3-transform/client/visitors/RegularElement.js | 420 | // after the element has been hydrated. We need to check if any child |
| LOW | …phases/3-transform/client/visitors/shared/component.js | 204 | // Bindings are a bit special: we don't want to add them to (async) deriveds but we need to check if they have blocke |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ests/runtime-runes/samples/class-state-raw/main.svelte | 4 | function someLibFunctionCreatingFroozenObject(value) { |
| LOW | …ests/runtime-runes/samples/class-state-raw/main.svelte | 12 | function someLibFunctionReturningInner(wrapped) { |
| LOW | …/samples/proxy-coercive-assignment-warning/Test.svelte | 8 | export function soThatTestReturnsAnObject() { |
| LOW | …-legacy/samples/dynamic-element-animation-2/_config.js | 47 | function fakeGetBoundingClientRect() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/svelte/types/index.d.ts | 386 | * async function getData(id) { |
| LOW | packages/svelte/src/index-client.js | 57 | * async function getData(id) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …runtime-runes/samples/derived-dependencies/main.svelte | 4 | author: 'John Doe', |
| LOW | …runtime-runes/samples/derived-dependencies/main.svelte | 23 | author: 'John Doe', |