You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@babel/compat-data

Package Overview
Dependencies
Maintainers
4
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/compat-data

The compat-data to determine required Babel plugins

7.28.0
latest
Source
npmnpm
Version published
Weekly downloads
63M
5.34%
Maintainers
4
Weekly downloads
 
Created

What is @babel/compat-data?

The @babel/compat-data package provides data about the environment features that Babel can target. It includes information about browser and JavaScript engine versions that support various ECMAScript features. This data is used by Babel to determine which transformations and polyfills are necessary for a given target environment.

What are @babel/compat-data's main functionalities?

Environment Data Retrieval

Retrieve compatibility data for the last two versions of browsers. This is used in Babel's preset-env to determine which transformations/polyfills are needed.

"last 2 versions"

Specific Feature Data

Get data about a specific ECMAScript feature, such as arrow functions, to see which environments support it natively.

"es6.arrow-functions"

Other packages similar to @babel/compat-data

Keywords

babel

FAQs

Package last updated on 02 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.