astw icon indicating copy to clipboard operation
astw copied to clipboard

walk the ast

Results 9 astw issues
Sort by recently updated
recently updated
newest added

Bumps [acorn](https://github.com/acornjs/acorn) from 4.0.13 to 7.1.1. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=acorn&package-manager=npm_and_yarn&previous-version=4.0.13&new-version=7.1.1)](https://help.github.com/articles/configuring-automated-security-fixes) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

to the same version as used by `detective`.

Hi, For packaging for debian I need a better description of this module. No need to modify this readme but a 10 line description in pure english (no code) is...

If an app is already using `walk` it would be a shame to have to re-parse the src a second time just to get access to the parsed AST directly....

Part of multiple pull-requests, so acorn options can flow like: insert-module-globals -> lexical-scope->astw Also see: https://github.com/substack/insert-module-globals/pull/67 https://github.com/substack/lexical-scope/pull/23

This patch passes `allowHashBang` option to `acorn` so that unix shebangs don't cause syntax errors. ``` js #!/usr/bin/env node // ... ```

@substack I'd like your approval on this - it'd be great for node-detective and insert-module-globals. --- Before: ``` $ for i in {1..5}; do node bench/walk.js; done 116ms - 35066...

Many esprima parse errors are not fatal, and don't even represent errors that will be noticed by Node or by browsers. Furthermore, the lint-iness of the source code is not...

The `parent` argument to `walk` is never used.