{
  "repository": "evanw/esbuild",
  "ref": "f6058f8364fe7ab91ca57a83e02577ed74c9cae4",
  "methods": [
    {
      "slug": "formal",
      "title": "Formal verification and model checking"
    },
    {
      "slug": "static_analysis",
      "title": "Static analysis"
    },
    {
      "slug": "testing",
      "title": "Testing"
    },
    {
      "slug": "formatting",
      "title": "Formatting and hygiene"
    },
    {
      "slug": "supply_chain",
      "title": "Supply chain"
    },
    {
      "slug": "unclassified",
      "title": "Unclassified"
    }
  ],
  "verifications": [
    {
      "tool": "go-vet",
      "method": "static_analysis",
      "commands": [
        "go vet ./cmd/... ./internal/... ./pkg/..."
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[6] (go vet)"
        },
        {
          "path": "Makefile",
          "locator": "target vet-go (line 52)"
        }
      ],
      "upstream": "https://github.com/golang/go",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "tsc",
      "method": "static_analysis",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "lib/package.json",
          "locator": "dependencies: typescript"
        },
        {
          "path": "scripts/package.json",
          "locator": "dependencies: typescript"
        }
      ],
      "upstream": "https://github.com/microsoft/TypeScript",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "ci-matrix",
      "method": "testing",
      "commands": [
        "esbuild (os: 3)"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.strategy.matrix"
        }
      ],
      "upstream": "https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "go-test",
      "method": "testing",
      "commands": [
        "go test -race ./cmd/... ./internal/... ./pkg/...",
        "go test ./internal/...",
        "go test $(ESBUILD_RACE) ./cmd/... ./internal/... ./pkg/..."
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[5] (go test)"
        },
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild-old-go-version.steps[3] (go test)"
        },
        {
          "path": "Makefile",
          "locator": "target test-go (line 49)"
        }
      ],
      "upstream": "https://github.com/golang/go",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "mocha",
      "method": "testing",
      "commands": [
        "mocha out.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[25] (Sucrase Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-sucrase (line 798)"
        }
      ],
      "upstream": "https://github.com/mochajs/mocha",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "do set -e"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[27] (Preact Splitting Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-preact-splitting (line 777)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "do test -d bench/three/src/copy$$i"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target bench/three (line 901)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "done"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[27] (Preact Splitting Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-preact-splitting (line 777)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "for h in $(PREACT_HOOKS)"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[27] (Preact Splitting Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-preact-splitting (line 777)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "go clean -testcache"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target clean (line 583)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "go version"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[8] (Make sure \"check-go-version\" works (non-Windows))"
        },
        {
          "path": "Makefile",
          "locator": "target check-go-version (line 29)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node --experimental-modules out/$$h.mjs"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[27] (Preact Splitting Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-preact-splitting (line 777)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node --experimental-vm-modules scripts/test262-async.js"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target test262-async (line 680)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node --experimental-vm-modules scripts/test262.js"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target test262 (line 677)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node -p require('esbuild').transformSync('1+2').code"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2e.yml",
          "locator": "jobs.validate.steps[2] (Test npm)"
        },
        {
          "path": "Makefile",
          "locator": "target test-e2e-npm (line 155)"
        },
        {
          "path": ".github/workflows/e2e.yml",
          "locator": "jobs.validate.steps[3] (Test pnpm)"
        },
        {
          "path": "Makefile",
          "locator": "target test-e2e-pnpm (line 189)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node browser-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[22] (WebAssembly API Tests (browser))"
        },
        {
          "path": "Makefile",
          "locator": "target test-wasm-browser (line 97)"
        },
        {
          "path": "Makefile",
          "locator": "target test-all (line 26)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/decorator-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[21] (Decorator Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target decorator-tests (line 116)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/end-to-end-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[14] (E2E Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target end-to-end-tests (line 108)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/esbuild.js npm/esbuild/package.json --version"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target register-test (line 100)"
        },
        {
          "path": "Makefile",
          "locator": "target verify-source-map (line 104)"
        },
        {
          "path": "Makefile",
          "locator": "target end-to-end-tests (line 108)"
        },
        {
          "path": "Makefile",
          "locator": "target js-api-tests (line 122)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/js-api-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[15] (JS API Tests (ESBUILD_WORKER_THREADS=0, non-Windows))"
        },
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[16] (JS API Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target js-api-tests (line 122)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/node-unref-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[17] (NodeJS Unref Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target node-unref-tests (line 141)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/plugin-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[18] (Plugin Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target plugin-tests (line 126)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/processDiagnosticMessages.mjs src/compiler/diagnosticMessages.json"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild-slow.steps[6] (Type check tsc using tsc)"
        },
        {
          "path": "Makefile",
          "locator": "target test-tsc (line 707)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/register-test.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[11] (Register Test (ESBUILD_WORKER_THREADS=0, non-Windows))"
        },
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[12] (Register Test)"
        },
        {
          "path": "Makefile",
          "locator": "target register-test (line 100)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/terser-tests.js"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target terser (line 832)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/test-yarnpnp.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[29] (Yarn PnP tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-yarnpnp (line 282)"
        },
        {
          "path": "Makefile",
          "locator": "target test-all (line 26)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/ts-type-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[19] (TypeScript Type Definition Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target test-all (line 26)"
        },
        {
          "path": "Makefile",
          "locator": "target ts-type-tests (line 129)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/uglify-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild-slow.steps[5] (Uglify Tests)"
        },
        {
          "path": "Makefile",
          "locator": "target uglify (line 696)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/verify-source-map.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[13] (Verify Source Map)"
        },
        {
          "path": "Makefile",
          "locator": "target verify-source-map (line 104)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "node scripts/wasm-tests.js"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[23] (WebAssembly API Tests (node, Linux))"
        },
        {
          "path": "Makefile",
          "locator": "target test-wasm-node (line 93)"
        },
        {
          "path": ".github/workflows/ci.yml",
          "locator": "jobs.esbuild.steps[24] (WebAssembly API Tests (node, non-Linux))"
        },
        {
          "path": "Makefile",
          "locator": "target test-all (line 26)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "touch yarn.lock"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2e.yml",
          "locator": "jobs.validate.steps[4] (Test yarn (classic))"
        },
        {
          "path": "Makefile",
          "locator": "target test-e2e-yarn (line 223)"
        },
        {
          "path": ".github/workflows/e2e.yml",
          "locator": "jobs.validate.steps[5] (Test yarn (berry))"
        },
        {
          "path": "Makefile",
          "locator": "target test-e2e-yarn-berry (line 248)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    }
  ]
}
