Граф коммитов

6482 Коммитов

Автор SHA1 Сообщение Дата
Koen Vlaswinkel f73ea67967
Merge pull request #3413 from github/koesie10/fix-tests-with-warnings
Show test results for tests with warnings
2024-02-28 16:02:32 +01:00
Koen Vlaswinkel eaa432b9d7 Add tests for new test warning behavior 2024-02-28 14:01:06 +01:00
Charis Kyriakou 23bbff230f
Update variant analysis monitor to get the whole variant analysis object (#3415) 2024-02-28 12:12:27 +00:00
Charis Kyriakou b884cff14d
Some restructuring around variant analysis mapper functions (#3412) 2024-02-28 11:45:49 +00:00
Koen Vlaswinkel 359ee76d52
Merge pull request #3401 from github/koesie10/hide-generated-type-models
Generate separate file for generated type models in Ruby by default
2024-02-28 11:47:58 +01:00
Koen Vlaswinkel 5521c00346 Add check for id property when running variant analysis 2024-02-28 11:17:15 +01:00
Koen Vlaswinkel eb71df84a7 Move query metadata retrieval before pack bundling 2024-02-28 11:15:00 +01:00
Koen Vlaswinkel d14c7b4114 Show test results for tests with warnings 2024-02-28 10:47:29 +01:00
Charis Kyriakou ab36153511
Minor renames in variant analysis monitor tests (#3411)
* Rename mockGetVariantAnalysis -> mockGetVariantAnalysisFromApi

* Rename mockEecuteCommand -> mockExecuteCommand
2024-02-28 09:12:26 +00:00
Koen Vlaswinkel 0599adccc0
Fix generated text
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
2024-02-28 09:58:33 +01:00
Charis Kyriakou e86127672a
Drop async from some functions that are not async (#3410) 2024-02-27 16:57:53 +00:00
Charis Kyriakou 040c7fc726
Add support for 'canceling' status for variant analysis (#3405) 2024-02-27 16:32:24 +00:00
Charis Kyriakou 5f047386c9
Rename getVariantAnalysis to tryGetVariantAnalysis (#3409) 2024-02-27 14:31:43 +00:00
Charis Kyriakou a416bcf544
Rename variable in variant analysis manager (#3408) 2024-02-27 14:07:12 +00:00
Robert a74e36314c
Update extensions/ql-vscode/test/__mocks__/model-editor/modelingEventsMock.ts
Co-authored-by: Koen Vlaswinkel <koesie10@users.noreply.github.com>
2024-02-26 13:11:22 +00:00
Robert 7fac0405b3 Remove dedicated modified methods event 2024-02-26 11:22:46 +00:00
Robert 7c77b39d30 Rename to ModeledAndModifiedMethodsChanged 2024-02-26 11:22:44 +00:00
Robert 1567d83463 modifiedMethodSignatures is always defined 2024-02-26 11:22:41 +00:00
Koen Vlaswinkel 7dceded98c Use `showTypeModels` setting instead of canary mode 2024-02-26 12:11:16 +01:00
Robert ec67df3373 Merge branch 'main' into robertbrignull/set-modeled-and-modified-methods 2024-02-26 11:06:34 +00:00
Robert 6e61ddb0f2
Merge pull request #3398 from github/robertbrignull/sort-in-modeling-store
Move all sorting to the modeling store, and then all views preserve the sorting
2024-02-26 11:05:59 +00:00
Koen Vlaswinkel 32d981ace4 Merge remote-tracking branch 'origin/main' into koesie10/hide-generated-type-models 2024-02-26 11:59:23 +01:00
Koen Vlaswinkel 713ca9f785 Fix test names 2024-02-26 11:45:23 +01:00
Robert 9a5654648d Rename to createGroups 2024-02-26 10:35:51 +00:00
Robert a1c84ac689 Reorder expected test data 2024-02-26 10:32:46 +00:00
Koen Vlaswinkel 7591c65db2 Add `showTypeModels` setting 2024-02-26 11:19:23 +01:00
Koen Vlaswinkel c8ec1d6ea3 Merge remote-tracking branch 'origin/main' into koesie10/hide-type-models-non-canary 2024-02-26 11:07:54 +01:00
Andrew Eisenberg ca21ed18d0 Import testproj databases into workspace storage
If a folder that ends with `.testproj` is encountered, assume it is a
database created by a codeql test. When the user wants to import this
database, copy it into workspace storage. The database can be
re-imported, which first removes the old version before importing it
again.
2024-02-25 18:39:41 -05:00
Koen Vlaswinkel 48718ca2e6 Reduce repetition in `MultipleModeledMethodsPanel.spec.tsx` 2024-02-23 15:47:40 +01:00
Koen Vlaswinkel 22024462fb Generate separate file for generated type models in Ruby 2024-02-23 15:38:12 +01:00
Koen Vlaswinkel 5468aef458 Extract saving of model extension YAML file 2024-02-23 14:38:12 +01:00
Charis Kyriakou f4a866b04b
Add logic to trigger model evaluation run (#3397) 2024-02-23 11:17:25 +00:00
Koen Vlaswinkel f57d4418c7 Hide type models for Ruby in non-canary mode 2024-02-23 10:32:17 +01:00
Chris Smowton a62522ec67
Merge pull request #3388 from github/github-action/bump-cli
Bump CLI Version to v2.16.3 for integration tests
2024-02-23 09:28:01 +00:00
Koen Vlaswinkel 6031d9b496
Merge pull request #3394 from github/koesie10/auto-run-generate-ruby-type-models
Auto-generate type models for Ruby
2024-02-23 10:15:05 +01:00
Robert ff685f0233 Move all sorting to the modeling store, and then all views preserve the sorting 2024-02-22 17:20:36 +00:00
Charis Kyriakou 948c1e2eb7
Add model evaluation run to store and view (#3385) 2024-02-22 16:28:32 +00:00
Robert 5ce09e6ccc Include modifiedMethodSignatures in SetModeledMethodsMessage 2024-02-22 15:45:57 +00:00
Robert 8832655c2f Add modifiedMethodSignatures to ModeledMethodsChangedEvent 2024-02-22 15:45:53 +00:00
Koen Vlaswinkel e408c0ac95 Auto-generate type models for Ruby 2024-02-22 16:44:03 +01:00
dependabot[bot] 07d9c4efc4
Bump @storybook/components from 7.6.7 to 7.6.17 in /extensions/ql-vscode (#3393)
Bumps [@storybook/components](https://github.com/storybookjs/storybook/tree/HEAD/code/ui/components) from 7.6.7 to 7.6.17.
- [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.17/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-02-22 06:23:26 -08:00
dependabot[bot] 98491fb1dc
Bump @typescript-eslint/parser in /extensions/ql-vscode (#3392)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.16.0 to 6.21.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.21.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>
2024-02-22 06:23:05 -08:00
dependabot[bot] 5c305f96de
Bump @faker-js/faker from 8.3.1 to 8.4.1 in /extensions/ql-vscode (#3391)
Bumps [@faker-js/faker](https://github.com/faker-js/faker) from 8.3.1 to 8.4.1.
- [Release notes](https://github.com/faker-js/faker/releases)
- [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md)
- [Commits](https://github.com/faker-js/faker/compare/v8.3.1...v8.4.1)

---
updated-dependencies:
- dependency-name: "@faker-js/faker"
  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-02-22 06:22:45 -08:00
dependabot[bot] 4b64e98e9f
Bump @testing-library/react in /extensions/ql-vscode (#3390)
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.1.2 to 14.2.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v14.1.2...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  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-02-22 06:22:18 -08:00
dependabot[bot] 2b14639c80
Bump chokidar from 3.5.3 to 3.6.0 in /extensions/ql-vscode (#3389)
Bumps [chokidar](https://github.com/paulmillr/chokidar) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.5.3...3.6.0)

---
updated-dependencies:
- dependency-name: chokidar
  dependency-type: direct:production
  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-02-22 06:21:58 -08:00
Koen Vlaswinkel b826ed3d9c
Merge pull request #3373 from github/koesie10/download-timeout
Add timeouts to downloading databases and the CLI
2024-02-22 13:39:38 +01:00
Robert 63de6cece5 Allow changeModeledMethods to also call fireModifiedMethodsChangedEvent 2024-02-22 12:36:06 +00:00
Robert 59118f63aa Change addModeledMethods and updateModeledMethods to also set methods as modified 2024-02-22 12:31:17 +00:00
Robert 91e59323f3 Delete setModifiedMethods as it is unused 2024-02-22 12:31:17 +00:00
Koen Vlaswinkel 54e1275f68
Merge pull request #3387 from github/koesie10/update-ruby-generate-query-constraints
Update Ruby model generation query constraints
2024-02-22 13:27:43 +01:00
Koen Vlaswinkel 9437cd094b Update CHANGELOG 2024-02-22 13:25:03 +01:00
github-actions[bot] 6161c7d3d4 Bump CLI version from v2.16.2 to v2.16.3 for integration tests 2024-02-22 11:54:32 +00:00
Koen Vlaswinkel 873ccaa7fd Update Ruby model generation query constraints 2024-02-22 12:09:00 +01:00
Robert 7a2688edac
Merge pull request #3382 from github/robertbrignull/automodel-sort-order
Update method sort order to place auto-model predictions earlier
2024-02-22 11:00:51 +00:00
Koen Vlaswinkel bf35909375
Merge pull request #3380 from github/koesie10/processed-method-modeling
Add processed by auto model state to method modeling panel
2024-02-22 09:34:55 +01:00
Robert 4096ded330 Merge branch 'main' into robertbrignull/automodel-sort-order 2024-02-21 17:38:50 +00:00
Robert fee7eae702
Merge pull request #3377 from github/robertbrignull/disable-automodel-button
Disable the automodel button if there are no methods that can be modeled
2024-02-21 16:11:21 +00:00
Koen Vlaswinkel 2c6eb3c832 Fix incorrect modelPending prop 2024-02-21 16:24:11 +01:00
Robert 2fdafaf616 Move getCandidates to the shared directory 2024-02-21 12:29:43 +00:00
Robert b59437e7dc Cover in unit test that unmodeled and unsaved manual models are sorted together 2024-02-21 11:49:13 +00:00
Charis Kyriakou e78f7e62fb
Moved logic to get standard pack for variant analysis (#3384) 2024-02-21 11:42:08 +00:00
Robert 759f8d4768 Give test methods signatures that'll be easier to identify 2024-02-21 11:39:54 +00:00
Robert 3ca4c7623e Update sort order for supported methods and unsaved manual models 2024-02-21 11:38:58 +00:00
Robert 7a68fcd05d Add comment explaining sort order more 2024-02-21 10:40:38 +00:00
Robert 1bad26a67d Merge branch 'main' into robertbrignull/automodel-sort-order 2024-02-21 10:33:27 +00:00
Koen Vlaswinkel db73cfeb76
Merge pull request #3378 from github/koesie10/ignore-more-location-indexes
Ignore more location indexes in SARIF comparison
2024-02-21 10:37:47 +01:00
Koen Vlaswinkel 3d2d86bf6e
Merge pull request #3379 from github/koesie10/italic-model-pending
Show auto-model negative predictions in italics
2024-02-21 09:55:29 +01:00
Charis Kyriakou 0533dad9ea
Add progress ring in 'stop evaluation' button (#3383) 2024-02-20 16:44:47 +00:00
Robert 95fd015414 Add unit tests of method sorting 2024-02-20 16:07:03 +00:00
Robert 70a64886d6 Rename + expand existing helper for shuffling lists 2024-02-20 15:19:01 +00:00
Charis Kyriakou 46a15bfdd6
Add dummy model evaluation buttons to model editor (#3381) 2024-02-20 14:50:15 +00:00
Robert 14dbb65f50 Change sort order to place AI predictions at the start 2024-02-20 14:38:30 +00:00
Robert 8f3ab61422 Perform filtering before sorting when determining auto-model candidates 2024-02-20 14:24:13 +00:00
Koen Vlaswinkel 409c89653c Add processed by auto model state to method modeling panel 2024-02-20 15:05:49 +01:00
Robert e3d9efef06 Use anonymous function instead of direct function reference 2024-02-20 13:35:27 +00:00
Koen Vlaswinkel 694bb21713 Ignore more location indexes in SARIF comparison 2024-02-20 14:32:41 +01:00
Robert d6c5ebe73a Pass methodSignatures to getProcessedByAutoModelMethods 2024-02-20 13:27:09 +00:00
Koen Vlaswinkel 899b159209 Use auto-model status for determining model pending 2024-02-20 14:22:31 +01:00
Koen Vlaswinkel 545311f26d Switch from model accepted to model pending 2024-02-20 14:17:25 +01:00
Robert d9ae0c6d17 Disable the automodel button if there are no methods that can be modeled 2024-02-20 12:34:49 +00:00
Robert dbdb561598 Don't send methods to AutoModel more than once 2024-02-20 12:06:07 +00:00
Koen Vlaswinkel bca4910bf2 Add `processedByAutoModelMethods` state to React view 2024-02-20 12:15:57 +01:00
Robert 3b30f22143
Merge pull request #3374 from github/robertbrignull/sentToLLMMethods
Add sentToLLM to ModelingStore
2024-02-20 10:05:27 +00:00
Robert 67f46b7fb2 Add processedByAUtoModel to modelingEventsMock 2024-02-20 09:47:37 +00:00
Robert f98c5319cb Rename to processedByAutoModel 2024-02-20 09:44:25 +00:00
Koen Vlaswinkel 7cd43cd894
Merge pull request #3369 from github/koesie10/stream-cli-output
Stream CLI server command stderr instead of buffering
2024-02-20 09:29:39 +01:00
Robert 4c4820f76a add sentToLLM to ModelingStore 2024-02-19 16:48:40 +00:00
Koen Vlaswinkel 1b66767d43 Simplify stderr buffers and EOL splitting
Co-authored-by: Robert <robertbrignull@github.com>
2024-02-19 16:40:28 +01:00
Koen Vlaswinkel 1a9c792756 Extract timeout and apply to it to CLI downloads 2024-02-19 16:11:53 +01:00
Koen Vlaswinkel feeb9d68b7 Add timeout to downloading databases 2024-02-19 14:10:28 +01:00
Robert 58b26d2b41
Merge pull request #3363 from github/robertbrignull/database-picker
Small usability improvements to database picker
2024-02-19 10:52:31 +00:00
Robert 0f18c841dc Update placeholder text 2024-02-19 10:39:29 +00:00
Koen Vlaswinkel 3de57d82ab Upgrade ip package 2024-02-19 09:44:30 +01:00
Charis Kyriakou 60e497a763
Remove support for CodeQL CLI v2.12.7 and v2.11.6 (#3371) 2024-02-16 16:22:02 +00:00
Koen Vlaswinkel 5ddc3c11d3 Stream CLI server command stderr instead of buffering 2024-02-16 13:14:39 +01:00
dependabot[bot] d2f4cd12a1
Bump @storybook/addon-a11y in /extensions/ql-vscode (#3364)
Bumps [@storybook/addon-a11y](https://github.com/storybookjs/storybook/tree/HEAD/code/addons/a11y) from 7.6.13 to 7.6.15.
- [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.15/code/addons/a11y)

---
updated-dependencies:
- dependency-name: "@storybook/addon-a11y"
  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-02-16 02:26:16 -08:00
dependabot[bot] 01b53f1709
Bump @testing-library/jest-dom in /extensions/ql-vscode (#3368)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.2.0 to 6.4.2.
- [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.2.0...v6.4.2)

---
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-02-16 08:42:03 +00:00
dependabot[bot] 2224ff936f
Bump storybook from 7.6.10 to 7.6.15 in /extensions/ql-vscode (#3366)
Bumps [storybook](https://github.com/storybookjs/storybook/tree/HEAD/code/lib/cli) from 7.6.10 to 7.6.15.
- [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.15/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-02-16 08:40:59 +00:00
dependabot[bot] 29cbe9a273
Bump mini-css-extract-plugin in /extensions/ql-vscode (#3365)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.7.7 to 2.8.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.7.7...v2.8.0)

---
updated-dependencies:
- dependency-name: mini-css-extract-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-02-16 08:40:26 +00:00
Shati Patel f1cc347e2a
Add "short-paths" test (#3350) 2024-02-15 16:09:35 +00:00
Shati Patel b7010aa102
Replace deprecated telemetry setting in the tests (#3362) 2024-02-15 10:22:08 +00:00
Charis Kyriakou 574ba177cd
Tidy up auto-modeling rate limit error message (#3361) 2024-02-15 08:28:50 +00:00
Robert d440c1080c Make placeholder messages more descriptive 2024-02-14 17:08:43 +00:00
Robert bb1bd5ce8b Add test for when there are no databases 2024-02-14 16:44:37 +00:00
Robert dd98a968ce Fix naming in test databases 2024-02-14 16:41:07 +00:00
Robert 8c87493d76 Don't offer existing databases if there aren't any 2024-02-14 16:30:58 +00:00
Koen Vlaswinkel 0f4a7788a7
Merge pull request #3360 from github/koesie10/remove-any-from-gulpfile
Add types to TextMate gulp step
2024-02-14 14:59:49 +01:00
Koen Vlaswinkel 3cb92233ac Add types to TextMate gulp step 2024-02-14 14:26:42 +01:00
Robert 51c81f9172 Move setState call later 2024-02-14 12:41:18 +00:00
Robert 9eb7f96ac0 Remove impossible cases because resultsInfo cannot be null 2024-02-14 12:40:10 +00:00
Robert 9f4b82710a
Merge pull request #3354 from github/robertbrignull/multi-mrva-test
Add a CLI test for MRVA with multiple queries
2024-02-14 12:23:56 +00:00
Robert 2138f859f5 Skip test when CLI version is not high enough 2024-02-14 11:48:58 +00:00
Robert 9e2b16afe3
Merge pull request #3353 from github/robertbrignull/eslint_no_any
Enable no-explicit-any throughout production code
2024-02-14 11:25:46 +00:00
Robert 93e6c53c8d Merge eslintrc files 2024-02-14 11:10:35 +00:00
Koen Vlaswinkel f4eed4d6a0
Merge pull request #3352 from github/koesie10/python-mad-format
Add support for Python in the model editor
2024-02-14 12:04:09 +01:00
github-actions[bot] 701539fb7f Bump version to v1.12.3 2024-02-14 10:29:50 +00:00
Robert d1ba99f2b4 Add test files 🤦 2024-02-14 10:07:29 +00:00
Charis Kyriakou ad98388b66
v1.12.2 2024-02-14 09:24:55 +00:00
Koen Vlaswinkel 1ce652629c Recompile view when shared files change 2024-02-14 09:46:58 +01:00
Robert 644f917b67 Add CLI test of multiple queries 2024-02-13 17:39:56 +00:00
Robert e16468754a Convert doVariantAnalysisTest to take multiple queries 2024-02-13 17:22:01 +00:00
Robert ed96cbb2c9 Use as unknown as ResultsPaths in ResultsApp.tsx 2024-02-13 14:59:17 +00:00
Robert ac707ff75c Ignore any in useEffectEvent.ts 2024-02-13 14:59:14 +00:00
Robert 334dbf57ef Ignore any in CommandManager.ts 2024-02-13 14:53:15 +00:00
Robert a4294e2e28 Disable no-explicit-any in gulpfile.ts directory 2024-02-13 14:53:15 +00:00
Robert e3a6678dc7 Disable no-explicit-any in test directory 2024-02-13 14:53:15 +00:00
Robert 55c86016a3 Disallow use of any by default 2024-02-13 14:38:43 +00:00
Koen Vlaswinkel 070af9eb42 Add support for Python in the model editor 2024-02-13 15:22:37 +01:00
Shati Patel 70b8ddfa37
Add feature flag for Python model editor (#3351) 2024-02-13 14:02:13 +00:00
Robert cd0d64605a Change registerCommandWithErrorHandling from two type args to one 2024-02-13 12:35:04 +00:00
Robert fcc5f6967e Add generic types to registerCommandWithErrorHandling 2024-02-13 11:10:16 +00:00
Robert 74070fbc1a Add type information to Memento.update 2024-02-13 11:10:16 +00:00
Robert f8e825287c Add typing to readJsonlFile
We're still not verifying the actual object returned by JSON.parse so
this isn't any safer at runtime than using 'any', but it helps add more
static typing to the code calling readJsonlFile.
2024-02-13 11:10:16 +00:00
Koen Vlaswinkel d7e9606bfa
Merge pull request #3331 from github/koesie10/endpoint-type-supported
Add supported endpoint types to predicates
2024-02-13 12:04:45 +01:00
Robert be6166497f
Merge pull request #3342 from github/robertbrignull/cached_operation
Give more types to CachedOperation to avoid use of any
2024-02-13 10:48:31 +00:00
Robert 01f6884b6c Undo changes to comment 2024-02-13 10:17:15 +00:00
Koen Vlaswinkel 8d1480ab35
Merge pull request #3348 from github/koesie10/ruby-canary
Remove `enableRuby` feature flag
2024-02-13 11:06:59 +01:00
Robert 4ed6a7b95b
Merge pull request #3346 from github/robertbrignull/telemetry-unknown
Avoid use of any in TelemetryListener
2024-02-13 09:37:34 +00:00
Koen Vlaswinkel 00076a9538 Remove enableRuby feature flag 2024-02-13 10:18:50 +01:00
github-actions[bot] 9e7fefe724 Bump CLI version from v2.16.1 to v2.16.2 for integration tests 2024-02-12 18:23:59 +00:00
Robert 0f6afac222 Use type import 2024-02-12 17:16:34 +00:00
Robert f7731e2e12
Merge pull request #3344 from github/robertbrignull/correct-types
Use correct types where possible instead of any
2024-02-12 16:51:06 +00:00
Robert f4edc6e5a9
Merge pull request #3345 from github/robertbrignull/addWatcher-unknown
Use bind instead of thisArg parameter in MultiFileSystemWatcher
2024-02-12 16:37:21 +00:00
Robert 478d41648e Use type import 2024-02-12 16:32:42 +00:00
Robert 6472ea8fde
Merge pull request #3341 from github/robertbrignull/unknown_type_checking
Use unknown instead of any in type functions
2024-02-12 15:57:23 +00:00
Robert 939616372c Use correct type for envelope argument 2024-02-12 15:39:23 +00:00
Robert bfe78eba9a Use string index notation instead of as any 2024-02-12 15:39:23 +00:00
Robert 8a389f2eb7 Remove thisArg from addWatcher and use bind instead 2024-02-12 15:38:26 +00:00
Robert 1004f16b10 Change addWatcher listener to return void 2024-02-12 15:38:26 +00:00
Robert e5961f2967 Use Record<string, unknown> for additionalRunQueryArgs 2024-02-12 15:37:46 +00:00