Skip to content

Commit 765a3f0

Browse files
committed
Updating deps
1 parent 5784659 commit 765a3f0

File tree

12 files changed

+4117
-13876
lines changed

12 files changed

+4117
-13876
lines changed

package-lock.json

Lines changed: 4070 additions & 13829 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -16,48 +16,48 @@
1616
"translations": "node ./scripts/translations.js"
1717
},
1818
"dependencies": {
19-
"@sentry/browser": "^6.18.1",
20-
"core-js": "^3.21.1",
21-
"date-fns": "^2.28.0",
22-
"date-fns-tz": "^1.3.0",
23-
"feather-icons": "^4.28.0",
24-
"github-calendar": "^2.3.1",
19+
"@sentry/browser": "^7.93.0",
20+
"core-js": "^3.35.0",
21+
"date-fns": "^2.30.0",
22+
"date-fns-tz": "^1.3.8",
23+
"feather-icons": "^4.29.1",
24+
"github-calendar": "^2.3.2",
2525
"in-browser-language": "^1.0.3",
26-
"nanoid": "^3.2.0",
26+
"nanoid": "^3.3.7",
2727
"normalize.css": "^8.0.1",
28-
"react": "^18.0.0",
29-
"react-dom": "^18.0.0",
30-
"react-error-boundary": "^3.1.4",
31-
"react-intl": "^5.25.0",
32-
"tlds": "^1.228.0",
33-
"webextension-polyfill": "^0.9.0"
28+
"react": "^18.2.0",
29+
"react-dom": "^18.2.0",
30+
"react-error-boundary": "^4.0.12",
31+
"react-intl": "^6.6.0",
32+
"tlds": "^1.248.0",
33+
"webextension-polyfill": "^0.10.0"
3434
},
3535
"devDependencies": {
36-
"@types/jest": "^27.4.0",
37-
"@types/react": "^18.0.6",
38-
"@types/react-dom": "^18.0.2",
39-
"@types/webextension-polyfill": "^0.8.2",
36+
"@types/jest": "^29.5.11",
37+
"@types/react": "^18.2.48",
38+
"@types/react-dom": "^18.2.18",
39+
"@types/webextension-polyfill": "^0.10.7",
4040
"clean-webpack-plugin": "^4.0.0",
41-
"copy-webpack-plugin": "^10.2.0",
42-
"css-loader": "^6.5.1",
43-
"dotenv": "^16.0.0",
41+
"copy-webpack-plugin": "^12.0.1",
42+
"css-loader": "^6.9.0",
43+
"dotenv": "^16.3.1",
4444
"file-loader": "^6.2.0",
45-
"html-webpack-plugin": "^5.5.0",
46-
"jest": "^27.4.7",
47-
"mini-css-extract-plugin": "^2.4.6",
48-
"node-sass": "^7.0.1",
49-
"prettier": "2.5.1",
45+
"html-webpack-plugin": "^5.6.0",
46+
"jest": "^29.7.0",
47+
"mini-css-extract-plugin": "^2.7.7",
48+
"node-sass": "^9.0.0",
49+
"prettier": "3.2.2",
5050
"raw-loader": "^4.0.2",
5151
"react-intl-translations-manager": "^5.0.3",
52-
"sass-loader": "^12.4.0",
53-
"ts-loader": "^9.2.6",
54-
"typescript": "^4.6.2",
52+
"sass-loader": "^14.0.0",
53+
"ts-loader": "^9.5.1",
54+
"typescript": "^5.3.3",
5555
"typescript-react-intl": "^0.4.1",
5656
"url-loader": "^4.1.1",
57-
"webpack": "^5.65.0",
58-
"webpack-cli": "^4.9.1",
59-
"webpack-dev-server": "^4.7.4",
60-
"webpack-ext-reloader": "^1.1.9",
61-
"workbox-webpack-plugin": "^6.4.2"
57+
"webpack": "^5.89.0",
58+
"webpack-cli": "^5.1.4",
59+
"webpack-dev-server": "^4.15.1",
60+
"webpack-ext-reloader": "^1.1.12",
61+
"workbox-webpack-plugin": "^7.0.0"
6262
}
6363
}

src/errorHandler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { init, captureException, setTag } from "@sentry/browser";
22

3-
export function register() {
3+
export function register(): void {
44
init({
55
autoSessionTracking: false, // Wtf sentry
66
dsn: "https://[email protected]/250221",
@@ -10,7 +10,7 @@ export function register() {
1010
setTag("target", BUILD_TARGET);
1111
}
1212

13-
export function capture(error: Error) {
13+
export function capture(error: Error): void {
1414
if (error.stack) {
1515
// Replace firefox extension URLs
1616
error.stack = error.stack.replace(

src/locales/lang/uk.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
"settings": "Налаштування",
2020
"settings.translationCredits": "Переклав українською Олексій Лозов'ягін. Допрацював docteer",
2121
"widgets": "Віджети"
22-
}
22+
}

src/plugins/widgets/joke/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function isJokeError(
6464
return joke.error;
6565
}
6666

67-
export type JokeAPICategory = typeof categories[number]["key"];
67+
export type JokeAPICategory = (typeof categories)[number]["key"];
6868
export type Data = {
6969
categories: Set<JokeAPICategory>;
7070
timeout: number;

src/plugins/widgets/links/Links.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ const Links: FC<Props> = ({ data = defaultData }) => {
2525
<div
2626
className="Links"
2727
style={{
28-
gridTemplateColumns: data.visible || visible ? "1fr ".repeat(data.columns) : "1fr",
28+
gridTemplateColumns:
29+
data.visible || visible ? "1fr ".repeat(data.columns) : "1fr",
2930
textAlign: data.columns > 1 ? "left" : "inherit",
3031
}}
3132
>

src/plugins/widgets/quote/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export async function getQuote(
9090
category === "developerexcuses"
9191
? await getDeveloperExcuse()
9292
: category === "bible"
93-
? await getBibleVerse()
94-
: await getQuoteOfTheDay(category);
93+
? await getBibleVerse()
94+
: await getQuoteOfTheDay(category);
9595

9696
loader.pop();
9797

src/plugins/widgets/todo/TodoSettings.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ const TodoSettings: FC<Props> = ({ data = defaultData, setData }) => (
2222
<input
2323
type="text"
2424
maxLength={1}
25-
onChange={(event) =>
26-
setData({ ...data, keyBind: event.target.value })
27-
}
25+
onChange={(event) => setData({ ...data, keyBind: event.target.value })}
2826
value={data.keyBind}
2927
/>
3028
</label>

src/views/settings/System.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ const System: React.FC = () => {
3535
>
3636
<option value="ar" title="Arabic">
3737
العربية
38-
</option><option value="ca-ES" title="Catalan">
38+
</option>
39+
<option value="ca-ES" title="Catalan">
3940
Català
4041
</option>
4142
<option value="cs" title="Czech">

target/chromium/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22

33
<html lang="en">
44
<head>

0 commit comments

Comments
 (0)