1 | # scope-analyzer change log
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 |
|
5 | This project adheres to [Semantic Versioning](http://semver.org/).
|
6 |
|
7 | ## 2.0.3 / 2018-04-20
|
8 | * revert to custom walker, acorn.walk behaviour is different and not faster
|
9 |
|
10 | ## 2.0.2 / 2018-04-20
|
11 | * fix valid references that occur above a value is declared in source code
|
12 |
|
13 | ## 2.0.1 / 2018-03-30
|
14 | * always initialise scope on the root node, so that undeclared names can be attached
|
15 |
|
16 | ## 2.0.0 / 2018-03-08
|
17 |
|
18 | * add support for ES5 environments (Node 0.10+)
|
19 | * `scan.getBinding()` now also returns bindings for undeclared identifiers. `binding.definition` will be undefined for undeclared identifiers.
|
20 |
|
21 | ## 1.3.0 / 2018-01-13
|
22 |
|
23 | * add `binding.remove(node)` to remove a reference to a binding from the list of references. use `binding.isReferenced()` to check if there are any references left.
|
24 |
|
25 | ## 1.2.0 / 2018-01-02
|
26 |
|
27 | * track uses of undeclared variable names. use `getUndeclaredNames()` on the root scope to get a list of undeclared names used in the AST.
|
28 |
|
29 | ## 1.1.1 / 2018-01-02
|
30 |
|
31 | * fix `import { a as b }` being counted as a reference to `a`
|
32 |
|
33 | ## 1.1.0 / 2017-12-26
|
34 |
|
35 | * account for import declarations
|
36 | * rename `analyze` to `crawl` (analyze is still available as alias)
|
37 | * some tests
|
38 |
|
39 | ## 1.0.0 / 2017-11-15
|
40 |
|
41 | * initial release
|