Socket
Socket
Sign inDemoInstall

@babel/compat-data

Package Overview
Dependencies
0
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @babel/compat-data


Version published
Weekly downloads
40M
increased by1.14%
Maintainers
4
Install size
63.7 kB
Created
Weekly downloads
 

Package description

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

Changelog

Source

v7.24.4 (2024-04-03)

:eyeglasses: Spec Compliance
  • babel-parser
    • #16403 Forbid initializerless using (@JLHwung)
  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3
:bug: Bug Fix
  • babel-generator
  • babel-compat-data, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-preset-env
  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators
  • babel-plugin-transform-block-scoping
  • babel-core, babel-plugin-transform-block-scoped-functions, babel-plugin-transform-block-scoping

Readme

Source

@babel/compat-data

See our website @babel/compat-data for more information.

Install

Using npm:

npm install --save @babel/compat-data

or using yarn:

yarn add @babel/compat-data

Keywords

FAQs

Last updated on 03 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc