Skip to content

Commit 7f97f46

Browse files
Update all non-major dependencies (#30281)
* Update all non-major dependencies * Prettier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 287a064 commit 7f97f46

5 files changed

Lines changed: 145 additions & 151 deletions

File tree

code_style.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ Unless otherwise specified, the following applies to all code:
127127
2. "Conflicted" typically refers to a getter which wants the same name as the underlying variable.
128128
20. Prefer readonly members over getters backed by a variable, unless an internal setter is required.
129129
21. Prefer Interfaces for object definitions, and types for parameter-value-only declarations.
130-
131130
1. Note that an explicit type is optional if not expected to be used outside of the function call,
132131
unlike in this example:
133132

@@ -161,7 +160,6 @@ Unless otherwise specified, the following applies to all code:
161160
28. Export only what can be reused.
162161
29. Prefer a type like `Optional<X>` (`type Optional<T> = T | null | undefined`) instead
163162
of truly optional parameters.
164-
165163
1. A notable exception is when the likelihood of a bug is minimal, such as when a function
166164
takes an argument that is more often not required than required. An example where the
167165
`?` operator is inappropriate is when taking a room ID: typically the caller should
@@ -260,7 +258,6 @@ Inheriting all the rules of TypeScript, the following additionally apply:
260258
12. Interdependence between stores should be kept to a minimum. Break functions and constants out to utilities
261259
if at all possible.
262260
13. A component should only use CSS class names in line with the component name.
263-
264261
1. When knowingly using a class name from another component, document it with a [comment](#comments).
265262

266263
14. Curly braces within JSX should be padded with a space, however properties on those components should not.
@@ -388,7 +385,6 @@ Note: We use PostCSS + some plugins to process our styles. It looks like SCSS, b
388385
properties should be clearly documented.
389386

390387
4. Inside a function, there is no need to comment every line, but consider:
391-
392388
- before a particular multiline section of code within the function, give an overview of what it does,
393389
to make it easier for a reader to follow the flow through the function as a whole.
394390
- if it is anything less than obvious, explain _why_ we are doing a particular operation, with particular emphasis

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"opus-recorder": "^8.0.3",
139139
"pako": "^2.0.3",
140140
"png-chunks-extract": "^1.0.0",
141-
"posthog-js": "1.255.1",
141+
"posthog-js": "1.256.2",
142142
"qrcode": "1.5.4",
143143
"re-resizable": "6.11.2",
144144
"react": "^19.0.0",
@@ -180,7 +180,7 @@
180180
"@babel/preset-typescript": "^7.12.7",
181181
"@babel/runtime": "^7.12.5",
182182
"@casualbot/jest-sonar-reporter": "2.2.7",
183-
"@element-hq/element-call-embedded": "0.12.2",
183+
"@element-hq/element-call-embedded": "0.13.1",
184184
"@element-hq/element-web-playwright-common": "^1.4.2",
185185
"@peculiar/webcrypto": "^1.4.3",
186186
"@playwright/test": "^1.50.1",
@@ -279,7 +279,7 @@
279279
"postcss-preset-env": "^10.0.0",
280280
"postcss-scss": "^4.0.4",
281281
"postcss-simple-vars": "^7.0.1",
282-
"prettier": "3.5.3",
282+
"prettier": "3.6.2",
283283
"process": "^0.11.10",
284284
"raw-loader": "^4.0.2",
285285
"rimraf": "^6.0.0",

src/components/structures/ThreadPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ const ThreadPanel: React.FC<IProps> = ({ roomId, onClose, permalinkCreator }) =>
169169

170170
useEffect(() => {
171171
const room = mxClient.getRoom(roomId);
172-
room
173-
?.createThreadsTimelineSets()
172+
room?.createThreadsTimelineSets()
174173
.then(() => room.fetchRoomThreads())
175174
.then(() => {
176175
setFilterOption(ThreadFilterType.All);

src/components/views/elements/SpellCheckLanguagesDropdown.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ export default class SpellCheckLanguagesDropdown extends React.Component<
5252
const plaf = PlatformPeg.get();
5353
if (plaf) {
5454
const languageNames = new Intl.DisplayNames([getUserLanguage()], { type: "language", style: "short" });
55-
plaf
56-
.getAvailableSpellCheckLanguages()
55+
plaf.getAvailableSpellCheckLanguages()
5756
?.then((languages) => {
5857
languages.sort(function (a, b) {
5958
if (a < b) return -1;

0 commit comments

Comments
 (0)