LabsDigest serves these files as ExamsDigest, its sister site, does; the notes below are ExamsDigest's own and hold for both sites. The files under pglite/ in this folder are the database that the SQL labs run on: PostgreSQL, compiled to WebAssembly, running in the student's browser tab. Where they come from, and under which license, in November 2026: pglite/ (index.js and the modules beside it, pglite.wasm, pglite.data, initdb.wasm) PGlite, version 0.5.15 — PostgreSQL 18.6 compiled to WebAssembly, by ElectricSQL. Taken unchanged from the npm package "@electric-sql/pglite" (its dist/ folder) by `node scripts/labs/vendor-sql.mjs`, which runs first in every build of the site, so the copy is always the version the site installs. PGlite is dual-licensed under the Apache License 2.0 (the full text is in pglite/LICENSE) and the PostgreSQL License; ExamsDigest uses it under the Apache License 2.0. Changes to the PostgreSQL source are under the PostgreSQL License. Source: https://github.com/electric-sql/pglite PostgreSQL: Portions Copyright (c) 1996-2025, The PostgreSQL Global Development Group; Portions Copyright (c) 1994, The Regents of the University of California. https://www.postgresql.org/about/licence/ worker.js ExamsDigest's own: starts PGlite in a Web Worker and runs the statements the lab page sends it.