mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
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:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user