babel-preset-airbnb
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -6,2 +6,5 @@ # Change Log | ||
## [3.3.2] - 2019.06.18 | ||
* Revert breaking changes from v3.3.0 and v3.3.1 | ||
## [3.3.1] - 2019.06.18 | ||
@@ -8,0 +11,0 @@ * [Fix] Use esm runtime helpers only when `modules === false` (#52) |
11
index.js
@@ -39,4 +39,2 @@ 'use strict'; | ||
const computedModulesOption = modules === false ? false : 'auto'; | ||
const debug = typeof options.debug === 'boolean' ? options.debug : false; | ||
@@ -56,3 +54,3 @@ const development = typeof options.development === 'boolean' | ||
], | ||
modules: computedModulesOption, | ||
modules: modules === false ? false : 'auto', | ||
targets, | ||
@@ -83,11 +81,4 @@ }], | ||
}], | ||
[require('@babel/plugin-transform-runtime'), { | ||
absoluteRuntime: false, | ||
corejs: false, | ||
helpers: true, | ||
regenerator: false, | ||
useESModules: !computedModulesOption, | ||
}], | ||
].filter(Boolean), | ||
}; | ||
}); |
{ | ||
"name": "babel-preset-airbnb", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "A babel preset for transforming your JavaScript for Airbnb", | ||
@@ -20,25 +20,22 @@ "main": "index.js", | ||
"@babel/helper-plugin-utils": "^7.0.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.4.4", | ||
"@babel/plugin-transform-classes": "^7.4.4", | ||
"@babel/plugin-transform-exponentiation-operator": "^7.2.0", | ||
"@babel/plugin-transform-jscript": "^7.2.0", | ||
"@babel/plugin-transform-member-expression-literals": "^7.2.0", | ||
"@babel/plugin-transform-property-literals": "^7.2.0", | ||
"@babel/plugin-transform-property-mutators": "^7.2.0", | ||
"@babel/plugin-transform-runtime": "^7.4.4", | ||
"@babel/plugin-transform-template-literals": "^7.4.4", | ||
"@babel/preset-env": "^7.4.5", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", | ||
"@babel/plugin-transform-classes": "^7.2.0", | ||
"@babel/plugin-transform-exponentiation-operator": "^7.0.0", | ||
"@babel/plugin-transform-jscript": "^7.0.0", | ||
"@babel/plugin-transform-member-expression-literals": "^7.0.0", | ||
"@babel/plugin-transform-property-literals": "^7.0.0", | ||
"@babel/plugin-transform-property-mutators": "^7.0.0", | ||
"@babel/plugin-transform-template-literals": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.24" | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.18" | ||
}, | ||
"peerDependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@babel/runtime": "^7.0.0" | ||
"@babel/core": "^7.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.0.0", | ||
"@babel/runtime": "^7.0.0", | ||
"eslint": "^5.16.0", | ||
"eslint": "^5.6.1", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-plugin-import": "^2.17.3", | ||
"eslint-plugin-import": "^2.14.0", | ||
"safe-publish-latest": "^1.1.2" | ||
@@ -45,0 +42,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13
5
10893
70