mirror of
https://github.com/20kaushik02/spotify-manager-web.git
synced 2026-01-25 08:04:05 +00:00
Compare commits
3 Commits
e0fb52658f
...
snyk-fix-a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b55aad277 | ||
| 468bc71a1c | |||
| ad0d033230 |
2212
package-lock.json
generated
2212
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
23
package.json
23
package.json
@@ -10,28 +10,27 @@
|
||||
"url": "git+https://github.com/20kaushik02/spotify-manager-web.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"author": "Kaushik Ravishankar <rknarayan02@gmail.com>",
|
||||
"author": "Kaushik Ravishankar <hello@knravish.me>",
|
||||
"bugs": {
|
||||
"url": "https://github.com/20kaushik02/spotify-manager-web/issues"
|
||||
},
|
||||
"homepage": "https://spotify-manager.knravish.me",
|
||||
"dependencies": {
|
||||
"@dagrejs/dagre": "^1.1.4",
|
||||
"@types/react": "^19.1.7",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@xyflow/react": "^12.6.4",
|
||||
"axios": "^1.9.0",
|
||||
"react": "^19.1.0",
|
||||
"react-dom": "^19.1.0",
|
||||
"@dagrejs/dagre": "^1.1.8",
|
||||
"@xyflow/react": "^12.10.0",
|
||||
"axios": "^1.13.2",
|
||||
"react": "^19.2.3",
|
||||
"react-dom": "^19.2.3",
|
||||
"react-icons": "^5.5.0",
|
||||
"react-router-dom": "^7.6.2",
|
||||
"react-toastify": "^11.0.5",
|
||||
"web-vitals": "^5.0.2"
|
||||
"react-router-dom": "^7.12.0",
|
||||
"react-toastify": "^11.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^19.2.3",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"react-scripts": "^5.0.1",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-plugin-css-modules": "^5.1.0"
|
||||
"typescript-plugin-css-modules": "^5.2.0"
|
||||
},
|
||||
"overrides": {
|
||||
"react-scripts": {
|
||||
|
||||
@@ -2,7 +2,6 @@ import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import "./index.css";
|
||||
import App from "./App.tsx";
|
||||
import reportWebVitals from "./reportWebVitals.ts";
|
||||
|
||||
const root = ReactDOM.createRoot(
|
||||
document.getElementById("root") as HTMLElement
|
||||
@@ -12,8 +11,3 @@ root.render(
|
||||
<App />
|
||||
</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();
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user