Version 8.8.0

All pages

Vendor-specific and vendor-independent code

Which third-party technology Solid Memo depends on, where each is confined, and what replacing one would cost.

Vendors and their confinement

VendorPackagesConfined toRole
Inrupt Solid clients@inrupt/solid-client, @inrupt/solid-client-authn-browser, @inrupt/solid-client-authn-core (tests only)packages/adapters/inrupt-client/ (boundaries.md), and packages/adapters/shacl/src/turtleDocument.ts for reading shapes; its universal access API in inrupt-client's src/access.ts alone; -authn-core in packages/adapters/solid/src/authFetch.test.ts aloneRDF datasets, pod I/O, Solid-OIDC auth, and the app's one access-control write: a published release made readable by everyone, on WAC or ACP (boundaries.md). The default client: a build with SOLID_CLIENT=solid-memo-client ships none of it (solid-memo-client.md)
TanStack@tanstack/react-query (via preact/compat)packages/ui/src/ui/, apps/studio/src/, apps/web/src/Async-state caching and invalidation
Preactpreactpackages/ui/src/ui/, apps/studio/src/, apps/web/src/Rendering
Fontsource@fontsource-variable/fredoka, @fontsource/bangers, @fontsource-variable/noto-naskh-arabic (all SIL OFL-1.1)packages/ui/src/style.css (@import), and, for the diagrams' Fredoka (markdown.md), packages/build-tools/src/drawDiagrams.tsTypefaces, self-hosted: bundled into dist/ with no third-party font requests. Fredoka for text, Bangers (comic lettering) for h1/h2, Noto Naskh Arabic for Arabic text.
Zazukordf-validate-shacl (MIT; with @rdfjs/*, clownface)@solid-memo/shacl (src/engine.ts, a lazily loaded chunk)SHACL validation of pod and library documents against the shapes in ns/shapes/
markdown-it, tats-umarkdown-it, markdown-it-cjk-friendly (MIT; with entities, linkify-it, mdurl, punycode.js, uc.micro and get-east-asian-width)@solid-memo/markdown (src/parse.ts)Parsing Markdown in data (CommonMark with pipe tables and CJK-friendly emphasis) into tokens the package folds into its own tree (markdown.md)
mermaid-jsmermaid (MIT; with d3, dagre-d3-es, elkjs, katex, roughjs, dompurify and more)packages/build-tools/src/drawDiagrams.ts, a development tool, never in the browserDrawing the docs' Mermaid diagrams to SVG at build time, in Chromium (markdown.md). Pinned, and bumped apart from Playwright (renovate.json5)
Microsoftplaywright (Apache-2.0), @playwright/testpackages/build-tools/src/drawDiagrams.ts; e2e/journeys/Starting the diagrams' Chromium; driving the built app through the user journeys (testing.md). One pinned version, which fixes the Chromium build
Dequeaxe-core (MPL-2.0)e2e/journeys/pages/App.ts, which loads its build into the pageChecking each screen the user journeys visit against WCAG's rules, in the tests only, never in the app. Pinned
RDF/JS communityjsonld-streaming-parser (MIT; with jsonld-context-parser), which @inrupt/solid-client depends on toopackages/adapters/inrupt-client/src/resources.ts (boundaries.md)Reading a deck file's JSON-LD, with a document loader that fetches nothing
RDF/JS communityn3@solid-memo/turtle, the node tooling of shacl, and e2e/pod/ (the server contract and tests)Build-time Turtle parsing for the generators and validation; reading and writing pod documents in the end-to-end tests
RDF/JS communityn3 (MIT), which @inrupt/solid-client depends on toopackages/adapters/inrupt-client/src/linearDataset.tsParsing Turtle as the library does, but with no triple terms
RDF/JS communityn3 (MIT), jsonld-streaming-parser (MIT)@solid-memo/solid-memo-clientIn place of Inrupt's clients, with SOLID_CLIENT=solid-memo-client: RDF/JS terms, and parsing Turtle (n3); parsing JSON-LD (jsonld-streaming-parser)
Filip Skokanoauth4webapi (MIT)@solid-memo/solid-memo-client (src/session.ts, src/oidcLogin.ts, src/oidcSession.ts, and src/oidcStore.ts for its types)In place of Inrupt's clients: Solid-OIDC's discovery, dynamic registration, authorization-code flow with PKCE, token requests and DPoP proofs

Maturity

The app ships only released versions: 1.0.0 or later, with no prerelease tag (-alpha, -beta, -rc). npm run check fails on any other version among the app's run-time dependencies, kept by the bundle or not, the workspace's own packages aside (checkDependencies.ts walks package-lock.json from apps/web, and from packages/adapters/solid-memo-client, which a build can ship in place of Inrupt's libraries). Development tools aren't shipped or checked.

Mermaid, which draws the docs' diagrams, is the only development tool with packages before 1.0.0: elkjs 0.9, katex 0.18, d3-sankey 0.12, iconv-lite 0.6 (through d3-dsv) and, through roughjs, hachure-fill, path-data-parser, points-on-curve and points-on-path. They run only in the build's browser. The site serves the drawings, so none ships and the gap of decision 14 doesn't grow.

The versions allowed below are that decided gap: Solid Memo is stable within an ecosystem that isn't yet at 1.0.

PackageVersionWhy it is allowed
rdf-validate-shacl0.7Zazuko's SHACL engine. Its 0.x minor is its major: 0.2 to 0.7 each broke something (0.7 its engine's types and the message of sh:xone), which the ^ range keeps out. Its risk, slow upkeep with one maintainer and releases far apart (zazuko/rdf-validate-shacl#171), stays behind the ShapeEngine interface and the shacl tests (below). shacl-engine 1.x brings its own packages before 1.0.0 (rdf-validation 0.1, process 0.11) and a SPARQL engine the app doesn't need.
rdf-validate-datatype0.3rdf-validate-shacl's datatype check of literals, by the same maintainers and replaced with it. It breaks only in a 0.x minor (0.2.0, to ESM; 0.3.0, stricter XSD checks), which ^ keeps out. Its range follows the one rdf-validate-shacl asks for, so that both share one copy: the engine registers its own decimal and float checks in it. Its exports haven't changed since 2020, and the risk is slow upkeep (zazuko/rdf-validate-datatype#30).
@inrupt/solid-client-errors0.0Inrupt's error classes, part of @inrupt/solid-client 4 and released with it. The app never imports it.
process0.11A browser stand-in for Node's process, which readable-stream asks for (through n3 and the JSON-LD parser). Final at 0.11 and unchanged since 2017: its maintainer turned down a 1.0.0 (defunctzombie/node-process#82).

One shipped release follows no published standard: markdown-it-cjk-friendly (3.x) reads emphasis next to CJK text by the markdown-cjk-friendly amendment, a proposal CommonMark hasn't adopted (markdown.md). Its rule may change if CommonMark settles on another.

Another allowed package goes into ALLOWED in checkDependencies.ts and this table: the check fails on an allowed package the page doesn't name, and on one the app no longer ships before 1.0.0.

Installing

No package runs code of its own while it's installed. A package's install script runs with whatever the machine holds: a contributor's files, or a CI job's tokens, whose build becomes the site. The root .npmrc turns install scripts off (ignore-scripts=true), and every npm ci in the workflows says --ignore-scripts too. The deploy checks out a release that may be older than the .npmrc. npm run check:actions fails on an npm command that installs packages without the flag: ci, install, install-test, install-ci-test, update, dedupe, link or rebuild, under any of npm's names for it and after any of npm's own options. It fails on npm_config_ignore_scripts set to anything but true too. npm run check:dependencies fails when the last ignore-scripts in the .npmrc isn't true, as npm reads the last.

npm run check:dependencies checks the lockfile, package-lock.json, for what an install fetches. It checks every other lockfile npm installs from the same way: Renovate's in scripts/renovate/ and each end-to-end test server's in e2e/pod/servers/, each against its own package.json. Those packages aren't shipped and are installed with --ignore-scripts, so the maturity rule, the .npmrc rule and the list of install scripts below hold for the root's lockfile alone. A test fails on a package-lock.json or an npm-shrinkwrap.json the check doesn't read. The check fails on any package that:

It also fails on:

Three kinds of entry have no download to check: the workspace's own folders, links to them, and packages carried in another's tarball. The lockfile's inBundle flag alone proves nothing. A carried package has neither an address nor a hash, keeps its own name and a plain version, and sits below a fetched package that lists bundleDependencies.

PackageWhy its install script is no loss
fseventsFile watching on macOS, an optional dependency of Vite and others. Its package carries the binary built; its script only builds it again.
esbuildThe bundler Storybook builds with (storybook.md). Its binary comes in the platform's optional package (@esbuild/linux-x64 and the like); its script only fetches that package when it's missing and puts the binary in place of a stub, for speed.

Another package with an install script goes into INSTALL_SCRIPTS in checkDependencies.ts and this table, once it's clear the package works without the script. The check fails on a listed package this page doesn't name, and on one no package in the lockfile matches. Playwright's browsers come from a command run on purpose (npm run browsers), not an install script.

Vendor-independent code

packages/core/domain/src/ and packages/core/application/src/ import no vendor package, as a boundary rule enforces (boundaries.md), and express the app in its own vocabulary (Session, WebIdDocument, ports, use cases).

The mapper layer bridges the two: pure functions in packages/adapters/solid/src/mappers/ translate the RDF module's own types (Dataset, Subject, from client/rdf.ts) into domain types. Those types are the app's own, in client/interface.ts, which names no library, so no Inrupt import appears outside client/, and no RDF type crosses upward past a mapper.

Cost of swapping a vendor