Napalys
401c6ea0f6
Added test case which is not detected by dataflow.
2025-03-20 18:17:27 +01:00
Chris Smowton
5892cdf456
Avoid CodeQL alert against integration test
...
This doesn't really matter since it's a dummy test server, but it's simpler to fix than to dismiss.
2025-03-20 15:49:21 +00:00
Owen Mansel-Chan
662af6e248
Update test expectations
2025-03-20 15:49:20 +00:00
Simon Friis Vindum
b2fc4f80fb
Rust: Adjustments to type inference
2025-03-20 16:38:06 +01:00
Asger F
d9c158923a
Merge pull request #19069 from asgerf/js/jsdoc-parser
...
JS: Use StringBuilder when building up type name in JSDoc
2025-03-20 16:17:58 +01:00
Owen Mansel-Chan
da8ae84422
Change change note to query change note
2025-03-20 15:08:09 +00:00
Owen Mansel-Chan
bc40a4289c
Do not use full regex match for %T
2025-03-20 15:08:07 +00:00
Owen Mansel-Chan
f944ff4d78
Create getAValueFormattedMessageComponent
2025-03-20 15:08:06 +00:00
Owen Mansel-Chan
05a94807e1
Make comment clearer
2025-03-20 15:08:05 +00:00
Owen Mansel-Chan
bf78160830
Add change note
2025-03-20 15:08:03 +00:00
Owen Mansel-Chan
11ff0a08f3
Add log injection and cleartext logging tests for %T
2025-03-20 15:08:02 +00:00
Owen Mansel-Chan
646d28feeb
Make cleartext logging tests more realistic
2025-03-20 15:08:00 +00:00
Owen Mansel-Chan
94c812cbe6
Convert cleartext logging tests to inline expectations
2025-03-20 15:07:59 +00:00
Owen Mansel-Chan
59d82b3b62
Make log injection tests more realistic
2025-03-20 15:07:57 +00:00
Owen Mansel-Chan
009e0e17b2
Don't consider arguments with %T as logger call components
2025-03-20 15:07:26 +00:00
Owen Mansel-Chan
f173305629
Add tests for %T (passing but marked SPURIOUS)
2025-03-20 15:05:55 +00:00
Paolo Tranquilli
cd15fb3611
Merge pull request #19071 from github/redsun82/codegen-rust-ancestor-order
...
Rust: preserve ordering in rust generated code
2025-03-20 15:50:48 +01:00
Simon Friis Vindum
659077769b
Merge pull request #19062 from paldepind/rust-ti-1
...
Rust: Improve handling of trait bounds
2025-03-20 14:38:03 +01:00
Tom Hvitved
3142dbb040
Rust: Rework visibility handling in path resolution
2025-03-20 14:14:53 +01:00
Tom Hvitved
b2fc7e771f
Rust: Handle super in use statements
2025-03-20 14:14:33 +01:00
Tom Hvitved
57dfbf4faa
Rust: Add path resolution test for super in use statement
2025-03-20 14:14:29 +01:00
Tom Hvitved
8044b0d03c
Rust: Exclude macro call paths from resolvePath
2025-03-20 14:13:13 +01:00
Tom Hvitved
7c2bafeb17
Rust: Handle self in use statements
2025-03-20 14:13:12 +01:00
Tom Hvitved
8f8f6f74bc
Rust: Add use+self path resolution test
2025-03-20 14:13:11 +01:00
Tom Hvitved
c91176116f
Rust: Cross-crate path resolution
2025-03-20 14:13:06 +01:00
Tom Hvitved
bd4c85a5bc
Rust: Add cross-crate path resolution test
2025-03-20 13:50:20 +01:00
Tom Hvitved
c5106f78ac
Rust: Handle pub use reexports in path resolution
2025-03-20 13:50:18 +01:00
Tom Hvitved
6cf83d3a68
Rust: Add path resolution test for reexported items
2025-03-20 13:50:16 +01:00
Tom Hvitved
92528f2b49
Rust: Add debug predicate
2025-03-20 13:50:15 +01:00
Napalys Klicius
13e90c1606
Update javascript/ql/lib/change-notes/2025-03-20-superagent.md
...
Co-authored-by: Asger F <asgerf@github.com >
2025-03-20 13:48:40 +01:00
Paolo Tranquilli
e2d6643600
Merge pull request #19072 from github/redsun82/rust-fix-canonical-paths-after-rename
...
Rust: fix canonical paths broken on `StructExpr` and `StructPath`
2025-03-20 13:40:24 +01:00
Napalys
9e787555df
Fixed typo in the test cases.
2025-03-20 13:25:36 +01:00
Paolo Tranquilli
022785aa40
Merge pull request #19048 from github/redsun82/swift-count-nodes
...
Swift: add summary about total extracted nodes
2025-03-20 13:15:02 +01:00
Paolo Tranquilli
8757d2f0e4
Merge pull request #19013 from github/redsun82/rules_rust
...
Bazel: upgrade `rules_rust` to `0.58.0`
2025-03-20 13:14:24 +01:00
Paolo Tranquilli
e9b931e2aa
Merge branch 'main' into redsun82/codegen-rust-ancestor-order
2025-03-20 13:13:10 +01:00
Napalys
3a243d221d
Added aliases for @apollo/server.
2025-03-20 13:09:42 +01:00
Napalys
056bf4fde7
Added test case with inheretence.
2025-03-20 13:08:56 +01:00
Tom Hvitved
9b58da7e84
Merge pull request #19057 from hvitved/rust/dependency-renaming
...
Rust: Take dependency renaming into account when extracting the crate graph
2025-03-20 12:51:24 +01:00
Napalys
ca53e97de4
Adressed comments.
2025-03-20 12:37:06 +01:00
Paolo Tranquilli
f06aa38746
Merge branch 'main' into redsun82/swift-count-nodes
2025-03-20 12:32:49 +01:00
Chris Smowton
d362c030b7
Merge pull request #19065 from smowton/smowton/admin/merge-rc317-into-main
...
Merge rc/3.17 into main
2025-03-20 11:31:03 +00:00
Paolo Tranquilli
15bc6fc496
Merge branch 'main' into redsun82/rules_rust
2025-03-20 12:28:52 +01:00
Napalys Klicius
221cc1977d
Merge branch 'main' into js/underscore-string
2025-03-20 12:26:00 +01:00
Napalys
f4ca2dc1f3
Restricted taint to array elements.
2025-03-20 12:24:49 +01:00
Napalys
752f02f04d
Fixed map modeling and added test cases.
2025-03-20 12:18:28 +01:00
Paolo Tranquilli
b77c13802b
Rust: fix canonical paths broken on StructExpr and StructPath
...
After the rename done in https://github.com/github/codeql/pull/19059 ,
canonical path extraction was lost on `StructExpr` and `StructPath` as
the identifiers used for the type in the `emit_detached!` macro were not
updated. This fixes that.
2025-03-20 12:16:47 +01:00
Napalys
38624a0d78
Added change note
2025-03-20 12:13:32 +01:00
Paolo Tranquilli
4110636032
Rust: preserve ordering in rust generated code
...
This is a small devex improvement to the rust code generator.
Usage of `sorted` in `rustgen.py` was causing the generated code to be
completely reshuffled on renames, which made diffs hard to follow. As an
example see [this generated file diff](https://github.com/github/codeql/pull/19059/files#diff-c938ba77a3398dd4c633ada5702a03477705c24740a2f7d1e40d4b270d8c3f86 ).
This will make the order deterministically based on the order of
definitions in the schema file. This means that renames will find the
same place in the generated file, and the place in the generated file
will generally be more predictable with respect to the schema.
However, that does mean this change is heavily reshuffling the generated
code.
2025-03-20 12:12:52 +01:00
Napalys
af567b49fb
Simplified SuperAgentUrlRequest.
2025-03-20 12:10:37 +01:00
Napalys
539e2ef558
Added support for superagent.agent().
2025-03-20 12:09:31 +01:00