Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/compat-data

Package Overview
Dependencies
Maintainers
4
Versions
99
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.26.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
47M
increased by4.36%
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

FAQs

Package last updated on 04 Dec 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc