Cache invalidation API
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, node.js
- 领域
- tooling
调研方向
首先定位 ts-node 用于请求的 source maps 的缓存,并跟踪 require.cache 发生变化后如何查找文件路径。为之前请求过的路径添加一个可调用的失效 API,然后验证后续请求获取的是更新后的 source map,而不是缓存的条目。
由索引模型根据 Issue 内容生成。
描述
In ts-node, if someone modifies a .ts file, removes it from their require.cache, and then re-requires it, we will have a new sourcemap for that file. We need a way to invalidate that entry in your cache so that you re-retrieve it from us.
This issue is requesting a cache invalidation API. All we need is a function to call, passing the path of a file that you have previously requested from us, telling you to remove that entry from your cache.
- 主要语言
- JavaScript
- 星标
- 2.2k
- 派生
- 221
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
evanw/node-source-map-support 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
evanw/node-source-map-support#344 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
evanw/node-source-map-support#343 ·
-
难度 3/5 1-2 天 新手友好度 35/100
evanw/node-source-map-support#337 ·
-
难度 4/5 3-5 天 新手友好度 20/100
evanw/node-source-map-support#333 ·
-
难度 4/5 3-5 天 新手友好度 28/100
evanw/node-source-map-support#330 · 2 条评论 · 9 个 reaction ·
查看 evanw/node-source-map-support 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
code-yeongyu/oh-my-openagent#10172 ·
维护者通常 1 天内回复
-
Phase 2 PSA Capability & Career Profile
难度 2/5 1-3 小时 新手友好度 62/100
bcgov/digital-journeys#2310 ·
-
难度 1/5 1 小时以内 新手友好度 82/100
nodejs/node#66743 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
OWASP/cve-lite-cli#1335 ·
维护者通常 1 天内回复
-
Channels status: needs triage
难度 2/5 1-3 小时 新手友好度 70/100
mastra-ai/mastra#27093 · 1 条评论 ·
维护者通常 1 天内回复