New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-airbnb

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-airbnb - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

index.js

@@ -12,3 +12,5 @@ module.exports = {

require('babel-plugin-transform-exponentiation-operator'),
require('babel-plugin-syntax-trailing-function-commas'),
require('babel-plugin-transform-object-rest-spread'),
],
};

18

package.json
{
"name": "babel-preset-airbnb",
"version": "2.0.0",
"version": "2.1.0",
"description": "A babel preset for transforming your JavaScript for Airbnb",

@@ -19,10 +19,12 @@ "main": "index.js",

"dependencies": {
"babel-plugin-transform-es2015-template-literals": "^6.5.0",
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
"babel-plugin-transform-es3-property-literals": "^6.5.0",
"babel-plugin-transform-exponentiation-operator": "^6.5.0",
"babel-plugin-transform-jscript": "^6.5.0",
"babel-preset-es2015-without-strict": "^0.0.2",
"babel-preset-react": "^6.5.0"
"babel-plugin-syntax-trailing-function-commas": "^6.13.0",
"babel-plugin-transform-es2015-template-literals": "^6.8.0",
"babel-plugin-transform-es3-member-expression-literals": "^6.8.0",
"babel-plugin-transform-es3-property-literals": "^6.8.0",
"babel-plugin-transform-exponentiation-operator": "^6.8.0",
"babel-plugin-transform-jscript": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.8.0",
"babel-preset-es2015-without-strict": "^0.0.4",
"babel-preset-react": "^6.11.1"
}
}

@@ -5,2 +5,10 @@ # babel-preset-airbnb

Currently contains transforms for all standard syntax that is [stage 4](https://tc39.github.io/ecma262/) (ES2017) or [stage 3](https://github.com/tc39/proposals#active-proposals), except for the following:
- generators: `regenerator-runtime` is too heavyweight for our use.
- `async/await`: `regenerator-runtime` is too heavyweight for our use, and [async-to-promises](https://www.npmjs.com/package/babel-plugin-async-to-promises) is not yet complete enough to be safely used.
- `SIMD`: this is a performance feature, so is pretty pointless to polyfill/transpile.
- lifted template literal restrictions: we do not use tagged template literals, nor implement custom DSLs, otherwise we would enable this.
We have also enabled object rest/spread, although it is only at stage 2. It will hopefully achieve stage 3 soon.
## Install

@@ -7,0 +15,0 @@

Sorry, the diff of this file is not supported yet

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