-
Notifications
You must be signed in to change notification settings - Fork 125
Fix/frontend rendering on browser for development. #132
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
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,35 @@ | ||
| *.local | ||
| *.local | ||
|
|
||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| lerna-debug.log* | ||
|
|
||
| node_modules | ||
| dist | ||
| dist-ssr | ||
| *.local | ||
|
|
||
| # Editor directories and files | ||
| .vscode/* | ||
| !.vscode/extensions.json | ||
| .idea | ||
| .DS_Store | ||
| *.suo | ||
| *.ntvs* | ||
| *.njsproj | ||
| *.sln | ||
| *.sw? | ||
|
|
||
| .env | ||
|
|
||
|
|
||
|
|
||
| kjn | ||
|
|
||
| backend/config/config.prod.yml | ||
| backend/config/*.prod.yml |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🌐 Web query:
casbin/casbin v2 latest version 2025 security advisories💡 Result:
Summary (as of Dec 12, 2025):
Sources
If you want, I can (a) check the casbin/casbin GitHub releases/tags page directly and link specific tags, or (b) run a deeper scan across NVD, GitHub Advisories, and vendor advisories for any related ecosystem packages (node-casbin, jcasbin, casbin-adapters). Which would you prefer?
🌐 Web query:
casbin mongodb-adapter v3 latest version 2025 security advisories💡 Result:
Short answer: There is no published "casbin-mongodb-adapter v3" on npm as of Dec 12, 2025 — the casbin-mongodb-adapter package latest release is 1.3.0 and Snyk lists no direct vulnerabilities for it. Relevant MongoDB server/driver CVEs (which affect the underlying database, not the adapter code itself) include CVE-2024-1351 and CVE-2025-6713 — you should track/apply MongoDB/driver fixes if you use MongoDB. [1][2][3][4]
Sources
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 3334
Update casbin dependencies to current versions and verify mongodb-adapter version.
The casbin/casbin/v2 dependency at v2.132.0 is outdated; the latest version is v2.135.0 (released Nov 2025). Additionally, casbin/mongodb-adapter/v3 v3.7.0 does not exist—the MongoDB adapter latest release is v1.3.0. No security vulnerabilities are reported for either package in 2025, but the versions should be corrected and updated to current releases.
🤖 Prompt for AI Agents
🧩 Analysis chain
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 833
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 171
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 90
🏁 Script executed:
# Check the full go.mod to understand dependency context head -100 backend/go.modRepository: AOSSIE-Org/DebateAI
Length of output: 3433
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 1530
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 1834
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 9131
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 2680
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 111
🏁 Script executed:
Repository: AOSSIE-Org/DebateAI
Length of output: 426
Clarify why backend dependency promotion is included in this frontend-rendering PR.
These dependencies are actively used in
backend/middlewares/rbac.go(Casbin for access control, MongoDB adapter for policy storage), but the PR title focuses on fixing frontend rendering in development. The changes promotecasbin/casbin/v2andmongodb-adapter/v3from indirect to direct dependencies—a backend infrastructure change.Explain: