JavaScript: Update Dependencies library to not rely on Files being Locatable.

Previously, we would consider an HTML file to be a dependent of all scripts embedded in it. Now we instead consider each JavaScript toplevel inside the HTML file to be a dependent, which is more sensible anyway.
This commit is contained in:
Max Schaefer
2019-11-28 15:24:25 +00:00
parent 7487c79271
commit ec2ba735de
3 changed files with 91 additions and 32 deletions

View File

@@ -1,8 +1,8 @@
| /src/tst.html<\|>jquery<\|>23.0.0 | 4 |
| /src/a.js<\|>lib3<\|>unknown | 3 |
| /src/tst.html<\|>jquery<\|>23.0.0 | 3 |
| /src/tst.html<\|>jquery<\|>42.0.0 | 3 |
| /src/a.js<\|>lib1<\|>1.0.2 | 2 |
| /src/b.js<\|>lib3<\|>unknown | 2 |
| /src/tst.html<\|>jquery<\|>42.0.0 | 2 |
| /src/a.js<\|>lib2<\|>1.0.0 | 1 |
| /src/b.js<\|>lib2<\|>1.0.0 | 1 |
| /src/sub/c.js<\|>lib1<\|>1.0.2 | 1 |