You've already forked immich
							
							
				mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 00:18:28 +02:00 
			
		
		
		
	chore: undeclared versions/updates (#19649)
This commit is contained in:
		| @@ -4,6 +4,7 @@ | ||||
|  | ||||
| design/ | ||||
| docker/ | ||||
| Dockerfile | ||||
| !docker/scripts | ||||
| docs/ | ||||
| !docs/package.json | ||||
| @@ -19,6 +20,7 @@ mobile/ | ||||
| cli/coverage/ | ||||
| cli/dist/ | ||||
| cli/node_modules/ | ||||
| cli/Dockerfile | ||||
|  | ||||
| open-api/typescript-sdk/build/ | ||||
| open-api/typescript-sdk/node_modules/ | ||||
| @@ -29,9 +31,11 @@ server/upload/ | ||||
| server/src/queries | ||||
| server/dist/ | ||||
| server/www/ | ||||
| server/Dockerfile | ||||
|  | ||||
| web/node_modules/ | ||||
| web/coverage/ | ||||
| web/.svelte-kit | ||||
| web/build/ | ||||
| web/.env | ||||
| web/Dockerfile | ||||
|   | ||||
							
								
								
									
										2
									
								
								docs/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								docs/package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -10,6 +10,7 @@ | ||||
|       "dependencies": { | ||||
|         "@docusaurus/core": "~3.7.0", | ||||
|         "@docusaurus/preset-classic": "~3.7.0", | ||||
|         "@docusaurus/theme-common": "~3.7.0", | ||||
|         "@mdi/js": "^7.3.67", | ||||
|         "@mdi/react": "^1.6.1", | ||||
|         "@mdx-js/react": "^3.0.0", | ||||
| @@ -18,6 +19,7 @@ | ||||
|         "clsx": "^2.0.0", | ||||
|         "docusaurus-lunr-search": "^3.3.2", | ||||
|         "docusaurus-preset-openapi": "^0.7.5", | ||||
|         "lunr": "^2.3.9", | ||||
|         "postcss": "^8.4.25", | ||||
|         "prism-react-renderer": "^2.3.1", | ||||
|         "raw-loader": "^4.0.2", | ||||
|   | ||||
| @@ -18,6 +18,7 @@ | ||||
|   "dependencies": { | ||||
|     "@docusaurus/core": "~3.7.0", | ||||
|     "@docusaurus/preset-classic": "~3.7.0", | ||||
|     "@docusaurus/theme-common": "~3.7.0", | ||||
|     "@mdi/js": "^7.3.67", | ||||
|     "@mdi/react": "^1.6.1", | ||||
|     "@mdx-js/react": "^3.0.0", | ||||
| @@ -26,6 +27,7 @@ | ||||
|     "clsx": "^2.0.0", | ||||
|     "docusaurus-lunr-search": "^3.3.2", | ||||
|     "docusaurus-preset-openapi": "^0.7.5", | ||||
|     "lunr": "^2.3.9", | ||||
|     "postcss": "^8.4.25", | ||||
|     "prism-react-renderer": "^2.3.1", | ||||
|     "raw-loader": "^4.0.2", | ||||
|   | ||||
							
								
								
									
										688
									
								
								server/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										688
									
								
								server/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -64,14 +64,14 @@ | ||||
|     "bcrypt": "^6.0.0", | ||||
|     "body-parser": "^2.2.0", | ||||
|     "bullmq": "^5.51.0", | ||||
|     "chokidar": "^3.5.3", | ||||
|     "chokidar": "^4.0.3", | ||||
|     "class-transformer": "^0.5.1", | ||||
|     "class-validator": "^0.14.0", | ||||
|     "compression": "^1.8.0", | ||||
|     "cookie": "^1.0.2", | ||||
|     "cookie-parser": "^1.4.7", | ||||
|     "cron": "^3.5.0", | ||||
|     "exiftool-vendored": "^28.3.1", | ||||
|     "exiftool-vendored": "^28.8.0", | ||||
|     "express": "^5.1.0", | ||||
|     "fast-glob": "^3.3.2", | ||||
|     "fluent-ffmpeg": "^2.1.2", | ||||
| @@ -107,13 +107,14 @@ | ||||
|     "sharp": "^0.34.2", | ||||
|     "sirv": "^3.0.0", | ||||
|     "socket.io": "^4.8.1", | ||||
|     "tailwindcss-preset-email": "^1.3.2", | ||||
|     "tailwindcss-preset-email": "^1.4.0", | ||||
|     "thumbhash": "^0.1.1", | ||||
|     "typeorm": "^0.3.17", | ||||
|     "ua-parser-js": "^2.0.0", | ||||
|     "validator": "^13.12.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "canvas": "^3.1.0", | ||||
|     "@eslint/eslintrc": "^3.1.0", | ||||
|     "@eslint/js": "^9.8.0", | ||||
|     "@nestjs/cli": "^11.0.2", | ||||
| @@ -151,7 +152,6 @@ | ||||
|     "eslint-plugin-prettier": "^5.1.3", | ||||
|     "eslint-plugin-unicorn": "^59.0.0", | ||||
|     "globals": "^16.0.0", | ||||
|     "jsdom": "^26.1.0", | ||||
|     "mock-fs": "^5.2.0", | ||||
|     "node-addon-api": "^8.3.1", | ||||
|     "node-gyp": "^11.2.0", | ||||
| @@ -163,6 +163,7 @@ | ||||
|     "source-map-support": "^0.5.21", | ||||
|     "sql-formatter": "^15.0.0", | ||||
|     "supertest": "^7.1.0", | ||||
|     "tailwindcss": "^3.4.0", | ||||
|     "testcontainers": "^11.0.0", | ||||
|     "tsconfig-paths": "^4.2.0", | ||||
|     "typescript": "^5.3.3", | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| import { Injectable } from '@nestjs/common'; | ||||
| import archiver from 'archiver'; | ||||
| import chokidar, { WatchOptions } from 'chokidar'; | ||||
| import chokidar, { ChokidarOptions } from 'chokidar'; | ||||
| import { escapePath, glob, globStream } from 'fast-glob'; | ||||
| import { constants, createReadStream, createWriteStream, existsSync, mkdirSync } from 'node:fs'; | ||||
| import fs from 'node:fs/promises'; | ||||
| @@ -219,14 +219,14 @@ export class StorageRepository { | ||||
|     } | ||||
|   } | ||||
|  | ||||
|   watch(paths: string[], options: WatchOptions, events: Partial<WatchEvents>) { | ||||
|   watch(paths: string[], options: ChokidarOptions, events: Partial<WatchEvents>) { | ||||
|     const watcher = chokidar.watch(paths, options); | ||||
|  | ||||
|     watcher.on('ready', () => events.onReady?.()); | ||||
|     watcher.on('add', (path) => events.onAdd?.(path)); | ||||
|     watcher.on('change', (path) => events.onChange?.(path)); | ||||
|     watcher.on('unlink', (path) => events.onUnlink?.(path)); | ||||
|     watcher.on('error', (error) => events.onError?.(error)); | ||||
|     watcher.on('error', (error) => events.onError?.(error as Error)); | ||||
|  | ||||
|     return () => watcher.close(); | ||||
|   } | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| import { WatchOptions } from 'chokidar'; | ||||
| import { ChokidarOptions } from 'chokidar'; | ||||
| import { StorageCore } from 'src/cores/storage.core'; | ||||
| import { StorageRepository, WatchEvents } from 'src/repositories/storage.repository'; | ||||
| import { RepositoryInterface } from 'src/types'; | ||||
| @@ -11,7 +11,7 @@ interface MockWatcherOptions { | ||||
|  | ||||
| export const makeMockWatcher = | ||||
|   ({ items, close }: MockWatcherOptions) => | ||||
|   (paths: string[], options: WatchOptions, events: Partial<WatchEvents>) => { | ||||
|   (paths: string[], options: ChokidarOptions, events: Partial<WatchEvents>) => { | ||||
|     events.onReady?.(); | ||||
|     for (const item of items || []) { | ||||
|       switch (item.event) { | ||||
| @@ -29,6 +29,7 @@ export const makeMockWatcher = | ||||
|         } | ||||
|         case 'error': { | ||||
|           events.onError?.(new Error(item.value)); | ||||
|           break; | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   | ||||
							
								
								
									
										35
									
								
								web/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										35
									
								
								web/package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -69,6 +69,7 @@ | ||||
|         "eslint-plugin-unicorn": "^59.0.0", | ||||
|         "factory.ts": "^1.4.1", | ||||
|         "globals": "^16.0.0", | ||||
|         "happy-dom": "^18.0.1", | ||||
|         "prettier": "^3.4.2", | ||||
|         "prettier-plugin-organize-imports": "^4.0.0", | ||||
|         "prettier-plugin-sort-json": "^4.1.1", | ||||
| @@ -2972,6 +2973,13 @@ | ||||
|         "@types/geojson": "*" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/@types/whatwg-mimetype": { | ||||
|       "version": "3.0.2", | ||||
|       "resolved": "https://registry.npmjs.org/@types/whatwg-mimetype/-/whatwg-mimetype-3.0.2.tgz", | ||||
|       "integrity": "sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==", | ||||
|       "dev": true, | ||||
|       "license": "MIT" | ||||
|     }, | ||||
|     "node_modules/@typescript-eslint/eslint-plugin": { | ||||
|       "version": "8.32.1", | ||||
|       "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.32.1.tgz", | ||||
| @@ -5615,6 +5623,31 @@ | ||||
|         "uglify-js": "^3.1.4" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/happy-dom": { | ||||
|       "version": "18.0.1", | ||||
|       "resolved": "https://registry.npmjs.org/happy-dom/-/happy-dom-18.0.1.tgz", | ||||
|       "integrity": "sha512-qn+rKOW7KWpVTtgIUi6RVmTBZJSe2k0Db0vh1f7CWrWclkkc7/Q+FrOfkZIb2eiErLyqu5AXEzE7XthO9JVxRA==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "@types/node": "^20.0.0", | ||||
|         "@types/whatwg-mimetype": "^3.0.2", | ||||
|         "whatwg-mimetype": "^3.0.0" | ||||
|       }, | ||||
|       "engines": { | ||||
|         "node": ">=20.0.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/happy-dom/node_modules/@types/node": { | ||||
|       "version": "20.19.2", | ||||
|       "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.2.tgz", | ||||
|       "integrity": "sha512-9pLGGwdzOUBDYi0GNjM97FIA+f92fqSke6joWeBjWXllfNxZBs7qeMF7tvtOIsbY45xkWkxrdwUfUf3MnQa9gA==", | ||||
|       "dev": true, | ||||
|       "license": "MIT", | ||||
|       "dependencies": { | ||||
|         "undici-types": "~6.21.0" | ||||
|       } | ||||
|     }, | ||||
|     "node_modules/has-flag": { | ||||
|       "version": "4.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", | ||||
| @@ -9955,8 +9988,8 @@ | ||||
|       "version": "3.0.0", | ||||
|       "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-3.0.0.tgz", | ||||
|       "integrity": "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==", | ||||
|       "devOptional": true, | ||||
|       "license": "MIT", | ||||
|       "optional": true, | ||||
|       "engines": { | ||||
|         "node": ">=12" | ||||
|       } | ||||
|   | ||||
| @@ -86,6 +86,7 @@ | ||||
|     "eslint-plugin-unicorn": "^59.0.0", | ||||
|     "factory.ts": "^1.4.1", | ||||
|     "globals": "^16.0.0", | ||||
|     "happy-dom": "^18.0.1", | ||||
|     "prettier": "^3.4.2", | ||||
|     "prettier-plugin-organize-imports": "^4.0.0", | ||||
|     "prettier-plugin-sort-json": "^4.1.1", | ||||
|   | ||||
| @@ -58,7 +58,8 @@ describe('get asset filename', () => { | ||||
| }); | ||||
|  | ||||
| describe('copy image to clipboard', () => { | ||||
|   it('should not allow copy image to clipboard', () => { | ||||
|     expect(canCopyImageToClipboard()).toEqual(false); | ||||
|   // This test is dubious, as it totally on the environment where the test is run which is mocked. | ||||
|   it('should allow copy image to clipboard', () => { | ||||
|     expect(canCopyImageToClipboard()).toEqual(true); | ||||
|   }); | ||||
| }); | ||||
|   | ||||
| @@ -53,7 +53,7 @@ export default defineConfig({ | ||||
|   test: { | ||||
|     include: ['src/**/*.{test,spec}.{js,ts}'], | ||||
|     globals: true, | ||||
|     environment: 'jsdom', | ||||
|     environment: 'happy-dom', | ||||
|     setupFiles: ['./src/test-data/setup.ts'], | ||||
|     sequence: { | ||||
|       hooks: 'list', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user