Koen Vlaswinkel
7f730d24b0
Add helper functions for suggestion box
...
This adds some helper functions that will be used for a suggestion box
in the future. There is one helper function for highlighting part of a
text case-insensitively. Another helper function will try to find
followup options based on a list of tokens.
The tests for these functions use access paths as input, but these
functions are not intended to be specific to access paths. They can be
used for any list of options/string.
2024-01-11 12:09:13 +01:00
Nora
8834111f57
Update changelog release date
2024-01-11 10:08:16 +00:00
Nora
3d5ef60fe0
Update extensions/ql-vscode/CHANGELOG.md
...
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com>
2024-01-11 10:50:11 +01:00
Nora
6ab1f4c7ee
v1.12.0
2024-01-11 09:48:17 +00:00
Shati Patel
77f84c6ca9
Improve user experience when no database is selected ( #3214 )
2024-01-11 09:41:44 +00:00
Koen Vlaswinkel
ea6e148df9
Add functions for parsing and validating access paths
...
This adds functions for parsing and validating access paths to prepare
for future functionality where we're going to be parsing and validating
access paths.
2024-01-10 16:20:13 +01:00
Koen Vlaswinkel
ac745a6955
Move Ruby access paths functions
2024-01-10 15:54:17 +01:00
Nora
c7a1cf7236
Add test, config and action
2024-01-10 10:01:59 +00:00
Koen Vlaswinkel
19b24f87ec
Merge pull request #3212 from github/koesie10/eslint-rules
...
Remove more ESLint rule overrides
2024-01-09 11:31:10 +01:00
Koen Vlaswinkel
38743c6180
wip: move CLI installation
2024-01-09 10:56:22 +01:00
Koen Vlaswinkel
d1a26d3893
wip: add Docker Compose configuration for code server
2024-01-09 10:41:38 +01:00
Koen Vlaswinkel
b2bdcdbcb8
Merge pull request #3210 from github/koesie10/no-cycle
...
Remove all dependency cycles
2024-01-09 09:31:31 +01:00
dependabot[bot]
37c3b03e9a
Bump @typescript-eslint/eslint-plugin in /extensions/ql-vscode ( #3209 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.16.0 to 6.18.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.18.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 08:49:31 -08:00
Koen Vlaswinkel
c7c79175d2
Remove non-existent filenames/match-regexp ESLint rule
2024-01-08 16:54:07 +01:00
Koen Vlaswinkel
01e7b3fc0e
Remove camelcase ESLint rule override
2024-01-08 16:52:03 +01:00
Koen Vlaswinkel
58ea742e85
Enable func-style ESLint rule
2024-01-08 16:47:28 +01:00
Koen Vlaswinkel
188bc53761
Enable no-useless-escape ESLint rule
...
These fixes maintain the current functionality and do not make any
changes to the matching of the regular expressions.
2024-01-08 16:44:41 +01:00
Koen Vlaswinkel
26e619ba71
Enable no-fallthrough ESLint rule
2024-01-08 16:40:45 +01:00
Koen Vlaswinkel
51627ad971
Remove disabled ESLint rules without linting errors
...
This removes some ESLint rules that do not give any linting errors when
removing the rule overrides from the config file. This could be because
there are no instances of the rule being violated, or because the rule
is already disabled by some other configuration.
2024-01-08 15:04:55 +01:00
Koen Vlaswinkel
f21ee5173c
Enable import/no-cycle ESLint rule
2024-01-08 13:49:26 +01:00
Koen Vlaswinkel
397693a2cb
Remove import cycle for results view
2024-01-08 13:49:26 +01:00
Koen Vlaswinkel
0648ce8ae6
Remove import cycle for query history dto mappers
2024-01-08 13:49:26 +01:00
Koen Vlaswinkel
183de7b6a1
Remove import cycle for query history domain mappers
2024-01-08 13:49:26 +01:00
Koen Vlaswinkel
b6f32ec5d7
Remove import cycle for model editor queries
2024-01-08 13:49:26 +01:00
Koen Vlaswinkel
70c2beb510
Remove import cycle for distribution manager
2024-01-08 13:49:25 +01:00
Koen Vlaswinkel
31c90a5068
Remove import cycle for CLI server
2024-01-08 13:37:21 +01:00
Koen Vlaswinkel
2ce6fd3bb1
Merge pull request #3203 from github/koesie10/consistent-type-imports
...
Enforce consistent type imports
2024-01-08 13:27:42 +01:00
Koen Vlaswinkel
21faed0191
Enforce consistent type specifiers
2024-01-05 17:15:58 +01:00
Koen Vlaswinkel
9d6962ede2
Enforce consistent type imports
2024-01-05 17:13:45 +01:00
Koen Vlaswinkel
d6d5d27d70
Fix missing `await` in `prepareModelEditorQueries`
...
This fixes a missing `await` in `prepareModelEditorQueries` that caused
the function to potentially return before the query files were written.
2024-01-05 16:31:07 +01:00
Koen Vlaswinkel
5c7efe5116
Merge pull request #3200 from github/koesie10/remove-namespace-imports
...
Remove unnecessary namespace imports
2024-01-05 14:53:29 +01:00
Nora
1d42d4848b
Merge pull request #3189 from github/nora/make-model-editor-open-cancellable
...
CodeQL model editor: user should be able to stop modeling before the main editor view is open
2024-01-05 13:50:08 +01:00
Nora
745544cd9c
Use error type and error code
2024-01-05 12:37:44 +00:00
Koen Vlaswinkel
38a3778fe1
Fix Storybook React runtime
2024-01-05 11:09:53 +01:00
Koen Vlaswinkel
50df8cd376
Remove dead code
...
After removing all namespace imports, the dead code detection is now
more accurate, so we can remove some more dead code.
2024-01-05 10:42:39 +01:00
Koen Vlaswinkel
034bfc230c
Remove unnecessary namespace imports
...
This removes all unnecessary namespace imports. The only namespace
imports that are left are those that are needed for spying on functions
in tests.
2024-01-05 10:42:36 +01:00
Koen Vlaswinkel
45fe4aa1d4
Merge pull request #3186 from github/koesie10/generate-chromium-version
...
Rename update Chromium version script to generate Chromium version
2024-01-05 09:49:34 +01:00
dependabot[bot]
902074f7a5
Bump msw from 2.0.10 to 2.0.11 in /extensions/ql-vscode ( #3198 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 2.0.10 to 2.0.11.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v2.0.10...v2.0.11 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 10:34:59 -08:00
dependabot[bot]
fd8f88890e
Bump @babel/preset-env from 7.23.6 to 7.23.7 in /extensions/ql-vscode ( #3196 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.23.6 to 7.23.7.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.7/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 10:34:14 -08:00
dependabot[bot]
db842dea7c
Bump @testing-library/jest-dom in /extensions/ql-vscode ( #3195 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.6 to 6.2.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.6...v6.2.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 10:33:44 -08:00
Nora
eb59ead817
Catch request cancelled error
2024-01-04 15:19:10 +00:00
dependabot[bot]
8697dcc80d
Bump @types/tmp from 0.1.0 to 0.2.6 in /extensions/ql-vscode
...
Bumps [@types/tmp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tmp ) from 0.1.0 to 0.2.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tmp )
---
updated-dependencies:
- dependency-name: "@types/tmp"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 13:45:03 +00:00
Nora
ad8dc1e906
Update Changelog
2024-01-04 10:52:42 +00:00
dependabot[bot]
ceb8b1f9c1
Bump storybook from 7.6.6 to 7.6.7 in /extensions/ql-vscode ( #3194 )
...
Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) from 7.6.6 to 7.6.7.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.7/code/lib/cli )
---
updated-dependencies:
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 15:44:51 -08:00
dependabot[bot]
b77acc5468
Bump @storybook/theming from 7.6.6 to 7.6.7 in /extensions/ql-vscode ( #3193 )
...
Bumps [@storybook/theming](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/theming ) from 7.6.6 to 7.6.7.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.7/code/lib/theming )
---
updated-dependencies:
- dependency-name: "@storybook/theming"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 14:51:53 -08:00
dependabot[bot]
555fa6cf78
Bump @storybook/react-webpack5 in /extensions/ql-vscode ( #3192 )
...
Bumps [@storybook/react-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-webpack5 ) from 7.6.6 to 7.6.7.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.7/code/frameworks/react-webpack5 )
---
updated-dependencies:
- dependency-name: "@storybook/react-webpack5"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 14:38:09 -08:00
dependabot[bot]
f7de8e5d09
Bump @testing-library/user-event in /extensions/ql-vscode ( #3191 )
...
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event ) from 14.5.1 to 14.5.2.
- [Release notes](https://github.com/testing-library/user-event/releases )
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/user-event/compare/v14.5.1...v14.5.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 14:37:44 -08:00
dependabot[bot]
299280cd08
Bump @storybook/components from 7.6.4 to 7.6.7 in /extensions/ql-vscode ( #3190 )
...
Bumps [@storybook/components](https://github.com/storybookjs/storybook/tree/HEAD/code/ui/components ) from 7.6.4 to 7.6.7.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.7/code/ui/components )
---
updated-dependencies:
- dependency-name: "@storybook/components"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 14:37:12 -08:00
Robert
92bebef49d
Merge pull request #3188 from github/robertbrignull/releases-refactor
...
Move ReleasesApiConsumer to a separate file and do simple refactors
2024-01-03 16:24:28 +00:00
Robert
1ce2b365a6
Move files to codeql-cli/distribution directory
2024-01-03 16:10:08 +00:00
Koen Vlaswinkel
47929943ba
Merge pull request #3184 from github/koesie10/node-version
...
Use semver range for `@types/node`
2024-01-03 16:42:50 +01:00
Nora
0b27912314
Make model editor open progress bar cancellable
2024-01-03 15:15:56 +00:00
Nora
6a65094720
Make preparation progress bar cancellable
2024-01-03 15:15:17 +00:00
Robert
6746b07879
Merge ownerName and repositoryName into one field because we no longer need to be able to specify them independently
2024-01-03 11:32:46 +00:00
Robert
426ab98623
Move fields to top of class definition
2024-01-03 10:54:17 +00:00
Robert
9fd8c1c3e0
Convert other fields to not use underscore prefix
2024-01-03 10:54:17 +00:00
Robert
b8cbd75737
Use "private readonly" modifier on constructor args
2024-01-03 10:54:17 +00:00
Robert
c575edec71
Move releases-api-consumer.test.ts from no-workspace to unit-tests
2024-01-03 10:54:17 +00:00
Robert
337e5f81ea
Adjust comments in releases-api-consumer.ts
2024-01-03 10:46:18 +00:00
Robert
6d1cf0887a
Pull out ReleasesApiConsumer to its own file
2024-01-03 10:46:15 +00:00
Robert
bc7c956d6d
Pull out GithubApiError and GithubRateLimitedError to a separate file
2024-01-03 10:46:15 +00:00
Robert
90d72cec78
Add more comments to Release and ReleaseAsset
2024-01-03 10:46:15 +00:00
Robert
2f9c8d1bfa
Move Release and ReleaseAsset to their own files
2024-01-03 10:46:11 +00:00
Koen Vlaswinkel
9718aa5806
Rename update Chromium version to generate
...
This also adds the script as a script in the `package.json` with the
naming such that `npm generate` will re-generate the Chromium version
file. This will ensure that the CI checks fail when the Chromium version
doesn't match the minimum supported VS Code version.
2024-01-03 11:42:20 +01:00
Koen Vlaswinkel
cce0e146ff
Merge pull request #3182 from github/koesie10/vscode-versions
...
Add scripts for updating the Node and Chromium versions
2024-01-03 11:36:35 +01:00
Koen Vlaswinkel
de24e25486
Use semver range for `@types/node`
...
According to the DefinitelyTyped documentation, the patch version of
the type declaration package is unrelated to the library patch version.
Therefore, we should use an X-range for `@types/node` to allow
newer patch versions to be installed automatically.
2024-01-03 11:08:44 +01:00
Nora
8daf3374bf
Merge pull request #3181 from github/nora/adjust-log-messages
...
Remove ambiguity from 'View logs' messages
2024-01-03 10:53:47 +01:00
Robert
b27d8a1000
Merge pull request #3183 from github/robertbrignull/remove_releases_repo_config
...
Remove ownerName and repositoryName from DistributionConfig
2024-01-03 09:46:45 +00:00
Koen Vlaswinkel
1ad20fa354
Merge pull request #3163 from github/koesie10/queries-panel-no-cli-server
...
Do not use the CLI server to determine query pack language
2024-01-03 09:36:20 +01:00
Robert
b082455604
Remove ownerName and repositoryName from DistributionConfig
2024-01-02 16:56:20 +00:00
Koen Vlaswinkel
ed4b296e41
Allow empty qlpack files
2024-01-02 16:58:56 +01:00
Koen Vlaswinkel
dc3e1ce096
Add script for updating Chromium version
2024-01-02 16:28:27 +01:00
Koen Vlaswinkel
e5ffdd0fbc
Use correct types for qlpack file
...
The qlpack file is allowed to have null values for fields, instead of
them being absent. This adds the correct types to the qlpack file
schema.
2024-01-02 16:27:42 +01:00
Koen Vlaswinkel
2c7b67e2a4
Log errors during query pack discovery
2024-01-02 16:27:42 +01:00
Koen Vlaswinkel
4129962fa0
Use generated schema to validate qlpack file
2024-01-02 16:19:11 +01:00
Koen Vlaswinkel
49deb2e756
Add script for updating Node version
2024-01-02 16:00:55 +01:00
Koen Vlaswinkel
0be60f3e8f
Extract functions to separate file
2024-01-02 16:00:55 +01:00
Koen Vlaswinkel
e294dfdf4a
Add simple script for finding VS Code versions
2024-01-02 16:00:55 +01:00
Koen Vlaswinkel
870874d7f3
Merge pull request #3174 from github/koesie10/view-esbuild
...
Switch view to ESBuild and JSX runtime
2024-01-02 16:00:42 +01:00
Nora
cfbc44311b
Adjust actions log messages
2024-01-02 13:52:08 +00:00
Nora
91ab97e923
Adjust extension log messages
2024-01-02 13:23:00 +00:00
Koen Vlaswinkel
fa7ecb782e
Merge pull request #3175 from github/koesie10/rename-new-messages
...
Remove remaining references to new messages/new query server
2024-01-02 13:44:00 +01:00
Robert
f5dbcc8cc1
Merge pull request #3127 from github/robertbrignull/nightly-codeql
...
Provide option to point ReleasesApiConsumer at nightly builds repo
2024-01-02 12:21:38 +00:00
Robert
c423505c04
Update extensions/ql-vscode/test/vscode-tests/no-workspace/codeql-cli/distribution.test.ts
...
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com>
2024-01-02 12:05:43 +00:00
Koen Vlaswinkel
e7eb33e0cf
Enable jsx-runtime configuration for linting
2024-01-02 10:42:06 +01:00
Koen Vlaswinkel
528f8b951b
Remove unnecessary React imports from stories
2024-01-02 10:42:06 +01:00
Koen Vlaswinkel
74568b86b1
Remove unnecessary React imports from view code
2024-01-02 10:42:06 +01:00
Koen Vlaswinkel
039077467a
Set correct JSX mode in tsconfig.json
2024-01-02 10:42:05 +01:00
Koen Vlaswinkel
ef28154b95
Improve ESBuild globs
2024-01-02 10:42:05 +01:00
Koen Vlaswinkel
47cabbb331
Remove webpack packages
2024-01-02 10:42:05 +01:00
Koen Vlaswinkel
c1a3c2f6e5
Switch view to ESBuild
...
This switches the view code from Webpack to ESBuild to unify the build
systems for the extension and view code. There are no changes in
behavior, except that some features are now not supported (like dynamic
require/import) and importing the `classnames` package fails. However,
these were really easy to fix and don't hinder the further development
of the view code, so I've just fixed those instances.
2024-01-02 10:42:03 +01:00
dependabot[bot]
c210a7fdf4
Bump @storybook/theming from 7.6.4 to 7.6.6 in /extensions/ql-vscode ( #3180 )
...
Bumps [@storybook/theming](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/theming ) from 7.6.4 to 7.6.6.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.6/code/lib/theming )
---
updated-dependencies:
- dependency-name: "@storybook/theming"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 12:43:25 -08:00
dependabot[bot]
184a98531f
Bump @typescript-eslint/eslint-plugin in /extensions/ql-vscode ( #3179 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.15.0 to 6.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 12:43:03 -08:00
dependabot[bot]
9a6d44b86a
Bump @storybook/manager-api from 7.6.4 to 7.6.6 in /extensions/ql-vscode ( #3178 )
...
Bumps [@storybook/manager-api](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/manager-api ) from 7.6.4 to 7.6.6.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.6/code/lib/manager-api )
---
updated-dependencies:
- dependency-name: "@storybook/manager-api"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 11:37:03 -08:00
dependabot[bot]
d0df81c524
Bump @typescript-eslint/parser in /extensions/ql-vscode ( #3177 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.15.0 to 6.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.16.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 11:36:43 -08:00
dependabot[bot]
ba8788e0a5
Bump @testing-library/jest-dom in /extensions/ql-vscode ( #3176 )
...
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom ) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases )
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.1.5...v6.1.6 )
---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-28 11:36:21 -08:00
Koen Vlaswinkel
767c3cc35c
Remove references to new query server
2023-12-22 16:51:26 +01:00
Koen Vlaswinkel
a6d9b6bbec
Rename new-query.test.ts to query-server-client.test.ts
2023-12-22 16:20:21 +01:00
Koen Vlaswinkel
f139f1ebf8
Rename new-messages.ts to messages.ts
2023-12-22 16:18:30 +01:00
Koen Vlaswinkel
d227af4c7b
Merge pull request #3172 from github/koesie10/remove-legacy-messages
...
Remove legacy messages
2023-12-22 16:14:45 +01:00
Koen Vlaswinkel
2b625c85e8
Merge pull request #3173 from github/koesie10/eslint-plugin-import
...
Add `eslint-plugin-import`
2023-12-22 16:08:46 +01:00
Koen Vlaswinkel
7a7092de0d
Add eslint-plugin-import
...
It seems like we had some rules that disabled rules of this plugin, but
we didn't actually have it installed. I've now installed it, used the
recommended configuration, and removed our own disable rules. I've fixed
any errors that this introduced.
2023-12-21 17:02:37 +01:00
Koen Vlaswinkel
2ba39647f2
Remove statusString method
2023-12-21 16:59:39 +01:00
Koen Vlaswinkel
48ff62f474
Make message and succesful required
2023-12-21 16:57:46 +01:00
Koen Vlaswinkel
82c7dd52be
Remove legacy messages
2023-12-21 16:19:22 +01:00
Koen Vlaswinkel
d0f122ad87
Remove formatLegacyMessage
2023-12-21 16:11:47 +01:00
Koen Vlaswinkel
ef575acd59
Remove legacy result from query history items
...
The legacy result was populated based on information that is already
present in `CompletedQueryInfo` anyway. Old history items which only
have the legacy result populated have not been created for at least 30
days now since the legacy query runner hasn't been used for quite a
while now.
2023-12-21 16:08:39 +01:00
Koen Vlaswinkel
785a5fa48a
Remove `QueryRunner` abstraction
...
Since we're only supporting the new query server, we can remove the
`QueryRunner` abstraction and just use the `NewQueryRunner` as a
concrete `QueryRunner` without an abstract base class. This simplifies
the code of the query server and removes some unnecessary indirection.
2023-12-21 16:03:28 +01:00
Koen Vlaswinkel
43ea7eb41d
Merge pull request #3170 from github/dependabot/npm_and_yarn/extensions/ql-vscode/storybook/react-webpack5-7.6.6
...
Bump @storybook/react-webpack5 from 7.6.4 to 7.6.6 in /extensions/ql-vscode
2023-12-21 15:25:55 +01:00
dependabot[bot]
1df2e54074
Bump @storybook/react-webpack5 in /extensions/ql-vscode
...
Bumps [@storybook/react-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/code/frameworks/react-webpack5 ) from 7.6.4 to 7.6.6.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.6/code/frameworks/react-webpack5 )
---
updated-dependencies:
- dependency-name: "@storybook/react-webpack5"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 14:13:27 +00:00
dependabot[bot]
b7eba71ab6
Bump @typescript-eslint/eslint-plugin in /extensions/ql-vscode
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 6.13.2 to 6.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 14:12:54 +00:00
Koen Vlaswinkel
7375fce82d
Merge pull request #3167 from github/dependabot/npm_and_yarn/extensions/ql-vscode/storybook-7.6.6
...
Bump storybook from 7.6.4 to 7.6.6 in /extensions/ql-vscode
2023-12-21 15:11:58 +01:00
Koen Vlaswinkel
eac3836535
Merge pull request #3168 from github/dependabot/npm_and_yarn/extensions/ql-vscode/eslint-8.56.0
...
Bump eslint from 8.55.0 to 8.56.0 in /extensions/ql-vscode
2023-12-21 15:11:36 +01:00
dependabot[bot]
6dd6460b33
Bump eslint from 8.55.0 to 8.56.0 in /extensions/ql-vscode
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.55.0 to 8.56.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.55.0...v8.56.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 13:59:34 +00:00
dependabot[bot]
36d23e7eec
Bump storybook from 7.6.4 to 7.6.6 in /extensions/ql-vscode
...
Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli ) from 7.6.4 to 7.6.6.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v7.6.6/code/lib/cli )
---
updated-dependencies:
- dependency-name: storybook
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 13:59:09 +00:00
dependabot[bot]
b65f0490f2
Bump @typescript-eslint/parser in /extensions/ql-vscode
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.15.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 13:58:37 +00:00
Koen Vlaswinkel
4e4345f0c2
Merge remote-tracking branch 'origin/main' into koesie10/yauzl-progress
2023-12-21 13:41:43 +01:00
Koen Vlaswinkel
b2df8b6971
Move readableBytesMb to common/bytes
2023-12-21 13:41:22 +01:00
Koen Vlaswinkel
91ea2f089e
Extract calculateTotalUncompressedByteSize function
2023-12-21 13:39:09 +01:00
Koen Vlaswinkel
fbaf3d1cdf
Merge pull request #3162 from github/koesie10/yauzl-changelog
...
Add CHANGELOG entry for `yauzl` migration
2023-12-21 12:34:07 +01:00
Koen Vlaswinkel
7bcf62c6fe
Merge pull request #3161 from github/koesie10/github-databases-package-json
...
Remove missed feature flag reference from package.json
2023-12-21 12:33:59 +01:00
Koen Vlaswinkel
e81f1a1fde
Extract getQlPackLanguage function
2023-12-21 12:30:26 +01:00
Koen Vlaswinkel
c14fa63321
Remove resolveLibraryPath method
2023-12-21 12:20:44 +01:00
Koen Vlaswinkel
7554c415af
Do not use the CLI server to determine query pack language
...
This removes the use of the CLI `codeql resolve library-path` command to
detect the language of a query pack. Instead, it uses the `qlpack.yml`
file to determine the language. This is slightly less correct since it
only works for `codeql/${language}-all` dependencies, but it is much
faster and more reliable. It also doesn't result in the CLI server
restarting for invalid query packs (such as in the `github/codeql`
repository or in any workspaces containing it).
2023-12-21 12:20:12 +01:00
Koen Vlaswinkel
bbdad0fe2c
Add CHANGELOG entry for yauzl migration
2023-12-21 11:30:11 +01:00
Koen Vlaswinkel
3689f84612
Remove missed feature flag reference from package.json
2023-12-21 11:06:50 +01:00
Koen Vlaswinkel
f99432153b
Add tests for promptGitHubRepositoryDownload
2023-12-21 10:56:34 +01:00
Koen Vlaswinkel
704895ba6c
Merge pull request #3159 from github/github-action/bump-cli
...
Bump CLI Version to v2.15.5 for integration tests
2023-12-21 09:54:15 +01:00
github-actions[bot]
bb3ec207e3
Bump CLI version from v2.15.4 to v2.15.5 for integration tests
2023-12-20 19:08:03 +00:00
Robert
e56503249d
Add tests that cover the new semver options
2023-12-20 16:25:57 +00:00
Robert
37b2e422cd
Use stable instead of released
2023-12-20 16:25:57 +00:00
Robert
4140303b5c
Fix arguemnts to calls to getLatestRelease
2023-12-20 16:25:54 +00:00
Koen Vlaswinkel
218be87e88
Do not reregister watchers on every file change for qltests
...
During the qltest discovery, we were recreating the watchers for qltests
on every file change. This was causing the watchers to be recreated
on each change, while there were no functional changes to the watchers
themselves.
This commit moves the creation of the watchers to the constructor of
the QLTestDiscovery class, and removes the creation of the watchers
from the discover() method. The behavior should be the same.
2023-12-20 13:29:40 +01:00
Robert
c7e2d69daa
Define nightly by whether the value matches the default
2023-12-20 11:38:58 +00:00
Robert
ba2f44b8ae
Change to using getter for no-args methods
2023-12-20 11:37:11 +00:00
Koen Vlaswinkel
2267e9d4db
Add tests for unzip progress reporting
2023-12-20 10:30:59 +01:00
Koen Vlaswinkel
6f85894a11
Report progress while extracting CodeQL CLI distribution
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
8cbd77cf65
Report progress while extracting CodeQL CLI distribution in tests
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
641f714fa4
Extract downloadWithProgress function in ensureCli
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
216f10d327
Add progress reporting for intermediate bytes extracted
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
5045b2df60
Add progress reporting for bytes extracted
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
857a997037
Add progress reporting for extracted files
2023-12-20 10:24:07 +01:00
Koen Vlaswinkel
4444951093
Merge remote-tracking branch 'origin/main' into koesie10/yauzl-concurrent
2023-12-20 10:10:47 +01:00
Koen Vlaswinkel
e824fda9e7
Merge pull request #3153 from github/koesie10/yauzl-unzip-tests
...
Add simple tests for `yauzl`-based unzip functions
2023-12-20 10:01:45 +01:00
Robert
69dea08c47
Don't check semver for nightly releases
2023-12-19 18:47:43 +00:00
Robert
0360bf294f
Merge branch 'main' into robertbrignull/nightly-codeql
2023-12-19 17:39:29 +00:00
Koen Vlaswinkel
f1fe4a20f2
`chmod` tmp dir before cleanup
...
This should fix any permissions errors we get due to the ZIP file
containing files with different permissions.
2023-12-19 15:27:07 +01:00
Koen Vlaswinkel
be4059864e
Do not test file modes on Windows
2023-12-19 15:18:35 +01:00
Koen Vlaswinkel
a80098d7df
Fix race condition in unzip tests
2023-12-19 15:17:57 +01:00
Koen Vlaswinkel
f45b790591
Fix file path in tests on Windows
2023-12-19 15:14:13 +01:00
Koen Vlaswinkel
7a1f157225
Extract common functionality between unzip implementations
2023-12-19 15:00:13 +01:00
Koen Vlaswinkel
ba9b284606
Add tests for unzipToDirectory
2023-12-19 14:58:16 +01:00
Koen Vlaswinkel
1055515d59
Use different ZIP file for unzip tests
2023-12-19 14:43:49 +01:00
Koen Vlaswinkel
4eee14be61
Merge remote-tracking branch 'origin/main' into koesie10/yauzl-unzip-tests
2023-12-19 14:37:03 +01:00
Koen Vlaswinkel
7c00768c90
Extract unzipFile function
2023-12-19 14:27:51 +01:00
Koen Vlaswinkel
9038586aab
Rename unzipToDirectory to unzipToDirectorySequentially
2023-12-19 14:26:03 +01:00
Koen Vlaswinkel
800890443e
Add concurrent unzip implementation
2023-12-19 14:25:44 +01:00
Koen Vlaswinkel
0dcc814953
Remove unzipper
2023-12-19 14:20:42 +01:00
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
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
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
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
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
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