Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No published version of babel-plugin-fbt since 0.13.0-beta #317

Closed
lucasgonze opened this issue Dec 22, 2021 · 2 comments
Closed

No published version of babel-plugin-fbt since 0.13.0-beta #317

lucasgonze opened this issue Dec 22, 2021 · 2 comments

Comments

@lucasgonze
Copy link

🐛 Bug Report

Older versions of babel-plugin-fbt have a dependency on a package called "mem" which has a vulnerability. The latest versions of babel-plugin-fbt do not have that dependency or vulnerability. However, there is no published version free of it.

As a result Magma is stuck with the old version of mem:

Magma nms 0.1.0 >
babel-plugin-fbt 0.10.4 > 
yargs 9.0.1 > 
mem 1.1.0 

To Reproduce

Steps to reproduce the behavior:

  • pick any version of babel-plugin-fbt since 0.13.0-beta. There are tagged releases up to 0.21.0-rc6-beta
  • install the version, e.g. yarn install babel-plugin-fbt@0.21.0
  • yarn can't find it

Expected behavior

An install

Link to repo (highly encouraged) or paste

warning babel-plugin-fbt@0.21.0: This prerelease version is deprecated
Couldn't find any versions for "fb-babel-plugin-utils" that matches "^0.13.0"
? Please choose a version of "fb-babel-plugin-utils" from this list: (Use arrow keys)
❯ 0.13.0-beta 
  0.12.0 
  0.11.0 
  0.11.0-beta 

envinfo

    OS: macOS 12.0.1
    CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
    Memory: 174.49 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
@lucasgonze
Copy link
Author

The main question is why babel-plugin-fbt has been beta since 0.13.0, even though it is now at version 0.21.0.

@pkqinys
Copy link
Contributor

pkqinys commented Dec 29, 2021

Hi @lucasgonze

The main question is why babel-plugin-fbt has been beta since 0.13.0, even though it is now at version 0.21.0.

The latest non-beta babel-plugin-fbt is babel-plugin-fbt@0.20.3. I think you confused fb-babel-plugin-utils with babel-plugin-fbt.

install the version, e.g. yarn install babel-plugin-fbt@0.21.0

Version 0.21.0 is still in beta mode. babel-plugin-fbt@0.21.0 has been released by mistakes and it was therefore deprecated. Please use the latest public release which is babel-plugin-fbt@0.20.3

@pkqinys pkqinys closed this as completed Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants