Erik Krogh Kristensen
08ce03cd93
Merge branch 'main' into explicit-this
2021-11-24 15:24:58 +01:00
Erik Krogh Kristensen
011fc20963
use matches instead of regexpMatch
2021-11-18 15:41:25 +01:00
Erik Krogh Kristensen
0ff36cd083
Merge branch 'main' into explicit-this
2021-11-13 21:01:25 +01:00
Erik Krogh Kristensen
db40ccae81
add explicit this to all member calls
2021-11-01 09:51:15 +01:00
Erik Krogh Kristensen
15c90adec5
remove redundant cast where the type is enforced by an equality comparison
2021-10-28 18:08:20 +02:00
Erik Krogh Kristensen
e75448ebb0
remove redundant inline casts
2021-10-28 16:35:53 +02:00
Erik Krogh Kristensen
a3c55c2aec
use set literal instead of big disjunction of literals
2021-10-26 12:55:25 +02:00
Asger Feldthaus
c8e7df7900
JS: Add test case
2021-10-01 12:02:40 +02:00
Erik Krogh Kristensen
fdbf5f73b1
add JS support for static initializers
2021-09-14 20:40:46 +02:00
Erik Krogh Kristensen
e3ed6c2523
refactor StaticInitializer into it's own class
2021-09-14 20:40:45 +02:00
Erik Krogh Kristensen
ffd51e725f
add getter for static initializer blocks
2021-09-14 20:40:45 +02:00
Erik Krogh Kristensen
9585481d0b
add support for static initializer blocks in TypeScript
2021-09-14 20:40:45 +02:00
Erik Krogh Kristensen
59f15eb4eb
add tests for TypeScript 4.4 types
2021-09-14 20:40:45 +02:00
Chris Smowton
487ebdf173
Add test for Javascript literal with an unpaired surrogate character
2021-09-13 14:02:05 +01:00
Asger Feldthaus
db1de18cc2
JS: Support transitive callback-passing
2021-09-08 13:08:16 +02:00
Asger Feldthaus
7c94dd94e9
JS: Add type-tracking steps through callback args
2021-09-08 13:08:05 +02:00
Asger Feldthaus
1f6df4e70d
JS: Add callback type tracking test
2021-09-08 13:08:04 +02:00
CodeQL CI
5b229e9392
Merge pull request #6574 from asgerf/js/vue-api-graphs
...
Approved by erik-krogh
2021-09-07 05:53:30 -07:00
Erik Krogh Kristensen
b509627113
add tests for connect
2021-08-31 14:23:23 +02:00
Erik Krogh Kristensen
3d6ab81ab8
refactor the tests for connect
2021-08-31 14:23:23 +02:00
Erik Krogh Kristensen
c6399dbdf4
simplify the connect model by reusing NodeJSLib::RouteHandler
2021-08-31 14:23:23 +02:00
Asger Feldthaus
7dd65d8ac6
JS: Clean up taint step definitions
...
These are Unit types and so should be kept private as you can't
use them for anything other than getting all taint steps of a certain
type.
Also factors out accesses to 'this'.
2021-08-31 11:19:06 +02:00
Asger Feldthaus
e4901eda91
JS: Handle .extend called on any component
2021-08-31 11:19:01 +02:00
Asger Feldthaus
2a79817c3b
JS: Add test for "extends"
2021-08-31 11:19:01 +02:00
Asger Feldthaus
4d4443c3cf
JS: Use API graphs in getOption(s)
2021-08-31 11:19:00 +02:00
CodeQL CI
170a069657
Merge pull request #6403 from asgerf/js/handlebars-extraction
...
Approved by erik-krogh
2021-08-25 13:54:52 +01:00
Asger Feldthaus
bac212c610
JS: Fix typo: instantiaton -> instantiation
2021-08-19 14:41:18 +02:00
Asger Feldthaus
7b6485c32a
JS: Rename some test predicates to match class name
2021-08-18 15:36:41 +02:00
Asger Feldthaus
b21071923e
JS: Rename variables to match new class name
2021-08-18 15:36:41 +02:00
Asger Feldthaus
0a98679f74
JS: Rename Vue::Instance to Vue::Component
2021-08-18 15:36:41 +02:00
Asger Feldthaus
cb0075f15a
JS: Remove use of deprecated API
2021-08-12 09:30:43 +02:00
CodeQL CI
8fe2a43fd9
Merge pull request #6433 from asgerf/js/tainted-url-suffix
...
Approved by erik-krogh
2021-08-12 00:28:46 -07:00
Asger Feldthaus
b9b10af9b5
JS: Tolerate parse errors in test due to speculative parsing
2021-08-11 12:54:22 +02:00
Asger Feldthaus
65b44248f8
JS: Autoformat
2021-08-11 12:50:54 +02:00
Asger Feldthaus
4f4f524937
JS: Add test for upward traversal
2021-08-11 12:50:54 +02:00
Asger Feldthaus
b7339348ef
JS: Add tests for EJS includes
2021-08-11 12:50:54 +02:00
Asger Feldthaus
b1cadc8ae7
JS: Add test for AngularJS sinks
2021-08-11 12:50:54 +02:00
Asger Feldthaus
e61d534c59
JS: Add ambiguity test for template file resolution
2021-08-11 12:50:54 +02:00
Asger Feldthaus
e8d10b983e
JS: Tests for template file resolution
2021-08-11 12:50:54 +02:00
Asger Feldthaus
28fe8da37c
JS: Add similar test for .njk file
2021-08-11 12:50:54 +02:00
Asger Feldthaus
1444ec5255
JS: Add similar test for hbs
2021-08-11 12:50:54 +02:00
Asger Feldthaus
7045fb4679
JS: Expand on test
2021-08-11 12:50:54 +02:00
Asger Feldthaus
14bada4bbe
JS: Model consolidate and factor in template syntax from call site
2021-08-11 12:36:35 +02:00
Asger Feldthaus
d83f5a9cd7
JS: Update StringConcatenation tests after handling 0-arg join calls
2021-08-10 08:56:36 +02:00
Asger Feldthaus
2836d465e4
JS: Update locations in Angular2 test
2021-08-09 11:03:15 +02:00
CodeQL CI
394d3349ac
Merge pull request #6213 from asgerf/js/vuex
...
Approved by erik-krogh
2021-08-03 01:49:06 -07:00
Asger Feldthaus
be8c574d5c
JS: Add test and comment for access path termination criteria
2021-07-16 09:42:59 +02:00
Asger Feldthaus
0247de76af
JS: Add a .vue file to vuex test
2021-07-16 09:31:47 +02:00
Erik Krogh Kristensen
2b6790e914
update expected output
2021-07-15 15:54:51 +02:00
Erik Krogh Kristensen
d2c74480b9
add taint step through flatten libraries
2021-07-15 12:36:07 +02:00