browserify / browserify/syntax-error
If not defined, etc., it will not be recognized.
- Dominant language
- JavaScript
- Stars
- 81
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
main.js
```
var some = {};
module.exports = some;
a
```
errorCheck.js
```
var file = require("path").join("main.js");
var src = require("fs").readFileSync(file);
var ec = check(src, file);
if(ec) return { ... };
require("./main.js");
...
```
```
uncaughtException - a is not defined
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the main.js and errorCheck.js examples in the issue and inspect the package entry point that exposes check. Reproduce the shown uncaughtException behavior, then review existing tests to determine whether this case is expected to be reported; done should include a test or clarified behavior for the example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100