Bump deps & fix compile

This commit is contained in:
Andras Schmelczer 2025-02-23 16:19:19 +00:00
parent ff5b987688
commit b4783d1007
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
6 changed files with 6784 additions and 7593 deletions

View file

@ -14,7 +14,7 @@
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@types/jest": "^29.5.14", "@types/jest": "^29.5.14",
"@types/node": "^22.13.4", "@types/node": "^22.13.5",
"css-loader": "^7.1.2", "css-loader": "^7.1.2",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
@ -27,10 +27,11 @@
"sass-loader": "^16.0.5", "sass-loader": "^16.0.5",
"sync-client": "file:../sync-client", "sync-client": "file:../sync-client",
"terser-webpack-plugin": "^5.3.11", "terser-webpack-plugin": "^5.3.11",
"ts-jest": "^29.2.5", "ts-jest": "^29.2.6",
"ts-loader": "^9.5.2", "ts-loader": "^9.5.2",
"tslib": "2.8.1", "tslib": "2.8.1",
"typescript": "5.7.3", "typescript": "5.7.3",
"url": "^0.11.4",
"virtual-scroller": "^1.13.1", "virtual-scroller": "^1.13.1",
"webpack": "^5.98.0", "webpack": "^5.98.0",
"webpack-cli": "^6.0.1" "webpack-cli": "^6.0.1"

View file

@ -98,6 +98,9 @@ module.exports = (env, argv) => ({
alias: { alias: {
root: __dirname, root: __dirname,
src: path.resolve(__dirname, "src") src: path.resolve(__dirname, "src")
},
fallback: {
url: require.resolve("url")
} }
}, },
output: { output: {

14357
frontend/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -21,10 +21,10 @@
}, },
"devDependencies": { "devDependencies": {
"concurrently": "^9.1.2", "concurrently": "^9.1.2",
"eslint": "9.20.1", "eslint": "9.21.0",
"eslint-plugin-unused-imports": "^4.1.4", "eslint-plugin-unused-imports": "^4.1.4",
"npm-check-updates": "^17.1.14", "npm-check-updates": "^17.1.14",
"prettier": "^3.5.1", "prettier": "^3.5.2",
"typescript-eslint": "8.24.1" "typescript-eslint": "8.24.1"
} }
} }

View file

@ -14,9 +14,9 @@
"typescript": "5.7.3", "typescript": "5.7.3",
"sync_lib": "file:../../backend/sync_lib/pkg", "sync_lib": "file:../../backend/sync_lib/pkg",
"@types/jest": "^29.5.14", "@types/jest": "^29.5.14",
"@types/node": "^22.13.4", "@types/node": "^22.13.5",
"jest": "^29.7.0", "jest": "^29.7.0",
"ts-jest": "^29.2.5", "ts-jest": "^29.2.6",
"p-queue": "^8.1.0", "p-queue": "^8.1.0",
"fetch-retry": "^6.0.0", "fetch-retry": "^6.0.0",
"byte-base64": "^1.1.0", "byte-base64": "^1.1.0",
@ -26,4 +26,4 @@
"webpack": "^5.98.0", "webpack": "^5.98.0",
"webpack-cli": "^6.0.1" "webpack-cli": "^6.0.1"
} }
} }

View file

@ -3,6 +3,7 @@ const path = require("path");
module.exports = (_env, _argv) => ({ module.exports = (_env, _argv) => ({
entry: "./src/index.ts", entry: "./src/index.ts",
devtool: "source-map", devtool: "source-map",
target: "node",
module: { module: {
rules: [ rules: [
{ {
@ -43,7 +44,6 @@ module.exports = (_env, _argv) => ({
name: "SyncClient", name: "SyncClient",
type: "umd" type: "umd"
}, },
globalObject: "this",
path: path.resolve(__dirname, "dist") path: path.resolve(__dirname, "dist")
} }
}); });