1.0 KiB
1.0 KiB
Smartbrowser Hints
Dependencies (as of 2026-03-09)
@push.rocks/smartpdfv4.2.x: HasSmartPdf.create()factory method, butnew SmartPdf()+start(browser)still works. Lazy init pattern used.@push.rocks/smartpuppeteerv2.x:getEnvAwareBrowserInstance()main entry point@push.rocks/tapbundlev6.x: No longer exportsexpectAsync, onlytap,expect,TapWrap,webhelpers@git.zone/tsbuildv4.x: No--allowimplicitanyflag (defaults tonoImplicitAny: false),--webflag still passed but ignored if no ts_web@git.zone/tstestv3.3.x: Still supports--webflag, file suffix conventions changed (.chromium.tsfor browser tests)@types/nodev25.x: Latest Node.js type definitions- Puppeteer
page.screenshot({ encoding: 'binary' })returnsUint8Array, notBuffer- wrap withBuffer.from()
Build
pnpm buildusestsbuild --webpnpm testuseststest test/ --web- No ts_web directory exists in this project
- Duplicate dayjs versions in transitive deps cause build errors; fix with
pnpm dedupe