小红花·文摘
  • 首页
  • AI Tokens🪙
  • 排行榜🏆
  • 直播
  • FAQ

Cloudflare重写了Workers运行时workerd中的模块注册表,以提升Node.js兼容性。新实现将模块说明符视为URL,支持import.meta.url、import.meta.resolve()、正确的导入属性验证、Node.js风格的require(esm)规则、一致的错误处理、惰性编译及WebAssembly源阶段导入。用户可通过启用new_module_registry兼容标志来使用这些改进。

我们如何为Node.js兼容性重建Cloudflare Workers的模块注册表

The Cloudflare Blog The Cloudflare Blog · 2026-09-09T13:00:00Z

Cloudflare与Workers Vitest集成,允许开发人员为Cloudflare Workers编写单元和集成测试。集成包括快照、模拟、定时器和间谍等功能,以及热模块重载和每个测试独立存储等开发者体验改进。文章提供了使用Vitest测试Workers的入门指南。

通过Vitest和workerd改进Cloudflare Workers测试

The Cloudflare Blog The Cloudflare Blog · 2024-03-15T14:00:35Z

Cloudflare发布了Wrangler v3,其中包括使用Miniflare v3进行本地开发的功能,这是一个完全本地的Workers模拟器。与远程模式相比,新的本地优先实现将启动时间缩短了10倍,脚本重新加载时间缩短了60倍,提高了开发人员的速度。

使用 Wrangler 和 Workerd 改进本地开发

The Cloudflare Blog The Cloudflare Blog · 2023-05-17T13:00:15Z

Today, we’re taking local development to the next level by releasing Miniflare 3, powered by the open-source workerd runtime, along with support for migrating existing dashboard projects and using...

Doubling down on local development with Workers: Miniflare meets workerd

The Cloudflare Blog The Cloudflare Blog · 2022-11-18T14:00:00Z

workerd is the JavaScript/Wasm runtime code that powers Cloudflare Workers, now open source under the Apache 2.0 license

Introducing workerd: the Open Source Workers runtime

The Cloudflare Blog The Cloudflare Blog · 2022-09-27T13:01:00Z
  • <<
  • <
  • 1 (current)
  • >
  • >>
👤 个人中心
在公众号发送验证码完成验证
登录验证
在本设备完成一次验证即可继续使用

完成下面两步后,将自动完成登录并继续当前操作。

1 关注公众号
小红花技术领袖公众号二维码
小红花技术领袖
如果当前 App 无法识别二维码,请在微信搜索并关注该公众号
2 发送验证码
在公众号对话中发送下面 4 位验证码
小红花技术领袖俱乐部
小红花·文摘:汇聚分发优质内容
小红花技术领袖俱乐部
Copyright © 2021-
粤ICP备2022094092号-1
公众号 小红花技术领袖俱乐部公众号二维码
视频号 小红花技术领袖俱乐部视频号二维码