Agent 基础设施官方发布自动监测

@cloudflare/worker-bundler@0.2.6

Cloudflare's worker-bundler patch fix properly resolves package subpath imports when a package lacks an exports map but specifies a main field.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

In release 0.2.6 of @cloudflare/worker-bundler, module resolution logic was patched. Previously, subpath imports (for example, ajv/dist/compile/codegen ) resolved incorrectly to the package root entrypoint when the target package contained a main field without an exports map. The resolution algorithm now targets the specific requested file.

Agent 解析

可执行摘要

@cloudflare/worker-bundler@0.2.6 fixes module resolution for packages lacking an exports map and defining a main field, correctly mapping subpath imports to requested target files instead of the root entrypoint.

Agent 实用度
72/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade @cloudflare/worker-bundler to version 0.2.6 if using packages with subpath imports that lack explicit exports maps.
分类

标签与路由

cloudflareagents-sdkedge-runtime
相关信号

继续阅读