Lit is a simple library for building fast, lightweight web components.
This report summarizes scanner evidence for lit/lit, a TypeScript project with 21,871 GitHub stars. SynthScan examined 222,088 lines of code across 1688 source files, recording 168 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 119 finding(s).
Are imports declared and package/API names verified? 49 finding(s).
Are wrappers, guards, and repeated structures necessary? 39 finding(s).
Which changes need focused human review? 168 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 168 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rollup-common.js | 101 | // Mangled names are uppercase letters, in case we ever might want to use | COMMENT |
| LOW | rollup-common.js | 321 | // consistently across modules, so that e.g. directive-helpers.js can safely | COMMENT |
| LOW | rollup-common.js | 421 | // | COMMENT |
| LOW | rollup-common.js | 501 | 'const ENABLE_EXTRA_SECURITY_HOOKS = true': | COMMENT |
| LOW | …s/labs/tsserver-plugin/src/lib/lit-language-service.ts | 201 | element: (element: Element) => { | COMMENT |
| LOW | packages/labs/ssr-client/src/lib/hydrate-lit-html.ts | 241 | // rendered in its place. | COMMENT |
| LOW | packages/labs/preact-signals/src/lib/watch.ts | 41 | protected override disconnected(): void { | COMMENT |
| LOW | packages/labs/preact-signals/src/lib/signal-watcher.ts | 41 | // We create a new effect to capture all signal access within the | COMMENT |
| LOW | packages/labs/signals/src/lib/signal-watcher.ts | 301 | override disconnectedCallback(): void { | COMMENT |
| LOW | packages/labs/ssr-dom-shim/src/index.ts | 421 | return attrs; | COMMENT |
| LOW | …s/labs/ssr-dom-shim/src/test/event-target-shim_test.ts | 281 | 'child:3/non-capture/AT_TARGET/child:3', | COMMENT |
| LOW | …ckages/labs/motion/src/test/animate_controller_test.ts | 21 | } | COMMENT |
| LOW | …ckages/labs/motion/src/test/animate_controller_test.ts | 41 | // const generateAnimateElement = ( | COMMENT |
| LOW | …ckages/labs/motion/src/test/animate_controller_test.ts | 61 | // top: 200px; | COMMENT |
| LOW | …ckages/labs/motion/src/test/animate_controller_test.ts | 81 | // Animate ${childTemplate?.()} | COMMENT |
| LOW | …ckages/labs/motion/src/test/animate_controller_test.ts | 101 | // }); | COMMENT |
| LOW | packages/labs/ssr/src/test/integration/tests/basic.ts | 841 | html: '<div>promise2</div>', | COMMENT |
| LOW | packages/labs/ssr/src/test/integration/tests/basic.ts | 861 | // { | COMMENT |
| LOW | packages/labs/ssr/src/test/integration/tests/basic.ts | 881 | // const iterable = new TestAsyncIterable(); | COMMENT |
| LOW | …ges/labs/ssr/src/test/test-files/render-test-module.ts | 521 | // Tests to do: | COMMENT |
| LOW | packages/labs/ssr/src/lib/render-value.ts | 801 | // different parts of the result separately: | COMMENT |
| LOW | packages/labs/ssr/src/lib/render-result-readable.ts | 41 | } | COMMENT |
| LOW | packages/labs/nextjs/src/index.ts | 61 | // - Next.js 16+ defaults to Turbopack for `next dev`/`next build`; the | COMMENT |
| LOW | packages/labs/nextjs/src/index.ts | 81 | }); | COMMENT |
| LOW | packages/labs/nextjs/src/index.ts | 201 | // `React.createElement` and Runtime JSX functions in the server and | COMMENT |
| LOW | …labs/observers/src/test/performance-controller_test.ts | 41 | await nextFrame(); | COMMENT |
| LOW | …/compiler/test_files/handle_deprecated_octal_escape.js | 1 | import {html} from 'lit'; | COMMENT |
| LOW | …er/test_files/handle_deprecated_octal_escape.golden.js | 1 | import { html } from 'lit'; | COMMENT |
| LOW | packages/labs/analyzer/src/lib/package-analyzer.ts | 61 | lib: ['es2021', 'DOM'], | COMMENT |
| LOW | packages/labs/analyzer/src/lib/javascript/classes.ts | 341 | // FYI we purposely restrict to identifiers since we represent mixins | COMMENT |
| LOW | packages/labs/eleventy-plugin-lit/src/index.ts | 141 | // TODO(aomarks) For better performance, we could re-use contexts between | COMMENT |
| LOW | …c/polyfills/resize-observer-polyfill/ResizeObserver.js | 481 | var vertPad = paddings.top + paddings.bottom; | COMMENT |
| LOW | …c/polyfills/resize-observer-polyfill/ResizeObserver.js | 501 | if (Math.round(height + vertPad) !== clientHeight) { | COMMENT |
| LOW | packages/labs/router/src/routes.ts | 161 | // TODO (justinfagnani): handle absolute vs relative paths separately. | COMMENT |
| LOW | …lize-tools/testdata/build-transform-xliff/input/foo.ts | 41 | // Lit template with two XLIFF placeholders (combined start tag + expression, | COMMENT |
| LOW | …ze-tools/testdata/build-transform-xliff/goldens/foo.ts | 41 | // Lit template with two XLIFF placeholders (combined start tag + expression, | COMMENT |
| LOW | …tdata/build-transform-xliff/goldens/tsout/zh_CN/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | …data/build-transform-xliff/goldens/tsout/es-419/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | …testdata/build-transform-xliff/goldens/tsout/en/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | …-tools/testdata/build-transform-xliff-std/input/foo.ts | 41 | // Lit template with two XLIFF placeholders (combined start tag + expression, | COMMENT |
| LOW | …ools/testdata/build-transform-xliff-std/goldens/foo.ts | 41 | // Lit template with two XLIFF placeholders (combined start tag + expression, | COMMENT |
| LOW | …a/build-transform-xliff-std/goldens/tsout/zh_CN/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | …/build-transform-xliff-std/goldens/tsout/es-419/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | …data/build-transform-xliff-std/goldens/tsout/en/foo.js | 21 | // Lit template with one XLIFF placeholder (combined start tag + expression + | COMMENT |
| LOW | packages/localize-tools/src/modes/transform.ts | 281 | // that we can always safely remove the '@lit/localize' module import. | COMMENT |
| LOW | packages/localize-tools/src/modes/runtime.ts | 201 | * Convert the contents of a message to a TypeScript string, possibly using lit | COMMENT |
| LOW | packages/lit-starter-js/web-test-runner.config.js | 21 | // const sauceLabsLauncher = createSauceLabsLauncher( | COMMENT |
| LOW | packages/lit-starter-js/web-test-runner.config.js | 41 | // const browserstackLauncher = (config) => createBrowserstackLauncher({ | COMMENT |
| LOW | packages/lit-starter-js/web-test-runner.config.js | 61 | // Uncomment example launchers for running on Sauce Labs | COMMENT |
| LOW | packages/lit-starter-ts/web-test-runner.config.js | 21 | // const sauceLabsLauncher = createSauceLabsLauncher( | COMMENT |
| LOW | packages/lit-starter-ts/web-test-runner.config.js | 41 | // const browserstackLauncher = (config) => createBrowserstackLauncher({ | COMMENT |
| LOW | packages/lit-starter-ts/web-test-runner.config.js | 61 | // Uncomment example launchers for running on Sauce Labs | COMMENT |
| LOW | packages/lit-html/src/lit-html.ts | 801 | type: ResultType | COMMENT |
| LOW | packages/lit-html/src/lit-html.ts | 1681 | COMMENT | |
| LOW | packages/lit-html/src/directives/repeat.ts | 101 | // indicator that the previous value came from a repeat() call. If | COMMENT |
| LOW | packages/lit-html/src/directives/repeat.ts | 121 | COMMENT | |
| LOW | packages/lit-html/src/directives/repeat.ts | 141 | // (and when needed, moving) old parts or creating new ones. | COMMENT |
| LOW | packages/lit-html/src/directives/repeat.ts | 161 | // the `newParts` list. The last thing we do is advance the | COMMENT |
| LOW | packages/lit-html/src/directives/repeat.ts | 181 | // & newTail | COMMENT |
| LOW | packages/lit-html/src/directives/repeat.ts | 201 | // newParts: [0, , , , , , 6] <- 5 not in new map: remove | COMMENT |
| 12 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/labs/motion/demo/hero.html | 371 | qui dolorem ipsum quia dolor sit amet, consectetur, adipisci | CODE |
| LOW | packages/labs/motion/demo/hero.html | 371 | qui dolorem ipsum quia dolor sit amet, consectetur, adipisci | CODE |
| LOW | packages/labs/ssr/src/lib/reflected-attributes.ts | 121 | ['placeholder', ['input', 'textarea']], | CODE |
| LOW⚡ | packages/labs/analyzer/test-files/js/classes/classes.js | 108 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | packages/labs/analyzer/test-files/js/classes/classes.js | 108 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | packages/labs/analyzer/test-files/js/classes/classes.js | 118 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | packages/labs/analyzer/test-files/js/classes/classes.js | 118 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …ges/labs/analyzer/test-files/ts/classes/src/classes.ts | 98 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …ges/labs/analyzer/test-files/ts/classes/src/classes.ts | 98 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …ges/labs/analyzer/test-files/ts/classes/src/classes.ts | 108 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …ges/labs/analyzer/test-files/ts/classes/src/classes.ts | 108 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …/analyzer/test-files/ts/vanilla-jsdoc/src/element-a.ts | 52 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …/analyzer/test-files/ts/vanilla-jsdoc/src/element-a.ts | 52 | * @description TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …/analyzer/test-files/ts/vanilla-jsdoc/src/element-a.ts | 62 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW⚡ | …/analyzer/test-files/ts/vanilla-jsdoc/src/element-a.ts | 62 | * UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | COMMENT |
| LOW | …bs/analyzer/src/test/server/javascript/classes_test.ts | 23 | `TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW | …bs/analyzer/src/test/server/javascript/classes_test.ts | 23 | `TaggedDescription description. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW | …bs/analyzer/src/test/server/javascript/classes_test.ts | 37 | `UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW | …bs/analyzer/src/test/server/javascript/classes_test.ts | 37 | `UntaggedDescription description. Lorem ipsum dolor sit amet, consectetur | CODE |
| LOW⚡ | packages/labs/eleventy-plugin-lit/demo/test.md | 10 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | packages/labs/eleventy-plugin-lit/demo/test.md | 10 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | packages/labs/eleventy-plugin-lit/demo/test.md | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW⚡ | packages/labs/eleventy-plugin-lit/demo/test.md | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 168 | "longText": "Esse ullamco veniam aliquip cillum aliqua veniam in consequat eu cupidatat. Ad amet reprehenderit sit a | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 652 | "longText": "Consequat laborum est irure eiusmod fugiat dolore fugiat do. Consequat occaecat deserunt non consectetu | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 1092 | "longText": "Qui cillum proident id irure quis sit. Sit nisi et fugiat amet exercitation eiusmod esse enim pariatur | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 1400 | "longText": "Ullamco veniam exercitation velit eu aute fugiat nisi dolor do. Deserunt culpa laboris ipsum cillum sun | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 2060 | "longText": "Anim voluptate consequat et deserunt. Officia culpa quis consequat et occaecat adipisicing commodo ipsu | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 3864 | "longText": "Excepteur voluptate irure proident enim nulla eiusmod anim enim nisi id et incididunt velit. Id anim ex | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 4326 | "longText": "Officia nulla cillum duis nostrud labore mollit eiusmod labore ut aliqua elit incididunt. Minim exercit | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 5909 | "mediumText": "Tempor sunt anim occaecat in irure occaecat enim cupidatat voluptate ex laboris enim. Exercitation fu | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 6372 | "longText": "Consectetur aute officia nisi sint ut enim consequat. Id culpa in velit tempor nulla officia culpa. Ips | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 6438 | "longText": "Amet veniam ex eiusmod ex nulla consequat nulla non duis officia. Reprehenderit esse laborum laboris ve | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 8021 | "mediumText": "Ullamco elit eu id excepteur incididunt Lorem ipsum pariatur laboris incididunt Lorem ullamco. Veniam | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 8154 | "longText": "Velit enim nostrud et ut elit nostrud laboris mollit. Pariatur sit sint proident officia ea sunt consec | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 8880 | "longText": "Ipsum ullamco commodo aliqua non consectetur culpa in. Et nulla nulla adipisicing sit sunt irure ea com | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 9012 | "longText": "Nulla pariatur in cupidatat qui fugiat. Id incididunt ad aute consequat velit anim ad velit fugiat labo | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 9342 | "longText": "Ullamco exercitation deserunt enim est ea. Ullamco irure ipsum dolore labore do nisi in minim occaecat | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 9430 | "longText": "Culpa ipsum irure eiusmod et ad esse cillum. In ipsum qui dolor dolor. Ex deserunt incididunt duis exer | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 9539 | "mediumText": "Lorem ipsum ipsum elit ad reprehenderit do culpa proident qui labore ea cillum tempor aute. Velit nis | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 9694 | "longText": "Ipsum non enim aliqua culpa velit enim deserunt proident laboris sunt. Sunt esse officia qui est ut ad | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 10111 | "mediumText": "Cupidatat officia duis do sunt veniam voluptate exercitation. Ea excepteur tempor magna fugiat Lorem | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 10112 | "longText": "Lorem ipsum culpa voluptate labore consectetur reprehenderit anim duis fugiat anim consequat tempor off | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 10244 | "longText": "Pariatur ea veniam fugiat officia incididunt aliquip occaecat commodo. Enim anim officia aliquip eu. Oc | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 10772 | "longText": "Lorem ea id veniam proident exercitation culpa dolor deserunt do cillum dolor ullamco cillum id. Esse s | CODE |
| LOW | …/labs/virtualizer/test/screenshot/shared/contacts.json | 10925 | "mediumText": "Fugiat pariatur in Lorem ipsum ex id. Ex commodo magna enim non ullamco nulla officia velit. Et et ip | CODE |
| LOW | packages/benchmarks/localize/fnv1a64/fnv1a64.html | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | packages/benchmarks/localize/fnv1a64/fnv1a64.html | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | playground/scripts/util.js | 15 | async function getModuleSpecifiersFromFile(filePath) { | CODE |
| LOW | playground/scripts/util.js | 43 | async function getBareModuleSpecifiersFromFile(filePath) { | CODE |
| LOW | playground/scripts/util.js | 49 | export async function getBareModuleSpecifiersFromDir(dir) { | CODE |
| LOW | …ver-plugin/src/lib/type-helpers/lit-expression-type.ts | 96 | function getRenderTypeFromDirectiveResult( | CODE |
| LOW | …ckages/labs/ssr/src/test/integration/tests/ssr-test.ts | 45 | export function isPartialHydrationExpectation( | CODE |
| LOW | packages/labs/ssr/src/lib/render-value.ts | 1081 | function throwErrorForPartIndexMismatch( | CODE |
| LOW | packages/labs/ssr/src/lib/render-value.ts | 1116 | function renderBooleanAttributePart( | CODE |
| LOW | …fy-html-literals/src/test/minify-html-literals.spec.ts | 339 | function renderWithStyleAndExpressions(color, size) { | CODE |
| LOW | …fy-html-literals/src/test/minify-html-literals.spec.ts | 358 | function renderWithStyleAndExpressions(color, size) { | CODE |
| LOW | …labs/virtualizer/src/support/resize-observer-errors.ts | 30 | export function setupIgnoreWindowResizeObserverLoopErrors( | CODE |
| LOW | …labs/virtualizer/src/support/resize-observer-errors.ts | 49 | export function isResizeObserverLoopErrorMessage(message: string): boolean { | CODE |
| LOW | …labs/virtualizer/src/support/resize-observer-errors.ts | 106 | export function ignoreWindowResizeObserverLoopErrors( | CODE |
| LOW | …labs/virtualizer/src/support/resize-observer-errors.ts | 117 | export function preventResizeObserverLoopErrorEventDefaults() { | CODE |
| LOW | …c/polyfills/resize-observer-polyfill/ResizeObserver.js | 246 | (function observeExistingShadowRoots(node) { | CODE |
| LOW | …c/polyfills/resize-observer-polyfill/ResizeObserver.js | 462 | function getHTMLElementContentRect(target) { | CODE |
| LOW | packages/localize-tools/src/program-analysis.ts | 25 | export function extractMessagesFromProgram(program: ts.Program): { | CODE |
| LOW | packages/localize-tools/src/program-analysis.ts | 404 | function replaceExpressionsAndHtmlWithPlaceholders( | CODE |
| LOW | packages/localize-tools/src/program-analysis.ts | 481 | function combineAdjacentPlaceholders( | CODE |
| LOW | packages/localize-tools/src/program-analysis.ts | 514 | function replaceHtmlWithPlaceholders( | CODE |
| LOW | packages/localize-tools/src/messages.ts | 125 | export function validateLocalizedPlaceholders( | CODE |
| LOW | packages/localize-tools/src/messages.ts | 196 | function normalizeExpressionInTemplateString(templateString: string): string { | CODE |
| LOW | packages/localize-tools/src/typescript.ts | 87 | export function escapeTextContentToEmbedInTemplateLiteral( | CODE |
| LOW | packages/localize-tools/src/typescript.ts | 104 | export function parseStringAsTemplateLiteral( | CODE |
| LOW | packages/localize-tools/src/config.ts | 27 | export function readConfigFileAndWriteSchema(configPath: string): Config { | CODE |
| LOW | packages/localize-tools/src/config.ts | 82 | function writeConfigSchemaIfMissing(config: ConfigFile, configPath: string) { | CODE |
| LOW | packages/localize-tools/src/formatters/xml-utils.ts | 12 | export function getOneElementByTagNameOrThrow( | CODE |
| LOW | packages/localize-tools/src/formatters/xml-utils.ts | 30 | export function getNonEmptyAttributeOrThrow( | CODE |
| LOW | packages/internal-scripts/src/add-browser-exports.ts | 133 | function optionallyAddBrowserExportCondition(exports: Exports): { | CODE |
| LOW | packages/tests/src/run-web-tests.ts | 68 | async function startWithNextAvailablePort() { | CODE |
| LOW | packages/localize/src/tests/runtime.test.ts | 366 | function assertEventLogEqualsAndFlush(expected: LocaleStatusEventDetail[]) { | CODE |
| LOW | packages/lit-html/src/async-directive.ts | 236 | function notifyChildPartConnectedChanged( | CODE |
| LOW⚡ | packages/lit-html/src/test/directive-helpers_test.ts | 129 | function acceptUncompiledTemplateResult(_v: UncompiledTemplateResult) {} | CODE |
| LOW⚡ | packages/lit-html/src/test/directive-helpers_test.ts | 131 | function acceptTemplateOrCompiledTemplateResult( | CODE |
| LOW⚡ | packages/lit-html/src/test/directive-helpers_test.ts | 140 | function acceptTemplateResultMathMl( | CODE |
| LOW | packages/ts-transformers/src/idiomatic-decorators.ts | 59 | export function idiomaticDecoratorsTransformer( | CODE |
| LOW | packages/ts-transformers/src/preserve-blank-lines.ts | 62 | export function preserveBlankLinesTransformer(): ts.TransformerFactory<ts.SourceFile> { | CODE |
| LOW | packages/ts-transformers/src/constructor-cleanup.ts | 32 | export function constructorCleanupTransformer( | CODE |
| LOW | …kages/ts-transformers/src/tests/compile-ts-fragment.ts | 78 | export function createTsProgramFromFragment( | CODE |
| LOW | packages/ts-transformers/src/internal/util.ts | 61 | function getSuperClassTypeExpression( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/labs/analyzer/src/lib/javascript/jsdoc.ts | 219 | // from `ts.forEachChild` is more robust than `sourceFile.getChildAt(0)`, | COMMENT |
| MEDIUM | …c/polyfills/resize-observer-polyfill/ResizeObserver.js | 484 | // be possible to utilize the getBoundingClientRect if only it's data wasn't | COMMENT |
| MEDIUM | packages/lit-html/src/lit-html.ts | 390 | // Note that the regexes are stateful. We utilize lastIndex and sync it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/lit-html/src/async-directive.ts | 134 | * @return True if there were children to disconnect; false otherwise | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/labs/ssr-dom-shim/src/index.ts | 98 | * This is a basic implementation of an EventTarget. | COMMENT |
| LOW | packages/lit-html/scripts/check-version-tracker.js | 18 | `Don't forget to update the version tracker string before release!` | CODE |
| LOW | …ages/reactive-element/scripts/check-version-tracker.js | 20 | `Don't forget to update the version tracker string before release!` | CODE |
| LOW | packages/lit-element/scripts/check-version-tracker.js | 20 | `Don't forget to update the version tracker string before release!` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/labs/router/CHANGELOG.md | 79 | - [#2330](https://github.com/lit/lit/pull/2330) [`0cafad5a`](https://github.com/lit/lit/commit/0cafad5a19a74d8814069e539 | CODE |