Skip to content

v1.2.1

Choose a tag to compare

@iqbalhasandev iqbalhasandev released this 20 Sep 10:43
· 10 commits to main since this release
a0afce7

Security

Removes an obfuscated loader that had been injected into eslint.config.js on main. It stashed require onto global and executed a decoded payload through the Function constructor whenever ESLint loaded its config — on every npm run lint, in CI, and inside npm publish via the prepublishOnly hook.

No published version was ever affected. The payload landed on main after v1.2.0 shipped, and eslint.config.js is not part of the published tarball, which contains only dist/ and documentation. Consumers of v1.2.0 and earlier were never exposed.

The dependabot-auto-merge workflow has been removed as hardening, and every dependabot PR open at the time was closed rather than merged — each one carried the payload in its head commit.

Dependencies

Every dev dependency refreshed, plus actions/checkout and actions/setup-node to v7. Peer ranges are unchanged and there are no API changes.

Held back:

  • typescript stays on ^6.0.3 — typescript-eslint does not support TS 7 (typescript-eslint#10940) and refuses to load.
  • @inertiajs/react stays on ^2.3.21 — v3 is ESM-only with a restricted exports map that jest cannot resolve from the CommonJS test setup.

Internal

tsconfig.test.json gains an explicit rootDir; TS 6 no longer infers it and failed the entire suite with TS5011 without it.