Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
martpie committed Sep 2, 2023
1 parent bc70ccd commit dd51b25
Show file tree
Hide file tree
Showing 3 changed files with 741 additions and 977 deletions.
54 changes: 27 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"package:checksums": "bash scripts/checksum.sh"
},
"dependencies": {
"@electron/remote": "^2.0.10",
"@electron/remote": "^2.0.11",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-popover": "^1.0.6",
"@radix-ui/react-slider": "^1.1.2",
"@tanstack/react-virtual": "3.0.0-beta.54",
"@tanstack/react-virtual": "3.0.0-beta.57",
"chardet": "^1.6.0",
"classnames": "^2.3.2",
"electron-store": "^8.1.0",
Expand All @@ -54,8 +54,8 @@
"m3ujs": "^0.2.1",
"music-metadata": "^8.1.4",
"nanoid": "^4.0.2",
"pino": "^8.14.1",
"pino-pretty": "^10.1.0",
"pino": "^8.15.0",
"pino-pretty": "^10.2.0",
"pouchdb": "^8.0.1",
"pouchdb-find": "^8.0.1",
"queue": "^7.0.0",
Expand All @@ -65,48 +65,48 @@
"react-dom": "^18.2.0",
"react-fontawesome": "^1.7.1",
"react-keybinding-component": "^2.0.2",
"react-router-dom": "6.14.2",
"react-router-dom": "6.15.0",
"semver": "^7.5.4",
"svg-inline-react": "^3.2.1",
"zustand": "^4.3.9"
"zustand": "^4.4.1"
},
"devDependencies": {
"@total-typescript/ts-reset": "^0.4.2",
"@types/lodash": "^4.14.195",
"@total-typescript/ts-reset": "^0.5.1",
"@types/lodash": "^4.14.197",
"@types/pouchdb": "^6.4.0",
"@types/react": "^18.2.15",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"@types/react-fontawesome": "^1.6.5",
"@types/react-router-dom": "^5.3.3",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@vitejs/plugin-react": "^4.0.3",
"electron": "25.3.1",
"electron-builder": "^24.4.0",
"@types/semver": "^7.5.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitejs/plugin-react": "^4.0.4",
"electron": "26.1.0",
"electron-builder": "^24.6.3",
"electron-devtools-assembler": "^1.2.0",
"electron-vite": "^1.0.25",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"electron-vite": "^1.0.27",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"normalize.css": "^8.0.1",
"postcss": "^8.4.27",
"postcss": "^8.4.29",
"postcss-import": "^15.1.0",
"postcss-nested": "^6.0.1",
"postcss-scss": "^4.0.6",
"postcss-scss": "^4.0.7",
"postcss-url": "^10.1.3",
"prettier": "^3.0.0",
"prettier": "^3.0.3",
"prettier-eslint": "^15.0.1",
"stylelint": "^15.10.2",
"stylelint": "^15.10.3",
"stylelint-config-css-modules": "^4.3.0",
"stylelint-config-standard": "^34.0.0",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"typescript-plugin-css-modules": "^5.0.1",
"vite": "^4.4.6",
"vitest": "^0.33.0"
"vite": "^4.4.9",
"vitest": "^0.34.3"
}
}
10 changes: 4 additions & 6 deletions src/renderer/stores/useLibraryStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,12 @@ const useLibraryStore = createStore<LibraryState>((set, get) => ({
await Promise.all(
paths.map(async (filePath) => {
try {
const playlistFiles = await window.MuseeksAPI.playlists.resolveM3u(
filePath,
);
const playlistFiles =
await window.MuseeksAPI.playlists.resolveM3u(filePath);
const playlistName = path.parse(filePath).name;

const existingTracks: TrackModel[] = await db.tracks.findByPath(
playlistFiles,
);
const existingTracks: TrackModel[] =
await db.tracks.findByPath(playlistFiles);

await PlaylistsAPI.create(
playlistName,
Expand Down
Loading

0 comments on commit dd51b25

Please sign in to comment.