Skip to content

chore(deps): remove unused cors dependency - #131

Merged
saidsef merged 1 commit into
mainfrom
chore/remove-unused-cors-simplify-bootstrap
Jul 3, 2026
Merged

chore(deps): remove unused cors dependency#131
saidsef merged 1 commit into
mainfrom
chore/remove-unused-cors-simplify-bootstrap

Conversation

@saidsef

@saidsef saidsef commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Summary

Removes the cors package from app/package.json. It was declared as a dependency but is never imported or used anywhere in the codebase - a repo-wide search returns only the manifest line. Removing it drops cors and its transitive dependencies from the production install and the Docker image, with no change in behaviour.

Also bumps the patch version 1.5.1 -> 1.5.2.

Changes

  • app/package.json: remove the unused cors dependency, bump version to 1.5.2

Testing

Verified locally:

  • npm install --omit=dev resolves cleanly; cors is absent from node_modules
  • Server boots and logs Server is running on port 8080
  • GET /healthz returns {"status":"healthy"} (200)
  • GET / returns the expected JSON (Hello World!, random number, 40-char sha1) (200)

No functional changes.

@saidsef saidsef added size/XS dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 3, 2026
@saidsef saidsef self-assigned this Jul 3, 2026
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

github-actions[bot]
github-actions Bot previously approved these changes Jul 3, 2026
@github-actions github-actions Bot added the preview preview label Jul 3, 2026
@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-75f9f62-131-pr-reviews is in state Running.
See more here: https://argocd.saidsef.co.uk/applications/node-webserver-75f9f62-131-pr-reviews?operation=true

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-75f9f62-131-pr-reviews has been created.

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-75f9f62-131-pr-reviews is now running new version of deployments manifests.
See more here: https://argocd.saidsef.co.uk/applications/node-webserver-75f9f62-131-pr-reviews?operation=true

The cors package was declared in app/package.json but is never imported
or used anywhere in the codebase (a repo-wide search returns only the
manifest line). Removing it drops cors and its transitive dependencies
from the production install and the Docker image.

Bump patch version 1.5.1 -> 1.5.2.
@saidsef
saidsef force-pushed the chore/remove-unused-cors-simplify-bootstrap branch from 75f9f62 to 5ec36b4 Compare July 3, 2026 10:35
@saidsef saidsef changed the title chore(app): remove unused cors dependency and simplify server bootstrap chore(deps): remove unused cors dependency Jul 3, 2026
@saidsef saidsef removed the javascript Pull requests that update Javascript code label Jul 3, 2026
@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-75f9f62-131-pr-reviews has been created.

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-75f9f62-131-pr-reviews has been deleted.

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-5ec36b4-131-pr-reviews is in state Running.
See more here: https://argocd.saidsef.co.uk/applications/node-webserver-5ec36b4-131-pr-reviews?operation=true

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-5ec36b4-131-pr-reviews has been created.

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-5ec36b4-131-pr-reviews is in state Running.
See more here: https://argocd.saidsef.co.uk/applications/node-webserver-5ec36b4-131-pr-reviews?operation=true

@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-5ec36b4-131-pr-reviews is now running new version of deployments manifests.
See more here: https://argocd.saidsef.co.uk/applications/node-webserver-5ec36b4-131-pr-reviews?operation=true

@saidsef
saidsef merged commit 27d34d9 into main Jul 3, 2026
7 checks passed
@saidsef
saidsef deleted the chore/remove-unused-cors-simplify-bootstrap branch July 3, 2026 10:53
@saidsef-pr

saidsef-pr Bot commented Jul 3, 2026

Copy link
Copy Markdown

Application node-webserver-5ec36b4-131-pr-reviews has been deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file preview preview size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant