Skip to content

Commit

Permalink
Updating deps
Browse files Browse the repository at this point in the history
  • Loading branch information
joelshepherd committed Jan 16, 2024
1 parent 5784659 commit 765a3f0
Show file tree
Hide file tree
Showing 12 changed files with 4,117 additions and 13,876 deletions.
17,899 changes: 4,070 additions & 13,829 deletions package-lock.json

Large diffs are not rendered by default.

66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,48 @@
"translations": "node ./scripts/translations.js"
},
"dependencies": {
"@sentry/browser": "^6.18.1",
"core-js": "^3.21.1",
"date-fns": "^2.28.0",
"date-fns-tz": "^1.3.0",
"feather-icons": "^4.28.0",
"github-calendar": "^2.3.1",
"@sentry/browser": "^7.93.0",
"core-js": "^3.35.0",
"date-fns": "^2.30.0",
"date-fns-tz": "^1.3.8",
"feather-icons": "^4.29.1",
"github-calendar": "^2.3.2",
"in-browser-language": "^1.0.3",
"nanoid": "^3.2.0",
"nanoid": "^3.3.7",
"normalize.css": "^8.0.1",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-error-boundary": "^3.1.4",
"react-intl": "^5.25.0",
"tlds": "^1.228.0",
"webextension-polyfill": "^0.9.0"
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-intl": "^6.6.0",
"tlds": "^1.248.0",
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/react": "^18.0.6",
"@types/react-dom": "^18.0.2",
"@types/webextension-polyfill": "^0.8.2",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/webextension-polyfill": "^0.10.7",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"dotenv": "^16.0.0",
"copy-webpack-plugin": "^12.0.1",
"css-loader": "^6.9.0",
"dotenv": "^16.3.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"jest": "^27.4.7",
"mini-css-extract-plugin": "^2.4.6",
"node-sass": "^7.0.1",
"prettier": "2.5.1",
"html-webpack-plugin": "^5.6.0",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.7.7",
"node-sass": "^9.0.0",
"prettier": "3.2.2",
"raw-loader": "^4.0.2",
"react-intl-translations-manager": "^5.0.3",
"sass-loader": "^12.4.0",
"ts-loader": "^9.2.6",
"typescript": "^4.6.2",
"sass-loader": "^14.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"typescript-react-intl": "^0.4.1",
"url-loader": "^4.1.1",
"webpack": "^5.65.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.7.4",
"webpack-ext-reloader": "^1.1.9",
"workbox-webpack-plugin": "^6.4.2"
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"webpack-ext-reloader": "^1.1.12",
"workbox-webpack-plugin": "^7.0.0"
}
}
4 changes: 2 additions & 2 deletions src/errorHandler.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { init, captureException, setTag } from "@sentry/browser";

export function register() {
export function register(): void {
init({
autoSessionTracking: false, // Wtf sentry
dsn: "https://[email protected]/250221",
Expand All @@ -10,7 +10,7 @@ export function register() {
setTag("target", BUILD_TARGET);
}

export function capture(error: Error) {
export function capture(error: Error): void {
if (error.stack) {
// Replace firefox extension URLs
error.stack = error.stack.replace(
Expand Down
2 changes: 1 addition & 1 deletion src/locales/lang/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
"settings": "Налаштування",
"settings.translationCredits": "Переклав українською Олексій Лозов'ягін. Допрацював docteer",
"widgets": "Віджети"
}
}
2 changes: 1 addition & 1 deletion src/plugins/widgets/joke/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function isJokeError(
return joke.error;
}

export type JokeAPICategory = typeof categories[number]["key"];
export type JokeAPICategory = (typeof categories)[number]["key"];
export type Data = {
categories: Set<JokeAPICategory>;
timeout: number;
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/widgets/links/Links.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const Links: FC<Props> = ({ data = defaultData }) => {
<div
className="Links"
style={{
gridTemplateColumns: data.visible || visible ? "1fr ".repeat(data.columns) : "1fr",
gridTemplateColumns:
data.visible || visible ? "1fr ".repeat(data.columns) : "1fr",
textAlign: data.columns > 1 ? "left" : "inherit",
}}
>
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/widgets/quote/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ export async function getQuote(
category === "developerexcuses"
? await getDeveloperExcuse()
: category === "bible"
? await getBibleVerse()
: await getQuoteOfTheDay(category);
? await getBibleVerse()
: await getQuoteOfTheDay(category);

loader.pop();

Expand Down
4 changes: 1 addition & 3 deletions src/plugins/widgets/todo/TodoSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ const TodoSettings: FC<Props> = ({ data = defaultData, setData }) => (
<input
type="text"
maxLength={1}
onChange={(event) =>
setData({ ...data, keyBind: event.target.value })
}
onChange={(event) => setData({ ...data, keyBind: event.target.value })}
value={data.keyBind}
/>
</label>
Expand Down
3 changes: 2 additions & 1 deletion src/views/settings/System.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ const System: React.FC = () => {
>
<option value="ar" title="Arabic">
العربية
</option><option value="ca-ES" title="Catalan">
</option>
<option value="ca-ES" title="Catalan">
Català
</option>
<option value="cs" title="Czech">
Expand Down
2 changes: 1 addition & 1 deletion target/chromium/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>

<html lang="en">
<head>
Expand Down
2 changes: 1 addition & 1 deletion target/firefox/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>

<html lang="en">
<head>
Expand Down
2 changes: 1 addition & 1 deletion target/web/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>

<html lang="en">
<head>
Expand Down

0 comments on commit 765a3f0

Please sign in to comment.