Skip to content

Project 3A: Static Test - Retire.js#137

Closed
newmoooon wants to merge 63 commits into
mainfrom
static-test-retirejs
Closed

Project 3A: Static Test - Retire.js#137
newmoooon wants to merge 63 commits into
mainfrom
static-test-retirejs

Conversation

@newmoooon

Copy link
Copy Markdown

Concrete evidence that you have successfully installed the tool

  • I used "npm install --save-dev retire" to install
  • In package.json and package-lock.json, we can see that retire was installed
image image

Artifacts that demonstrate that you have successfully run the tool on your repository

  • I used "npx retire --outputformat text --outputpath retire-results.txt" to run the test and save the results in retire-results.txt
image

Pros

  • Easy accessible because it is open-source and can be easily installed on the terminal, so anyone should be able to use it
  • It is great with detecting outdated or vulnerable JavaScript libraries, which is hard to notice by a human
  • There are multiple usage formats such as CLI, extension, etc.
  • It creates a report
  • It gives specific feedback on where and why something is broken and some ideas of fixing it

Cons

  • There are possibilities for false positives such as flagging files that are not loaded in production environment
  • It only detects known vulnerabilities that is in its database so it has limited scope
  • It is a static tool so if a new vulnerability is discovered a bit later, the report is already outdated
  • You may use a library with an issue, but your code doesn't trigger that issue. But retire.js is not able to tell that, because it is a static test.

newmoooon and others added 30 commits February 6, 2026 23:07
PR: getting notifications when someone responds to your post
Refactor (src/user/data.js): reduce parameters for incrDecrUserFieldBy

Requirement to merge individual edits in Project 1B to team repo
Send reply popup notification to user
Add missing url to vendored nodebb-theme-harmony metadata
P1B: Starter Task: Refactoring PR
Issue: P1B: Refactor (src/user/search.js:137): Function with high complexity (count = 11): filterAndSortUids
Resolved function with high complexity in bookmarks.js
User Story 3: Add Least Replied topic sorting to prioritize unanswered questions
Reduced parameter count in getTagTidsByCids

This commit refactors the getTagTidsByCids function in src/topics/tags.js by reducing its parameter count from 4 to 3. Two related parameters are put into a single object to simplify the function interface and improve readability.
…ix that has a red dot emoji and [staff] to show that they are staff
Sprint2-US5-Add a staff flair. Code has been reviewed. Tests have passed.
newmoooon and others added 28 commits February 24, 2026 18:32
…er with background, then change background to RED
US5 - Additional Touches to the Staff Flair. Code has been reviewed. Now merging!
US5 Spring 2 Part 1: Add automated tests for US 5 and UserGuide.md to explain testing

The test is red due to the outage in Coveralls. More in my comment about proof that coverage is the only issue.
Added Category-Scoped Tag Management (Rename and Delete) in Admin Panel
…dula

Display Category-Specific Tag Counts in Tag Filter
US5 Spring 2 Part 2: Staff-answered -- unset when staff delete/purge their reply + recalculate & tests
@newmoooon

Copy link
Copy Markdown
Author

Wrong PR repo sorry

@newmoooon newmoooon closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants