-
-
Notifications
You must be signed in to change notification settings - Fork 1
Remove unused JavaScript code and clean up dependencies #155
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: main
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,21 +34,21 @@ | |
| }, | ||
| "homepage": "https://github.com/doc-detective/doc-detective-common#readme", | ||
| "devDependencies": { | ||
| "@types/node": "^22.10.5", | ||
| "@types/node": "^25.0.10", | ||
| "c8": "^10.1.3", | ||
| "chai": "^6.2.2", | ||
| "json-schema-to-typescript": "^15.0.4", | ||
| "mocha": "^11.7.5", | ||
| "sinon": "^21.0.1", | ||
| "typescript": "^5.7.3" | ||
| "typescript": "^5.9.3" | ||
|
Comment on lines
+37
to
+43
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check for declared Node versions across the repo
echo "=== Checking package.json engines field ==="
rg -A 2 '"engines"' package.json
echo -e "\n=== Checking for .nvmrc, .node-version, .tool-versions ==="
fd -H '\.(nvmrc|node-version|tool-versions)$' -x cat {}
echo -e "\n=== Checking GitHub Actions workflows for Node setup ==="
fd -t f '\.github/workflows' -e yml -e yaml -x grep -l 'setup-node\|node-version' {} 2>/dev/null
if [ $? -eq 0 ]; then
fd -t f '\.github/workflows' -e yml -e yaml -x grep -A 2 -B 2 'setup-node\|node-version' {} \;
fi
echo -e "\n=== Current package.json Node type/version references ==="
cat -n package.json | grep -i "node\|engine"Repository: doc-detective/common Length of output: 603 🌐 Web query:
💡 Result: TypeScript 5.9.3 declares Node.js Sources: [1] [2] 🌐 Web query:
💡 Result: Web search failed: Server error: no LLM provider could handle the message 🌐 Web query:
💡 Result:
There is no “minimum Node.js version” enforced by the package itself (it’s types-only and its Citations:
Declare the target Node.js version and ensure The project lacks a declared Node version ( 🤖 Prompt for AI Agents |
||
| }, | ||
| "dependencies": { | ||
| "@apidevtools/json-schema-ref-parser": "^15.1.3", | ||
| "@apidevtools/json-schema-ref-parser": "^15.2.2", | ||
| "ajv": "^8.17.1", | ||
| "ajv-errors": "^3.0.0", | ||
| "ajv-formats": "^3.0.1", | ||
| "ajv-keywords": "^5.1.0", | ||
| "axios": "^1.13.2", | ||
| "axios": "^1.13.4", | ||
| "yaml": "^2.8.2" | ||
| } | ||
| } | ||
This file was deleted.
This file was deleted.
This file was deleted.
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.
TypeScript version is being downgraded from 5.7.3 to 5.9.3. This appears to be a mistake as 5.7.3 is a newer version than 5.9.3. The PR description states dependencies should be updated to their latest versions for improved performance and security, but this change downgrades TypeScript instead. Consider updating to the latest TypeScript 5.x version (or keeping 5.7.3).