Remove nets and use other maintained libraries

Open
#181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, node.js
Domain
desktop

Research direction

Start by locating the telemetry code in scratch-desktop's main process and the dependency declaration for nets. Compare a maintained replacement such as node-fetch or axios, then confirm telemetry still works without the unused xhr package or deprecated request dependency; no specific test is named in the issue.

Written by the indexing model from the issue text.

Description

tech debt

scratch-desktop uses nets for telemetry. nets uses deprecated request package and also adds xhr package which is never used (since telemetry is done in the "main process" that doesn't have XHR.)

We should use node-fetch, axios, or similar libraries.

Dominant language
JavaScript
Stars
426
Forks
268
Avg merge
16h 6m
Merged PRs (30d)
25

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scratchfoundation/scratch-desktop

All issues in scratchfoundation/scratch-desktop

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.