babel-preset-codecademy
Advanced tools
Comparing version 2.3.0 to 2.4.0
11
index.js
@@ -51,14 +51,9 @@ const env = process.env.BABEL_ENV || process.env.NODE_ENV; | ||
corejs: false, | ||
helpers: false, | ||
regenerator: true, | ||
helpers: true, | ||
regenerator: true, | ||
useESModules: isEnvDevelopment || isEnvProduction, | ||
}, | ||
], | ||
require("babel-plugin-react-anonymous-display-name").default, | ||
!isEnvTest && [ | ||
require("@babel/plugin-transform-regenerator").default, | ||
{ | ||
// Async functions are converted to generators by @babel/preset-env | ||
async: false, | ||
}, | ||
], | ||
require("@babel/plugin-syntax-dynamic-import").default, | ||
@@ -65,0 +60,0 @@ isEnvTest && |
{ | ||
"name": "babel-preset-codecademy", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "A collection of babel plugins and presets used at codecademy.com", | ||
@@ -19,20 +19,19 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"@babel/core": "^7.1.2" | ||
"@babel/core": "^7.12.3" | ||
}, | ||
"dependencies": { | ||
"@babel/plugin-proposal-class-properties": "^7.4.0", | ||
"@babel/plugin-proposal-decorators": "^7.0.0", | ||
"@babel/plugin-proposal-do-expressions": "^7.0.0", | ||
"@babel/plugin-proposal-export-default-from": "^7.0.0", | ||
"@babel/plugin-proposal-export-namespace-from": "^7.0.0", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.7.5", | ||
"@babel/plugin-syntax-dynamic-import": "^7.0.0", | ||
"@babel/plugin-syntax-import-meta": "^7.0.0", | ||
"@babel/plugin-transform-destructuring": "^7.1.2", | ||
"@babel/plugin-transform-regenerator": "^7.0.0", | ||
"@babel/plugin-transform-runtime": "^7.1.0", | ||
"@babel/preset-env": "^7.1.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/plugin-proposal-class-properties": "^7.12.1", | ||
"@babel/plugin-proposal-decorators": "^7.12.1", | ||
"@babel/plugin-proposal-do-expressions": "^7.12.1", | ||
"@babel/plugin-proposal-export-default-from": "^7.12.1", | ||
"@babel/plugin-proposal-export-namespace-from": "^7.12.1", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.12.1", | ||
"@babel/plugin-proposal-optional-chaining": "^7.12.1", | ||
"@babel/plugin-syntax-dynamic-import": "^7.8.3", | ||
"@babel/plugin-syntax-import-meta": "^7.10.4", | ||
"@babel/plugin-transform-destructuring": "^7.12.1", | ||
"@babel/plugin-transform-runtime": "^7.12.1", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/preset-react": "^7.12.1", | ||
"babel-plugin-transform-dynamic-import": "^2.1.0", | ||
@@ -42,5 +41,5 @@ "babel-plugin-react-anonymous-display-name": "0.0.1" | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.2", | ||
"@babel/core": "^7.1.2" | ||
"@babel/cli": "^7.12.1", | ||
"@babel/core": "^7.12.3" | ||
} | ||
} |
17
16176
62