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
00707fca4b
Merge pull request #3211 from github/koesie10/remove-disabled-eslint-rules
...
Remove disabled ESLint rules without linting errors
2024-01-08 16:17:30 +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
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
da5852cfbb
Merge pull request #3185 from github/koesie10/node-version-action
...
Add GitHub Actions workflow for updating Node version
2024-01-08 13:07:35 +01:00
Koen Vlaswinkel
5c83c94335
Merge pull request #3202 from github/koesie10/missing-promise-await
...
Fix missing `await` in `prepareModelEditorQueries`
2024-01-08 10:00:02 +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
d342b060ed
Merge pull request #3187 from github/koesie10/update-vscode-version-docs
...
Update outdated VS Code version docs
2024-01-05 09:49:42 +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
Nora
d0e81124ac
Merge pull request #3199 from github/dependabot/npm_and_yarn/extensions/ql-vscode/types/tmp-0.2.6
...
Bump @types/tmp from 0.1.0 to 0.2.6 in /extensions/ql-vscode
2024-01-04 15:00:05 +01: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
Koen Vlaswinkel
593c01388b
Update outdated VS Code version docs
...
There were still references to a pinned version of VS Code used in the
integration tests, but this was resolved in https://github.com/github/vscode-codeql/pull/2877 .
2024-01-03 12:20:24 +01:00
Koen Vlaswinkel
dbee8dd57a
Remove troubleshooting steps for Chromium version
...
ESBuild doesn't use `browserslist` or `caniuse-lite`, so this step
isn't necessary.
2024-01-03 12:01:12 +01: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
4b49a8f9bb
Update VS Code version documentation
2024-01-03 11:44:19 +01: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
7444605970
Add GitHub Actions workflow for updating Node version
2024-01-03 11:38:15 +01:00