Babel
Endless Lifecycle Support (ELS) for Babel from TuxCare provides security fixes for Babel packages that have reached their end of life. With ELS, you can continue building your JavaScript applications with Babel without vulnerability concerns, even after official support has ended.
Supported Versions
TuxCare publishes Babel packages under the @els-js scope. For example, @els-js/babel-traverse replaces @babel/traverse (7.x) and babel-traverse (6.x).
| Package | Versions |
|---|---|
| babel-core | 6.26.0, 7.7.7, 7.10.5, 7.11.5, 7.12.3, 7.12.9, 7.12.13, 7.14.8, 7.16.7, 7.16.12, 7.18.9, 7.20.12, 7.21.0, 7.21.5, 7.22.15, 7.23.0, 7.23.9, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.26.9, 7.28.0, 7.29.0 |
| babel-generator | 6.26.0, 7.11.5, 7.12.5, 7.14.8, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.15, 7.23.0, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.29.0 |
| babel-helpers | 7.11.5, 7.12.5, 7.12.13, 7.14.8, 7.15.4, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.6, 7.22.15, 7.23.2, 7.23.9, 7.24.0, 7.24.1, 7.24.5, 7.25.6, 7.25.7, 7.25.9, 7.26.0, 7.26.9, 7.29.0 |
| babel-parser | 7.11.5, 7.12.5, 7.14.8, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.6, 7.22.15, 7.23.0, 7.23.9, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.29.0 |
| babel-plugin-transform-modules-systemjs | 7.15.4, 7.16.7, 7.18.9, 7.23.0, 7.23.9, 7.24.1, 7.25.0, 7.25.7, 7.25.9, 7.29.0 |
| babel-runtime | 6.26.0, 7.11.2, 7.11.5, 7.12.5, 7.12.13, 7.12.18, 7.14.8, 7.15.4, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.6, 7.22.15, 7.23.1, 7.23.2, 7.23.9, 7.24.0, 7.24.1, 7.24.4, 7.24.5, 7.24.7, 7.25.7, 7.25.9, 7.26.0, 7.26.9, 7.29.0 |
| babel-runtime-corejs2 | 7.11.2, 7.11.5, 7.12.5, 7.12.13, 7.12.18, 7.14.8, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.6, 7.22.15, 7.23.2, 7.23.9, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.26.9, 7.29.0 |
| babel-runtime-corejs3 | 7.11.2, 7.11.5, 7.12.5, 7.12.13, 7.12.18, 7.14.8, 7.15.3, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.6, 7.22.15, 7.23.2, 7.23.9, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.26.9, 7.29.0 |
| babel-traverse | 6.26.0, 7.11.5, 7.12.13, 7.14.8, 7.15.4, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.15, 7.23.2, 7.23.9, 7.24.1, 7.24.5, 7.25.7, 7.25.9, 7.29.0 |
| babel-types | 6.26.0, 7.11.5, 7.12.13, 7.14.8, 7.16.7, 7.18.9, 7.21.0, 7.21.5, 7.22.15, 7.23.0, 7.23.9, 7.24.0, 7.24.5, 7.25.7, 7.25.9, 7.26.0, 7.29.0 |
Installation
Docker compatibleHave a SecureChain token?
Follow the SecureChain installation instructions instead — the steps below are for username & password access.
Prerequisites
- npm package manager installed
- TuxCare registry token — contact [email protected]
- To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.
Create or update the .npmrc file
Navigate to the root directory of your project that uses Babel and create a
.npmrcfile or update it if it already exists.Example:
my-babel-project/ ├── node_modules/ ├── package.json ├── .npmrc ⚠️ ← Create it here └── package-lock.jsonConfigure the npm registry
Use an editor of your choice (e.g., VS Code) to add the following registry address lines to the
.npmrcfile:registry=https://registry.npmjs.org/ @els-js:registry=https://nexus.repo.tuxcare.com/repository/els_js/ //nexus.repo.tuxcare.com/repository/els_js/:_auth=${TOKEN}Replace
${TOKEN}with the token you received from [email protected].Update dependencies
Update your
package.jsonfile to replace Babel dependencies with TuxCare-maintained packages. You can do this in two ways:Option 1: Manual update
Manually update your
package.jsonfile by replacing your Babel dependencies with the TuxCare packages. This method gives you full control over which packages to update."dependencies": { "@babel/traverse": "npm:@els-js/babel-traverse@>=7.24.5-tuxcare.1" }, "overrides": { "@babel/[email protected]": "npm:@els-js/babel-traverse@>=7.24.5-tuxcare.1" }Option 2: TuxCare Patcher (Automated)
Install the Patcher globally and run it. The TuxCare Patcher automatically detects the Babel package versions in your
package.jsonand updates yourdependenciesandoverridesto use the corresponding TuxCare@els-js/*packages.npm install -g @els-js/tuxcare-patcher --userconfig ./.npmrc tuxcare-patch-js
Refresh the project dependencies
Remove
node_modules,package-lock.json, and clear the npm cache:rm -rf node_modules package-lock.json && npm cache clean --forceInstall dependencies:
npm installThe token for the TuxCare repository is automatically picked up from your
.npmrcfile.Verify the setup
Use npm to list the project's dependencies and confirm that npm resolves TuxCare packages correctly:
npm listAfter reviewing the dependencies, run your application to ensure everything works correctly. The
npmtool identifies and resolves dependencies from the TuxCare ELS for Babel repository.
