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

@ava/babel-preset-stage-4

Package Overview
Dependencies
Maintainers
7
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ava/babel-preset-stage-4

Efficiently applies the minimum of transforms to run stage 4 code on Node.js 4, 6 and 8

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@ava/babel-preset-stage-4 Build Status

Babel preset for use with AVA

Aspires to bring ECMAScript stage 4 proposals to AVA's test and helper files.

Efficiently applies the minimum of transforms to run stage 4 code on Node.js 4, 6 and 8.

Built-ins are not added or extended, so features like Proxies, Array.prototype.includes or String.prototype.padStart will only be available if the Node.js version running the tests supports it. Consult node.green for details.

Sometimes a particular feature is mostly implemented in Node.js. In that case transforms are not applied. This applies to new.target and iterator closing, which are not supported in Node.js 4 even though classes and iterators are.

Install

$ npm install --save @ava/babel-preset-stage-4

Usage

Add @ava/stage-4 to your Babel presets.

Require @ava/babel-preset-stage-4/package-hash to get a combined hash for the installed version of the preset, as well as the plugins that were selected for the active Node.js version.

Keywords

FAQs

Package last updated on 09 Jun 2017

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