Skip to content

Commit 2a0fd46

Browse files
committed
Merge branch 'koesie10/react-18' into koesie10/react-strict-mode
2 parents d437ebe + d4464c8 commit 2a0fd46

File tree

112 files changed

+5083
-4464
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+5083
-4464
lines changed

.github/codeql/queries/unique-command-use.ql

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,20 @@
7272

7373
override string getCommandName() { result = this.getArgument(0).(StringLiteral).getValue() }
7474
}
75+
76+
/**
77+
* A usage of a command from the typescript code, by calling `CommandManager.execute`.
78+
*/
79+
class CommandUsageCommandManagerMethodCallExpr extends CommandUsage, MethodCallExpr {
80+
CommandUsageCommandManagerMethodCallExpr() {
81+
this.getCalleeName() = "execute" and
82+
this.getReceiver().getType().unfold().(TypeReference).getTypeName().getName() = "CommandManager" and
83+
this.getArgument(0).(StringLiteral).getValue().matches("%codeQL%") and
84+
not this.getFile().getRelativePath().matches("extensions/ql-vscode/test/%")
85+
}
86+
87+
override string getCommandName() { result = this.getArgument(0).(StringLiteral).getValue() }
88+
}
7589

7690
/**
7791
* A usage of a command from any menu that isn't the command palette.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[fork]: https://github.com/github/vscode-codeql/fork
44
[pr]: https://github.com/github/vscode-codeql/compare
5-
[style]: https://primer.style
5+
[style]: https://github.com/microsoft/vscode-webview-ui-toolkit
66
[code-of-conduct]: CODE_OF_CONDUCT.md
77

88
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.

extensions/ql-vscode/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## [UNRELEASED]
44

5+
## 1.8.1 - 23 March 2023
6+
7+
- Show data flow paths of a variant analysis in a new tab. [#2172](https://github.com/github/vscode-codeql/pull/2172) & [#2182](https://github.com/github/vscode-codeql/pull/2182)
8+
- Show labels of entities in exported CSV results. [#2170](https://github.com/github/vscode-codeql/pull/2170)
9+
510
## 1.8.0 - 9 March 2023
611

712
- Send telemetry about unhandled errors happening within the extension. [#2125](https://github.com/github/vscode-codeql/pull/2125)

0 commit comments

Comments
 (0)