v0.2.6
π adnbn v0.2.6 Hotfix
Compare: v0.2.5...v0.2.6
π οΈ Hotfix Summary
This is a maintenance release focused on stability, test reliability, and small build/tooling adjustments. No breaking changes.
β Fixes
- π Locale plugin: add safeguard when the language set is empty to prevent runtime/config resolution errors.
- π¦ Module resolution: switch to
createRequirein ImportResolver and AbstractFinder to resolve modules correctly in ESM contexts and mixed Node environments. - π§Ή Minor formatting/consistency fixes across imports and object literals (quotes, trailing commas, newline consistency) to reduce diff-noise and avoid linter warnings.
β»οΈ Refactors & Internals
- π Import paths and export organization: consolidated transport-related types and re-routed imports to a single
src/transport/index.tsfor clearer boundaries. - π§Ύ Typings alignment: updated
RunAtreference (Chrome API namespace changes) to keep types up-to-date.
π§ͺ Tests & Tooling
- π§© Resolver tests: added lightweight mocks (
TsResolverMock,ImportResolverMock) to isolate tests and simplify setup inExpressionFile.test.tsandOptionFile.test.ts. - π§± Jest ESM handling: configured
extensionsToTreatAsEsmfor.ts/.tsxto improve ESM test compatibility. - π« Build hygiene: excluded test artefacts (
testsfolders,*.test.ts,*.spec.ts) from production builds viatsup.config.ts.
π¦ Dependencies
- General dependency updates for stability, including bundler and type packages (e.g., Rspack family and
@types/chrome). No breaking changes expected from these bumps within our supported ranges.
π Breaking Changes
- None.
π§ Migration Notes
- No action required. If you rely on custom module resolution in plugins or resolvers, note the internal move to
createRequire, but the public API remains unchanged.
π§° Misc
- Version bump to 0.2.6 and minor housekeeping.