Socket
Socket
Sign inDemoInstall

@babel/compat-data

Package Overview
Dependencies
0
Maintainers
6
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @babel/compat-data


Version published
Maintainers
6
Install size
49.6 kB
Created

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.16.4 (2021-11-16)

:eyeglasses: Spec Compliance
  • babel-helper-remap-async-to-generator, babel-plugin-transform-async-to-generator
    • #13961 Wait the correct number of ticks on nested await (@nicolo-ribaudo)
  • babel-parser
:bug: Bug Fix
  • babel-parser
  • babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env
:nail_care: Polish
  • babel-parser

Keywords

FAQs

Last updated on 16 Nov 2021

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