Asger F
9f76eea272
JS: Fix a bug in a unit test
...
The 'extractTypeScriptFiles' override did not incorporate the file type and one of our unit tests was expecting this. The test was previously passing for the wrong reasons.
2025-06-26 12:48:03 +02:00
Asger F
72bad2a254
JS: Fix imprecise condition
2025-06-26 12:48:00 +02:00
Asger F
a406df1650
JS: Change notes
2025-06-26 12:47:56 +02:00
Asger F
6ca6765869
JS: Add support for index expressions
2025-06-26 12:47:53 +02:00
Asger F
3e929141cd
JS: Handle name resolution through dynamic imports
2025-06-26 12:47:51 +02:00
Asger F
2476af957c
JS: Add test for dynamic imports
2025-06-26 12:47:47 +02:00
Asger F
1307564f2a
JS: Add deprecation comment to qldoc
2025-06-26 12:47:45 +02:00
Asger F
09c25f4e7e
JS: Don't try to augment invalid files
...
This check existed on the code path for full type extraction, but not for plain single-file extraction.
2025-06-26 12:47:42 +02:00
Asger F
274f942c55
JS: Remove code path for TypeScript full extraction
2025-06-26 12:47:39 +02:00
Asger F
62d5aef944
JS: Change default TypeScript extraction mode to basic
2025-06-26 12:47:36 +02:00
Asger F
b2a405774e
JS: Fix qldoc coverage
2025-06-26 12:47:34 +02:00
Asger F
72142ac7da
JS: Remove an unnecessary import
2025-06-26 12:47:31 +02:00
Asger F
691d8c210e
JS: Remove unneeded integration test
2025-06-26 12:47:28 +02:00
Asger F
9f750b55c1
JS: Delete or simplify TypeScript type-specific tests
2025-06-26 12:47:24 +02:00
Asger F
bdd4b5f0d9
JS: Deprecate everything that depends on type extraction
2025-06-26 12:47:22 +02:00
Asger F
c1f488a9dd
JS: Remove old metric-meta query TypedExprs.ql
...
This was used in the very old dist-compare tool, but has no use anymore
2025-06-26 12:47:18 +02:00
Asger F
c59839d095
JS: Update an outdated QLDoc comment
2025-06-26 12:47:15 +02:00
Asger F
92956b3514
JS: Update API usage in MissingAwait
2025-06-26 12:47:11 +02:00
Asger F
117ada65c2
JS: Update API usage in ViewComponentInput
2025-06-26 12:47:07 +02:00
Asger F
acac2032dd
JS: Update type usage in UnreachableMethodOverloads
...
This query depended on the cons-hashing performed by type extraction to determine if two types are the same.
This is not trivial to restore, but not important enough to reimplement right now, so for now just simplifying the query's ability to recognise that two types are the same.
2025-06-26 12:47:04 +02:00
Asger F
e3bed52da8
JS: Update type usage use in Express model
2025-06-26 12:47:00 +02:00
Asger F
94c7d0a0f3
JS: Update type usage in Electron model
2025-06-26 12:46:57 +02:00
Asger F
8e7e5a4424
JS: Update type usage in ClassValidator.qll
2025-06-26 12:46:53 +02:00
Asger F
1d85cbddf8
JS: Update type usage in definitions.qll
2025-06-26 12:46:48 +02:00
Asger F
70c62ebdf5
JS: Update type usage in Nest library model
2025-06-26 12:46:44 +02:00
Asger F
3814ac2adf
JS: Add public API
2025-06-26 12:46:40 +02:00
Asger F
92612b05bd
JS: Add classHasGlobalName into NameResolution
2025-06-26 12:46:34 +02:00
Asger F
1ca6e73fd9
JS: Move some predicates into NameResolution
2025-06-26 12:46:31 +02:00
Jeroen Ketema
a9169dc126
Merge pull request #19837 from jketema/typeref-dataset-check
...
C++: Update expected test results after extractor changes
2025-06-22 10:47:40 +02:00
Arthur Baars
666144ef11
Merge pull request #19823 from github/aibaars/rust-expand-assoc-items
...
Rust: expand attribute macros on `AssocItem` and `ExternItem`
2025-06-20 19:13:44 +02:00
Arthur Baars
9605eb09b4
Merge pull request #19774 from github/aibaars/limit-diagnostics
...
Rust: limit number of diagnostics to 100 per trap file
2025-06-20 18:29:57 +02:00
Arthur Baars
e3e88800d6
Merge branch 'main' into aibaars/rust-expand-assoc-items
2025-06-20 17:30:11 +02:00
Paolo Tranquilli
3ddecd4d9f
Merge pull request #19836 from github/redsun82/rust-fix-test-flakiness
...
Rust: yet another tentative fix to test flakiness
2025-06-20 17:20:52 +02:00
Paolo Tranquilli
01b84a8b1e
Rust: yet another tentative fix to test flakiness
2025-06-20 16:58:38 +02:00
Taus
ac8b41a5da
Merge pull request #19680 from github/tausbn/javascript-exclude-obviously-generated-files
...
JavaScript: Don't extract obviously generated files
2025-06-20 15:52:39 +02:00
Arthur Baars
7bc3fd6ae9
Merge branch 'main' into aibaars/rust-expand-assoc-items
2025-06-20 15:38:34 +02:00
Napalys Klicius
3fbe348f99
Merge pull request #19784 from Napalys/js/express_middleware
...
JS: Improve Express middleware taint tracking
2025-06-20 15:36:26 +02:00
Paolo Tranquilli
7a3f4a622e
Merge branch 'main' into aibaars/rust-expand-assoc-items
2025-06-20 15:22:20 +02:00
Tom Hvitved
b234d775ac
Merge pull request #19816 from hvitved/rust/path-resolution-crate-self
...
Rust: Path resolution for `crate::{self as foo}`
2025-06-20 14:50:28 +02:00
Paolo Tranquilli
f1f36db068
Merge pull request #19828 from github/redsun82/rust-fix-nightly-toolchain
...
Rust: fix nightly toolchain version for tests using it
2025-06-20 14:40:05 +02:00
Napalys Klicius
c1b2fd86b2
Update javascript/ql/lib/semmle/javascript/frameworks/Express.qll
...
Co-authored-by: Taus <tausbn@github.com >
2025-06-20 14:29:51 +02:00
Simon Friis Vindum
6773903786
Merge pull request #19820 from paldepind/rust/explicit-dereference
...
Rust: Fix type inference for explicit dereference with `*` to the `Deref` trait
2025-06-20 14:23:14 +02:00
Paolo Tranquilli
7f1769e8d1
Rust: fix nightly toolchain version for tests using it
...
Rather than fixing the version separately for each test, we can just
request to use a nightly in the `options.yml` file, with the specific
version hard-coded in `qltest.rs`. We can update it if we need to.
It's better to have a single nightly version for all tests that require
it, in order to avoid downloading more versions than necessary.
2025-06-20 14:03:42 +02:00
Jeroen Ketema
17ce5f42e6
C++: Update expected test results after extractor changes
2025-06-20 13:51:36 +02:00
Arthur Baars
2acce96bb5
Apply suggestions from code review
...
Co-authored-by: Paolo Tranquilli <redsun82@github.com >
2025-06-20 13:25:54 +02:00
Arthur Baars
b7f66f8653
Rust: Rust: expand attribute macros on AssocItem and ExternItem
2025-06-20 13:21:26 +02:00
Simon Friis Vindum
bd2812c821
Rust: Only resolve deref methods on references to avoid blowup
2025-06-20 12:49:22 +02:00
Napalys Klicius
8b3137626c
Merge pull request #19743 from Napalys/js/quality/loop_shift
...
JS: Promote `js/loop-iteration-skipped-due-to-shifting` to the Code Quality suite
2025-06-20 12:36:29 +02:00
Napalys Klicius
bca536c5b6
Merge remote-tracking branch 'origin/main' into js/quality/loop_shift
2025-06-20 11:30:20 +02:00
Napalys Klicius
8c2bda32df
Merge pull request #19776 from Napalys/js/mass_quality_promotion
...
JS: Mass promotion of queries to `quality` status
2025-06-20 10:53:32 +02:00