diff --git a/package.json b/package.json index ab29151..f8e49e6 100644 --- a/package.json +++ b/package.json @@ -67,6 +67,7 @@ "semver": "^7.7.0", "sharp": "^0.33.5", "shoetest": "^1.2.2", + "slug": "^10.0.0", "socket.io": "^4.8.1", "stats-lite": "^2.2.0", "striptags": "^3.2.0", @@ -98,6 +99,7 @@ "@types/pug": "^2.0.10", "@types/randomstring": "^1.3.0", "@types/semver": "^7.5.8", + "@types/slug": "^5.0.9", "@types/stats-lite": "^2.2.2", "@types/user-agents": "^1.0.4", "@types/uuid": "^10.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f4fa236..66ed109 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,6 +134,9 @@ importers: shoetest: specifier: ^1.2.2 version: 1.2.2 + slug: + specifier: ^10.0.0 + version: 10.0.0 socket.io: specifier: ^4.8.1 version: 4.8.1 @@ -222,6 +225,9 @@ importers: '@types/semver': specifier: ^7.5.8 version: 7.5.8 + '@types/slug': + specifier: ^5.0.9 + version: 5.0.9 '@types/stats-lite': specifier: ^2.2.2 version: 2.2.2 @@ -854,6 +860,9 @@ packages: '@types/serve-static@1.15.7': resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==} + '@types/slug@5.0.9': + resolution: {integrity: sha512-6Yp8BSplP35Esa/wOG1wLNKiqXevpQTEF/RcL/NV6BBQaMmZh4YlDwCgrrFSoUE4xAGvnKd5c+lkQJmPrBAzfQ==} + '@types/stats-lite@2.2.2': resolution: {integrity: sha512-T+bzT53cbPbE0hMlCNZux1QuH6hQFNHIwRMTQCu3YPG0W7XUfeoULHl+TehJCjaxQx8cz4wlg5oQsOyG9LvZmA==} @@ -2518,6 +2527,10 @@ packages: resolution: {integrity: sha512-a2B9Y0KlNXl9u/vsW6sTIu9vGEpfKu2wRV6l1H3XEas/0gUIzGzBoP/IouTcUQbm9JWZLH3COxyn03TYlFax6w==} engines: {node: '>=10'} + slug@10.0.0: + resolution: {integrity: sha512-M8s2PWOUeSCdD4S1NH5lCzXg2zFV1fozrtfr0FSKl65x+EF1rUowj+/vyFlnHgxPxWzT+DL0VXKfYc1DHJoymg==} + hasBin: true + socket.io-adapter@2.5.5: resolution: {integrity: sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==} @@ -3422,6 +3435,8 @@ snapshots: '@types/node': 22.12.0 '@types/send': 0.17.4 + '@types/slug@5.0.9': {} + '@types/stats-lite@2.2.2': {} '@types/tough-cookie@4.0.5': {} @@ -5321,6 +5336,8 @@ snapshots: dependencies: semver: 7.7.0 + slug@10.0.0: {} + socket.io-adapter@2.5.5: dependencies: debug: 4.3.7