[AC-675] Commonjs modules are overwriting module.exports.id property
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-02-29T18:26:18.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, require |
Reporter | Brenton House |
Assignee | Shak Hossain |
Created | 2016-02-28T18:16:43.000+0000 |
Updated | 2016-02-29T18:26:18.000+0000 |
Description
{color:red}*Issue AC-638 was closed before being addressed or fixed. *{color}
According to the commonjs spec, module.id and module.uri property should be set but not module.exports.id and module.exports.uri.
The id property from module is leaking into module.exports.
var x = require("some_commonjs_module");
x.id exists and shouldn't...
Comments
- Sharif AbuDarda 2016-02-29