ant-design / ant-design/compatible

core-js old version

Open
#171 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
93
Forks
29
PR merge metrics
No merged PRs in 30d

Description

npm warn deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

npm ls core-js
└─┬ @ant-design/compatible@5.1.4
└─┬ rc-form@2.4.12
└─┬ babel-runtime@6.26.0
└── core-js@2.6.12

is this something that could be fixed?

i only really use this part:

import { convertLegacyToken, defaultTheme } from '@ant-design/compatible/lib';

I tried doing an overrides but this always ends up loading the whole of core-js and it breaks the development server.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the @ant-design/compatible/lib import and run npm ls core-js to trace the dependency chain through @ant-design/compatible, rc-form, and babel-runtime. Reproduce the development-server failure with the documented import; done means the deprecated core-js warning and server breakage are resolved without breaking that import.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.