mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-25 16:37:32 +00:00
* fix(studio-server): judge file writes as files, and refuse names that shadow a module A create or overwrite is now judged as writing a file whatever stands at the path, and a create is checked again once its body has arrived, so swapping a folder away while the body is pending no longer lets an extensionless name through. Below a tooling package.json, a file whose name plus a module extension names a file beside it (db.utils next to db.utils.js) is refused too, since Node loads the exact name first. * fix(core): refuse names that shadow a module in the shared Node-tooling rule The sibling-module check now lives in core's nodeMayRun, where the rule moved, so Studio saves and hyperframes add from another registry both refuse a file Node would load before the module beside it. * docs(core): describe the shadowing rule without a file-like example The comments check reads the example name as a citation of a missing file.