Tests / @ogygia/image

@ogygia/image

Version 0.16.4
commit 85543630
640 test runs (640 tests, each run in Node, the browsers or both)
1.37× lines of test for each line of source (13,647 to 9,987) Only real test code counts: test files and their helpers, not fixtures, sample apps or benches. Blank lines are left out on both sides.
Exactly what is counted non-blank lines of test code across the repo (*.test.ts, *.test-d.ts, *.spec.ts, and the .ts helpers in test/ and e2e/ folders; no fixtures, fixture apps, stubs or benches), over non-blank lines of packages/*/src (no .d.ts or generated files)
90.7% of source lines run by the tests
  • 634Unit
  • 0Browser
  • 6End to end
  • 0Type tests
  • 0Lint rules
  • 0Failing

Coverage

  • 90.7%Lines
  • 83.5%Branches
  • 83.3%Functions
  • 88.8%Statements

Every test

640 tests

TestKindNodeChromiumFirefoxWebKit
../../../../../__w/ogygia/ogygia/packages/image/e2e/vercel-alone.spec.ts
a live card is drawn with no sharp, and one that names an image is refused before any fetch, image_card_source saying to list sharp()End to endnot runpassnot runnot run
a live page that crops fails its render, image_encoder_cannot naming vercel() and the cropEnd to endnot runpassnot runnot run
a live page's resize is named by Vercel's link, nothing signedEnd to endnot runpassnot runnot run
prerendered pages name the files the build made, served from the outputEnd to endnot runpassnot runnot run
the function holds no sharp: vercel() alone has no endpoint makerEnd to endnot runpassnot runnot run
vercel() alone cannot make a still, so no page offers one, and a live moving image fails its renderEnd to endnot runpassnot runnot run
packages/image/test/binding-maker.test.ts
a file is made by the binding in steps, kept in the Worker cache, and read from it the next timeUnitpassnot runnot runnot run
a file the binding cannot decode (an Images error about the input) is a broken source; any other binding failure is that one file’sUnitpassnot runnot runnot run
a Worker with no such binding answers 500 kept nowhere, says image_binding_missing once, and keeps nothingUnitpassnot runnot runnot run
packages/image/test/build-counts.test.ts
a cold static build encodes each image file it writes once, into the build cache, beside the remote URLs each card that shows one readUnitpassnot runnot runnot run
a warm static build encodes nothing and writes the same image files, byte for byteUnitpassnot runnot runnot run
packages/image/test/build-end-hooks.test.ts
a build that fails as its code is made, before it prerenders, ends nothing as it closes, and the next one ends its own pagesUnitpassnot runnot runnot run
a client bundle built before the server leg is written has no part in the leg's endUnitpassnot runnot runnot run
a failed prerender's images that cannot be made say so and stop no mended rebuild: it starts, ends late and leaves no marked outputUnitpassnot runnot runnot run
a Kit 2 build (Vite builds the legs after the app build hooks) ends as its server leg is written, with the pages unmarkedUnitpassnot runnot runnot run
a Kit 2 watch rebuild (Vite watches the legs) gets a run and a mark of its own, and unmarks what it prerenderedUnitpassnot runnot runnot run
a late rebuild deletes no page of another build that has prerendered it and not ended: that build's mark is not its ownUnitpassnot runnot runnot run
a later build's run makes AVIF at the app's own effortUnitpassnot runnot runnot run
a leg whose compile failed (Vite closed its bundle) leaves the next server leg free to startUnitpassnot runnot runnot run
a page that keeps its mark (it escaped the URL) fails the end and leaves no marked output, its other pages tooUnitpassnot runnot runnot run
a page that quotes a mark (16 hex digits before the host) is published as it is, by an end and by a late oneUnitpassnot runnot runnot run
a rebuild that starts while the first build still goes on (another plugin's buildApp takes its time) says nothing untrue of it: an image that cannot be made fails that build, and no message says it had failed beforeUnitpassnot runnot runnot run
a server build nested in another that shares its run, and that fails to compile, ends nothing of the outer oneUnitpassnot runnot runnot run
a server leg built twice in one app build with no watch is no rebuild: one end, at the last buildApp, with every page unmarkedUnitpassnot runnot runnot run
a server leg leaves every other plugin as it is, the very object: one whose writeBundle cannot be set (a getter, a frozen class), and one whose hook's order is set lateUnitpassnot runnot runnot run
a server leg notes where each card's chunk went as it is written, so its end can draw itUnitpassnot runnot runnot run
a server leg whose hooks another plugin calls with options of its own still ends as it is writtenUnitpassnot runnot runnot run
a tool that calls each app build hook with a context of its own ends the app build that started last, onceUnitpassnot runnot runnot run
a vite.build() after one whose server bundle never closed here (another plugin's closeBundle threw first) ends its own pagesUnitpassnot runnot runnot run
a watch rebuild after a first build that failed its prerender settles, late: the last buildApp never cameUnitpassnot runnot runnot run
a watch rebuild after a first build that failed to compile drops its run: nothing is made ahead for itUnitpassnot runnot runnot run
a watch rebuild after a first build that failed to compile ends late: no page it prerenders can hold the markUnitpassnot runnot runnot run
a watch rebuild compiles with no live mark in the environment: an adapter that still runs (a slow one, an SPA fallback) renders noneUnitpassnot runnot runnot run
a watch rebuild that failed to compile keeps the names of the files the build has madeUnitpassnot runnot runnot run
a watch rebuild that starts before the last buildApp (a slow hook between) runs the owed end first, and the last buildApp still passesUnitpassnot runnot runnot run
a watch rebuild that starts while the first build's end runs waits for it, then ends on a run of its ownUnitpassnot runnot runnot run
a watch rebuild that starts while the last rebuild's end runs ends on a run of its own, never on the one that is endingUnitpassnot runnot runnot run
a watched build's failed end fails this plugin's last buildApp, so the adapter never runsUnitpassnot runnot runnot run
a worker a failed app build keeps (a pool) holds up no build after itUnitpassnot runnot runnot run
a writeBundle that fails after the build's end ran ends nothing againUnitpassnot runnot runnot run
an app build after a watched first build that failed is as a first one, and a rebuild of the failed one ends that one's pages onlyUnitpassnot runnot runnot run
an app build after a watched one, its options copied too, is as a first one (not watched)Unitpassnot runnot runnot run
an app build after a watched one, its options copied too, is as a first one (watched)Unitpassnot runnot runnot run
an app build after one that failed its compile is as a first oneUnitpassnot runnot runnot run
an app build after one that failed its prerender has a run of its own: it makes nothing the failed one noted, and no file the failed one's prerender still notes is made aheadUnitpassnot runnot runnot run
an app build after one that failed keeps a worker of its own: it still makes its images, and the build after it runsUnitpassnot runnot runnot run
an app build after one whose adapter, or a hook beside it, failed is as a first oneUnitpassnot runnot runnot run
an app build after one whose client bundle never closed here (another plugin's closeBundle threw first) is as a first oneUnitpassnot runnot runnot run
an app build after one whose end failed is as a first oneUnitpassnot runnot runnot run
an app build after one whose ssr bundle never closed here (another plugin's closeBundle threw first) is as a first oneUnitpassnot runnot runnot run
an app build on a watched builder that failed to compile and rebuilt is as a first oneUnitpassnot runnot runnot run
an app build on a watched builder that has rebuilt is as a first one, and the older watcher still rebuildsUnitpassnot runnot runnot run
an app build started while another compiles takes no hook of it: each ends as its ownUnitpassnot runnot runnot run
an app without SvelteKit's paths ends nothing, and fails no hookUnitpassnot runnot runnot run
an end that could not make one remote image keeps the names of those it made, for every later rebuildUnitpassnot runnot runnot run
an end that fails deletes its own marked pages and no page of another build'sUnitpassnot runnot runnot run
an end that fails deletes no marked file through a link (a file): what it leads to is not this build's outputUnitpassnot runnot runnot run
an end that fails deletes no marked file through a link (a folder): what it leads to is not this build's outputUnitpassnot runnot runnot run
an end that fails deletes no marked file through a link (the prerendered folder itself): what it leads to is not this build's outputUnitpassnot runnot runnot run
an end that fails leaves no marked output (data/a/b.json), so no later rebuild can publish itUnitpassnot runnot runnot run
an end that fails leaves no marked output (dependencies/feed.xml), so no later rebuild can publish itUnitpassnot runnot runnot run
an end that fails leaves no marked output (pages/cms.html), so no later rebuild can publish itUnitpassnot runnot runnot run
an end that fails leaves no marked output (pages/index.html), so no later rebuild can publish itUnitpassnot runnot runnot run
an environment built after the end (client) starts no run: the adapter never runs with a live markUnitpassnot runnot runnot run
an environment built after the end (edge) starts no run: the adapter never runs with a live markUnitpassnot runnot runnot run
an owed end a watch rebuild ran first and that failed fails the last buildApp too: the first build is not adapted without its imagesUnitpassnot runnot runnot run
Kit 2 watch rebuilds that fail to compile after one whose images could not be made say nothing of it (its own build did), fail no close (Vite catches nothing there) and find no marked pageUnitpassnot runnot runnot run
on Kit 2 under watch, a build after one another plugin's writeBundle failed before the end ends with every page unmarked, and says nothing of itUnitpassnot runnot runnot run
on Kit 2 under watch, a close of the build before that comes late, as the next one prerenders, ends nothing of it: it ends as it is written, with every page it prerenderedUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives copies of them ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives copies of them with names of their own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives one more ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives the ones it had first ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives the ones it had first, and one of its own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2 under watch, a server leg whose bundle another plugin's options hook gives the ones the config lists ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives copies of them ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives copies of them with names of their own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives one more ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives the ones it had first ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives the ones it had first, and one of its own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose bundle another plugin's options hook gives the ones the config lists ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 2, a server leg whose end fails deletes nothing, and its close runs every plugin's closeBundleUnitpassnot runnot runnot run
on Kit 2, an app build after one that has not ended its leg keeps the run they share, as a nested build doesUnitpassnot runnot runnot run
on Kit 3 under watch, a close of the build before that comes late, as the next one is written, ends nothing of it: it ends as it is writtenUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives copies of them ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives copies of them with names of their own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives one more ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives the ones it had first ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives the ones it had first, and one of its own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3 under watch, a server leg whose bundle another plugin's options hook gives the ones the config lists ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives copies of them ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives copies of them with names of their own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives one more ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives the ones it had first ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives the ones it had first, and one of its own ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a server leg whose bundle another plugin's options hook gives the ones the config lists ends all the same: no page keeps the mark, and an image that cannot be made fails the buildUnitpassnot runnot runnot run
on Kit 3, a watch rebuild another plugin's writeBundle fails ends nothing: no prerender of it comesUnitpassnot runnot runnot run
on Kit 3, another plugin's writeBundle that fails the server leg ends nothing: it has prerendered nothing, and the app build stops thereUnitpassnot runnot runnot run
the app's config resolved again after the end (a tool the adapter starts) starts no run: the adapter never runs with a live markUnitpassnot runnot runnot run
the first build's run is the one its config's resolve started, and its remote folder is where the plugin reads remote imagesUnitpassnot runnot runnot run
the server leg's end comes after Kit's writeBundle, which prerenders on Kit 2Unitpassnot runnot runnot run
two app builds on one builder, one after the other, each end their own pages with a run of their ownUnitpassnot runnot runnot run
two watched app builds on one builder, one after the other: each rebuild ends late, as its ownUnitpassnot runnot runnot run
under watch, a bundle another plugin builds with the server leg's own plugins as a rebuild's code is made leaves that rebuild's end lateUnitpassnot runnot runnot run
under watch, a bundle another plugin builds with the server leg's own plugins once the leg is written, watched or not, written or not, in every build, has no run and ends nothing: the leg's own end is made, and each rebuild ends lateUnitpassnot runnot runnot run
under watch, a bundle another plugin builds with the server leg's own plugins, loader or no loader, watched or not, is no rebuild of it, and runs no end of itUnitpassnot runnot runnot run
under watch, a bundle another plugin starts with the server leg's own plugins before the leg is written, and writes to another folder after, ends nothing: every page is the leg's end'sUnitpassnot runnot runnot run
under watch, a server leg whose buildStart another plugin hands a copy of the options each time rebuilds as one it does not: an owed end is made, and each rebuild ends lateUnitpassnot runnot runnot run
under watch, a server leg whose buildStart another plugin hands a copy of the options rebuilds as itself, though another plugin generated a bundle with its plugins beside it (the nested one started first)Unitpassnot runnot runnot run
under watch, a server leg whose buildStart another plugin hands a copy of the options rebuilds as itself, though another plugin generated a bundle with its plugins beside it (the server one started first)Unitpassnot runnot runnot run
under watch, a server leg whose buildStart another plugin hands a copy of the options rebuilds as itself, though another plugin generated a bundle with its plugins beside it (the server, its code made, one started first)Unitpassnot runnot runnot run
under watch, an image that cannot be made is the error of its build, though a marked page cannot be deleted: that is said tooUnitpassnot runnot runnot run
packages/image/test/build-end.test.ts
a failing end fails this plugin's last buildApp, not watched, each time it is called, so the build stops before the adapterUnitpassnot runnot runnot run
a failing end fails this plugin's last buildApp, watched, each time it is called, so the build stops before the adapterUnitpassnot runnot runnot run
a last hook called with a context no first hook had ends the app build that started last; with none started, it ends nothingUnitpassnot runnot runnot run
a leg an app build hook starts and does not wait for ends as it is written, once the hooks are overUnitpassnot runnot runnot run
a leg that is not watched and starts again (a second output) is no rebuildUnitpassnot runnot runnot run
a new app build after a watched one (Kit 3) starts fresh, not lateUnitpassnot runnot runnot run
a server leg built after the last buildApp (no watch) ends as it is written, not lateUnitpassnot runnot runnot run
a server leg built twice in one app build (no watch) owes one end, the last one written, and neither is lateUnitpassnot runnot runnot run
a watch rebuild (Kit 3) gets every name an end gave a file, a failed one too, so its pages find the filesUnitpassnot runnot runnot run
a watch rebuild after a first build that failed to compile ends late: no hook comes after its prerenderUnitpassnot runnot runnot run
a watch rebuild that starts while the first build's end runs (Kit 3) goes on after it, and ends late, never beside itUnitpassnot runnot runnot run
a watch rebuild that starts while the last one ends (Kit 3) goes on after it, never beside itUnitpassnot runnot runnot run
a watched server leg that writes to a folder of its own ends all the same, and its rebuilds late, after a build that failed to compile tooUnitpassnot runnot runnot run
an app build's last hook runs its own end, never a newer one'sUnitpassnot runnot runnot run
an end of one leg waits for the one that runs in another of its app build, never beside itUnitpassnot runnot runnot run
an end that is not late starts with no names of an earlier oneUnitpassnot runnot runnot run
an owed end that fails before a watch rebuild says so with a code, stops no rebuild, and still fails this plugin's last buildApp, before and after that rebuildUnitpassnot runnot runnot run
one server leg written twice (two outputs) before the last buildApp owes one end, the last one written, under watch tooUnitpassnot runnot runnot run
only a build after one that stopped short of its end is told soUnitpassnot runnot runnot run
this plugin's last buildApp waits for the owed end a watch rebuild runs, so the adapter comes after it, and runs no otherUnitpassnot runnot runnot run
two ends with no app build hook (two vite.build()s on one plugin, one after the other) each runUnitpassnot runnot runnot run
under watch, a bundle that starts once the end is owned has no leg: as it is owed, as it runs, once it ran, and in a rebuild of a build that failed to compileUnitpassnot runnot runnot run
under watch, the end of a server leg written to its environment's own output folder is owned: a bundle that started before and is written after, to another folder, takes nothing of it, before the last buildApp and afterUnitpassnot runnot runnot run
under watch, the server leg's end takes the place of the one a bundle written before it owes, watched or notUnitpassnot runnot runnot run
when an app build hook builds and watches the legs (Kit 3), a rebuild's end runs late, as its server leg is writtenUnitpassnot runnot runnot run
when an app build hook builds the legs (Kit 3), the end waits for this plugin's last buildApp, and a second call of that runs no otherUnitpassnot runnot runnot run
when Vite builds and watches the legs (Kit 2), a rebuild after one whose end failed ends as its server leg is written, not lateUnitpassnot runnot runnot run
when Vite builds and watches the legs (Kit 2), every rebuild ends as its server leg is written, not lateUnitpassnot runnot runnot run
when Vite builds the legs after the app build hooks (Kit 2), the end runs as the server leg is writtenUnitpassnot runnot runnot run
with no app build hook running (a single vite.build()), the server leg written is the endUnitpassnot runnot runnot run
packages/image/test/build-files.test.ts
a run a failed build left behind is removed by a later build, once a day oldUnitpassnot runnot runnot run
a watch rebuild after the build ended notes its prerender againUnitpassnot runnot runnot run
packages/image/test/build-head-start.test.ts
the build's end waits for a file the prerender's head start is still making, and makes it onceUnitpassnot runnot runnot run
packages/image/test/build-write.test.ts
a build that takes over from one that never ended holds none of its notes or markUnitpassnot runnot runnot run
a build with many files it cannot make names every one, not only the firstUnitpassnot runnot runnot run
a card that shows no remote image keeps its name, so its build names nothing by anotherUnitpassnot runnot runnot run
a config resolved again, the dev server's too, keeps the run a build holds, at its own root; a server leg's start does tooUnitpassnot runnot runnot run
a file that could not be written is named by nothingUnitpassnot runnot runnot run
a file the build cannot make fails it with a code that names the source file, not only the made nameUnitpassnot runnot runnot run
a late end (a Kit 3 watch rebuild) hands its prerender the last build's renamed sources, so a page finds the files the last build named by bytesUnitpassnot runnot runnot run
a late ended run is kept by any config that resolves after (the prerender's own, a tool's), and the next server leg's is a run of its ownUnitpassnot runnot runnot run
a late run is in no environment, has no mark and no folder, and is the held run's in all elseUnitpassnot runnot runnot run
a mark no build makes ("") removes no fileUnitpassnot runnot runnot run
a mark no build makes ("//.ogygia.invalid") removes no fileUnitpassnot runnot runnot run
a mark no build makes ("//") removes no fileUnitpassnot runnot runnot run
a mark no build makes ("//0123456789abcdef.ogygia.invalid/x") removes no fileUnitpassnot runnot runnot run
a mark no build makes ("//a") removes no fileUnitpassnot runnot runnot run
a mark no build makes ("x//0123456789abcdef.ogygia.invalid") removes no fileUnitpassnot runnot runnot run
a marked URL after a colon that starts no URL (a CSS custom property) is only unmarkedUnitpassnot runnot runnot run
a marked URL made absolute against the page's URL (an og:image, a feed's enclosure) names the file at Kit's prerender originUnitpassnot runnot runnot run
a marked URL made absolute while Kit's prerender origin is its default fails the build with a code that says to set itUnitpassnot runnot runnot run
a page that changed a marked URL before writing it (escaped it) fails the build with a codeUnitpassnot runnot runnot run
a prerendered card that shows a remote image > a record of the URLs it showed that is torn, or not a list of http(s) URLs, is a miss: the card is drawn again, never a failed buildUnitpassnot runnot runnot run
a prerendered card that shows a remote image > fetches its remote image as a share card, so the build's remote messages name a card as the askerUnitpassnot runnot runnot run
a prerendered card that shows a remote image > is named by the bytes it drew: when the host's image changes, the next (warm) build writes a new file, never the old picture under the old nameUnitpassnot runnot runnot run
a prerendered page's files are written under the app folder, and its marked URLs name themUnitpassnot runnot runnot run
a prerendered page's remoteImage() in a build with no image({ remote }) fails it, naming the host to listUnitpassnot runnot runnot run
a prerendered page's remoteImage() is fetched by the build, its files named by the bytes it got, and every name of them in the pages rewritten to thatUnitpassnot runnot runnot run
a run whose end failed has ended: no mark stays in the environment, and the names of the files it made doUnitpassnot runnot runnot run
a run whose notes folder is gone is no run to keep: the next start makes its ownUnitpassnot runnot runnot run
a run's marked files are removed from the prerendered folder, its pages, data and escaped ones, and no other fileUnitpassnot runnot runnot run
a warmed preset's files are written under the app folder by their recipeUnitpassnot runnot runnot run
an end handed a run with no notes path deletes no folder, not even the working one, and writes nothingUnitpassnot runnot runnot run
an end removes its run's notes folder, and closes the run's head start: a file noted after it is not madeUnitpassnot runnot runnot run
an end that fails on a bad note deletes nothing beside it, and the next build starts a run of its ownUnitpassnot runnot runnot run
an end that is not late leaves no late handoff, so a page rendered after it may name any fileUnitpassnot runnot runnot run
an ended handoff whose names are null has noneUnitpassnot runnot runnot run
an ended run and a served one hold no notes path and no mark, so ending one again, or deleting its folder, does not compileUnitpassnot runnot runnot run
an ended run is kept by any config that resolves after (the prerender's own, a tool's), and the next server leg's is a run of its ownUnitpassnot runnot runnot run
the build hands what it renders after its end (an SPA fallback) the files it wrote, with no notes and no mark; the next build starts a new runUnitpassnot runnot runnot run
warming a preset warms its twins: a dark file's files are made from that file, and an art crop's from the sourceUnitpassnot runnot runnot run
packages/image/test/card-build.test.ts
every row of the card engine table: nothing draws without the engine installed and listed, no server without it in dependencies, an edge build warnsUnitpassnot runnot runnot run
the build reads a card's image where the live endpoint does, the server's assets: a client-only file or a static/ file is refusedUnitpassnot runnot runnot run
the card's module > a rendered chunk gets each card's digest and the list of the cards' own chunksUnitpassnot runnot runnot run
the card's module > a server card's chunk names the files its engine reads by a path no tracer follows (satori's harfbuzz wasm), each a URL relative to the chunkUnitpassnot runnot runnot run
the card's module > in dev, each load of a card names it anewUnitpassnot runnot runnot run
the card's module > the browser gets the refusal; the server the spec, the component under the og-card query, and the engine where it runsUnitpassnot runnot runnot run
the digest > a child component, its CSS or a font changes it; a module the card does not import does notUnitpassnot runnot runnot run
the digest > a package's font or module whose bytes change at the same path (npm or yarn: no version in it) changes it; a file's built code does not (a cold and a warm build differ there)Unitpassnot runnot runnot run
the digest > the CSS a card's component compiles to changes it (a Tailwind or PostCSS config change), and the rest of its built code does notUnitpassnot runnot runnot run
the macro > a card call becomes an import of its module, named by its arguments, which records the cardUnitpassnot runnot runnot run
the macro > a card call in a component's markup is left as is, for ogygia's macro_in_markupUnitpassnot runnot runnot run
the macro > a package font resolves from the file that names itUnitpassnot runnot runnot run
the macro > what a card cannot be drawn from fails the build, codedUnitpassnot runnot runnot run
packages/image/test/card-draw-settings.test.ts
a card's digest holds the versions of satori, satori-html and resvg the app hasUnitpassnot runnot runnot run
a card's name holds the draw version: another version names the same card and props anewUnitpassnot runnot runnot run
a change to what a card asks of sharp, satori or resvg bumps CARD_DRAW_VERSION, so no card name keeps an old PNGUnitpassnot runnot runnot run
packages/image/test/card-endpoint-read.test.ts
a card's image of the build is read by the URL read() takes for its tail, with no query, whatever query the markup's URL or dev's import carriesUnitpassnot runnot runnot run
packages/image/test/card-endpoint.test.ts
a live card whose image the remote host refuses answers the remote's status, not a 500 for the cardUnitpassnot runnot runnot run
packages/image/test/card-images.test.ts
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a failure of the server’s own (out of memory) is not a broken file, whoever reports itUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (avif) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (gif) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (jpeg) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (png) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (tiff) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a broken file is one rule: SourceUnreadable, for a card’s fitter and an encode alike > a file cut short (webp) is SourceUnreadable to the fitter and to an encodeUnitpassnot runnot runnot run
a card's images, as satori is handed them > a data: URL reaches satori under the type its bytes are, not the one it declaresUnitpassnot runnot runnot run
a card's images, as satori is handed them > a file resvg cannot draw never reaches it: a fit that hands back a CMYK JPEG or a 16-bit PNG is refused, codedUnitpassnot runnot runnot run
a card's images, as satori is handed them > a link's href (a card made from page markup) is no image: never read, and the card drawsUnitpassnot runnot runnot run
a card's images, as satori is handed them > a server that fits no image (sharp makes no file there) refuses a card that names one, coded, before it reads the image or drawsUnitpassnot runnot runnot run
a card's images, as satori is handed them > a small '16-bit grey PNG' on a card draws its own pixels, as an <img> and as a background url() (resvg draws a CMYK JPEG as nothing and reads no colour profile)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small '16-bit PNG' on a card draws its own pixels, as an <img> and as a background url() (resvg draws a CMYK JPEG as nothing and reads no colour profile)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small 'CMYK JPEG' on a card draws its own pixels, as an <img> and as a background url() (resvg draws a CMYK JPEG as nothing and reads no colour profile)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small 'Display P3 JPEG' on a card draws its own pixels, as an <img> and as a background url() (resvg draws a CMYK JPEG as nothing and reads no colour profile)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small 'grey PNG' on a card draws its own pixels, as an <img> and as a background url() (resvg draws a CMYK JPEG as nothing and reads no colour profile)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small avif on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small file of huge dimensions (a 20000 x 20000 PNG header) is refused, coded, before anything decodes itUnitpassnot runnot runnot run
a card's images, as satori is handed them > a small gif on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small jpeg on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small png on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small tiff on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a small webp on a card draws its own pixels, as an <img> and as a background url() (resvg draws no WebP, AVIF or TIFF; every type remoteImage() takes, a card takes)Unitpassnot runnot runnot run
a card's images, as satori is handed them > a style's url( with no closing paren is refused, coded, and satori never calls fetchUnitpassnot runnot runnot run
a card's images, as satori is handed them > a style's url(data: with no closing paren is refused, coded, before the draw: no data: image reaches satori unfitted (a 9000 x 9000 PNG)Unitpassnot runnot runnot run
a card's images, as satori is handed them > an <img> hands satori its bytes, not a data: text (satori keeps every data: text it is given, up to 500 of them, for the process's life)Unitpassnot runnot runnot run
a card's images, as satori is handed them > an <img> read as a Buffer that is a view into a larger pool hands satori that image's bytes alone, not the pool'sUnitpassnot runnot runnot run
a card's images, as satori is handed them > an image larger than the card reaches satori fitted to it: covering the card, at most four times its pixelsUnitpassnot runnot runnot run
a card's images, as satori is handed them > an image of a type resvg cannot draw never reaches it: a fit that hands one back is refused, codedUnitpassnot runnot runnot run
a card's images, as satori is handed them > an SVG data: URL is refused in a card, coded (it can name addresses of its own)Unitpassnot runnot runnot run
a card's images, as satori is handed them > resvg draws a JPEG only when it is 8-bit, grey or RGB, baseline or progressive: no 12-bit, arithmetic, lossless or CMYK file passesUnitpassnot runnot runnot run
packages/image/test/card-remote-live.test.ts
a live card that shows a remote image is never sent immutable: it is kept for remote.maxAge, and past it the host's new picture is drawnUnitpassnot runnot runnot run
a live card that shows a remote image, kept in memory (no store), is sent with what is left of its window, not its first ask’s max-ageUnitpassnot runnot runnot run
a live card that shows a remote image, past its window while the host is down, is the last window’s file for 30 s; with none kept, the host’s refusalUnitpassnot runnot runnot run
a live card that shows only the build’s images stays immutableUnitpassnot runnot runnot run
a live card whose image fails to fit for a reason of the server’s own (out of memory) fails that ask only: 500, and remoteImage() of the same URL still fetches and is madeUnitpassnot runnot runnot run
a live card whose remote image does not decode is that URL’s failure, as for remoteImage(): 502, remembered (one fetch), said onceUnitpassnot runnot runnot run
packages/image/test/card.test.ts
components compiled for a card > each asks for its CSS in the render, whatever options it hadUnitpassnot runnot runnot run
components compiled for a card > only a .svelte file under the og-card query is oneUnitpassnot runnot runnot run
drawing > a card draws as a PNG of its own size, with its CSS from its headUnitpassnot runnot runnot run
drawing > a card's image URLs reach its realm as the markup means them: &amp; in a query, &quot; around a url()Unitpassnot runnot runnot run
drawing > a class that looks like a Tailwind utility is only a class: the CSS is the component ownUnitpassnot runnot runnot run
drawing > a failure that is no CSS refusal (a font that does not load) keeps its own error, not image_card_cssUnitpassnot runnot runnot run
drawing > an image a card's markup names at an address the app does not read it from is refused, coded, and never fetchedUnitpassnot runnot runnot run
drawing > an image the card's realm reads (a listed remote host, an asset of the build) is drawn from bytes ogygia hands satoriUnitpassnot runnot runnot run
drawing > an SVG <image>'s href, a mask's url() and a data: SVG in a card are the realm's to read or refuse: satori never calls fetchUnitpassnot runnot runnot run
drawing > character references in text are decoded once, after the markup is readUnitpassnot runnot runnot run
drawing > CSS satori cannot draw is image_card_css, naming the property and the cardUnitpassnot runnot runnot run
fonts > a font file names its family, weight and styleUnitpassnot runnot runnot run
fonts > a WOFF2 file, or one that is no font, does not readUnitpassnot runnot runnot run
fonts > any bytes a font file holds read as a face or FontUnreadable, never another error (property)Unitpassnot runnot runnot run
props > any JSON object reads back from its text as itselfUnitpassnot runnot runnot run
props > props that are not JSON, or past the size a URL carries, are image_card_propsUnitpassnot runnot runnot run
props > the id changes with the digest, the size and the props, and with nothing elseUnitpassnot runnot runnot run
props > the same props written in any key order are one JSON text, one id and one tailUnitpassnot runnot runnot run
the descriptor and its recipes > a card mints its own-size PNG, and its recipes carry the card and its props in a .card/ tailUnitpassnot runnot runnot run
the descriptor and its recipes > a tail that is not a card names noneUnitpassnot runnot runnot run
the descriptor and its recipes > its recipe head names the id and the size like any other sourceUnitpassnot runnot runnot run
the descriptor and its recipes > with no server realm (the browser), a card is image_no_serverUnitpassnot runnot runnot run
the share image dev rule > names an og:image or twitter:image that is AVIF or WebP, and no PNG, JPEG or other metaUnitpassnot runnot runnot run
packages/image/test/cloudflare.test.ts
a change to the binding's steps bumps STEPS_VERSION, so the Worker cache never answers with files made the old wayUnitpassnot runnot runnot run
a link mirrors, then turns, as sharp doesUnitpassnot runnot runnot run
a live recipe the links can make is named by its link; else the endpoint makes it; else the render fails naming the encoder and the needUnitpassnot runnot runnot run
a recipe's needs: the box, where it keeps, each op, the formatUnitpassnot runnot runnot run
a remote source is never made larger than it is, by a link or the binding: its box is fit=crop, which only shrinksUnitpassnot runnot runnot run
Cloudflare cannot make an entropy crop, a turn off the quarters, normalize, negate, gamma, tint, a hue or lightness change, or read an AVIF; its links cannot name a PNGUnitpassnot runnot runnot run
Cloudflare reads no AVIF source (Enterprise plans only), and its links name no PNG: a PNG from a PNG source keeps the source's format, from any other it is the binding'sUnitpassnot runnot runnot run
cloudflare() links by default; links: false sends every file to the binding endpoint; sharp() links nothing and makes everythingUnitpassnot runnot runnot run
cloudflare() refuses an unknown key, a links that is not a boolean, and a binding that is no nameUnitpassnot runnot runnot run
in dev every file is the endpoint's, and a need the encoder cannot meet fails there as in productionUnitpassnot runnot runnot run
the binding blurs and sharpens the box it made, as sharp does: a big source blurred and cut is as soft as sharp makes itUnitpassnot runnot runnot run
the binding makes the same recipe in steps, in sharp's order: mirror, turn, box, toneUnitpassnot runnot runnot run
the capability table, row by rowUnitpassnot runnot runnot run
the link of each recipe shape, options in one fixed orderUnitpassnot runnot runnot run
packages/image/test/encode-settings.test.ts
a change to what sharp is asked for a file bumps ENCODER_VERSION, so no built name keeps old bytesUnitpassnot runnot runnot run
a change to what sharp is asked for a placeholder bumps PLAN_VERSION, so no kept plan keeps the old oneUnitpassnot runnot runnot run
an AVIF effort that is no whole number from 0 to 9, or an unknown key, fails the build with a codeUnitpassnot runnot runnot run
sharp({ effort: { avif } }) is what sharp is asked for an AVIF file, by the endpoint's maker and the build alike; the default is 2Unitpassnot runnot runnot run
packages/image/test/encoder-check.test.ts
a build with no node_modules folder (Yarn PnP) goes on when Node resolves sharp from the appUnitpassnot runnot runnot run
a Cloudflare build that lists no encoder fails, coded, naming cloudflare() and sharp() for prerendered images onlyUnitpassnot runnot runnot run
a Cloudflare Workers adapter is Cloudflare for cloudflare() tooUnitpassnot runnot runnot run
a node server build fails, coded, when sharp is installed but not in the app's dependencies, so the adapter would bundle itUnitpassnot runnot runnot run
a node server build fails, coded, when the app does not install sharp itselfUnitpassnot runnot runnot run
a node server build with sharp in the app's dependencies goes onUnitpassnot runnot runnot run
a static build, which runs no server, needs sharp installed and listed, devDependencies is enoughUnitpassnot runnot runnot run
an edge build with cloudflare() says nothing, and needs sharp only to build, devDependencies being enoughUnitpassnot runnot runnot run
an edge build with sharp() listed says once that its server cannot encode and names cloudflare(), and needs sharp only to buildUnitpassnot runnot runnot run
any other edge build that lists no encoder fails too, coded, naming sharp() for prerendered images only; with sharp() it warnsUnitpassnot runnot runnot run
every row of the encoder table: nothing goes on without sharp listed and installed, and no server without it in dependenciesUnitpassnot runnot runnot run
the dev server fails, coded, when the app does not install sharpUnitpassnot runnot runnot run
with NODE_PATH set, a sharp that Node finds with no node_modules folder at or above the app is not the app installing itUnitpassnot runnot runnot run
packages/image/test/kit3-app.test.ts
a watch that says it failed, and stays up, rejects at onceUnitpassnot runnot runnot run
a watch that says nothing rejects after its limitUnitpassnot runnot runnot run
a watch that stopped before it was asked for rejects at onceUnitpassnot runnot runnot run
stop waits for the watch to exitUnitpassnot runnot runnot run
packages/image/test/kit3-prerender.test.ts
on Kit 3, no prerendered page keeps the build's mark, in Kit's output or the adapter'sUnitpassnot runnot runnot run
on Kit 3, the build deletes its run's folder and says nothing of itUnitpassnot runnot runnot run
on Kit 3, the build writes every image file a prerendered page names, under its own pathUnitpassnot runnot runnot run
packages/image/test/kit3-watch-remote.test.ts
on Kit 3, a watch rebuild of a page with a remote image finds the file the last build named by the image's bytesUnitpassnot runnot runnot run
packages/image/test/kit3-watch.test.ts
on Kit 3, a watch rebuild leaves no prerendered page with the build's markUnitpassnot runnot runnot run
on Kit 3, a watch rebuild whose page names an image file no build made stops before the adapter, out loudUnitpassnot runnot runnot run
on Kit 3, a watch rebuild writes every image file its prerendered pages nameUnitpassnot runnot runnot run
packages/image/test/layout.test.ts
lay_out > a breakpoint within a tenth of a width the layout names makes no file of its ownUnitpassnot runnot runnot run
lay_out > a crop names where it keeps; the centre is the default and goes unsaidUnitpassnot runnot runnot run
lay_out > a fixed square avatar from a wide photo is cut square, never wider than 2× its boxUnitpassnot runnot runnot run
lay_out > a height alone keeps the aspect ratioUnitpassnot runnot runnot run
lay_out > a position on an image whose shape is kept changes nothingUnitpassnot runnot runnot run
lay_out > a width and a height crop the files to that boxUnitpassnot runnot runnot run
lay_out > an animated source moves as WebP only, with a still of its first frame for reduced motionUnitpassnot runnot runnot run
lay_out > an aspect crops every file to that shape, no wider than the source coversUnitpassnot runnot runnot run
lay_out > an authored sizes replaces the derived oneUnitpassnot runnot runnot run
lay_out > an SVG is its own file: no srcset, no sizes, no recipeUnitpassnot runnot runnot run
lay_out > constrained never asks for a raster wider than its pixelsUnitpassnot runnot runnot run
lay_out > constrained with a width offers its 1× and 2× and the breakpoints under 2×Unitpassnot runnot runnot run
lay_out > constrained with no width is the intrinsic widthUnitpassnot runnot runnot run
lay_out > fixed asks for exactly 1× and 2× of its box, and no sizesUnitpassnot runnot runnot run
lay_out > fullWidth offers every breakpoint at 100vwUnitpassnot runnot runnot run
lay_out > no still is offered when the encoders cannot make oneUnitpassnot runnot runnot run
lay_out > one format renders a plain img: no sourcesUnitpassnot runnot runnot run
lay_out > quality: the request over the source over the pluginUnitpassnot runnot runnot run
lay_out > the preload names the best formatUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a box taller than the source can fill is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a crop position that is not one is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a descriptor from outside the build with a placeholder that closes its url() is refused with a codeUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a descriptor from outside the build with a placeholder that is not a WebP data URL is refused with a codeUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a descriptor from outside the build with an empty id is refused with a codeUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a descriptor from outside the build with an id that is not a recipe id is refused with a codeUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a fixed box taller than the source can fill is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a fractional aspect asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a fractional fixed box asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a fractional height alone asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a fractional width asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a height far past the source, with no width asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a negative width is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a position that is not one, with no crop is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a quality above 100 is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a quality that is not whole is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a source wider than any file the endpoint makes, laid out at its own width, is refused with a codeUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a very tall aspect the source can still fill asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a width that is not a number is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a width under one pixel asks only for files the endpoint makes, at whole sizesUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a zero aspect is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > a zero width is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > an aspect taller than the source can fill is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > an aspect that does not read is refused with a code, naming the propUnitpassnot runnot runnot run
lay_out agrees with the endpoint > an infinite height is refused with a code, naming the propUnitpassnot runnot runnot run
packages/image/test/macro.test.ts
rewrite_image_calls > a call becomes an import of the file under the og-image queryUnitpassnot runnot runnot run
rewrite_image_calls > a call in a component template is left as is, for ogygia's macro_in_markupUnitpassnot runnot runnot run
rewrite_image_calls > a docs page that writes the call as text in its markup is no call (a <code> sample)Unitpassnot runnot runnot run
rewrite_image_calls > a glob stays local, and a twin is a file of the appUnitpassnot runnot runnot run
rewrite_image_calls > a glob that matches nothing fails the buildUnitpassnot runnot runnot run
rewrite_image_calls > a hand-written og-image query that is not the macro’s fails with its codeUnitpassnot runnot runnot run
rewrite_image_calls > a listed remote URL is a source: an import of the remote module, options keptUnitpassnot runnot runnot run
rewrite_image_calls > a missing file fails the build, naming itUnitpassnot runnot runnot run
rewrite_image_calls > a misspelled option fails instead of being ignoredUnitpassnot runnot runnot run
rewrite_image_calls > a module without the marker is returned as it isUnitpassnot runnot runnot run
rewrite_image_calls > a URL on a host the app does not list, or with no hosts at all, fails naming the line to addUnitpassnot runnot runnot run
rewrite_image_calls > a variable path fails: the build reads literalsUnitpassnot runnot runnot run
rewrite_image_calls > glob becomes an eager import.meta.glob under the queryUnitpassnot runnot runnot run
rewrite_image_calls > in a component the import lands in the script that callsUnitpassnot runnot runnot run
rewrite_image_calls > options travel in the query, read back as writtenUnitpassnot runnot runnot run
rewrite_image_calls > the words in a component template’s text are not a callUnitpassnot runnot runnot run
rewrite_image_calls > warm names presets the config declares, one or a list; any other name fails the buildUnitpassnot runnot runnot run
the image macro in dev > a call in a markdown page's <script> is rewritten, in the regions ogygia hands the macroUnitpassnot runnot runnot run
the image macro in dev > a call to a missing file still watches it, so adding the file transforms the module againUnitpassnot runnot runnot run
the image macro in dev > the macro answers with edits, so a module that uses it keeps its source mapUnitpassnot runnot runnot run
packages/image/test/markdown-cache-key.test.ts
the markdown extension cache key > a change to the image plugin’s code is a new key, so content never serves a doc it compiled beforeUnitpassnot runnot runnot run
packages/image/test/markdown.test.ts
finish names every image file a post shows, body and frontmatter, so a kept compile of the post is checked again once one is goneUnitpassnot runnot runnot run
frontmatter images > a ./ or ../ path to a missing image fails the build, naming itUnitpassnot runnot runnot run
frontmatter images > a ./ path to an image becomes a descriptor import, in place in the metadataUnitpassnot runnot runnot run
frontmatter images > a frontmatter path is a file path: a % in it is not an escapeUnitpassnot runnot runnot run
frontmatter images > a value with no ./ or ../ prefix stays a string, even when it ends in an image extensionUnitpassnot runnot runnot run
frontmatter images > nested and listed paths become descriptors tooUnitpassnot runnot runnot run
markdown body images > a body image and a frontmatter URL on a listed host become descriptors; an unlisted one stays plainUnitpassnot runnot runnot run
markdown body images > a local image renders through <Og__Img>, imported under the og-image queryUnitpassnot runnot runnot run
markdown body images > a markdown snippet (no file of its own) naming a local image fails with its own code, not image_not_foundUnitpassnot runnot runnot run
markdown body images > a missing local image fails the build, naming itUnitpassnot runnot runnot run
markdown body images > a name with a space is imported by its real name, not its URL-encoded oneUnitpassnot runnot runnot run
markdown body images > a non-ASCII name is imported by its real name, not its URL-encoded oneUnitpassnot runnot runnot run
markdown body images > a path whose escapes are not UTF-8 fails with a coded message, not a URIErrorUnitpassnot runnot runnot run
markdown body images > a prose preset, when the config has one, is how a body image is shownUnitpassnot runnot runnot run
markdown body images > a raw HTML <img> naming a local file fails the build, pointing at ![]()Unitpassnot runnot runnot run
markdown body images > a raw HTML <img> of a remote or site-absolute file is left aloneUnitpassnot runnot runnot run
markdown body images > a remote or site-absolute image is left as a plain <img>Unitpassnot runnot runnot run
markdown body images > alt and title text cannot close the attribute or open an expressionUnitpassnot runnot runnot run
markdown body images > image() offers the extension on its Vite plugin api, and markdown: false offers noneUnitpassnot runnot runnot run
markdown body images > markdown.width rides as the image width; the source import carries no widthUnitpassnot runnot runnot run
markdown body images > with markdown.animated alone, a still image is as wide as itselfUnitpassnot runnot runnot run
markdown body images > with markdown.animated and markdown.width, the width is a still image’s only, so the preset’s width reaches a moving oneUnitpassnot runnot runnot run
markdown body images > with markdown.animated, a moving source takes that preset and a still one the prose presetUnitpassnot runnot runnot run
packages/image/test/markup-names.test.ts
<Img>'s data-og-img is core's OG_IMG, in its markup and in its CSSUnitpassnot runnot runnot run
every data-og-* name <Img> writes is one of core's markup namesUnitpassnot runnot runnot run
packages/image/test/namer-bundle.test.ts
a cloudflare() app's namer holds Cloudflare's link code and none of Vercel'sUnitpassnot runnot runnot run
a vercel() app's namer holds Vercel's link code and none of Cloudflare'sUnitpassnot runnot runnot run
packages/image/test/none-maker.test.ts
a PNG asked for at its own size, as a PNG, is handed back as it isUnitpassnot runnot runnot run
any other ask is refused, saying no encoder makes files hereUnitpassnot runnot runnot run
packages/image/test/options.test.ts
an encoder list is in order of priority: one platform, at most one maker, and nothing after sharp(), which makes every fileUnitpassnot runnot runnot run
an unknown markdown key still fails, naming the known onesUnitpassnot runnot runnot run
encoder takes sharp(), cloudflare(), vercel() or a list of encoders, each at most onceUnitpassnot runnot runnot run
markdown.animated names a preset the config declaresUnitpassnot runnot runnot run
markdown.animated naming no declared preset fails the build, listing the declared onesUnitpassnot runnot runnot run
packages/image/test/peers.test.ts
the least place any peer is listed countsUnitpassnot runnot runnot run
with NODE_PATH set, a card engine package Node finds with no node_modules folder at or above the app is not the app installing itUnitpassnot runnot runnot run
packages/image/test/plan.test.ts
plan_image > a file is encoded at its box in its format, cut to the boxUnitpassnot runnot runnot run
plan_image > a file that is not an image fails with its codeUnitpassnot runnot runnot run
plan_image > a long screen recording (1200×800, 300 frames) plans, and its WebP keeps every frameUnitpassnot runnot runnot run
plan_image > a photo: its shown size, its format and a placeholder, and no file encodedUnitpassnot runnot runnot run
plan_image > a quarter-turn rotate op swaps the shown sizeUnitpassnot runnot runnot run
plan_image > a still image past the pixel limit fails at build with a code naming the fileUnitpassnot runnot runnot run
plan_image > a transparent image gets no placeholder: the blur would show through itUnitpassnot runnot runnot run
plan_image > an animated GIF is planned as moving, and its WebP keeps every frameUnitpassnot runnot runnot run
plan_image > an animation whose frames add up past what an encode may read fails at build with a code naming the fileUnitpassnot runnot runnot run
plan_image > an image whose header reads but whose pixels do not fails with its codeUnitpassnot runnot runnot run
plan_image > an SVG is planned at its own size, never rasterizedUnitpassnot runnot runnot run
plan_image > EXIF orientation is applied: a portrait stored sideways reports its shown sizeUnitpassnot runnot runnot run
plan_image > placeholder: false makes noneUnitpassnot runnot runnot run
plan_image > the id names the file's bytes alone: other settings keep the id and get their own planUnitpassnot runnot runnot run
plan_image > the placeholder is a tiny WebP made at build, its data URL at most 400 bytes, in the image's shapeUnitpassnot runnot runnot run
plan_image > the placeholder paints as a background with no decode at renderUnitpassnot runnot runnot run
plan_image > two files with the same bytes are one source: the descriptor, not the plan, names the fileUnitpassnot runnot runnot run
packages/image/test/plugin.test.ts
<Img> is handed Kit's base, assets and app folder, read from Kit's own pluginUnitpassnot runnot runnot run
a leg is Kit's server leg by its environment, not the config's build.ssr: Kit 3 builds every leg from one configUnitpassnot runnot runnot run
a platform's encoder on another adapter fails the server build, as its links and maker exist only on that platformUnitpassnot runnot runnot run
a remote image resolves to its file in the build cache, loads as a source, and the server build lists it for the endpointUnitpassnot runnot runnot run
cloudflare() makes files with its Images binding in a build and with sharp in dev, and names live files by its links in a build onlyUnitpassnot runnot runnot run
Kit 3's service worker leg, built after the build's end, starts no handoff of its own: no new mark, run or makerUnitpassnot runnot runnot run
on adapter-auto, the message says to list the platform adapter itself: auto cannot hand it the encoder configUnitpassnot runnot runnot run
only an app that lists vercel() gets the output check, run after the server build's other closeBundle hooksUnitpassnot runnot runnot run
the endpoint makes files with the maker the encoder names, sharp by default, and no encoder links filesUnitpassnot runnot runnot run
the server reads no original under src/lib/server or in a test folder, and the macro says soUnitpassnot runnot runnot run
the theme stylesheet resolves to a file path, with and without a queryUnitpassnot runnot runnot run
vercel() alone has no endpoint maker; its sizes bound every file's width; a list keeps sharp's endpointUnitpassnot runnot runnot run
vercel() alone offers no still of a moving image, and its server build says so once; a list with sharp() doesUnitpassnot runnot runnot run
with vercel(), a source's own quality that vercel({ qualities }) does not list fails the build where the source is read, not each live renderUnitpassnot runnot runnot run
without SvelteKit there are no paths to name files by: a coded error, not a silent defaultUnitpassnot runnot runnot run
packages/image/test/recipe.test.ts
recipes > a format the endpoint does not make, a zero size or a quality over 100 is no recipeUnitpassnot runnot runnot run
recipes > a name with a space, an accent or a comma is escaped in the URL and read back as itselfUnitpassnot runnot runnot run
recipes > a recipe path reads back as the recipe it was written fromUnitpassnot runnot runnot run
recipes > a tail that climbs out of its folder is no recipeUnitpassnot runnot runnot run
recipes > the tail is the asset path without origin, base, query or leading slash, decodedUnitpassnot runnot runnot run
packages/image/test/remote-image-links.test.ts
with cloudflare() links, a remote image on an unlisted host gets the endpoint's URL, which refuses it with a codeUnitpassnot runnot runnot run
with vercel() links, a remote image on an unlisted host gets the endpoint's URL, which refuses it with a codeUnitpassnot runnot runnot run
packages/image/test/remote-image.test.ts
private addresses > a *. entry never matches an address; only an entry that names the address doesUnitpassnot runnot runnot run
private addresses > a connection to a host listed only by *. gets its addresses only when every one is public; a named host gets anyUnitpassnot runnot runnot run
private addresses > an IPv4 address and the IPv6 addresses that carry it (mapped, NAT64, 6to4) are one answer (property)Unitpassnot runnot runnot run
private addresses > loopback, private, link-local (cloud metadata), shared, reserved and multicast addresses are private; a public one is notUnitpassnot runnot runnot run
remoteImage() > a descriptor of the URL: id r and a hash of the URL and version, its box, its format by extension, no placeholderUnitpassnot runnot runnot run
remoteImage() > another URL or another version is another source; the same URL written another way is the sameUnitpassnot runnot runnot run
remoteImage() > its recipes name the URL in a .remote/ tail that reads back as the URL, and no other tail doesUnitpassnot runnot runnot run
remoteImage() > refuses what it cannot name: no http(s) URL, a user in it, a box that is not whole pixels, an alt or version of another kindUnitpassnot runnot runnot run
remoteImage() > with cloudflare() links, a remote image's link names its whole URL after the optionsUnitpassnot runnot runnot run
sha256 > is SHA-256 (property, against node:crypto)Unitpassnot runnot runnot run
packages/image/test/remote-request.test.ts
the image endpoint, for a remote image > a .remote/ tail changed after signing, or the id beside it, is refused by the signatureUnitpassnot runnot runnot run
the image endpoint, for a remote image > a file is made from the URL's bytes, its tail the URL, answered to be kept for at most remote.maxAge, never foreverUnitpassnot runnot runnot run
the image endpoint, for a remote image > a file kept in memory (no store) is sent with what is left of its window, not its first ask's max-ageUnitpassnot runnot runnot run
the image endpoint, for a remote image > a host listed only by *. that resolves to a private address is never connected to; one the list names itself isUnitpassnot runnot runnot run
the image endpoint, for a remote image > a remote URL that failed is not fetched again for a while: its files answer the remembered status, said once, and it is asked again once the memory endsUnitpassnot runnot runnot run
the image endpoint, for a remote image > a small remote image the CMS says is huge is never made larger than it isUnitpassnot runnot runnot run
the image endpoint, for a remote image > a URL on a host remote.hosts does not list is 404 and kept nowhere, though the app signed it (under an older list), and is never fetchedUnitpassnot runnot runnot run
the image endpoint, for a remote image > an encode that fails on its own (out of memory under load) fails that file only: the URL's other files, and the same file asked again, are madeUnitpassnot runnot runnot run
the image endpoint, for a remote image > an original that does not decode is the URL's failure: every file of it answers 502, remembered, from one fetchUnitpassnot runnot runnot run
the image endpoint, for a remote image > an original whose header reads but whose pixels are cut short is the URL's failure: 502, remembered (one fetch), said onceUnitpassnot runnot runnot run
the image endpoint, for a remote image > different URLs' windows end at different instants, so a server's remote files do not all expire at onceUnitpassnot runnot runnot run
the image endpoint, for a remote image > past its window while the host is down, a file is the last window's for 30 s; with none kept, the host's refusalUnitpassnot runnot runnot run
the image endpoint, for a remote image > past its window, an original whose pixels are now cut short is the last window's file for 30 sUnitpassnot runnot runnot run
the image endpoint, for a remote image > past maxBytes is 413, past the timeout 504, an error status or not an image 502, a redirect off the list 404: each kept nowhere, each saidUnitpassnot runnot runnot run
the image endpoint, for a remote image > slow remote hosts hold no encode slot: a file whose bytes are here is made while they waitUnitpassnot runnot runnot run
the image endpoint, for a remote image > the files of one URL asked at once share one fetch; one asked again in its window is kept, and made from a new fetch in the next windowUnitpassnot runnot runnot run
the most pixels a file may have > a declared size past the pixels one frame may have is refused by remoteImage(), and such a recipe is no recipeUnitpassnot runnot runnot run
packages/image/test/remote.test.ts
hosts > *. lists every name below, one label or more, never the name itselfUnitpassnot runnot runnot run
hosts > a *. entry over a name above a shared suffix (so over every tenant of it) is refused; one over a single tenant is notUnitpassnot runnot runnot run
hosts > a *. entry over a public suffix anyone can host under is refused; one over a name below it, or that name itself, is notUnitpassnot runnot runnot run
hosts > a *. entry over a shared storage or image CDN name (a Vercel Blob store, a Bunny pull zone, an imgix source) is refused; one store of it is notUnitpassnot runnot runnot run
hosts > a name inside another host's name is not that hostUnitpassnot runnot runnot run
hosts > a name lists that name, over https, on the default portUnitpassnot runnot runnot run
hosts > a public suffix written with DNS's trailing dot, or a regional storage name, is a public suffix tooUnitpassnot runnot runnot run
hosts > a URL whose host ends in a trailing dot is the host without itUnitpassnot runnot runnot run
hosts > a URL with a user or password in it is never listedUnitpassnot runnot runnot run
hosts > an entry with a path, a wildcard over an address or a top-level name, or a range is refusedUnitpassnot runnot runnot run
hosts > no pattern takes a host outside it (property)Unitpassnot runnot runnot run
hosts > one tenant of a regional storage name stays its ownUnitpassnot runnot runnot run
hosts > plain http only from an entry that says http://, with its portUnitpassnot runnot runnot run
hosts > the line to add names exactly the refused hostUnitpassnot runnot runnot run
hosts > the remote option is checked: hosts, limits, unknown keysUnitpassnot runnot runnot run
the fetch into the build cache > a body past maxBytes is dropped, counted as it streams or by its lengthUnitpassnot runnot runnot run
the fetch into the build cache > a first fetch keeps the bytes and their etag, named by the URLUnitpassnot runnot runnot run
the fetch into the build cache > a host that stops answering fails at the timeoutUnitpassnot runnot runnot run
the fetch into the build cache > a redirect to a host the list does not name fails the build, naming bothUnitpassnot runnot runnot run
the fetch into the build cache > a second build asks with the etag, and a 304 keeps the copyUnitpassnot runnot runnot run
the fetch into the build cache > an answer that is not an image, or an error status, fails with the reasonUnitpassnot runnot runnot run
the fetch into the build cache > in dev the endpoint reads a remote original only from the remote folder, by its hashed nameUnitpassnot runnot runnot run
the fetch into the build cache > offline with a copy kept: the copy, and image_remote_stale; offline with none: image_remote_failedUnitpassnot runnot runnot run
the fetch into the build cache > one process asks each URL once, however many modules name itUnitpassnot runnot runnot run
the fetch into the build cache > redirects are followed, each hop checked, at most 3Unitpassnot runnot runnot run
packages/image/test/remove-dir.test.ts
../../../../../tmp/og-image-x is deletedUnitpassnot runnot runnot run
../../../../../tmp/og-image-x/y is deletedUnitpassnot runnot runnot run
".." is refused, and nothing is deletedUnitpassnot runnot runnot run
"." is refused, and nothing is deletedUnitpassnot runnot runnot run
"" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image/node_modules/.ogygia/image/files" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image/node_modules/.ogygia/image/runs" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image/node_modules/.ogygia/image/runs/.." is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image/node_modules/.ogygia/image/runs/a/b" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/home/runner/work/ogygia/ogygia/packages/image/src" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/tmp" is refused, and nothing is deletedUnitpassnot runnot runnot run
"/tmp/.." is refused, and nothing is deletedUnitpassnot runnot runnot run
"/tmp/a/../.." is refused, and nothing is deletedUnitpassnot runnot runnot run
"node_modules/.ogygia/image/runs/a" is refused, and nothing is deletedUnitpassnot runnot runnot run
a folder a link leads to outside the temporary folder is refusedUnitpassnot runnot runnot run
a temporary folder that is, or holds, the repository lets nothing of it throughUnitpassnot runnot runnot run
a working folder in the temporary folder, and what holds it, is refusedUnitpassnot runnot runnot run
no file of the package deletes a folder another way, but for a path written out in itUnitpassnot runnot runnot run
packages/image/e2e/app/node_modules/.cache/ogygia-image-e2e/node is deletedUnitpassnot runnot runnot run
packages/image/node_modules/.ogygia/image/runs/a is deletedUnitpassnot runnot runnot run
packages/image/test/render-no-server.test.ts
on a server with no image server, a local, a remote and a card recipe are each image_no_serverUnitpassnot runnot runnot run
packages/image/test/render.test.ts
a warmed preset asks the server for the files the build madeUnitpassnot runnot runnot run
the same preset said over, another preset, or a source not warmed with it, is signedUnitpassnot runnot runnot run
with no server realm, a warmed preset names the files the build made, under the app folder at the baseUnitpassnot runnot runnot run
packages/image/test/run-folder.test.ts
a dev server handed a notes file outside the image's runs folders keeps its store and says so, and the environment it hands on names no notesUnitpassnot runnot runnot run
a live server's tidy of this user's temporary folder keeps the builds' runs folderUnitpassnot runnot runnot run
a notes file in a run another build opened in the image cache's runs folder is used as it is, and nothing is saidUnitpassnot runnot runnot run
a notes file in a run folder that is a link in the image's runs folder is not used, and the build says soUnitpassnot runnot runnot run
a notes file the environment names outside the image's runs folders is not used: the build notes in a run of its own, writes nothing there, says so, and its end deletes nothing thereUnitpassnot runnot runnot run
a relative notes path is kept even from inside the runs folder, where it names a run's own folderUnitpassnot runnot runnot run
a relative notes path the environment names is not used, though it names a folder of the working one, and its end deletes nothing thereUnitpassnot runnot runnot run
a run another process started in the image cache is deleted by this one's end, which started no run thereUnitpassnot runnot runnot run
a run folder that cannot be deleted fails no build, and the build says soUnitpassnot runnot runnot run
a run folder that cannot be deleted leaves the build's own image error the one thrown, and the build says soUnitpassnot runnot runnot run
an end deletes its own run's folder by the runs folder's own path, though the path it is handed goes through a link to a folder above itUnitpassnot runnot runnot run
an end deletes its run in an image cache inside the app, from the app as the working folderUnitpassnot runnot runnot run
an end deletes its run though the image cache has moved since the run was opened (a plugin that points the cache at the app after this one started its run)Unitpassnot runnot runnot run
an end deletes nothing when its notes folder is a folder in a run, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is a link in the runs folder, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is a run named through `..`, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is a run named through `.`, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is the image cache, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is the root folder, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is the runs folder itself, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is the temporary folder, and says soUnitpassnot runnot runnot run
an end deletes nothing when its notes folder is the working folder, and says soUnitpassnot runnot runnot run
an end deletes nothing when its run folder holds the working folder or the app, and says soUnitpassnot runnot runnot run
an end keeps a run in an image cache whose runs folder is itself a link, and says soUnitpassnot runnot runnot run
an end keeps its own run's folder when it is named through a link to the runs folder, and says soUnitpassnot runnot runnot run
an end whose notes folder is gone deletes nothing and says nothingUnitpassnot runnot runnot run
with no cache folder (a read-only install), a build's run is in the runs folder of this user's own folder in the temporary folder, and its end deletes itUnitpassnot runnot runnot run
with no cache folder and a temporary folder that is not this user's alone, a build's run is in its own new temporary folder, and its end deletes it and says nothingUnitpassnot runnot runnot run
with no cache folder, a run folder the environment names in another process's temporary cache is not used, and its end deletes nothing there, and the build says soUnitpassnot runnot runnot run
with no cache folder, a run in a temporary folder named like one this process made, which it did not make, is kept, and the build says soUnitpassnot runnot runnot run
with no cache folder, a run in this user's temporary folder is kept when another user could open that folder after this build opened its run there, and the build says soUnitpassnot runnot runnot run
with no cache folder, a run in this user's temporary folder is kept when another user could open that folder, and the build says soUnitpassnot runnot runnot run
with no cache folder, a run is deleted by its own folder's path though the temporary folder is named through a link, by another process's end tooUnitpassnot runnot runnot run
with no cache folder, every watch rebuild whose end is late makes no folder at allUnitpassnot runnot runnot run
with the image cache, a run in the runs folder of this user’s own temporary folder is deleted tooUnitpassnot runnot runnot run
packages/image/test/server-after-build.test.ts
a page rendered after the build wrote its files (an SPA fallback) > names a file the build wrote by its plain URL, with no mark, signing nothingUnitpassnot runnot runnot run
a page rendered after the build wrote its files (an SPA fallback) > names a remoteImage()'s file by the name the build gave it (its bytes), not the remote URLUnitpassnot runnot runnot run
a page rendered after the build wrote its files (an SPA fallback) > names its original for a file no prerendered page asked for, and notes nothingUnitpassnot runnot runnot run
packages/image/test/server-assets-path.test.ts
paths.assets > with paths.assets set to a CDN, a signed file is made from the original Kit serves thereUnitpassnot runnot runnot run
packages/image/test/server-boot.test.ts
starting the image server realm loads no sharp or libvips, so a server without them bootsUnitpassnot runnot runnot run
packages/image/test/server-disk-half.test.ts
a live server starts the image server realm without loading its disk halfUnitpassnot runnot runnot run
packages/image/test/server-no-encoder.test.ts
a server where sharp cannot load starts, and its endpoint answers a coded 500 no cache keeps, said onceUnitpassnot runnot runnot run
packages/image/test/server-no-top-level-await.test.ts
in dev, the realm module loads before its disk half doesUnitpassnot runnot runnot run
packages/image/test/server-prerender.test.ts
a prerendered page > names each file under the app folder at the base, by its recipe, behind the build mark, signing nothingUnitpassnot runnot runnot run
a prerendered page > notes each recipe once, with the original it is made from, for the build to makeUnitpassnot runnot runnot run
a prerendered page > notes the origin Kit prerenders at, which a page's absolute URLs resolve against, for the build's endUnitpassnot runnot runnot run
a prerendered page > reads no original and makes no file: the build makes every file the prerender namesUnitpassnot runnot runnot run
packages/image/test/server-run-refused.test.ts
Kit's prerender handed a notes file outside the image's runs folders names its files by signed URLs, notes nothing and makes no folder there, and says so onceUnitpassnot runnot runnot run
packages/image/test/server.test.ts
the image server realm > a minted URL is a path under /__ogygia__/i/, signed by the app, the same on every renderUnitpassnot runnot runnot run
the image server realm > a recipe rendered again reuses its signed URL: one signature per recipe, not per renderUnitpassnot runnot runnot run
the image server realm > a remote image the server build fetched is an original the endpoint reads; any other name under the assets is notUnitpassnot runnot runnot run
the image server realm > a request for any other path passes throughUnitpassnot runnot runnot run
the image server realm > a signed path that is not a recipe is not foundUnitpassnot runnot runnot run
the image server realm > a signed recipe naming an original the app does not ship is not foundUnitpassnot runnot runnot run
the image server realm > a signed URL asked with any method but GET or HEAD is answered 405Unitpassnot runnot runnot run
the image server realm > a URL whose recipe was changed after signing is refused, naming why and the keyUnitpassnot runnot runnot run
the image server realm > a URL with no signature, or a forged one, is refusedUnitpassnot runnot runnot run
the image server realm > a warmed preset's recipe names the file the build made, signing nothingUnitpassnot runnot runnot run
the image server realm > an animated source stays animatedUnitpassnot runnot runnot run
the image server realm > an original that cannot be decoded is a coded 500 no cache keeps, not a hung requestUnitpassnot runnot runnot run
the image server realm > the endpoint makes the file the URL describes, kept foreverUnitpassnot runnot runnot run
the image server realm > the second ask is read from the store, whole, with its lengthUnitpassnot runnot runnot run
the store a live server keeps > a file made long ago but asked for since is kept at the next start: files age by last useUnitpassnot runnot runnot run
the store a live server keeps > a folder at that place that others can write to, or a link, keeps nothing, and says soUnitpassnot runnot runnot run
the store a live server keeps > counts the files a past run left against its sizeUnitpassnot runnot runnot run
the store a live server keeps > every user of one folder in a process shares one store, so its size holds for a dev server's whole runUnitpassnot runnot runnot run
the store a live server keeps > is a folder only its user can open; another version's folder goes once unused for a week, and one in use by a server beside it staysUnitpassnot runnot runnot run
the store a live server keeps > keeps at most its size: the least recently asked files go first, while the server runsUnitpassnot runnot runnot run
packages/image/test/settle-live.test.ts
a second full line, after the first one emptied, is said againUnitpassnot runnot runnot run
a signed URL asked with a query string is sent to the bare URL, and nothing is madeUnitpassnot runnot runnot run
an unsigned URL with a query string is still refusedUnitpassnot runnot runnot run
many asks for one file at once make it onceUnitpassnot runnot runnot run
more files asked at once than the server queues answer 503 with a retry-after, said onceUnitpassnot runnot runnot run
packages/image/test/settle-store-fails.test.ts
a file the store cannot write is still answered, said once, and kept in memory insteadUnitpassnot runnot runnot run
packages/image/test/source-identity.test.ts
a descriptor naming one source by id and another by file is never answered with the other fileUnitpassnot runnot runnot run
a page that names a source's old content, asked after its original changed, gets no file: the new pixels are never kept under the old nameUnitpassnot runnot runnot run
an edited source gets a new id, so a rebuild writes its new pixels under a new nameUnitpassnot runnot runnot run
packages/image/test/store-folder.test.ts
a dev server handed a store and a remote folder in its own image cache, where no run of this process was opened, uses them as they are and says nothingUnitpassnot runnot runnot run
a dev server handed a store and a remote folder in this user's own temporary folder, while it is this user's alone, uses them as they are and says nothingUnitpassnot runnot runnot run
a dev server handed a store and a remote folder outside the image cache uses its own, and says so once for eachUnitpassnot runnot runnot run
a prerender worker the build starts uses the build's own store, and says nothingUnitpassnot runnot runnot run
a remote folder the environment names outside the image cache is not used, and the build warns and uses its ownUnitpassnot runnot runnot run
a separate process does not use a store in a folder named like an image cache that the image code did not make in its working folder, and says soUnitpassnot runnot runnot run
a separate process started in another app does not use the first app's image cache store it inherits, and says soUnitpassnot runnot runnot run
a separate process the build starts in the app (a test runner's fork, a script) uses the app's own image cache store it inherits, and says nothingUnitpassnot runnot runnot run
a store folder in the image cache that another build handed this one is used as is, and nothing is saidUnitpassnot runnot runnot run
a store folder reached through a link in the image cache that leads outside it is not usedUnitpassnot runnot runnot run
a store folder the environment names outside the image cache is not used: its month-old file is kept, and the build warns and makes its files in a store of its ownUnitpassnot runnot runnot run
the server's maker, handed a store folder outside the image cache, keeps its month-old file and uses a store of its own, and says soUnitpassnot runnot runnot run
with no cache folder and a temporary folder that is not this user's alone, a run in the build's own new temporary folder is kept once that folder is open to others, and the build says soUnitpassnot runnot runnot run
packages/image/test/twins.test.ts
options > dark, art, theme and a preset art are checkedUnitpassnot runnot runnot run
options > the theme stylesheet shows the dark picture by the app's selectors, or the system's when no selector saysUnitpassnot runnot runnot run
the picked row is the one a person expects > over twin sets × media statesUnitpassnot runnot runnot run
the still > it needs a still, not an animation; Cloudflare makes it with anim=falseUnitpassnot runnot runnot run
the still > its recipe head says -s after the position and before the ops, and reads backUnitpassnot runnot runnot run
twins > a twin media that cannot be joined with another, or a twin with twins, is image_prop_invalidUnitpassnot runnot runnot run
twins > an art crop of a source with a dark file comes first as the dark file at art and darkUnitpassnot runnot runnot run
twins > an art twin's own file keeps its own shape, not the request's cropUnitpassnot runnot runnot run
twins > each twin row carries its own box, so the page reserves the right space per mediaUnitpassnot runnot runnot run
twins > with image({ theme }), a dark file is a second picture, and each preload says its schemeUnitpassnot runnot runnot run
packages/image/test/vercel.test.ts
[vercel(), sharp()]: what Vercel can make is its link, anything else the sharp endpoint makesUnitpassnot runnot runnot run
a plugin or preset quality vercel() does not list fails the build, naming the list to add it toUnitpassnot runnot runnot run
a recipe's needs name the crop and a source Vercel would pass throughUnitpassnot runnot runnot run
a remote image's Vercel link names its whole URL, escapedUnitpassnot runnot runnot run
in dev the sharp endpoint makes every file, and vercel() alone still fails a crop thereUnitpassnot runnot runnot run
the adapter config check covers remote.hosts: remotePatterns reach each listed host and no other, and the line to pass has themUnitpassnot runnot runnot run
the adapter config check fails an images config that lets anyone ask Vercel for any quality or any path of the deploymentUnitpassnot runnot runnot run
the adapter config check names each width, quality, format and host the build names that images lacksUnitpassnot runnot runnot run
the link: the original's URL escaped whole, the width snapped up to a size, the quality said or the format's ownUnitpassnot runnot runnot run
Vercel only resizes: no crop, no position, no operation, no named PNG or JPEG, no GIF, TIFF or animated source, no still of oneUnitpassnot runnot runnot run
vercel() alone: a crop, an op, a width past every size or a quality it does not allow fails the render, naming the needUnitpassnot runnot runnot run
vercel() hands the adapter its images config; its sizes default to small sizes and the breakpointsUnitpassnot runnot runnot run
vercel() opens Vercel's optimizer no wider than the app asks: the default qualities (AVIF 60, WebP 80) only, and the app's own originals onlyUnitpassnot runnot runnot run
vercel() refuses an unknown key, sizes that are not whole pixels, and qualities outside 1–100Unitpassnot runnot runnot run
with widths, the layout asks only for those, or the whole source, each onceUnitpassnot runnot runnot run
packages/image/test/vite-no-sharp.test.ts
image()'s Vite entry loads without sharp, and the build's first hook names the fixUnitpassnot runnot runnot run