Babel compiler core version 6.26.3. This is an outdated version of Babel (pre-7.x). The current stable releases are v7.29.2 (2026-03-16) and v8.0.0-rc.3 (2026-03-16). babel-core v6 is no longer maintained and should not be used for new projects. Key differentiator vs v7/v8: v6 uses the `babel-core` package while v7+ uses `@babel/core`. It provides core transformation API including `transform`, `transformFile`, `transformFileSync`, and `transformFromAst` methods. Compatible with Node.js and browsers via bundlers. Does not include presets/plugins; those are separate packages.
npm install babel-coreVerified import paths — ran on the pinned version, not inferred.
Transforms ES6 arrow function to ES5 using babel-core transform API with env preset.
Install @babel/core: npm install --save-dev @babel/core and update imports to use '@babel/core'.
Install presets: npm install --save-dev babel-preset-env and add 'presets: ["env"]' to options.
Set options.babelrc = false to ignore .babelrc files.
Review Babel v7 migration guide for option changes.
Install babel-core v6: npm install --save-dev babel-core@6.26.3 or migrate to v7: npm install --save-dev @babel/core.
Use import { transform } from 'babel-core' or const transform = require('babel-core').transform.Ensure all babel packages are of the same major version. For v6, use packages like babel-preset-env; for v7, use @babel/preset-env.
No dependency data recorded yet.