Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinfrei committed Aug 30, 2024
1 parent 12b40f1 commit c87a3a3
Show file tree
Hide file tree
Showing 17 changed files with 1,720 additions and 3,319 deletions.
8 changes: 0 additions & 8 deletions .husky/common.sh

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn hook-commit
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn hook-push
4 changes: 2 additions & 2 deletions electron/AudioDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ function fileWatchFilter(filepath: string): boolean {
const noXcode = path.join(filepath, '.notranscode');
const st = statSync(noXcode);
return !st.isFile();
} catch (errorValue) {
} catch {
/* */
}
}
} catch (e) {
} catch {
/* */
}
return true;
Expand Down
10 changes: 5 additions & 5 deletions electron/Transcoding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export async function toMp4Async(
XcodeResCode.alreadyExists,
`'${newFile}' already appears to exist`,
);
} catch (error) {
} catch {
/* The file doesn't exist, so we're happy */
}
const ext: string = PathUtil.getExtNoDot(originalFile).toLowerCase();
Expand Down Expand Up @@ -296,10 +296,10 @@ async function convert(
const dr = path.dirname(newName);
try {
await fsp.stat(dr);
} catch (e) {
} catch {
await fsp.mkdir(dr, { recursive: true });
}
} catch (e) {
} catch {
reportFailure(
newName,
`Unable to find/create the directory for ${newName}`,
Expand All @@ -314,7 +314,7 @@ async function convert(
if (filePairs !== undefined) {
filePairs.set(src, relName);
}
} catch (e) {
} catch {
reportFailure(
src,
`Unable to copy already mid-quality file ${src} to ${relName}`,
Expand Down Expand Up @@ -399,7 +399,7 @@ async function findExcessDirs(settings: TranscodeInfo): Promise<string[]> {
if (!st.isDirectory()) {
result.push(dirname);
}
} catch (e) {
} catch {
result.push(dirname);
}
return true;
Expand Down
4 changes: 2 additions & 2 deletions electron/cover-art.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function LookForAlbum(
log(`Got album art for ${artist}: ${album} [${albTrim}]`);
return attempt;
}
} catch (e) {
} catch {
log(`Failed album attempt ${albTrim}`);
}
lastAlbum = albTrim;
Expand Down Expand Up @@ -161,7 +161,7 @@ async function LookForArtist(artist: string): Promise<string | void> {
log(`Got artist art for ${artist}`);
return attempt;
}
} catch (e) {
} catch {
log(`Failed artist attempt ${artist}`);
}

Expand Down
2 changes: 1 addition & 1 deletion electron/playlists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export async function SavePlaylist(data: PlaylistSaveData): Promise<void> {
try {
try {
await fsp.mkdir(playlistDir(), { recursive: true });
} catch (e) {
} catch {
/* */
}
await fsp.writeFile(
Expand Down
34 changes: 17 additions & 17 deletions modules/audiofileindex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,35 @@
"doc": "typedoc ./src/index.ts --readme none --tsconfig tsconfig.json"
},
"dependencies": {
"@freik/containers": "^0.2.14",
"@freik/helpers": "^0.3.13",
"@freik/logger": "^0.2.11",
"@freik/media-core": "^0.14.13",
"@freik/media-utils": "^0.19.5",
"@freik/node-utils": "^1.6.4",
"@freik/search": "^1.1.11",
"@freik/text": "^0.3.12",
"@freik/typechk": "^0.5.12",
"@freik/containers": "^0.2.17",
"@freik/helpers": "^0.3.16",
"@freik/logger": "^0.2.15",
"@freik/media-core": "^0.14.16",
"@freik/media-utils": "^0.19.10",
"@freik/node-utils": "^1.6.7",
"@freik/search": "^1.1.14",
"@freik/text": "^0.3.15",
"@freik/typechk": "^0.6.4",
"xxhashjs": "^0.2.2"
},
"devDependencies": {
"@freik/build-tools": "^3.6.10",
"@freik/build-tools": "^3.6.11",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/rmfr": "^2.0.5",
"@types/xxhashjs": "^0.2.4",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^9.7.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rmfr": "^2.0.0",
"ts-jest": "^29.2.2",
"typedoc": "^0.26.4",
"typedoc-plugin-markdown": "^4.2.1",
"typescript": "^5.5.3"
"ts-jest": "^29.2.5",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.6",
"typescript": "^5.5.4"
},
"files": [
"lib/**/*"
Expand Down
26 changes: 13 additions & 13 deletions modules/emain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@
"electron": ">=20.0.0"
},
"dependencies": {
"@freik/logger": "^0.2.11",
"@freik/sync": "^0.2.13",
"@freik/typechk": "^0.5.12"
"@freik/logger": "^0.2.15",
"@freik/sync": "^0.2.16",
"@freik/typechk": "^0.6.4"
},
"devDependencies": {
"@freik/node-utils": "^1.6.4",
"@freik/node-utils": "^1.6.7",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"electron": "^31.2.1",
"eslint": "^9.7.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"electron": "^32.0.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"typedoc": "^0.26.4",
"typedoc-plugin-markdown": "^4.2.1",
"typescript": "^5.5.3"
"ts-jest": "^29.2.5",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.6",
"typescript": "^5.5.4"
},
"files": [
"lib/**/*"
Expand Down
16 changes: 8 additions & 8 deletions modules/epreload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,21 @@
"@freik/electron-render": "^0.1.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"electron": "^31.2.1",
"eslint": "^9.7.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"electron": "^32.0.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"typescript": "^5.5.3"
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
},
"files": ["lib/**/*"],
"dependencies": {
"@freik/logger": "^0.2.11"
"@freik/logger": "^0.2.15"
}
}
30 changes: 15 additions & 15 deletions modules/erenderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
},
"homepage": "https://github.com/kevinfrei/elect-render-tools#readme",
"dependencies": {
"@freik/logger": "^0.2.11",
"@freik/seqnum": "^1.1.11",
"@freik/typechk": "^0.5.12",
"@freik/logger": "^0.2.15",
"@freik/seqnum": "^1.1.14",
"@freik/typechk": "^0.6.4",
"@freik/web-utils": "^0.5.2",
"electron": "^31.2.1"
"electron": "^32.0.1"
},
"peerDependencies": {
"react": ">=17.0.2",
Expand All @@ -47,18 +47,18 @@
"@freik/web-utils": "^0.5.2",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"@types/react-test-renderer": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"electron": "^31.2.1",
"eslint": "^9.7.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"electron": "^32.0.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.4",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
Expand All @@ -69,10 +69,10 @@
"react-test-renderer": "^18.3.1",
"recoil": "^0.7.7",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.2",
"typedoc": "^0.26.4",
"typedoc-plugin-markdown": "^4.2.1",
"typescript": "^5.5.3"
"ts-jest": "^29.2.5",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.6",
"typescript": "^5.5.4"
},
"files": ["lib/**/*"],
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions modules/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
},
"devDependencies": {
"rimraf": "^6.0.1",
"typescript": "^5.5.3"
"typescript": "^5.5.4"
},
"files": [
"./lib/**/*"
],
"dependencies": {
"@freik/typechk": "^0.5.12"
"@freik/typechk": "^0.6.4"
}
}
Loading

0 comments on commit c87a3a3

Please sign in to comment.