slackapi / slackapi/deno-slack-runtime
[FEATURE] Implicitly approve an ESM-transpiling CDN for local-run
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 18
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Description
Deno documents to use e.g. esm.sh if you need to pull in non-ESM modules into your code (e.g. non-ESM modules from npm).
We already pre-approve network requests to deno.land for uncached remote dependencies during local run. We should just add e.g. esm.sh to this list to expand on this feature.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/local-run.ts at the existing deno.land pre-approval around lines 78-79 and inspect how the allowed CDN list is defined. Add esm.sh to that list so uncached dependencies from the ESM-transpiling CDN are implicitly approved during local runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100