Skip to content

v0.18.2

Choose a tag to compare

@mertcanaltin mertcanaltin released this 25 May 21:33
· 9 commits to master since this release

Fixes the browser and edge build: it no longer touches the filesystem at import. The safe-regex engine source was embedded into standalone output through a fs.readFileSync that ran at module load, which crashed bundlers that stub fs/path for the browser (a regression from 0.17.3). The read is deferred to the first standalone compile that embeds the engine, so importing ata, validating, generating types, and compiling pattern-free schemas now run with no filesystem access in browsers and Cloudflare Workers.