denoland / denoland/dnt

deno: minimum-dependency-age < npm: min-release-age

Open
#525 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.3k
Forks
49
PR merge metrics
No merged PRs in 30d

Description

When a dependency with a recent version has been installed for Deno. But it's not available yet for npm by min-release-age config window. The build will fail:
```
npm error code ENOVERSIONS
npm error No versions available for {registry name}
```

Not sure if I would side with security vs. convenience here. Or what would be the best solution. But hope reporting helps.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the npm build failure described for a dependency affected by Deno's `minimum-dependency-age` and npm's `min-release-age` configuration windows. No file or test is named, so trace where these settings are handled and define the expected behavior for dependencies unavailable in npm; done requires an agreed solution and regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno, node.js
Domain
build-system
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.