React-based framework with performance, scalability, and security built in.
This report summarizes scanner evidence for gatsbyjs/gatsby, a JavaScript project with 55,921 GitHub stars. SynthScan examined 600,741 lines of code across 5435 source files, recording 570 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 417 finding(s).
Are imports declared and package/API names verified? 153 finding(s).
Are wrappers, guards, and repeated structures necessary? 277 finding(s).
Which changes need focused human review? 570 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 570 distinct pattern matches across 15 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 | integration-tests/artifacts/__tests__/index.js | 19 | function runGatsbyWithRunTestSetup(runNumber = 1) { | CODE |
| LOW | integration-tests/artifacts/__tests__/index.js | 121 | function assertFileExistenceForPagePaths({ pagePaths, type, shouldExist }) { | CODE |
| LOW | integration-tests/artifacts/__tests__/index.js | 141 | function assertWebpackBundleChanges({ browser, ssr, runNumber }) { | CODE |
| LOW | …artifacts/src/templates/deps-page-query-alternative.js | 4 | export default function DepPageQueryAlternativePage({ data }) { | CODE |
| LOW | integration-tests/artifacts/src/pages/react-lazy.js | 7 | export default function PageUsingReactLazyComponent() { | CODE |
| LOW | …egration-tests/artifacts/src/pages/extension-change.js | 4 | export default function PageThatIsImportingFileWithoutSpecyfingExtension() { | CODE |
| LOW | …/artifacts/src/pages/dynamic-imports-magic-comments.js | 15 | export default function DynamicImportsWithWebpackMagicComments() { | CODE |
| LOW | …ages/static-query-result-tracking/should-invalidate.js | 4 | export default function DepStaticQueryPageShouldInvalidate() { | CODE |
| LOW | …-result-tracking/rerun-query-but-dont-recreate-html.js | 4 | export default function DepStaticQueryPageRerunQueryButDontRecreateHtml() { | CODE |
| LOW | integration-tests/ssr/src/pages/head-function-export.js | 3 | export default function PageWithHeadFunctionExport() { | CODE |
| LOW | …nctions/src/api/config/body-parser-urlencoded-limit.js | 3 | export default function bodyParserUrlUncodedLimit(req, res) { | CODE |
| LOW | …c/pages/head-function-export/static-query-component.js | 4 | export default function HeadFunctionExportStaticQueryComponent() { | CODE |
| LOW | …export/src/pages/head-function-export/deduplication.js | 3 | export default function HeadFunctionDeduplication() { | CODE |
| LOW | …on-export/src/pages/head-function-export/page-query.js | 5 | export default function HeadFunctionExportPageQuery() { | CODE |
| LOW | …src/pages/head-function-export/re-exported-function.js | 5 | export default function HeadFunctionExportReExported() { | CODE |
| LOW | …pages/head-function-export/html-and-body-attributes.js | 3 | export default function HeadFunctionHtmlAndBodyAttributes() { | CODE |
| LOW | …ocs/reference/release-notes/migrating-from-v2-to-v3.md | 785 | exports.createSchemaCustomization = function createSchemaCustomization({ actions }) { | CODE |
| LOW | docs/docs/reference/release-notes/v3.0/index.md | 141 | exports.createSchemaCustomization = function createSchemaCustomization({ actions }) { | CODE |
| LOW | e2e-tests/mdx/src/pages/frontmatter-graphql-query.js | 4 | export default function PageRunningGraphqlResolversOnJSFrontmatterTestInputs({ | CODE |
| LOW | e2e-tests/contentful/cypress/integration/rich-text.js | 8 | function testWithGatsbyPluginImage(elem) { | CODE |
| LOW | e2e-tests/contentful/src/pages/content-reference.js | 9 | function renderReferencedComponent(ref) { | CODE |
| LOW | e2e-tests/contentful/src/pages/rich-text.js | 13 | function renderReferencedComponent(ref) { | CODE |
| LOW | …-tests/production-runtime/src/utils/instrument-page.js | 4 | return function WithInstrumentPageComponent({ ...props }) { | CODE |
| LOW | …on-runtime/src/pages/gatsby-script-ssr-browser-apis.js | 6 | function ScriptsFromSSRAndBrowserAPIs() { | CODE |
| LOW | …c/pages/head-function-export/static-query-component.js | 4 | export default function HeadFunctionExportStaticQueryComponent() { | CODE |
| LOW | …function-export/{HeadFunctionExportFsRouteApi.slug}.js | 3 | export default function HeadFunctionExportFsRouteApi() { | CODE |
| LOW | …untime/src/pages/head-function-export/deduplication.js | 3 | export default function HeadFunctionDeduplication() { | CODE |
| LOW | …rc/pages/head-function-export/page-with-uselocation.js | 4 | export default function HeadFunctionExportWithUseLocation() { | CODE |
| LOW | …n-runtime/src/pages/head-function-export/page-query.js | 5 | export default function HeadFunctionExportPageQuery() { | CODE |
| LOW | …src/pages/head-function-export/re-exported-function.js | 5 | export default function HeadFunctionExportReExported() { | CODE |
| LOW | …ime/src/pages/head-function-export/invalid-elements.js | 4 | export default function HeadFunctionExportInvalidElements() { | CODE |
| LOW | …pages/head-function-export/html-and-body-attributes.js | 3 | export default function HeadFunctionHtmlAndBodyAttributes() { | CODE |
| LOW | e2e-tests/adapters/gatsby-node.ts | 122 | function createSchemaCustomization({ actions, schema, store }) { | CODE |
| LOW | …cypress/integration/functionality/query-data-caches.js | 56 | function setupForAssertingNotReloading() { | CODE |
| LOW | …cypress/integration/functionality/query-data-caches.js | 80 | function pageTitleAndDataAssertion(config) { | CODE |
| LOW | …ponents/query-data-caches/adding-static-query-blank.js | 1 | export function useDataForAddingStaticQueryTest() { | CODE |
| LOW | …nts/query-data-caches/adding-static-query-with-data.js | 3 | export function useDataForAddingStaticQueryTest() { | CODE |
| LOW | …nt-runtime/src/pages/gatsby-script-ssr-browser-apis.js | 6 | function ScriptsFromSSRAndBrowserAPIs() { | CODE |
| LOW | …ent-runtime/src/pages/head-function-export/warnings.js | 3 | export default function HeadFunctionExportWarnings() { | CODE |
| LOW | …c/pages/head-function-export/static-query-component.js | 4 | export default function HeadFunctionExportStaticQueryComponent() { | CODE |
| LOW | …function-export/{HeadFunctionExportFsRouteApi.slug}.js | 3 | export default function HeadFunctionExportFsRouteApi(props) { | CODE |
| LOW | …untime/src/pages/head-function-export/deduplication.js | 3 | export default function HeadFunctionDeduplication() { | CODE |
| LOW | …t-runtime/src/pages/head-function-export/page-query.js | 5 | export default function HeadFunctionExportPageQuery() { | CODE |
| LOW | …src/pages/head-function-export/re-exported-function.js | 5 | export default function HeadFunctionExportReExported() { | CODE |
| LOW | …ime/src/pages/head-function-export/invalid-elements.js | 4 | export default function HeadFunctionExportInvalidElements() { | CODE |
| LOW | …pages/head-function-export/html-and-body-attributes.js | 3 | export default function HeadFunctionHtmlAndBodyAttributes() { | CODE |
| LOW | …uery-with-trailing-slash-A-to-B-to-A-history/page-A.js | 5 | export default function PageQueryWithTrailingSlashAtoBtoAHistoryPageA({ | CODE |
| LOW | …uery-with-trailing-slash-A-to-B-to-A-history/page-B.js | 5 | export default function PageQueryWithTrailingSlashAtoBtoAHistoryPageB({ | CODE |
| LOW | …e-query-with-trailing-slash-A-to-B-to-A-link/page-A.js | 5 | export default function PageQueryWithTrailingSlashAtoBtoALinkPageA({ | CODE |
| LOW | …e-query-with-trailing-slash-A-to-B-to-A-link/page-B.js | 5 | export default function PageQueryWithTrailingSlashAtoBtoALinkPageB({ | CODE |
| LOW | …c-query-with-trailing-slash-A-to-B-to-A-link/page-A.js | 5 | export default function StaticQueryWithTrailingSlashAtoBtoALinkPageA({ path }) { | CODE |
| LOW | …c-query-with-trailing-slash-A-to-B-to-A-link/page-B.js | 5 | export default function StaticQueryWithTrailingSlashAtoBtoALinkPageB({ path }) { | CODE |
| LOW | …age-query-no-trailing-slash-A-to-B-to-A-link/page-A.js | 5 | export default function PageQueryNoTrailingSlashAtoBtoALinkPageA({ | CODE |
| LOW | …age-query-no-trailing-slash-A-to-B-to-A-link/page-B.js | 5 | export default function PageQueryNoTrailingSlashAtoBtoALinkPageB({ | CODE |
| LOW | …es/static-query-CO-to-B-to-CO-history/[client-only].js | 5 | export default function StaticQueryCOtoBtoCOHistoryPageA({ path }) { | CODE |
| LOW | …ta-caches/static-query-CO-to-B-to-CO-history/page-B.js | 5 | export default function StaticQueryCOtoBtoCOHistoryPageB({ path }) { | CODE |
| LOW | …-caches/page-query-CO-to-B-to-CO-link/[client-only].js | 5 | export default function PageQueryCOtoBtoCOLinkPageA({ data, path }) { | CODE |
| LOW | …ry-data-caches/page-query-CO-to-B-to-CO-link/page-B.js | 5 | export default function PageQueryCOtoBtoCOLinkPageB({ data, path }) { | CODE |
| LOW | …aches/static-query-CO-to-B-to-CO-link/[client-only].js | 5 | export default function StaticQueryCOtoBtoCOLinkPageA({ path }) { | CODE |
| LOW | …-data-caches/static-query-CO-to-B-to-CO-link/page-B.js | 5 | export default function StaticQueryCOtoBtoCOLinkPageB({ path }) { | CODE |
| 217 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | starters/blog/content/blog/new-beginnings/index.md | 45 | name of Lorem Ipsum decided to leave for the far World of Grammar. | CODE |
| LOW | starters/blog/content/blog/new-beginnings/index.md | 87 | name of Lorem Ipsum decided to leave for the far World of Grammar. The Big Oxmox | CODE |
| LOW⚡ | starters/blog/content/blog/hello-world/index.md | 90 | > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, v | CODE |
| LOW⚡ | starters/blog/content/blog/hello-world/index.md | 90 | > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wisi, v | CODE |
| LOW⚡ | starters/blog/content/blog/hello-world/index.md | 92 | > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wis | CODE |
| LOW⚡ | starters/blog/content/blog/hello-world/index.md | 92 | > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus. Vestibulum enim wis | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 151 | title: "What is Lorem Ipsum?", | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 153 | "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's st | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 162 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 170 | content: `Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical La | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 170 | content: `Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical La | CODE |
| LOW⚡ | integration-tests/artifacts/gatsby-node.js | 172 | The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 an | CODE |
| LOW | integration-tests/structured-logging/gatsby-node.js | 85 | field: `Lorem Ipsum`, | CODE |
| LOW | integration-tests/structured-logging/__tests__/to-do.js | 461 | field: `Dolor sit amet`, | CODE |
| LOW | docs/docs/sourcing-from-graphcms.md | 106 | "markdown": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quid ergo? Huius ego nunc auctoritatem | CODE |
| LOW | docs/docs/sourcing-from-graphcms.md | 106 | "markdown": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quid ergo? Huius ego nunc auctoritatem | CODE |
| LOW | docs/docs/sourcing-from-graphcms.md | 118 | "markdown": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Id enim natura desiderat. Falli igitur | CODE |
| LOW | docs/docs/sourcing-from-graphcms.md | 118 | "markdown": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Id enim natura desiderat. Falli igitur | CODE |
| LOW⚡ | …ocs/how-to/sourcing-data/sourcing-from-json-or-yaml.md | 157 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | CODE |
| LOW⚡ | …ocs/how-to/sourcing-data/sourcing-from-json-or-yaml.md | 157 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod | CODE |
| LOW⚡ | …ocs/how-to/sourcing-data/sourcing-from-json-or-yaml.md | 167 | - item: Cupcake ipsum dolor sit amet tootsie roll sesame snaps chupa chups. | CODE |
| LOW | …ocs/how-to/sourcing-data/sourcing-from-json-or-yaml.md | 182 | Lorem ipsum dolor amet mustache knausgaard +1, blue bottle waistcoat tbh | CODE |
| LOW⚡ | docs/docs/how-to/styling/emotion.md | 108 | username="Jane Doe" | CODE |
| LOW⚡ | docs/docs/how-to/styling/emotion.md | 110 | excerpt="I'm Jane Doe. Lorem ipsum dolor sit amet, consectetur adipisicing elit." | CODE |
| LOW⚡ | docs/docs/how-to/styling/emotion.md | 110 | excerpt="I'm Jane Doe. Lorem ipsum dolor sit amet, consectetur adipisicing elit." | CODE |
| LOW⚡ | docs/docs/how-to/styling/emotion.md | 115 | excerpt="I'm Bob smith, a vertically aligned type of guy. Lorem ipsum dolor sit amet, consectetur adipisicing el | CODE |
| LOW⚡ | docs/docs/how-to/styling/emotion.md | 115 | excerpt="I'm Bob smith, a vertically aligned type of guy. Lorem ipsum dolor sit amet, consectetur adipisicing el | CODE |
| LOW⚡ | docs/docs/how-to/styling/styled-components.md | 106 | username="Jane Doe" | CODE |
| LOW⚡ | docs/docs/how-to/styling/styled-components.md | 108 | excerpt="I'm Jane Doe. Lorem ipsum dolor sit amet, consectetur adipisicing elit." | CODE |
| LOW⚡ | docs/docs/how-to/styling/styled-components.md | 108 | excerpt="I'm Jane Doe. Lorem ipsum dolor sit amet, consectetur adipisicing elit." | CODE |
| LOW⚡ | docs/docs/how-to/styling/styled-components.md | 113 | excerpt="I'm Bob smith, a vertically aligned type of guy. Lorem ipsum dolor sit amet, consectetur adipisicing el | CODE |
| LOW⚡ | docs/docs/how-to/styling/styled-components.md | 113 | excerpt="I'm Bob smith, a vertically aligned type of guy. Lorem ipsum dolor sit amet, consectetur adipisicing el | CODE |
| LOW | …to/plugins-and-themes/creating-a-transformer-plugin.md | 145 | "id": "Jane Doe", | CODE |
| LOW | …to/plugins-and-themes/creating-a-transformer-plugin.md | 284 | "name": "Jane Doe", | CODE |
| LOW | e2e-tests/production-runtime/shared-data/slices.js | 6 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at | CODE |
| LOW | e2e-tests/production-runtime/shared-data/slices.js | 13 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at | CODE |
| LOW | e2e-tests/development-runtime/package.json | 49 | "update:preview": "curl -X POST -d \"{ \\\"fake-data-update\\\": true }\" -H \"Content-Type: application/json\" http | CODE |
| LOW | e2e-tests/development-runtime/gatsby-config.js | 43 | `gatsby-source-fake-data`, | CODE |
| LOW | e2e-tests/development-runtime/shared-data/slices.js | 6 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at | CODE |
| LOW | e2e-tests/development-runtime/shared-data/slices.js | 13 | "It is a long established fact that a reader will be distracted by the readable content of a page when looking at | CODE |
| LOW | …press/integration/gatsby-preview/base-functionality.js | 8 | cy.get(`ul#fake-data`).its(`length`).should(`equal`, 1) | CODE |
| LOW | …press/integration/gatsby-preview/base-functionality.js | 12 | cy.get(`#fake-data li`).should(`have.text`, `Hello World (1)`) | CODE |
| LOW | …runtime/cypress/integration/gatsby-preview/updating.js | 16 | cy.get(`#fake-data li:eq(0) a`).click().waitForRouteChange() | CODE |
| LOW | …runtime/cypress/integration/gatsby-preview/updating.js | 24 | cy.get(`#fake-data li:eq(0) a`).click().waitForRouteChange() | CODE |
| LOW⚡ | …runtime/cypress/integration/gatsby-preview/updating.js | 35 | cy.get(`#fake-data li`).should(`have.length`, count + 1) | CODE |
| LOW⚡ | …runtime/cypress/integration/gatsby-preview/updating.js | 43 | cy.get(`#fake-data li`).should(`have.length`, 1) | CODE |
| LOW⚡ | …runtime/cypress/integration/gatsby-preview/updating.js | 49 | cy.get(`#fake-data`) | CODE |
| LOW⚡ | …ntime/cypress/integration/gatsby-preview/refreshing.js | 14 | cy.get(`#fake-data li`).should(`have.length`, 1) | CODE |
| LOW⚡ | …ntime/cypress/integration/gatsby-preview/refreshing.js | 22 | cy.get(`#fake-data li`).should(`have.length`, 1) | CODE |
| LOW⚡ | …ntime/cypress/integration/gatsby-preview/refreshing.js | 30 | cy.get(`#fake-data li`).should(`have.length`, 1) | CODE |
| LOW⚡ | …ntime/cypress/integration/gatsby-preview/refreshing.js | 32 | cy.exec(`npm run update:cms-webhook gatsby-source-fake-data`) | CODE |
| LOW⚡ | …ntime/cypress/integration/gatsby-preview/refreshing.js | 36 | cy.get(`#fake-data li`).should(`have.length`, 2) | CODE |
| LOW | …sts/development-runtime/cypress/utils/gatsby-config.ts | 21 | `\`gatsby-source-fake-data\`, | CODE |
| LOW | …sts/development-runtime/cypress/utils/gatsby-config.ts | 26 | \`gatsby-source-fake-data\`,` | CODE |
| LOW | …t-runtime/plugins/gatsby-source-fake-data/package.json | 2 | "name": "gatsby-source-fake-data" | CODE |
| LOW | …runtime/plugins/gatsby-source-fake-data/gatsby-node.js | 34 | if (!(webhookBody && webhookBody[`fake-data-update`])) { | CODE |
| LOW | …lopment-runtime/plugins/gatsby-source-fake-data/api.js | 30 | id: createNodeId(`fake-data-${data.uuid}`), | CODE |
| LOW | …runtime/plugins/gatsby-source-pinc-data/gatsby-node.js | 34 | if (!(webhookBody && webhookBody[`fake-data-update`])) { | CODE |
| LOW | …-runtime/src/components/static-query/variable-query.js | 21 | sitePlugin(name: { eq: "gatsby-source-fake-data" }) { | CODE |
| LOW | e2e-tests/development-runtime/src/pages/preview.js | 10 | <ul id="fake-data"> | CODE |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …egration/hot-reloading/error-handling/runtime-error.js | 22 | const errorReplacement = `window.a.b.c.d.e.f.g()` | CODE |
| CRITICAL | examples/using-asciidoc/src/pages/index.js | 11 | {this.props.data.allAsciidoc.edges.map(({ node }) => ( | CODE |
| CRITICAL | packages/gatsby-source-hacker-news/src/gatsby-node.js | 102 | result.data.data.hn.topStories.forEach((story, i) => { | CODE |
| CRITICAL | …/src/internal-plugins/dev-404-page/raw_dev-404-page.js | 192 | {this.props.data.allSiteFunction.nodes.map(node => { | CODE |
| CRITICAL | packages/gatsby-cli/src/handlers/plugin-babel-utils.ts | 194 | const plugins = pluginNodes.value.callee.object.elements.map(getPlugin) | CODE |
| CRITICAL | packages/gatsby-cli/src/handlers/plugin-babel-utils.ts | 210 | pluginNodes.value.callee.object.elements.push(pluginNode) | CODE |
| CRITICAL | packages/gatsby-cli/src/handlers/plugin-babel-utils.ts | 213 | pluginNodes.value.callee.object.elements.map(node => { | CODE |
| CRITICAL | packages/gatsby-plugin-sharp/src/gatsby-node.js | 163 | action.payload.job.args.operations.forEach(op => { | CODE |
| CRITICAL | …packages/gatsby-recipes/src/providers/gatsby/plugin.js | 351 | pluginNodes.value.callee.object.elements.map(getPlugin) | CODE |
| CRITICAL | …packages/gatsby-recipes/src/providers/gatsby/plugin.js | 367 | pluginNodes.value.callee.object.elements.push(pluginNode) | CODE |
| CRITICAL | …packages/gatsby-recipes/src/providers/gatsby/plugin.js | 370 | pluginNodes.value.callee.object.elements.map(node => { | CODE |
| CRITICAL | …packages/gatsby-recipes/src/providers/gatsby/plugin.js | 431 | pluginNodes.value.callee.object.elements.filter(node => { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | starters/blog/content/blog/hello-world/index.md | 61 | COMMENT | |
| LOW | starters/gatsby-starter-minimal-ts/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func | COMMENT |
| LOW | starters/gatsby-starter-minimal-ts/tsconfig.json | 41 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ | COMMENT |
| LOW | starters/gatsby-starter-minimal-ts/tsconfig.json | 61 | // "newLine": "crlf", /* Set the newline character for emitting files. */ | COMMENT |
| LOW | starters/gatsby-starter-minimal-ts/tsconfig.json | 81 | // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` met | COMMENT |
| LOW | integration-tests/gatsby-cli/__tests__/develop.js | 41 | logs.should.contain(`success write out requires`) | COMMENT |
| LOW | integration-tests/functions/test-helpers.js | 261 | body: form, | COMMENT |
| LOW | integration-tests/functions/test-helpers.js | 981 | // } catch (e) { | COMMENT |
| LOW | integration-tests/functions/test-helpers.js | 1001 | // expect(result).toMatchSnapshot() | COMMENT |
| LOW | …sts/gatsby-source-wordpress/test-fns/plugin-options.js | 81 | }) | COMMENT |
| LOW | …sts/gatsby-source-wordpress/test-fns/plugin-options.js | 101 | // } | COMMENT |
| LOW | …sts/gatsby-source-wordpress/test-fns/plugin-options.js | 121 | // url: `http://localhost:8000/___graphql`, | COMMENT |
| LOW | integration-tests/structured-logging/__tests__/to-do.js | 161 | .filter(event => event.action.type === `ACTIVITY_START`) | COMMENT |
| LOW | …w-to/custom-configuration/add-custom-webpack-config.md | 101 | ...config.module.rules.filter( | COMMENT |
| LOW | …uction-runtime/cypress/integration/compilation-hash.js | 41 | // Service worker is handling requests so this one is cached by previous runs | COMMENT |
| LOW | …sts/production-runtime/plugins/gatsby-ssr-tsx/index.js | 1 | // noop | COMMENT |
| LOW | examples/build-all-examples.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | examples/gatsbygram/cypress/plugins/index.js | 1 | // *********************************************************** | COMMENT |
| LOW | examples/gatsbygram/cypress/support/index.js | 1 | // *********************************************************** | COMMENT |
| LOW | examples/using-redirects/gatsby-node.js | 1 | "use strict" | COMMENT |
| LOW | examples/using-redirects/gatsby-node.js | 21 | createRedirect({ | COMMENT |
| LOW | …amples/using-remark-copy-linked-files/gatsby-config.js | 21 | wrapperStyle: `margin-bottom: 1.0725rem`, | COMMENT |
| LOW | examples/using-reach-skip-nav/cypress/plugins/index.js | 1 | /// <reference types="cypress" /> | COMMENT |
| LOW | examples/using-reach-skip-nav/cypress/support/index.js | 1 | // *********************************************************** | COMMENT |
| LOW | …mples/using-reach-skip-nav/cypress/support/commands.js | 1 | // *********************************************** | COMMENT |
| LOW | …mples/using-reach-skip-nav/cypress/support/commands.js | 21 | // Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) | COMMENT |
| LOW | examples/using-graphql-typegen/tsconfig.json | 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory func | COMMENT |
| LOW | examples/using-graphql-typegen/tsconfig.json | 41 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ | COMMENT |
| LOW | examples/using-graphql-typegen/tsconfig.json | 61 | // "newLine": "crlf", /* Set the newline character for emitting files. */ | COMMENT |
| LOW | examples/using-graphql-typegen/tsconfig.json | 81 | // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` met | COMMENT |
| LOW | examples/hn/gatsby-node.js | 1 | const _ = require(`lodash`) | COMMENT |
| LOW | scripts/add-packages-to-team/index.js | 21 | packages.forEach(pkg => { | COMMENT |
| LOW | packages/gatsby-remark-code-repls/README.md | 141 | COMMENT | |
| LOW | packages/gatsby-plugin-utils/src/joi.ts | 1 | import joi from "joi" | COMMENT |
| LOW | packages/gatsby-plugin-utils/src/joi.ts | 21 | // }, | COMMENT |
| LOW | packages/gatsby-legacy-polyfills/src/exclude.js | 1 | const { | COMMENT |
| LOW | packages/gatsby-plugin-google-tagmanager/README.md | 21 | // Defaults to false meaning GTM will only be loaded in production. | COMMENT |
| LOW | packages/gatsby/cache-dir/api-runner-ssr.js | 1 | /* global plugins */ | COMMENT |
| LOW | packages/gatsby/cache-dir/api-runner-browser-plugins.js | 1 | // During bootstrap, we write requires at top of this file which looks | COMMENT |
| LOW | …y/cache-dir/fast-refresh-overlay/helpers/focus-trap.js | 3101 | // elements with tabIndex "0" (including tabbableElements without tabIndex) should be navigated in the order they appe | COMMENT |
| LOW | packages/gatsby/src/utils/webpack.config.js | 841 | return | COMMENT |
| LOW | packages/gatsby/src/utils/find-page-by-path.ts | 1 | import { IGatsbyPage, IGatsbyState } from "../redux/types" | COMMENT |
| LOW | …sby/src/utils/webpack/plugins/cache-folder-resolver.ts | 41 | this.isEnabled = true | COMMENT |
| LOW | packages/gatsby/src/utils/page-ssr-module/lambda.ts | 121 | // skip deprecated access-mode constants (F_OK, R_OK, W_OK, X_OK, etc.), | COMMENT |
| LOW | packages/gatsby/src/schema/schema.js | 801 | const typeHasFields = | COMMENT |
| LOW | …atsby/src/schema/graphql-engine/lmdb-bundling-patch.ts | 1 | /* eslint-disable @babel/no-invalid-this */ | COMMENT |
| LOW | …ages/gatsby/src/schema/graphql-engine/shims/ts-node.js | 1 | export function register() { | COMMENT |
| LOW | packages/gatsby/src/schema/__tests__/run-query.js | 1941 | // This suite asserts the order of a field that is a number vs a field that | COMMENT |
| LOW | packages/gatsby/src/schema/__tests__/run-query.js | 2121 | }) | COMMENT |
| LOW | packages/gatsby/src/schema/__tests__/run-query.js | 2301 | expect(result[1].id).toEqual(`2`) | COMMENT |
| LOW | packages/gatsby/src/schema/__tests__/node-model.js | 1361 | // make sure materialization wasn't batched (test setup is correct) | COMMENT |
| LOW | packages/gatsby/src/schema/infer/inference-metadata.ts | 21 | // string: { total: 1, example: 'conflict' }, | COMMENT |
| LOW | …/gatsby/src/datastore/lmdb/query/filter-using-index.ts | 421 | return [] | COMMENT |
| LOW | …/gatsby/src/datastore/lmdb/query/filter-using-index.ts | 441 | // rangeStarts: [ | COMMENT |
| LOW | packages/gatsby/src/datastore/common/query.ts | 201 | } | COMMENT |
| LOW | packages/gatsby/src/datastore/common/query.ts | 221 | // $regex: newMiniMatch(v) | COMMENT |
| LOW | packages/gatsby/src/datastore/in-memory/indexing.ts | 141 | // In this map `undefined` values represent nodes that did not have the path | COMMENT |
| LOW | packages/gatsby/src/datastore/in-memory/indexing.ts | 181 | postIndexingMetaSetupNeNin(filterCache) | COMMENT |
| LOW | packages/gatsby/src/datastore/in-memory/indexing.ts | 221 | COMMENT | |
| LOW | packages/gatsby/src/services/initialize.ts | 361 | We've detected that the Gatsby cache is incomplete (the .cache directory exists | COMMENT |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ting/docs-contributions/how-to-write-a-how-to-guide.md | 78 | ### Step 1: Do the first thing. | COMMENT |
| LOW | …ting/docs-contributions/how-to-write-a-how-to-guide.md | 83 | ### Step 2: Do some other thing. | COMMENT |
| LOW | docs/docs/sourcing-from-contentstack.md | 17 | ### Step 1: Clone the starter repo and install dependencies | COMMENT |
| LOW | docs/docs/sourcing-from-contentstack.md | 25 | ### Step 2: Create env file(s) with stack configuration | COMMENT |
| LOW | docs/docs/sourcing-from-contentstack.md | 39 | ### Step 3: Create and publish content | COMMENT |
| LOW | docs/docs/sourcing-from-contentstack.md | 48 | ### Step 4: Run Gatsby | COMMENT |
| LOW | docs/docs/sourcing-from-contentstack.md | 67 | ### Step 5: Create a page in Gatsby | COMMENT |
| LOW | docs/docs/sourcing-from-agilitycms.md | 25 | ### Step 1: Create a free Agility account | COMMENT |
| LOW | docs/docs/sourcing-from-agilitycms.md | 33 | ### Step 2: Get the code | COMMENT |
| LOW | docs/docs/sourcing-from-agilitycms.md | 53 | ### Step 3: Authenticate your Gatsby site with Agility | COMMENT |
| LOW | docs/docs/sourcing-from-agilitycms.md | 74 | ### Step 4: Running the site locally | COMMENT |
| LOW | …ow-to/rendering-options/using-server-side-rendering.md | 28 | ### Step 1: Adding `getServerData` function | COMMENT |
| LOW | …ow-to/rendering-options/using-server-side-rendering.md | 46 | ### Step 2: Requesting data inside `getServerData` & displaying it | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 13 | ### Step 1: Choose a testing tool | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 21 | ### Step 2: Set up performance monitoring | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 35 | ### Step 3: Quantify the impact of each change you make | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 64 | #### Step 1: Remove unneeded and high-cost, low-value scripts | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 70 | #### Step 2: Use the Gatsby Script component to load scripts performantly | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 100 | #### Step 1: Profile your bundle | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 112 | #### Step 2: Remove unneeded third-party imports from application-level chunks | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 124 | #### Step 3: Audit your application-level chunks for components and data that don't need to be on every page | COMMENT |
| LOW⚡ | …/docs/how-to/performance/improving-site-performance.md | 140 | #### Step 4: On critical paths, identify unneeded code & components | COMMENT |
| LOW⚡ | …/docs/how-to/performance/improving-site-performance.md | 146 | #### Step 5: On critical paths, lazy-load below-the-fold components | COMMENT |
| LOW⚡ | …/docs/how-to/performance/improving-site-performance.md | 154 | #### Step 6: Consider using the Preact plugin | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 167 | #### Step 1: Check for globally bundled CSS | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 179 | #### Step 2: If you're using a CSS-in-JS library, use the Gatsby plugin | COMMENT |
| LOW | …/docs/how-to/performance/improving-site-performance.md | 185 | #### Step 3: Optimize fonts | COMMENT |
| LOW | …w-to/plugins-and-themes/using-a-plugin-in-your-site.md | 29 | ### Step 1: Install the plugin | COMMENT |
| LOW | …w-to/plugins-and-themes/using-a-plugin-in-your-site.md | 39 | ### Step 2: Configure the plugin in your `gatsby-config.js` file | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/gatsby-plugin-page-creator/src/validate-path-query.ts | 20 | // Paths must not utilize src/pages | COMMENT |
| MEDIUM | packages/gatsby/src/datastore/lmdb/lmdb-datastore.ts | 163 | // Additionally fetching items by id to leverage lmdb-store cache | COMMENT |
| MEDIUM | …kages/gatsby/src/datastore/lmdb/query/suggest-index.ts | 60 | // Still append other filter fields to the tail of the index to leverage additional filtering | COMMENT |
| MEDIUM | …c/datastore/lmdb/query/__tests__/filter-using-index.ts | 159 | // Essentially no-op | COMMENT |
| MEDIUM | …ckages/gatsby/src/redux/reducers/inference-metadata.ts | 1 | // Tracking structure of nodes to utilize this metadata for schema inference | COMMENT |
| MEDIUM | …ckages/gatsby/src/redux/reducers/inference-metadata.ts | 93 | // in action payload and utilize original `node.fields` in deleteNode call above | COMMENT |
| MEDIUM | packages/gatsby-source-lever/src/data.json | 71 | "descriptionPlain": "THE CHALLENGE\nLever solves the #1 challenge for every company: hiring top talent. Recruiting i | CODE |
| MEDIUM | packages/gatsby-source-lever/src/data.json | 72 | "description": "<div>THE CHALLENGE</div><div>Lever solves the #1 challenge for every company: hiring top talent. Rec | CODE |
| MEDIUM | packages/gatsby-source-lever/src/data.json | 399 | "descriptionPlain": "LEARN MORE ABOUT YOUR IMPACT AT LEVER\n\nLever is looking for a seasoned Mid-Market Sales Direc | CODE |
| MEDIUM | packages/gatsby-source-lever/src/data.json | 400 | "description": "<div><a href=\"http://www.leverhq.com/your-impact-mmsd\" class=\"postings-link\"><span style=\"font- | CODE |
| MEDIUM | packages/gatsby-source-lever/src/__tests__/data.json | 71 | "descriptionPlain": "THE CHALLENGE\nLever solves the #1 challenge for every company: hiring top talent. Recruiting i | CODE |
| MEDIUM | packages/gatsby-source-lever/src/__tests__/data.json | 72 | "description": "<div>THE CHALLENGE</div><div>Lever solves the #1 challenge for every company: hiring top talent. Rec | CODE |
| MEDIUM | packages/gatsby-source-lever/src/__tests__/data.json | 399 | "descriptionPlain": "LEARN MORE ABOUT YOUR IMPACT AT LEVER\n\nLever is looking for a seasoned Mid-Market Sales Direc | CODE |
| MEDIUM | packages/gatsby-source-lever/src/__tests__/data.json | 400 | "description": "<div><a href=\"http://www.leverhq.com/your-impact-mmsd\" class=\"postings-link\"><span style=\"font- | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/docs/adding-a-shopping-cart-with-snipcart.md | 147 | apiKey: 'your-api-key', | CODE |
| HIGH | packages/gatsby-source-drupal/README.md | 289 | "api-key": "your-api-key-header-here", // any valid key value pair here | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration-tests/structured-logging/__tests__/to-do.js | 254 | // We need to check if Cloud depends on the emission of certain | COMMENT |
| LOW | integration-tests/structured-logging/__tests__/to-do.js | 527 | // We need to check if Cloud depends on the emission of certain | COMMENT |
| LOW | peril/rules/merge-on-green.ts | 15 | // we need to check if "bot: merge on green" label is applied and PR is mergeable (checks are green and have approval) | COMMENT |
| LOW | …ages/gatsby/src/utils/babel/babel-plugin-remove-api.ts | 45 | // Functions can reference themselves, so we need to check if there's a | COMMENT |
| LOW | …ges/gatsby/src/schema/graphql-engine/bundle-webpack.ts | 240 | // if current platform and target is the same as functions target, we need to check if vendored libvips | COMMENT |
| LOW | …tsby-dev-cli/src/local-npm-registry/publish-package.js | 34 | // we need to check if package depend on any other package to will be published and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ource-contentful/src/__fixtures__/starter-blog-data.js | 398 | "en-US": `## The case for the static site generator\n\nMore and more developers are jumping on the "go sta | CODE |
| LOW | deprecated-packages/gatsby-image/src/index.js | 761 | // If you modify these propTypes, please don't forget to update following files as well: | COMMENT |
| LOW | …ated-packages/gatsby-image/src/withIEPolyfill/index.js | 50 | // If you modify these propTypes, please don't forget to update following files as well: | COMMENT |
| LOW | deprecated-packages/gatsby-theme/gatsby-theme-new.js | 52 | Don't forget to | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …silience/utils/jest-serializer-omit-undefined/index.js | 11 | print(value, serialize) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/docs/sourcing-from-ghost.md | 54 | Once the source plugin is set up, you can use the [`createPages` API](/docs/reference/config-files/gatsby-node/#createPa | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/docs/glossary/webpack.md | 24 | You can also use webpack to optimize how CSS and JavaScript are delivered to the browser. webpack supports a feature kno | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/gatsby/cache-dir/page-ssr/index.d.ts | 54 | export function getData(args: { | CODE |
| LOW | packages/gatsby/src/utils/page-ssr-module/entry.ts | 114 | export async function getData(arg: IGetDataArgs): Promise<ISSRData> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/gatsby/src/schema/infer/inference-metadata.ts | 8 | ### Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/gatsby-cli/src/reporter/__tests__/errors.ts | 5 | // TODO: Add tests for sourcemap mapping in prepareStackTrace[] | COMMENT |