7 Commits

Author SHA1 Message Date
468bc71a1c Merge branch 'main' of https://github.com/20kaushik02/spotify-manager-web 2025-12-31 23:06:03 -08:00
ad0d033230 removed web-vitals, more updates 2025-12-31 23:03:39 -08:00
e0fb52658f Merge pull request #8 from 20kaushik02/snyk-upgrade-e8a59acdca04bd37dfff5afd5bb36d40
[Snyk] Upgrade @types/react-dom from 19.1.5 to 19.1.6
2025-07-02 11:40:32 -07:00
57d2cb7379 Merge branch 'main' into snyk-upgrade-e8a59acdca04bd37dfff5afd5bb36d40 2025-07-02 11:39:58 -07:00
a76560e695 Merge pull request #7 from 20kaushik02/snyk-upgrade-fb34cb0cf36e9fc41bd7a8c812d396fb
[Snyk] Upgrade @types/react from 19.1.6 to 19.1.7
2025-07-02 11:32:12 -07:00
snyk-bot
0649ee4698 fix: upgrade @types/react-dom from 19.1.5 to 19.1.6
Snyk has created this PR to upgrade @types/react-dom from 19.1.5 to 19.1.6.

See this package in npm:
@types/react-dom

See this project in Snyk:
https://app.snyk.io/org/20kaushik02/project/05ddc2f1-1869-44a0-9cd3-20373c986b7c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-07-02 07:56:29 +00:00
snyk-bot
bbf1372839 fix: upgrade @types/react from 19.1.6 to 19.1.7
Snyk has created this PR to upgrade @types/react from 19.1.6 to 19.1.7.

See this package in npm:
@types/react

See this project in Snyk:
https://app.snyk.io/org/20kaushik02/project/05ddc2f1-1869-44a0-9cd3-20373c986b7c?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-07-02 07:56:25 +00:00
4 changed files with 1022 additions and 1257 deletions

2236
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,28 +10,27 @@
"url": "git+https://github.com/20kaushik02/spotify-manager-web.git" "url": "git+https://github.com/20kaushik02/spotify-manager-web.git"
}, },
"license": "MIT", "license": "MIT",
"author": "Kaushik Ravishankar <rknarayan02@gmail.com>", "author": "Kaushik Ravishankar <hello@knravish.me>",
"bugs": { "bugs": {
"url": "https://github.com/20kaushik02/spotify-manager-web/issues" "url": "https://github.com/20kaushik02/spotify-manager-web/issues"
}, },
"homepage": "https://spotify-manager.knravish.me", "homepage": "https://spotify-manager.knravish.me",
"dependencies": { "dependencies": {
"@dagrejs/dagre": "^1.1.4", "@dagrejs/dagre": "^1.1.8",
"@types/react": "^19.1.6", "@xyflow/react": "^12.10.0",
"@types/react-dom": "^19.1.5", "axios": "^1.13.2",
"@xyflow/react": "^12.6.4", "react": "^19.2.3",
"axios": "^1.9.0", "react-dom": "^19.2.3",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-icons": "^5.5.0", "react-icons": "^5.5.0",
"react-router-dom": "^7.6.2", "react-router-dom": "^7.11.0",
"react-toastify": "^11.0.5", "react-toastify": "^11.0.5"
"web-vitals": "^5.0.2"
}, },
"devDependencies": { "devDependencies": {
"@types/react": "^19.2.3",
"@types/react-dom": "^19.2.3",
"react-scripts": "^5.0.1", "react-scripts": "^5.0.1",
"typescript": "^5.8.3", "typescript": "^5.8.3",
"typescript-plugin-css-modules": "^5.1.0" "typescript-plugin-css-modules": "^5.2.0"
}, },
"overrides": { "overrides": {
"react-scripts": { "react-scripts": {

View File

@@ -2,7 +2,6 @@ import React from "react";
import ReactDOM from "react-dom/client"; import ReactDOM from "react-dom/client";
import "./index.css"; import "./index.css";
import App from "./App.tsx"; import App from "./App.tsx";
import reportWebVitals from "./reportWebVitals.ts";
const root = ReactDOM.createRoot( const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement document.getElementById("root") as HTMLElement
@@ -12,8 +11,3 @@ root.render(
<App /> <App />
</React.StrictMode> </React.StrictMode>
); );
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();

View File

@@ -1,12 +0,0 @@
import { type MetricType, onCLS, onFCP, onLCP, onTTFB } from "web-vitals";
const reportWebVitals = (onPerfEntry?: (metric: MetricType) => void): void => {
if (onPerfEntry && onPerfEntry instanceof Function) {
onCLS(onPerfEntry);
onFCP(onPerfEntry);
onLCP(onPerfEntry);
onTTFB(onPerfEntry);
}
};
export default reportWebVitals;