-
Notifications
You must be signed in to change notification settings - Fork 0
Fix npm dependency vulnerabilities in onchain-app-template #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| { | ||
| "name": "onchain-app-template", | ||
| "private": true, | ||
| "version": "0.0.0", | ||
| "scripts": { | ||
| "build": "next build", | ||
| "check": "biome check --write .", | ||
| "ci:check": "biome ci --formatter-enabled=false --linter-enabled=false", | ||
| "ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false", | ||
| "ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false", | ||
| "dev": "NODE_OPTIONS='--inspect' next dev", | ||
| "format": "biome format --write .", | ||
| "lint": "biome lint --write .", | ||
| "lint:unsafe": "biome lint --write --unsafe .", | ||
| "start": "next start", | ||
| "test": "vitest run", | ||
| "test:coverage": "vitest run --coverage" | ||
| }, | ||
| "dependencies": { | ||
| "@coinbase/onchainkit": "^0.35.6", | ||
| "next": "^15.2.9", | ||
| "permissionless": "^0.1.26", | ||
| "react": "^18", | ||
| "react-dom": "^18", | ||
| "siwe": "^2.3.2" | ||
| }, | ||
| "devDependencies": { | ||
| "@biomejs/biome": "^1.8.0", | ||
| "@testing-library/jest-dom": "^6.4.6", | ||
| "@testing-library/react": "^14.2.0", | ||
| "@types/node": "^20.11.8", | ||
| "@types/react": "^18.2.48", | ||
| "@types/react-dom": "^18.2.7", | ||
| "@vitest/coverage-v8": "^3.0.5", | ||
| "@vitest/ui": "^3.0.5", | ||
| "@wagmi/cli": "2.10.0", | ||
| "autoprefixer": "^10.4.19", | ||
| "bufferutil": "^4.0.7", | ||
| "encoding": "^0.1.13", | ||
| "jsdom": "^24.1.0", | ||
| "lokijs": "^1.5.12", | ||
| "pino-pretty": "^10.2.0", | ||
| "postcss": "^8.4.38", | ||
| "supports-color": "^9.4.0", | ||
| "tailwindcss": "^3.4.0", | ||
| "typescript": "^5.3.3", | ||
| "utf-8-validate": "^6.0.3", | ||
| "vitest": "^3.0.5" | ||
| }, | ||
| "resolutions": { | ||
| "cross-spawn": "^7.0.5", | ||
| "sha.js": "^2.4.12", | ||
| "node-forge": "^1.3.3", | ||
| "bn.js": "^5.2.3", | ||
| "glob": "^10.5.0", | ||
| "h3": "^1.15.5", | ||
| "lodash": "^4.17.23", | ||
| "minimatch": "^10.2.1" | ||
|
Comment on lines
+50
to
+58
|
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
devscript uses POSIX-style env var assignment with single quotes (NODE_OPTIONS='--inspect' ...), which will fail on Windows shells. If this template is intended to be cross-platform, consider using a cross-platform env helper (e.g.cross-env) or moving--inspectinto a separatedev:inspectscript while keepingdevportable.