Koen Vlaswinkel
64ad40e369
Switch to yauzl for the source map script
2023-12-19 14:20:17 +01:00
Koen Vlaswinkel
f736adc4f1
Merge pull request #3152 from github/koesie10/distribution-yauzl
...
Switch to `yauzl` for CodeQL CLI
2023-12-19 14:18:59 +01:00
Koen Vlaswinkel
e89a04d442
Merge pull request #3151 from github/koesie10/variant-analysis-yauzl
...
Switch to `yauzl` for variant analysis results
2023-12-19 14:18:49 +01:00
Koen Vlaswinkel
2e6eb1c7bc
Add simple tests for yauzl-based unzip functions
2023-12-19 13:19:48 +01:00
Koen Vlaswinkel
fdc36ad36b
Switch to yauzl for CodeQL CLI
...
This switches the CodeQL CLI download to `yauzl` instead of `unzipper`.
There should be no changes in behavior. I tested this manually on
Insiders by removing the distribution directory and this successfully
downloaded and extracted the CLI.
2023-12-19 13:07:31 +01:00
Koen Vlaswinkel
3f6c1055e4
Merge remote-tracking branch 'origin/main' into koesie10/variant-analysis-yauzl
2023-12-19 13:03:54 +01:00
Koen Vlaswinkel
b833591d1e
Merge pull request #3150 from github/koesie10/archive-filesystem-yauzl
...
Switch to `yauzl` in the archive filesystem provider
2023-12-19 12:14:31 +01:00
Koen Vlaswinkel
82f17c4e53
Merge pull request #3148 from github/koesie10/model-editor-capitalization
...
Fix incorrect model files on case-insensitive file systems
2023-12-18 16:34:12 +01:00
Koen Vlaswinkel
790503bd60
Merge pull request #3149 from github/koesie10/database-unbundle
...
Remove fallback behavior for database unbundle
2023-12-18 15:13:55 +01:00
Koen Vlaswinkel
770834756a
Switch to yauzl for variant analysis results
2023-12-18 15:10:36 +01:00
Koen Vlaswinkel
bc0506d058
Switch to yauzl in the archive filesystem provider
2023-12-18 14:22:22 +01:00
Koen Vlaswinkel
14b2282015
Remove fallback behavior for database unbundle
...
The CodeQL CLI always supports the `database unbundle` command since
140d369098
so we can remove the fallback behavior.
There were some places which were not passing in the CodeQL CLI server,
but these always have access to the CLI server, so this just passes them
in.
The only change in behavior (in terms of the fallback behavior) is in
the `new-query.test.ts` test.
2023-12-18 14:19:59 +01:00
Koen Vlaswinkel
12ea1b9598
Remove unnecessary check
2023-12-18 13:49:04 +01:00
Koen Vlaswinkel
6cfa0a93c9
Merge pull request #3141 from github/koesie10/model-editor-consistency-check
...
Add a consistency check for the model editor
2023-12-15 15:11:04 +01:00
Koen Vlaswinkel
ef2f9d9c90
Fix incorrect model files on case-insensitive file systems
...
This fixes some incorrect model files on case-insensitive file systems
when the package names are the same but the capitalization is different.
For example, when there are two packages `Volo.Abp.TestApp.MongoDb` and
`Volo.Abp.TestApp.MongoDB`, there would be 1 model file for each
package. However, on case-insensitive file systems, the second file
would overwrite the first file. This results in missing models. This
fixes it by canonicalizing the filenames to lowercase and writing all
files with the same package name to the same file.
2023-12-15 15:06:22 +01:00
Koen Vlaswinkel
1891763d64
Remove enableConsistencyCheck feature flag
2023-12-15 14:48:35 +01:00
Koen Vlaswinkel
0b4fc76fdb
Update inconsistent support message
2023-12-15 14:47:11 +01:00
Koen Vlaswinkel
d036e8144d
Do not expect type models to be supported
2023-12-15 14:43:55 +01:00
Koen Vlaswinkel
4f2d768e07
Update message to mention model editor
2023-12-15 14:43:08 +01:00
Koen Vlaswinkel
60d777abf1
Merge pull request #3113 from github/koesie10/compare-interpreted
...
Add SARIF result comparison to compare view
2023-12-15 10:56:04 +01:00
Koen Vlaswinkel
34bd7c21a6
Merge pull request #3147 from github/koesie10/remove-immutable
...
Remove immutable package
2023-12-15 09:49:03 +01:00
Koen Vlaswinkel
6cf8d0be4f
Merge pull request #3145 from github/dependabot/npm_and_yarn/extensions/ql-vscode/tmp-0.2.1
...
Bump tmp from 0.1.0 to 0.2.1 in /extensions/ql-vscode
2023-12-14 16:28:02 +01:00
Koen Vlaswinkel
b340b1a740
Merge branch 'main' into dependabot/npm_and_yarn/extensions/ql-vscode/tmp-0.2.1
2023-12-14 16:13:18 +01:00
Koen Vlaswinkel
ce83d1df23
Replace tmp package for modeled-method-fs.test.ts
2023-12-14 16:09:30 +01:00
Koen Vlaswinkel
d63b756520
Set unsafeCleanup for all test tmp directories
...
We want to remove the tmp directories after tests, even if they are not
empty.
2023-12-14 15:08:45 +01:00
Koen Vlaswinkel
47fbf3428f
Remove immutable package
2023-12-14 15:03:34 +01:00
dependabot[bot]
889055ee19
Bump tmp from 0.1.0 to 0.2.1 in /extensions/ql-vscode
...
Bumps [tmp](https://github.com/raszi/node-tmp ) from 0.1.0 to 0.2.1.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/raszi/node-tmp/compare/v0.1.0...v0.2.1 )
---
updated-dependencies:
- dependency-name: tmp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-14 13:44:44 +00:00
Koen Vlaswinkel
c7f08e328d
Merge pull request #3144 from github/dependabot/npm_and_yarn/extensions/ql-vscode/p-queue-8.0.1
...
Bump p-queue from 7.4.1 to 8.0.1 in /extensions/ql-vscode
2023-12-14 14:44:39 +01:00
Koen Vlaswinkel
0273be9710
Merge pull request #3143 from github/dependabot/npm_and_yarn/extensions/ql-vscode/vscode/codicons-0.0.35
...
Bump @vscode/codicons from 0.0.31 to 0.0.35 in /extensions/ql-vscode
2023-12-14 14:44:12 +01:00
Koen Vlaswinkel
e94da0e765
Merge pull request #3142 from github/dependabot/npm_and_yarn/extensions/ql-vscode/gulp-esbuild-0.12.0
...
Bump gulp-esbuild from 0.10.8 to 0.12.0 in /extensions/ql-vscode
2023-12-14 14:43:10 +01:00
Koen Vlaswinkel
cb15c8dbeb
Remove direct esbuild dependency
...
ESBuild is a dependency of `gulp-esbuild`, so we don't need the direct
dependency.
2023-12-14 14:29:56 +01:00
dependabot[bot]
c7173e86a2
Bump p-queue from 7.4.1 to 8.0.1 in /extensions/ql-vscode
...
Bumps [p-queue](https://github.com/sindresorhus/p-queue ) from 7.4.1 to 8.0.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases )
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.4.1...v8.0.1 )
---
updated-dependencies:
- dependency-name: p-queue
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-14 13:19:19 +00:00
dependabot[bot]
b3c8c25572
Bump @vscode/codicons from 0.0.31 to 0.0.35 in /extensions/ql-vscode
...
Bumps [@vscode/codicons](https://github.com/microsoft/vscode-codicons ) from 0.0.31 to 0.0.35.
- [Release notes](https://github.com/microsoft/vscode-codicons/releases )
- [Commits](https://github.com/microsoft/vscode-codicons/compare/0.0.31...0.0.35 )
---
updated-dependencies:
- dependency-name: "@vscode/codicons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-14 13:18:45 +00:00
dependabot[bot]
2bad58be71
Bump gulp-esbuild from 0.10.8 to 0.12.0 in /extensions/ql-vscode
...
Bumps [gulp-esbuild](https://github.com/ym-project/gulp-esbuild ) from 0.10.8 to 0.12.0.
- [Release notes](https://github.com/ym-project/gulp-esbuild/releases )
- [Commits](https://github.com/ym-project/gulp-esbuild/compare/v0.10.8...v0.12.0 )
---
updated-dependencies:
- dependency-name: gulp-esbuild
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-14 13:18:21 +00:00
Koen Vlaswinkel
fe4116fe05
Merge pull request #3140 from github/koesie10/remove-bundled-queries
...
Remove bundled Java and C# model editor queries
2023-12-14 13:19:37 +01:00
Koen Vlaswinkel
b9b16a8beb
Add a consistency check for the model editor
2023-12-14 12:07:59 +01:00
Koen Vlaswinkel
c3b30a30e8
Merge pull request #3139 from github/koesie10/upgrade-markdownlint
...
Upgrade Markdownlint packages
2023-12-14 11:50:04 +01:00
Koen Vlaswinkel
04e4efb26b
Remove bundled Java and C# model editor queries
2023-12-14 11:38:04 +01:00
Koen Vlaswinkel
8d1c8bc725
Add alt text to Overview.stories.mdx
2023-12-14 10:50:16 +01:00
Koen Vlaswinkel
eb1bf8fd69
Merge pull request #3138 from github/koesie10/remove-github-databases-enable-ff
...
Remove GitHub database download feature flag
2023-12-14 10:48:56 +01:00
Koen Vlaswinkel
9a77748a59
Fix auto-fixable markdownlint violations
...
This fixes all violations that can be fixed by using
`npm run lint:markdown -- --fix`.
This also updates the markdownlint configuration to require dashes in
unstyled lists. This results in the least amount of changes to Markdown
files. The default setting results in rewriting the complete CHANGELOG
file.
2023-12-14 10:47:39 +01:00
Koen Vlaswinkel
d77a08fc37
Upgrade markdownlint packages
2023-12-14 10:42:05 +01:00
Koen Vlaswinkel
cb2e5026a1
Update CHANGELOG
2023-12-14 10:27:54 +01:00
Koen Vlaswinkel
d4a4536d40
Improve performance of compare view using Promise.all
2023-12-14 10:22:10 +01:00
Koen Vlaswinkel
ab1966abf1
Add comparison of SARIF results in compare view
...
This wires up the comparison of SARIF results in the compare view. It
uses the same diffing algorithm as the raw results, but it uses the
SARIF results instead of the raw results.
2023-12-14 10:22:10 +01:00
Koen Vlaswinkel
6de954143c
Read raw result sets in compareResults
...
This moves reading of the result sets to the `compareResults` method
since raw result sets don't need to be read for interpreted results and
the `findResultSetsToCompare` method is shared between the two types
of results.
2023-12-14 10:22:10 +01:00
Koen Vlaswinkel
109766d411
Add alerts table to compare view if available
...
This adds the `alerts` result set to the compare view if an interpreted
result is available. This assumes that the user has opened the query
in the results view before opening the compare view. It will not
interpret the results if the interpreted results are not available.
2023-12-14 10:22:09 +01:00
Koen Vlaswinkel
4bd1981a34
Update CHANGELOG
2023-12-14 10:10:14 +01:00
Koen Vlaswinkel
0415ac539c
Merge pull request #3112 from github/koesie10/compare-sarif-view
...
Add interpreted results table to compare view
2023-12-14 10:10:07 +01:00
Koen Vlaswinkel
cf50a71a16
Remove GitHub database download feature flag
...
This removes the `codeQL.githubDatabase.enable` setting and always
enables the GitHub database download feature.
2023-12-14 10:08:14 +01:00