mirror of
https://github.com/github/codeql.git
synced 2026-02-24 10:53:49 +01:00
34 lines
2.3 KiB
Markdown
34 lines
2.3 KiB
Markdown
# Improvements to JavaScript analysis
|
|
|
|
## General improvements
|
|
|
|
* Support for the following frameworks and libraries has been improved:
|
|
- [fast-json-stable-stringify](https://www.npmjs.com/package/fast-json-stable-stringify)
|
|
- [fast-safe-stringify](https://www.npmjs.com/package/fast-safe-stringify)
|
|
- [javascript-stringify](https://www.npmjs.com/package/javascript-stringify)
|
|
- [js-stringify](https://www.npmjs.com/package/js-stringify)
|
|
- [json-stable-stringify](https://www.npmjs.com/package/json-stable-stringify)
|
|
- [json-stringify-safe](https://www.npmjs.com/package/json-stringify-safe)
|
|
- [json3](https://www.npmjs.com/package/json3)
|
|
- [object-inspect](https://www.npmjs.com/package/object-inspect)
|
|
- [pretty-format](https://www.npmjs.com/package/pretty-format)
|
|
- [stringify-object](https://www.npmjs.com/package/stringify-object)
|
|
|
|
* Analyzing files with the ".cjs" extension is now supported.
|
|
|
|
## New queries
|
|
|
|
| **Query** | **Tags** | **Purpose** |
|
|
|---------------------------------------------------------------------------------|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
|
|
|
|
## Changes to existing queries
|
|
|
|
| **Query** | **Expected impact** | **Change** |
|
|
|--------------------------------|------------------------------|---------------------------------------------------------------------------|
|
|
| Incomplete URL substring sanitization (`js/incomplete-url-substring-sanitization`) | More results | This query now recognizes additional URLs when the substring check is an inclusion check. |
|
|
| Ambiguous HTML id attribute (`js/duplicate-html-id`) | Results no longer shown | Precision tag reduced to "low". The query is no longer run by default. |
|
|
|
|
|
|
## Changes to libraries
|