components icon indicating copy to clipboard operation
components copied to clipboard

Components load, may install deprecated version of a component

Open medikoo opened this issue 7 years ago • 0 comments

Ideally deprecated versions should be avoided and latest matching stable version should be chosen.

https://github.com/serverless/core/blob/fd9d7460cf8c2fa5decef77178136fd3aa021897/src/utils/download.js#L51

It can be solved by applying logic as follows:

https://github.com/medikoo/npm-cross-link/blob/bf9f23b940fd9095c3becbfd4bae8e291ff3206b/lib/private/resolve-external-context.js#L26-L28

medikoo avatar Oct 28 '19 12:10 medikoo