-
Notifications
You must be signed in to change notification settings - Fork 2
Bump codeql/javascript-all
and fix breaking changes
#170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jeongsoolee09
merged 15 commits into
main
from
jeongsoolee09/bump-javascript-dataflow-lib
Feb 19, 2025
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
03392f5
Bump `codeql/javascript-all` and fix breaking changes
jeongsoolee09 8c6ce4b
Change `BarrierGuardNode` to `BarrierGuard`
jeongsoolee09 75fc9b3
Bump versions of CodeQL CLI in qlt.conf.json
jeongsoolee09 7e2c88d
Remove UI5AMDModule
jeongsoolee09 bac7b71
Change `SapAmdModuleDefinition` to `SapDefineModule`
jeongsoolee09 1770d23
Upgrade dataflow library of UI5 to 2.4.0
jeongsoolee09 29a44fb
Bump javascript-all in CAP's qlpacks
jeongsoolee09 5aaadd6
Make `SapDefineModule` extend `AmdModuleDefinition::Range` and update…
jeongsoolee09 36c7eb7
Update rest of the expected files
jeongsoolee09 ba371e1
Bump `qlpack.yml` versions across UI5, CAP, and XSJS
jeongsoolee09 1666b73
[TEMP TEST] Fix version of global installed npm to `^8.6.1`
jeongsoolee09 144dc9f
Fix [email protected] in index-files.sh of the CDS extractor as well
jeongsoolee09 0c8168e
Change .cds to .cds.json in sensitive-exposure.expected
jeongsoolee09 241af8c
Run 'cds compile' command without '-o'
data-douser 75579eb
Merge pull request #172 from advanced-security/data-douser/bump-javas…
jeongsoolee09 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,8 @@ jobs: | |
run: | | ||
if ! command -v cds &> /dev/null | ||
then | ||
npm install -g @sap/cds-dk | ||
## Workaround for https://github.tools.sap/cap/issues/issues/17840 | ||
npm install -g @sap/[email protected] | ||
fi | ||
|
||
# Compile .cds files to .cds.json files. | ||
|
@@ -97,8 +98,8 @@ jobs: | |
echo "I am compiling $cds_file" | ||
cds compile $cds_file \ | ||
-2 json \ | ||
-o "$cds_file.json" \ | ||
--locations | ||
--locations \ | ||
> "$cds_file.json" 2> "$cds_file.err" | ||
done | ||
popd | ||
done | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
library: true | ||
name: advanced-security/javascript-sap-cap-models | ||
version: 0.3.0 | ||
version: 0.4.0 | ||
extensionTargets: | ||
codeql/javascript-all: "^2.0.0" | ||
codeql/javascript-all: "^2.4.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
library: true | ||
name: advanced-security/javascript-sap-cap-all | ||
version: 0.3.0 | ||
version: 0.4.0 | ||
suites: codeql-suites | ||
extractor: javascript | ||
dependencies: | ||
codeql/javascript-all: "^2.0.0" | ||
advanced-security/javascript-sap-cap-models: "^0.3.0" | ||
codeql/javascript-all: "^2.4.0" | ||
advanced-security/javascript-sap-cap-models: "^0.4.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
--- | ||
library: false | ||
name: advanced-security/javascript-sap-cap-queries | ||
version: 0.3.0 | ||
version: 0.4.0 | ||
suites: codeql-suites | ||
extractor: javascript | ||
dependencies: | ||
codeql/javascript-all: "^2.0.0" | ||
advanced-security/javascript-sap-cap-models: "^0.3.0" | ||
advanced-security/javascript-sap-cap-all: "^0.3.0" | ||
codeql/javascript-all: "^2.4.0" | ||
advanced-security/javascript-sap-cap-models: "^0.4.0" | ||
advanced-security/javascript-sap-cap-all: "^0.4.0" | ||
default-suite-file: codeql-suites/javascript-code-scanning.qls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
--- | ||
name: advanced-security/javascript-sap-cap-queries-tests | ||
version: 0.3.0 | ||
version: 0.4.0 | ||
extractor: javascript | ||
dependencies: | ||
codeql/javascript-all: "^2.0.0" | ||
advanced-security/javascript-sap-cap-queries: "^0.3.0" | ||
advanced-security/javascript-sap-cap-models: "^0.3.0" | ||
advanced-security/javascript-sap-cap-all: "^0.3.0" | ||
codeql/javascript-all: "^2.4.0" | ||
advanced-security/javascript-sap-cap-queries: "^0.4.0" | ||
advanced-security/javascript-sap-cap-models: "^0.4.0" | ||
advanced-security/javascript-sap-cap-all: "^0.4.0" |
4 changes: 4 additions & 0 deletions
4
javascript/frameworks/cap/test/queries/cqlinjection/cqlinjection.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...on/log-injection-not-depending-on-request/log-injection-not-depending-on-request.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88) | ||
nodes | ||
edges | ||
#select |
3 changes: 3 additions & 0 deletions
3
...t/queries/loginjection/log-injection-type-sanitized/log-injection-type-sanitized.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88) | ||
nodes | ||
edges | ||
#select |
3 changes: 3 additions & 0 deletions
3
...-injection-with-complete-protocol-none/log-injection-with-complete-protocol-none.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
WARNING: module 'PathGraph' has been deprecated and may be removed in future (LogInjection.ql:14,8-27) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,43-61) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (LogInjection.ql:18,70-88) | ||
nodes | ||
edges | ||
#select |
3 changes: 3 additions & 0 deletions
3
...-injection-with-service1-protocol-none/log-injection-with-service1-protocol-none.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...-injection-with-service2-protocol-none/log-injection-with-service2-protocol-none.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...njection/log-injection-without-protocol-none/log-injection-without-protocol-none.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
javascript/frameworks/cap/test/queries/sensitive-exposure/sensitive-exposure.expected
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
WARNING: module 'PathGraph' has been deprecated and may be removed in future (SensitiveExposure.ql:17,8-27) | ||
WARNING: type 'Configuration' has been deprecated and may be removed in future (SensitiveExposure.ql:50,42-70) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (SensitiveExposure.ql:60,41-59) | ||
WARNING: type 'PathNode' has been deprecated and may be removed in future (SensitiveExposure.ql:60,68-86) | ||
nodes | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | | ||
edges | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | | ||
#select | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | Log entry depends on the $@ field which is annotated as potentially sensitive. | sensitive-exposure.cds:4:5:4:8 | {\\n ... } | name | | ||
| sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | sensitive-exposure.js:9:32:9:42 | Sample.name | Log entry depends on the $@ field which is annotated as potentially sensitive. | sensitive-exposure.cds:4:5:4:8 | {\\n ... } | name | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
library: true | ||
name: advanced-security/javascript-sap-ui5-models | ||
version: 0.6.0 | ||
version: 0.7.0 | ||
extensionTargets: | ||
codeql/javascript-all: "^2.0.0" | ||
codeql/javascript-all: "^2.4.0" | ||
dataExtensions: | ||
- "*.model.yml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.