chore: remove unused fingerprint utility and stale deps
This commit is contained in:
@@ -23,7 +23,6 @@
|
|||||||
"typecheck": "tsc --noEmit"
|
"typecheck": "tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@furtherverse/utils": "workspace:*",
|
|
||||||
"@orpc/client": "catalog:",
|
"@orpc/client": "catalog:",
|
||||||
"@orpc/contract": "catalog:",
|
"@orpc/contract": "catalog:",
|
||||||
"@orpc/openapi": "catalog:",
|
"@orpc/openapi": "catalog:",
|
||||||
|
|||||||
9
bun.lock
9
bun.lock
@@ -30,7 +30,6 @@
|
|||||||
"name": "@furtherverse/server",
|
"name": "@furtherverse/server",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@furtherverse/utils": "workspace:*",
|
|
||||||
"@orpc/client": "catalog:",
|
"@orpc/client": "catalog:",
|
||||||
"@orpc/contract": "catalog:",
|
"@orpc/contract": "catalog:",
|
||||||
"@orpc/openapi": "catalog:",
|
"@orpc/openapi": "catalog:",
|
||||||
@@ -74,10 +73,6 @@
|
|||||||
"packages/utils": {
|
"packages/utils": {
|
||||||
"name": "@furtherverse/utils",
|
"name": "@furtherverse/utils",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"dependencies": {
|
|
||||||
"ohash": "catalog:",
|
|
||||||
"systeminformation": "catalog:",
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@furtherverse/tsconfig": "workspace:*",
|
"@furtherverse/tsconfig": "workspace:*",
|
||||||
},
|
},
|
||||||
@@ -115,11 +110,9 @@
|
|||||||
"electron-builder": "^26.0.0",
|
"electron-builder": "^26.0.0",
|
||||||
"electron-vite": "^5.0.0",
|
"electron-vite": "^5.0.0",
|
||||||
"nitro": "npm:nitro-nightly@3.0.1-20260213-154614-f663e76d",
|
"nitro": "npm:nitro-nightly@3.0.1-20260213-154614-f663e76d",
|
||||||
"ohash": "^2.0.11",
|
|
||||||
"postgres": "^3.4.8",
|
"postgres": "^3.4.8",
|
||||||
"react": "^19.2.4",
|
"react": "^19.2.4",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^19.2.4",
|
||||||
"systeminformation": "^5.31.0",
|
|
||||||
"tailwindcss": "^4.1.18",
|
"tailwindcss": "^4.1.18",
|
||||||
"tree-kill": "^1.2.2",
|
"tree-kill": "^1.2.2",
|
||||||
"turbo": "^2.7.5",
|
"turbo": "^2.7.5",
|
||||||
@@ -1222,8 +1215,6 @@
|
|||||||
|
|
||||||
"supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
|
"supports-color": ["supports-color@7.2.0", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
|
||||||
|
|
||||||
"systeminformation": ["systeminformation@5.31.0", "", { "os": "!aix", "bin": { "systeminformation": "lib/cli.js" } }, "sha512-z5pjzvC8UnQJ/iu34z+mo3lAeMzTGdArjPQoG5uPyV5XY4BY+M6ZcRTl4XnZqudz6sP713LhWMKv6e0kGFGCgQ=="],
|
|
||||||
|
|
||||||
"tagged-tag": ["tagged-tag@1.0.0", "", {}, "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng=="],
|
"tagged-tag": ["tagged-tag@1.0.0", "", {}, "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng=="],
|
||||||
|
|
||||||
"tailwindcss": ["tailwindcss@4.1.18", "", {}, "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw=="],
|
"tailwindcss": ["tailwindcss@4.1.18", "", {}, "sha512-4+Z+0yiYyEtUVCScyfHCxOYP06L5Ne+JiHhY2IjR2KWMIWhJOYZKLSGZaP5HkZ8+bY0cxfzwDE5uOmzFXyIwxw=="],
|
||||||
|
|||||||
@@ -55,11 +55,9 @@
|
|||||||
"electron-builder": "^26.0.0",
|
"electron-builder": "^26.0.0",
|
||||||
"electron-vite": "^5.0.0",
|
"electron-vite": "^5.0.0",
|
||||||
"nitro": "npm:nitro-nightly@3.0.1-20260213-154614-f663e76d",
|
"nitro": "npm:nitro-nightly@3.0.1-20260213-154614-f663e76d",
|
||||||
"ohash": "^2.0.11",
|
|
||||||
"postgres": "^3.4.8",
|
"postgres": "^3.4.8",
|
||||||
"react": "^19.2.4",
|
"react": "^19.2.4",
|
||||||
"react-dom": "^19.2.4",
|
"react-dom": "^19.2.4",
|
||||||
"systeminformation": "^5.31.0",
|
|
||||||
"tailwindcss": "^4.1.18",
|
"tailwindcss": "^4.1.18",
|
||||||
"tree-kill": "^1.2.2",
|
"tree-kill": "^1.2.2",
|
||||||
"turbo": "^2.7.5",
|
"turbo": "^2.7.5",
|
||||||
|
|||||||
@@ -10,10 +10,6 @@
|
|||||||
".": "./src/index.ts",
|
".": "./src/index.ts",
|
||||||
"./*": "./src/*.ts"
|
"./*": "./src/*.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
|
||||||
"ohash": "catalog:",
|
|
||||||
"systeminformation": "catalog:"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@furtherverse/tsconfig": "workspace:*"
|
"@furtherverse/tsconfig": "workspace:*"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
import { hash } from 'ohash'
|
|
||||||
import si from 'systeminformation'
|
|
||||||
|
|
||||||
async function getSystemInfo() {
|
|
||||||
const [uuid, baseboard, bios, system, diskLayout, networkInterfaces] =
|
|
||||||
await Promise.all([
|
|
||||||
si.uuid(),
|
|
||||||
si.baseboard(),
|
|
||||||
si.bios(),
|
|
||||||
si.system(),
|
|
||||||
si.diskLayout(),
|
|
||||||
si.networkInterfaces(),
|
|
||||||
])
|
|
||||||
|
|
||||||
return {
|
|
||||||
uuid,
|
|
||||||
baseboard,
|
|
||||||
bios,
|
|
||||||
system,
|
|
||||||
diskLayout,
|
|
||||||
networkInterfaces,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export async function getHardwareFingerprint() {
|
|
||||||
const systemInfo = await getSystemInfo()
|
|
||||||
|
|
||||||
return hash(systemInfo)
|
|
||||||
}
|
|
||||||
@@ -1 +1 @@
|
|||||||
export * from './fingerprint'
|
export {}
|
||||||
|
|||||||
Reference in New Issue
Block a user