erik-krogh
0056067a17
Merge branch 'main' into ts-54
2024-02-25 21:20:43 +01:00
erik-krogh
083f56921c
update to 5.4.1-rc
2024-02-25 21:20:41 +01:00
Paolo Tranquilli
61bfe7e520
Bazel: rename internal module to semmle_code
2024-02-21 16:51:39 +01:00
Paolo Tranquilli
53539226a8
Bazel: use internal codeql module
2024-02-12 14:27:55 +01:00
Rasmus Lerchedahl Petersen
f275531542
Add support for TS 5.4-beta
2024-02-02 11:03:44 +01:00
erik-krogh
06c1fff770
address review comments
2024-01-10 13:53:54 +01:00
erik-krogh
d0fcb7d1ed
faster TypeScript extraction by not having to compute the "type-string" for a type every time
2024-01-09 15:30:55 +01:00
erik-krogh
0db788bb10
use direct string comparison instead, that doesn't crash on invalid values
2023-12-14 14:50:17 +01:00
erik-krogh
5e91b2f5bc
fix the parsing of boolean environment variables in the TypeScript extractor
2023-12-14 14:40:10 +01:00
erik-krogh
72e99b5b9d
rename extractor environment variable to CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES
2023-12-14 12:52:49 +01:00
erik-krogh
896432b646
add environment variable to skip extraction of types in TypeScript
2023-12-12 12:25:00 +01:00
erik-krogh
cf31ef4960
make sure reset() is called when manually invoking the TS extractor, so environment-variables are read
2023-12-12 10:51:09 +01:00
erik-krogh
c246a9c12c
move TypeVarDepth further up, so its declared before it's used
2023-12-12 10:34:42 +01:00
erik-krogh
13a01e1545
fix a this reference
...
`this` didn't refer to anything specific, and it was in fact `undefined` in the context it was invoked. There was already a `let typeTable = this;` further up (where `this` refers to the class instance), so I used `typeTable`.
2023-12-12 10:32:31 +01:00
erik-krogh
ca95a6e9cf
exclude all the lib.d.ts files when running the TS extractor directly
...
e.g. the `lib.es5.d.ts` file was not excluded
2023-12-12 10:29:09 +01:00
erik-krogh
5611a3e417
use exact version
2023-11-20 20:48:51 +01:00
erik-krogh
10b3efa667
update to the stable version of TypeScript 5.3
2023-11-20 20:32:24 +01:00
erik-krogh
dde9a7cd7e
Merge branch 'main' into ts53-ts
2023-11-20 20:31:00 +01:00
Cornelius Riemenschneider
97fd2033f1
Take our node, not the one that comes first on the PATH.
2023-11-09 22:00:00 +01:00
Cornelius Riemenschneider
b4ec13235d
Address review.
2023-11-09 09:40:29 +01:00
Cornelius Riemenschneider
6c7ea86a12
Introduce a bazel-based build for the entire JS pack.
2023-11-06 13:47:56 +01:00
Arthur Baars
3d45944649
Rename 'assertions' to 'attributes' in JS extractor
2023-11-06 13:38:32 +01:00
Arthur Baars
ec075f8fbe
Upgrade typescript to 5.3.1-rc
2023-11-06 13:38:24 +01:00
erik-krogh
abcb5a7a95
remove the remaining yarn files
2023-11-05 19:24:59 +01:00
Asger F
e08a873829
JS: Tolerate TypeScript files being requested out of order
2023-09-08 10:31:04 +02:00
erik-krogh
56f1ff8af1
bump from release candidate to final release
2023-08-24 20:32:27 +02:00
erik-krogh
dfc83d844a
very initial support for TypeScript 5.2
2023-08-24 20:30:25 +02:00
Asger F
c6a757e085
JS: More robust handling of cyclic aliases
2023-08-23 14:11:07 +02:00
erik-krogh
f4b68fb8c3
bump TypeScript to stable version
2023-06-01 21:51:43 +02:00
erik-krogh
708a99528f
initial implementation of TS 5.1
2023-05-22 10:11:32 +02:00
Asger F
799d92b218
TS: Fix self-reference check for alias types
2023-04-26 11:44:56 +02:00
Asger F
c3c3faa4b5
JS: Alias references are not always safe to expand
2023-04-25 11:27:40 +02:00
Asger F
3694ed5ed6
JS: Deduplicate union/intersection members
2023-04-25 11:27:40 +02:00
Asger F
cab76507e7
JS: Recognize type vars on anonymous function types
2023-04-25 11:27:40 +02:00
erik-krogh
f1094cd3d6
bump to stable release
2023-03-16 22:38:54 +01:00
erik-krogh
f3c7aed1f9
bump to RC
2023-03-16 22:37:58 +01:00
erik-krogh
d47659b48e
upgrade to TypeScript 5.0 beta, and unbreak things that broke
2023-03-16 22:37:35 +01:00
Asger F
f454151e7a
JS: Convert TypeScript import assertions
2023-03-03 12:21:20 +01:00
erik-krogh
b0b5761a8c
update TS from 4.9.2-rc to 4.9.3
2022-11-15 22:08:54 +01:00
erik-krogh
75ef5b1b0b
add support for satisfies-expressions
2022-11-15 22:07:24 +01:00
erik-krogh
30c66303ba
initial skeleton for TypeScript 4.9
2022-11-15 22:07:24 +01:00
Erik Krogh Kristensen
27bc69883c
Merge pull request #10184 from erik-krogh/ts48
...
JavaScript: Update to TypeScript 4.8
2022-08-29 15:03:32 +02:00
erik-krogh
56292cad26
don't modify the TypeScript nodes, instead forward illegalDecorators to the java extractor
2022-08-29 13:22:04 +02:00
erik-krogh
6aca9b9f49
fix support for illegal decorators in the TypeScript extractor
2022-08-29 12:14:58 +02:00
erik-krogh
b7367ca649
update to TypeScript 4.8RC
2022-08-29 12:14:55 +02:00
Asger F
1a0abfa7a5
JS: Enable type extraction inside conditional types again
2022-08-26 09:27:53 +02:00
Asger F
5faff5609d
JS: Map symbol base types to their actual type
2022-06-17 14:40:22 +02:00
Asger F
c188aa87c7
Merge branch 'main' into js/madman-prep
2022-05-30 15:03:14 +02:00
Erik Krogh Kristensen
2da001ebd7
bump TypeScript version to stable release
2022-05-24 22:55:59 +02:00
Asger F
039a7ba828
JS: Handle .d.mts files when generating module bindings
2022-05-24 14:30:36 +02:00