chore: update package dependencies and remove unused modules

- Removed `randombytes` and `safe-buffer` from package-lock.json as they are no longer needed.
- Updated `serialize-javascript` to version 7.0.3 in both package.json and package-lock.json to ensure compatibility with Node.js 20.0.0 and above.
- Adjusted overrides and resolutions in package.json to reflect the updated version of `serialize-javascript`.

These changes streamline the dependency management and ensure the project is using the latest compatible versions of critical packages.
This commit is contained in:
wizardchen
2026-03-02 21:16:40 +08:00
committed by lyingbug
parent 284d6c623e
commit e312ae57f5
2 changed files with 9 additions and 37 deletions
+4 -2
View File
@@ -51,10 +51,12 @@
},
"overrides": {
"lightningcss": "none",
"esbuild": "^0.25.0"
"esbuild": "^0.25.0",
"serialize-javascript": "^7.0.3"
},
"resolutions": {
"lightningcss": "none",
"esbuild": "^0.25.0"
"esbuild": "^0.25.0",
"serialize-javascript": "^7.0.3"
}
}