babel / babel/babel-polyfills

core.js semver version seems wrong, only considers strict major version

Open
#33 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
357
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Went to upgrade after #31 was released and noticed that the issue continued to persist. The reason is `get-modules-list-for-target-version` is being fed `3` for the version by default, which ignores `3.1`, `3.2`, etc. I tried a few semver-y things to be more inclusive but it seems core-js doesn't support those, so one needs to manually set `3.6` or whatever the latest is, which seems less than ideal.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where get-modules-list-for-target-version receives its default version. Verify how core-js handles 3.x versions such as 3.1 and 3.2, then define completion as selecting the intended compatible module set without requiring users to manually specify each latest minor version.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.