Skip to content

v0.2.1 — no require polyfill in the published bin

Choose a tag to compare

@rustyconover rustyconover released this 12 Aug 15:18
· 50 commits to main since this release

Maintenance release. Nothing changes for anyone attaching the worker.

Changed

Picks up @query-farm/vgi-rpc 0.19.4, which reaches node:fs.writeSync through process.getBuiltinModule when neither import.meta.require nor globalThis.require exists — that is, on every Node ESM consumer.

That was this package's problem to work around, and it is now fixed upstream, so the build banner is back to a bare shebang instead of injecting a require shim into the published bundle. The dependency floor matters: below 0.19.4 the worker starts, answers bind, and then dies on its first write.

Verified with 123 assertions under plain node with the polyfill removed.

Install

npx -y @query-farm/vgi-open-meteo
docker run --rm -p 8000:8000 ghcr.io/query-farm/vgi-open-meteo:0.2.1
ATTACH 'open_meteo' AS m (TYPE vgi, LOCATION 'npx -y @query-farm/vgi-open-meteo');