Files
codebase-memory-mcp/tests
Martin Vogel e0d2a414fa fix(resolver): CommonJS names follow the object module.exports finally is
Three CommonJS facts the export table had wrong:

- `exports = x` without module.exports detaches the name, so a later `exports.y`
  is not an export. It was published as one.
- `exports.y` or `module.exports.y` written before the last `module.exports =`
  went to the replaced object.
- `exports = module.exports = createApp; exports.named = named` makes `named` a
  name of the required value. `require(x).named` looked only for a member declared
  under createApp, and `module.exports = require('./app')` did not forward names.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-11-01 16:27:40 +01:00
..
…