@esbuild-kit/core-utils provides core utility functions used by other esbuild-kit projects such as cjs-loader and esm-loader. It includes helpers for esbuild transforms, caching, and source map handling (using native source map support when available, otherwise falling back to source-map-support).
Project status
- Status, maintenance: The upstream is marked as archived, and the last upstream push was 2023-09-19. As of 2026-08-11, there is no evidence of active maintenance.
- Update cadence: The most recent updates are from September 2023 (v3.3.0 to v3.3.2), followed by a long period with no new changes, indicating a dormant or maintenance-stopped trajectory.
AI summary generated
Recent updates
v3.3.2
v3.3.2 includes a small bug fix related to resolving TS paths when the import specifier contains a query string. The code change specifically updates path extension handling to preserve and re-attach the query portion when converting .js/.cjs/.mjs specifiers to .ts/.cts/.mts.
v3.3.1
v3.3.1 includes a targeted bug fix for dynamic import handling in src/transform/transform-dynamic-import.ts. The change hardens the logic that unwraps default exports, ensuring it does not assume the default export is always truthy.
v3.3.0
Release v3.3.0 adds support for Node.js v20 `globalPreload` handling related to isolated loaders. The code change primarily updates source map installation logic to optionally use `worker_threads` message passing when running under Node 20’s loader isolation behavior.
Featuresv3.2.3
v3.2.3 is documented as a bug fix for dynamic import interop being mis-injected. The code diff, however, shows that the only tangible changes in this release are a regression test addition plus dependency and lockfile updates that likely drive the behavior change.
v3.2.2
Release v3.2.2 primarily changes the bundled dependency stack by reverting esbuild from the 0.19 line back to the 0.18 line. No application or API code changes are present in the provided diff, only package.json and pnpm-lock.yaml updates.
v3.2.1
v3.2.1 is presented as a Node 12 compatibility bug fix. The code diff confirms a change to avoid using String.replaceAll in the dynamic import transform, and the repository CI and build/test configuration were adjusted to better cover Node 12 scenarios.
v3.2.0
v3.2.0 primarily upgrades esbuild to 0.19.2. However, the diff shows additional TypeScript type tightening, CI tooling updates (pnpm), and several dev dependency version bumps that are not mentioned in the release notes.
v3.1.0
v3.1.0 includes a bug fix related to a source-map version/type mismatch, and it upgrades esbuild to 0.17.6. The release notes only mention those items, but the code diff shows additional type and environment related changes.
v3.0.0
v3.0.0 makes a major internal change to the transformation pipeline and source map handling. Source maps are now represented as RawSourceMap objects (not strings), transformers are run with filePath context, and source-map support has a different API shape.
Breakingv2.3.2
Release v2.3.2 contains a single bug fix focused on preserving unused variables so debugging remains reliable after transformation/minification. The code change primarily disables a minification setting and updates tests to assert the preserved variables and related sourcemap behavior.