deep-foundation / deep-foundation/npm-packager
No requests should be done to NPM in case `packageClientHandler` is opened for the first time or package name is empty
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description

```
Access to XMLHttpRequest at 'https://registry.npmjs.com/' from origin 'https://deep.deep.foundation' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
4294-411eddb750d032e1.js:310 GET https://registry.npmjs.com/ net::ERR_FAILED 200
```
# Workaround
Ignore the error.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the packageClientHandler entry point and reproduce the case by opening it for the first time and by leaving the package name empty. Verify in the browser network log that neither case sends a request to registry.npmjs.com; done means the CORS-producing request no longer occurs in both scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100