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

babel-preset-node6

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-node6 - npm Package Compare versions

Comparing version 10.0.0 to 10.0.1

2

package.json
{
"name": "babel-preset-node6",
"version": "10.0.0",
"version": "10.0.1",
"description": "Babel preset for Node 6.x (ES6 / ES2015)",

@@ -5,0 +5,0 @@ "repository": "git://github.com/salakar/babel-preset-node6.git",

@@ -1,10 +0,12 @@

# Babel 6.x presets for Node 6.x (updated regularly!)
# Babel 6.x presets for Node 6.x
Node 6.x comes with V8 v5.x which brings ~93% [native ES6/ES2015 coverage](https://kangax.github.io/compat-table/es6/#chrome50). This preset for Babel 6 attempts
to bridge the gap for the much of the remaining 7% using [Babel plug-ins](https://github.com/babel/babel/tree/master/packages).
Node 6.x comes with V8 v5.x which brings [~93% native ES6/ES2015 coverage](https://kangax.github.io/compat-table/es6/#chrome50). This preset for Babel 6 attempts
to bridge the gap for the much of the remaining ~7% using [Babel plug-ins](https://github.com/babel/babel/tree/master/packages).
## Motivation
Last update was based on [v6.0.0-rc.3](https://nodejs.org/download/rc/v6.0.0-rc.3/)
## Why
Babel 6.x is awesome, but simply including the [ES2015 preset](https://www.npmjs.com/package/babel-preset-es2015) means you're transpiling features
that your Node 6.x installation can already do faster and natively, replacing them with inferior / old code.
that your Node 6.x installation can already do faster and natively, replacing them with inferior / older code.

@@ -15,3 +17,3 @@ This preset complements existing V8-native functionality - it doesn't work _around_ it.

## Key features:
## Included Plugins:

@@ -22,6 +24,2 @@ * Removes trailing commas from function calls (via [babel-plugin-syntax-trailing-function-commas](https://www.npmjs.com/package/babel-plugin-syntax-trailing-function-commas))

**Note: This package originally shipped with the React preset, but to avoid bloat, doesn't any longer. If you want to add that, please install [babel-preset-react](https://www.npmjs.com/package/babel-preset-react) too**
## Usage instructions
## Installation

@@ -47,3 +45,3 @@

Now whenever you run `babel-node`, it will polyfill your app with the ES2015 features that Node 5 is missing.
Now whenever you run `babel-node`, it will polyfill your app with the remaining ES2015 features that Node 6 is missing.

@@ -125,8 +123,4 @@ ### Via CLI

## No longer tracking Babel 6 versions
## Credits
Forked and updated from [@leebenson](https://github.com/leebenson/)'s [node5 preset.](https://github.com/leebenson/babel-preset-node5)
This package originally tracked Babel 6.x versioning. The problem is, many of the plug-ins and transforms provided by Babel don't always track the the `babel-core` version, so updating one dependency can throw the versioning schema off.
This package will instead now follow its own semver, starting (arbitrarily) at v10.0.0.
I'm using this repo in production, so you can be assured that I'm making it a priority to update Babel 6 deps regularly and track the latest plug-in versions.
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