├── .editorconfig ├── .eslintignore ├── .gitignore ├── .istanbul.yml ├── .travis.yml ├── CHANGELOG-6to5.md ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Gulpfile.js ├── LICENSE ├── Makefile ├── NPM_OWNERS ├── README.md ├── VERSION ├── circle.yml ├── doc ├── api │ ├── node-path.md │ └── scope.md ├── ast │ ├── flow.md │ ├── jsx.md │ └── spec.md └── design │ ├── compiler-assumptions.md │ ├── compiler-environment-support.md │ ├── monorepo.md │ └── versioning.md ├── lib ├── file.js ├── parser.js └── types.js ├── package.json ├── packages ├── README.md ├── babel-cli │ ├── .npmignore │ ├── README.md │ ├── bin │ │ ├── babel-doctor.js │ │ ├── babel-external-helpers.js │ │ ├── babel-node.js │ │ └── babel.js │ ├── index.js │ ├── package.json │ ├── scripts │ │ └── bootstrap.sh │ ├── src │ │ ├── _babel-node.js │ │ ├── babel-doctor │ │ │ ├── index.js │ │ │ └── rules │ │ │ │ ├── deduped.js │ │ │ │ ├── has-config.js │ │ │ │ ├── index.js │ │ │ │ ├── latest-packages.js │ │ │ │ └── npm-3.js │ │ ├── babel-external-helpers.js │ │ ├── babel-node.js │ │ └── babel │ │ │ ├── dir.js │ │ │ ├── file.js │ │ │ ├── index.js │ │ │ └── util.js │ └── test │ │ ├── .babelrc │ │ ├── fixtures │ │ ├── babel-external-helpers │ │ │ ├── --output-type global │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ │ ├── --output-type umd │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ │ ├── --output-type var │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ │ └── --whitelist │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ ├── babel-node │ │ │ ├── --eval │ │ │ │ └── options.json │ │ │ ├── --extensions │ │ │ │ ├── in-files │ │ │ │ │ └── foo.bar │ │ │ │ └── options.json │ │ │ ├── --print │ │ │ │ └── options.json │ │ │ ├── directory │ │ │ │ ├── in-files │ │ │ │ │ └── foo │ │ │ │ │ │ └── index.js │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ │ ├── filename │ │ │ │ ├── in-files │ │ │ │ │ └── bar.js │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ │ └── require │ │ │ │ ├── in-files │ │ │ │ ├── bar2.js │ │ │ │ ├── foo2.js │ │ │ │ └── not_node_modules.jsx │ │ │ │ ├── options.json │ │ │ │ └── stdout.txt │ │ └── babel │ │ │ ├── --ignore │ │ │ ├── in-files │ │ │ │ └── src │ │ │ │ │ ├── bar │ │ │ │ │ └── index.js │ │ │ │ │ └── foo │ │ │ │ │ └── foo.js │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── lib │ │ │ │ │ └── bar │ │ │ │ │ └── index.js │ │ │ └── stdout.txt │ │ │ ├── --only │ │ │ ├── in-files │ │ │ │ └── src │ │ │ │ │ ├── bar │ │ │ │ │ └── index.js │ │ │ │ │ └── foo │ │ │ │ │ └── index.js │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── lib │ │ │ │ │ └── bar │ │ │ │ │ └── index.js │ │ │ └── stdout.txt │ │ │ ├── .stdin --out-file --source-maps │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ ├── test.js │ │ │ │ └── test.js.map │ │ │ └── stdin.txt │ │ │ ├── .stdin --source-maps inline │ │ │ ├── options.json │ │ │ ├── stdin.txt │ │ │ └── stdout.txt │ │ │ ├── dir --out-dir --source-maps inline │ │ │ ├── in-files │ │ │ │ └── src │ │ │ │ │ ├── bar │ │ │ │ │ └── bar.js │ │ │ │ │ └── foo.js │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── lib │ │ │ │ │ ├── bar │ │ │ │ │ └── bar.js │ │ │ │ │ └── foo.js │ │ │ └── stdout.txt │ │ │ ├── dir --out-dir --source-maps │ │ │ ├── in-files │ │ │ │ └── src │ │ │ │ │ ├── bar │ │ │ │ │ └── bar.js │ │ │ │ │ └── foo.js │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── lib │ │ │ │ │ ├── bar │ │ │ │ │ ├── bar.js │ │ │ │ │ └── bar.js.map │ │ │ │ │ ├── foo.js │ │ │ │ │ └── foo.js.map │ │ │ └── stdout.txt │ │ │ ├── dir --out-dir │ │ │ ├── in-files │ │ │ │ └── src │ │ │ │ │ ├── bar │ │ │ │ │ └── bar.js │ │ │ │ │ └── foo.js │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── lib │ │ │ │ │ ├── bar │ │ │ │ │ └── bar.js │ │ │ │ │ └── foo.js │ │ │ └── stdout.txt │ │ │ ├── filename --out-file --source-maps inline │ │ │ ├── in-files │ │ │ │ └── script.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ └── script2.js │ │ │ ├── filename --out-file │ │ │ ├── in-files │ │ │ │ └── script.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ └── script2.js │ │ │ ├── filename-sourcemap --out-file --source-maps inline │ │ │ ├── in-files │ │ │ │ ├── .babelrc │ │ │ │ └── script.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ └── script2.js │ │ │ ├── filenames --out-file --source-maps inline │ │ │ ├── in-files │ │ │ │ ├── script.js │ │ │ │ └── script2.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ └── script3.js │ │ │ ├── filenames --out-file --source-maps │ │ │ ├── in-files │ │ │ │ ├── script.js │ │ │ │ └── script2.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ ├── script3.js │ │ │ │ └── script3.js.map │ │ │ ├── filenames --out-file │ │ │ ├── in-files │ │ │ │ ├── script.js │ │ │ │ └── script2.js │ │ │ ├── options.json │ │ │ └── out-files │ │ │ │ └── script3.js │ │ │ ├── stdin --filename │ │ │ ├── options.json │ │ │ ├── stderr.txt │ │ │ └── stdin.txt │ │ │ ├── stdin --out-file │ │ │ ├── options.json │ │ │ ├── out-files │ │ │ │ └── script.js │ │ │ └── stdin.txt │ │ │ └── stdin │ │ │ ├── stdin.txt │ │ │ └── stdout.txt │ │ └── index.js ├── babel-code-frame │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ └── index.js ├── babel-core │ ├── .npmignore │ ├── README.md │ ├── index.js │ ├── package.json │ ├── register.js │ ├── src │ │ ├── api │ │ │ ├── browser.js │ │ │ └── node.js │ │ ├── helpers │ │ │ ├── merge.js │ │ │ ├── normalize-ast.js │ │ │ └── resolve.js │ │ ├── store.js │ │ ├── tools │ │ │ └── build-external-helpers.js │ │ ├── transformation │ │ │ ├── file │ │ │ │ ├── index.js │ │ │ │ ├── logger.js │ │ │ │ ├── metadata.js │ │ │ │ └── options │ │ │ │ │ ├── config.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── option-manager.js │ │ │ │ │ ├── parsers.js │ │ │ │ │ └── removed.js │ │ │ ├── internal-plugins │ │ │ │ ├── block-hoist.js │ │ │ │ └── shadow-functions.js │ │ │ ├── pipeline.js │ │ │ ├── plugin-pass.js │ │ │ └── plugin.js │ │ └── util.js │ └── test │ │ ├── .babelrc │ │ ├── _browser.js │ │ ├── api.js │ │ ├── browserify.js │ │ ├── evaluation.js │ │ ├── fixtures │ │ ├── api │ │ │ └── file.js │ │ ├── browserify │ │ │ └── register.js │ │ ├── plugins │ │ │ ├── inference-recursion │ │ │ │ └── exec.js │ │ │ ├── multiple-definition-evaluation │ │ │ │ └── exec.js │ │ │ ├── nested-if-alternate │ │ │ │ └── exec.js │ │ │ └── regression-2772 │ │ │ │ └── exec.js │ │ ├── resolution │ │ │ └── resolve-addons-relative-to-file │ │ │ │ ├── .gitignore │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── node_modules │ │ │ │ └── addons │ │ │ │ ├── plugin.js │ │ │ │ └── preset.js │ │ └── transformation │ │ │ ├── errors │ │ │ └── syntax │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── misc │ │ │ ├── enforce-newline-modules-blacklist │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── regression-1130 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-1149 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── regression-1155 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-1168 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-1169 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-1199 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── regression-2765 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-2892 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── regression-7064 │ │ │ │ ├── exec.js │ │ │ │ └── options.json │ │ │ └── shebang │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── regenerator │ │ │ ├── default-parameters │ │ │ │ └── exec.js │ │ │ ├── destructuring-parameters │ │ │ │ └── exec.js │ │ │ ├── destructuring │ │ │ │ └── exec.js │ │ │ ├── options.json │ │ │ └── rest-parameters │ │ │ │ └── exec.js │ │ │ └── source-maps │ │ │ ├── arrow-function │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ ├── options.json │ │ │ └── source-mappings.json │ │ │ ├── class │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ ├── options.json │ │ │ └── source-mappings.json │ │ │ ├── full │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ ├── options.json │ │ │ └── source-map.json │ │ │ ├── inline │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── input-source-map │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ ├── options.json │ │ │ └── source-map.json │ │ │ └── options.json │ │ ├── option-manager.js │ │ ├── path.js │ │ ├── plugins.js │ │ ├── resolution.js │ │ ├── transformation.js │ │ └── util.js ├── babel-generator │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── buffer.js │ │ ├── generators │ │ │ ├── base.js │ │ │ ├── classes.js │ │ │ ├── expressions.js │ │ │ ├── flow.js │ │ │ ├── jsx.js │ │ │ ├── methods.js │ │ │ ├── modules.js │ │ │ ├── statements.js │ │ │ ├── template-literals.js │ │ │ └── types.js │ │ ├── index.js │ │ ├── node │ │ │ ├── index.js │ │ │ ├── parentheses.js │ │ │ └── whitespace.js │ │ ├── position.js │ │ ├── printer.js │ │ ├── source-map.js │ │ └── whitespace.js │ └── test │ │ ├── fixtures │ │ ├── auto-indentation │ │ │ ├── hard-tab │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── soft-tab-2 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── soft-tab-4 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── auto-string │ │ │ ├── double │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── jsx │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── single │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── comments │ │ │ ├── 2-space-multi-comment-with-space │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── 2-space-multi-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── block-line-comment-with-concise-format │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── block-line-comment-with-retainlines-option │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── block-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── comment-only-with-space │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── comment-only │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── comment-statement-with-retainlines-option │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── computed-property-comments-2 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── computed-property-comments │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── do-while-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── empty-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── empty │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── function-block-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── if-block-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── if-empty-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── if-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── object_comments │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── return-no-argument │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── simple-a-lot-of-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── simple-a-lot-of-multi-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── simple-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── simple-multi-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── simple-statement-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── try-block-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── variable-declarator-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── variable-declarator-multi-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── variable-declarator-trailing-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── compact │ │ │ ├── assignment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── binary-expressions │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single-line-comment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── while │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── edgecase │ │ │ ├── bitwise-precedence │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── floating-point │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-in-no-in │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-loop-in │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── member-expression-numeric-literals │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── new-precedence │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── one-property-with-line-terminator │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── return-with-retainlines-and-compact-option │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── return-with-retainlines-option │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── unary-op │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── variable-declaration │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── flow │ │ │ ├── array-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── boolean-literal-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── call-properties │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── declare-module │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── declare-statements │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── def-site-variance │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── interfaces-module-and-script │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── null-literal-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── number-literal-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── qualified-generic-type │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── string-literal-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── this-types │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── tuples │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── type-alias │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── type-annotations │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── type-parameters │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── typecasts │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── harmony-edgecase │ │ │ ├── arrow-function │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── class-declaration │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── class-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── computed-property │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── default-parameter │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── destructuring-assignment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── export-default-declaration │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── exports │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-of-statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── import-with-default │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── imports │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── spread-element │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── templates-escape │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── templates-indentation │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── templates │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── yield-precedence │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── minified │ │ │ ├── labeled-statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── literals │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── new-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── no-semicolon │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── options.json │ │ ├── parentheses │ │ │ ├── arrow-function-object-body │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── arrow-function │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── assignment-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── await-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── object │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── sequence-expressions │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── terminator-break │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── unary-arrow-function │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── yield-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── types │ │ │ ├── ArrayExpression-ArrayPattern │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ArrowFunctionExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── AssignmentExpression-BinaryExpression-LogicalExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── AwaitExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── BindExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── BlockStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── BreakStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── CallExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ClassBody-MethodDefinition │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ClassDeclaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ClassExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ConditionalExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ContinueStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── DebuggerStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── Decorator │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── DoWhileStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── EmptyStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ExportDefaultDeclaration-ExportSpecifier-ExportNamedDeclaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ForInStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ForOfStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ForStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── FunctionDeclaration-FunctionExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── Identifier │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── IfStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ImportDeclaration-ImportSpecifier-ImportNamespaceSpecifier │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── LabeledStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── Literal │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── MemberExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── NewExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ObjectExpression-ObjectPattern-Property │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ReturnStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── SequenceExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── SpreadElement-SpreadProperty │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── SwitchStatement-SwitchCase │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── TemplateLiteral-TaggedTemplateExpression-TemplateElement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ThisExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ThrowStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── TryStatement-CatchClause │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── UnaryExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── UpdateExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── VariableDeclaration-VariableDeclarator │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── WhileStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── WithStatement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSAttribute │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSElement-XJSOpeningElement-XJSClosingElement-XJSIdentifier │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSEmptyExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSExpressionContainer │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSMemberExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSNamespacedName │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── XJSSpreadAttribute │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── YieldExpression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-helper-bindify-decorators │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-builder-binary-assignment-operator-visitor │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-builder-conditional-assignment-operator-visitor │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-builder-react-jsx │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-call-delegate │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-define-map │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-explode-assignable-expression │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-explode-class │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-fixtures │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-function-name │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-get-function-arity │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-hoist-variables │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-optimise-call-expression │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-plugin-test-runner │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-regex │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-remap-async-to-generator │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-replace-supers │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-helper-transform-fixture-test-runner │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ ├── helpers.js │ │ └── index.js ├── babel-helpers │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ ├── helpers.js │ │ └── index.js ├── babel-messages │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-check-es2015-constants │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── general │ │ │ ├── block-scoped │ │ │ │ └── exec.js │ │ │ ├── block-statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── destructuring-assignment │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── destructuring │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── flow-declar │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── ignore-member-expressions │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── loop │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── no-assignment │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── no-classes │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── no-declaration │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── no-for-in │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── no-functions │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── program │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── update-expression │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ └── options.json │ │ └── index.js ├── babel-plugin-external-helpers │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-async-functions │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-async-generators │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-class-constructor-call │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-class-properties │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-decorators │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-do-expressions │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-exponentiation-operator │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-export-extensions │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-flow │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-function-bind │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-function-sent │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-jsx │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-object-rest-spread │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-syntax-trailing-function-commas │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── trailing-function-commas │ │ │ ├── arrow-function │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── call │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── new-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-async-functions │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-async-to-generator │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── async-to-generator │ │ │ ├── async-arrow-in-method │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── async │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── deeply-nested-asyncs │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── named-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── no-parameters-and-no-id │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── object-method-with-arrows │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── object-method │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── parameters │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── export-async │ │ │ ├── import-and-export │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── lone-export │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── options.json │ │ └── regression │ │ │ ├── T6882 │ │ │ ├── exec.js │ │ │ └── options.json │ │ │ ├── T7108 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── T7194 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-async-to-module-method │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── bluebird-coroutines │ │ │ ├── arrow-function │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── class │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── named-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-class-constructor-call │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── class-constructor-call │ │ │ ├── declaration-exec │ │ │ ├── exec.js │ │ │ └── options.json │ │ │ ├── declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── expression-completion-record │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── expression-exec │ │ │ ├── exec.js │ │ │ └── options.json │ │ │ ├── expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── none │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-class-properties │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── general │ │ │ ├── constructor-collision │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── derived │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── foobar │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── instance-undefined │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── instance │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── non-block-arrow-func │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── static-export │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── static-undefined │ │ │ │ ├── actual.js │ │ │ │ ├── exec.js │ │ │ │ └── expected.js │ │ │ ├── static │ │ │ │ ├── actual.js │ │ │ │ ├── exec.js │ │ │ │ └── expected.js │ │ │ ├── super-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── super-statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── regression │ │ │ ├── T2983 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── T6719 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── T7364 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-decorators │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── exec │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-do-expressions │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── do-expressions │ │ │ ├── do-while.js │ │ │ ├── empty.js │ │ │ ├── for-in.js │ │ │ ├── for.js │ │ │ ├── if-else-if.js │ │ │ ├── if-else.js │ │ │ ├── if.js │ │ │ ├── options.json │ │ │ ├── single-expression.js │ │ │ ├── variable-declaration-end.js │ │ │ ├── variable-declaration-start.js │ │ │ └── while.js │ │ └── index.js ├── babel-plugin-transform-es2015-arrow-functions │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── arrow-functions │ │ │ ├── arguments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── default-parameters │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── destructuring-parameters │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── empty-arguments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── empty-block │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── inside-call │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiple-arguments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── paran-insertion │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── single-argument │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── spec │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── this │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-block-scoped-functions │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-es2015-block-scoping │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.js │ │ └── tdz.js │ └── test │ │ ├── fixtures │ │ ├── .fail │ │ │ ├── assignment.js │ │ │ ├── call-2.js │ │ │ ├── call-3.js │ │ │ ├── call.js │ │ │ ├── defaults.js │ │ │ ├── destructuring.js │ │ │ ├── export.js │ │ │ ├── options.json │ │ │ └── update.js │ │ ├── exec │ │ │ ├── block-scoped-2.js │ │ │ ├── block-scoped.js │ │ │ ├── closure-wrap-collision.js │ │ │ ├── collision-for.js │ │ │ ├── destructuring-defaults.js │ │ │ ├── duplicate-function-scope.js │ │ │ ├── for-continuation.js │ │ │ ├── for-loop-head.js │ │ │ ├── label.js │ │ │ ├── multiple.js │ │ │ ├── nested-labels-2.js │ │ │ ├── nested-labels-3.js │ │ │ ├── nested-labels-4.js │ │ │ ├── nested-labels.js │ │ │ ├── options.json │ │ │ ├── scope-bindings.js │ │ │ └── switch-break.js │ │ ├── general │ │ │ ├── assignment-patterns │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-break-continue-return │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-break │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-const-closure │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-continuation │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-continue │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-return-undefined │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── for-return │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── function-name │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── function │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── hoisting │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── issue-1051 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── issue-2174 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── issue-973 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── jsx-identifier │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── loop-initializer-default │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── program │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── switch-callbacks │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── switch │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── wrap-closure-shadow-variables │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── pass │ │ │ ├── assignment.js │ │ │ ├── call.js │ │ │ ├── defaults.js │ │ │ ├── destructuring.js │ │ │ ├── export.js │ │ │ ├── options.json │ │ │ └── update.js │ │ └── index.js ├── babel-plugin-transform-es2015-classes │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── index.js │ │ ├── lib │ │ │ └── memoise-decorators.js │ │ ├── loose.js │ │ └── vanilla.js │ └── test │ │ ├── fixtures │ │ ├── exec │ │ │ ├── declaration-binding.js │ │ │ ├── expression-binding.js │ │ │ ├── options.json │ │ │ ├── retain-no-call-on-reassign.js │ │ │ ├── shadow-container.js │ │ │ ├── super-change-proto.js │ │ │ └── super-return.js │ │ ├── loose │ │ │ ├── accessing-super-class │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── accessing-super-properties │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── calling-super-properties │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── constructor-order │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── literal-key │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── super-class-id-member-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── super-class │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── super-function-fallback │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── regression │ │ │ ├── 2663 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── 2694 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── 2775 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── 2941 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── 3028 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── T2494 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── T2997 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── T6712 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── T6750 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── T6755 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── T7010 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ └── options.json │ │ └── spec │ │ │ ├── accessing-super-class │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── accessing-super-properties │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── calling-super-properties │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── computed-methods │ │ │ ├── actual.js │ │ │ ├── exec.js │ │ │ └── expected.js │ │ │ ├── constructor-binding-collision │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── constructor │ │ │ ├── delay-arrow-function-for-bare-super-derived │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── derived-constructor-must-call-super │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── export-super-class │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── inferred-expression-name │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── instance-getter-and-setter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── instance-getter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── instance-method │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── instance-setter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── name-method-collision │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── options.json │ │ │ ├── plain-class │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── preserves-directives │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── relaxed-method-coercion │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── returning-from-derived-constructor │ │ │ └── exec.js │ │ │ ├── statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── static │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── super-call-only-allowed-in-derived-constructor │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── super-class-anonymous │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── super-class-id-member-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── super-class │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── super-function-fallback │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── super-illegal-non-constructor-call │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── super-reference-before-bare-super │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── this-not-allowed-before-super-in-derived-classes-2 │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ └── this-not-allowed-before-super-in-derived-classes │ │ │ ├── actual.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-computed-properties │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── loose │ │ │ ├── accessors │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── argument │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── assignment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── coerce │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── ignore-symbol │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── method │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── mixed │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── this │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── two │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── variable │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── spec │ │ │ ├── accessors │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── argument │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ignore-symbol │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── mixed │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── this │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── two │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── variable │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-destructuring │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── destructuring │ │ │ ├── array-unpack-optimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── array │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment-expression-completion-record │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment-expression-pattern │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment-statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── chained │ │ │ └── exec.js │ │ │ ├── default-precedence │ │ │ ├── actual.js │ │ │ ├── exec.js │ │ │ └── expected.js │ │ │ ├── empty-object-pattern │ │ │ ├── actual.js │ │ │ ├── exec.js │ │ │ └── expected.js │ │ │ ├── empty │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── es7-object-rest │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export-variable │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── for-in │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── for-of │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── known-array │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── member-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── mixed │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── object-advanced │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── object-basic │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── parameters │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── spread-generator │ │ │ └── exec.js │ │ │ └── spread │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-duplicate-keys │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── combination │ │ │ ├── dupes │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── no-dupes │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── options.json │ │ └── duplicate-keys │ │ │ ├── both-quoted │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── dupes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── getter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── getters-and-setters │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── no-dupes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── one-quoted │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-for-of │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── loose │ │ │ ├── identifier │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── ignore-cases │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── let │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── member-expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── var │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── spec │ │ │ ├── identifier │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ignore-cases │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── let │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── member-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested-label-for-of │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── var │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-function-name │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── function-name │ │ │ ├── .smoke │ │ │ ├── exec.js │ │ │ └── options.json │ │ │ ├── assignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── basic │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── class-method │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── collisions │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── eval │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── function-assignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── function-collision │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── global │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-definition │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── modules-2 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── modules-3 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── modules-4 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── modules │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── object │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── own-bindings │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── self-reference │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── shorthand-property │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-instanceof │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── instanceof │ │ │ └── instanceof │ │ │ ├── actual.js │ │ │ ├── exec.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-es2015-modules-amd │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── amd │ │ │ ├── export-specifier-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-default │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── untitled │ │ │ ├── exports-from │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-variable │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── get-module-name-option │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── hoist-function-exports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-glob │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-mixing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── module-name │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── options.json │ │ │ ├── overview │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── remap │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-modules-commonjs │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── auxiliary-comment │ │ │ ├── options.json │ │ │ └── overview │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── interop │ │ │ ├── exports-default-non-function │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── exports-default │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── exports-from │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── exports-named │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── exports-variable │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── hoist-function-exports │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── illegal-export-esmodule-2 │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── illegal-export-esmodule │ │ │ │ ├── actual.js │ │ │ │ └── options.json │ │ │ ├── imports-default │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── imports-glob │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── imports-hoisting │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── imports-mixing │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── imports-named │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── imports │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── module-shadow │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── overview │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ └── remap │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ ├── regression │ │ │ ├── T7160 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── T7165 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── T7199 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ ├── T7272 │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ └── es3-compatibility │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ ├── source-map │ │ │ ├── exec.js │ │ │ └── options.json │ │ └── strict │ │ │ ├── export-1 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export-2 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export-all │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── export │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── import │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── source-mappings.json │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-modules-systemjs │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── systemjs │ │ │ ├── exports-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-from │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-variable │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── get-module-name-option │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── hoist-function-exports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-glob │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-mixing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── module-name │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── overview │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── remap │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-modules-umd │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── umd │ │ │ ├── exports-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-from │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── exports-variable │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── get-module-name-option │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── hoist-function-exports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-glob │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-mixing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports-named │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── imports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── module-id │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── module-name │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── non-default-imports │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── override-import-name │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── overview │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── remap │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-object-super │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── object-super │ │ │ ├── options.json │ │ │ ├── simple.js │ │ │ └── statically-bound │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-parameters │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── default.js │ │ ├── destructuring.js │ │ ├── index.js │ │ └── rest.js │ └── test │ │ ├── fixtures │ │ └── parameters │ │ │ ├── default-before-last │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── default-destructuring │ │ │ └── exec.js │ │ │ ├── default-eval │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── default-iife-1128 │ │ │ └── exec.js │ │ │ ├── default-multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── default-single │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── destructuring-rest │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── rest-arguments-deoptimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-arrow-functions │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-async-arrow-functions │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── rest-binding-deoptimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-deepest-common-ancestor-earliest-child │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-length │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-member-expression-deoptimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-member-expression-optimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── rest-nested-iife │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── rest-spread-optimisation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-shorthand-properties │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── shorthand-properties │ │ │ ├── method-plain │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── shorthand-comments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── shorthand-mixed │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── shorthand-multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── shorthand-single │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-spread │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── regression │ │ │ ├── T6761 │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ └── options.json │ │ └── spread │ │ │ ├── arguments-array │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── arguments-concat │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── arguments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── array-literal-first │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── array-literal-middle │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── array-literal-multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── array-literals │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-computed-method-call-multiple-args │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-computed-method-call-single-arg │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-method-call-multiple-args │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-method-call-single-arg │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-method-call-super-multiple-args │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── contexted-method-call-super-single-arg │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── known-rest │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-array-literal │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-first │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-middle │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-multiple-args │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── method-call-single-arg │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── new-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── this-context │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-sticky-regex │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── sticky-regex │ │ │ ├── basic │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ignore-non-sticky │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-template-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── normal │ │ │ ├── escape-quotes │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── expression-first │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── functions │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── multiline │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── none │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── only │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── statement │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── tag-loose │ │ │ │ ├── actual.js │ │ │ │ ├── expected.js │ │ │ │ └── options.json │ │ │ └── tag │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── spec │ │ │ ├── escape-quotes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── functions │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiline │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiple │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── none │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── only │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── single │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-es2015-typeof-symbol │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── symbols │ │ │ ├── non-typeof │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── shadow │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ └── typeof │ │ │ ├── actual.js │ │ │ ├── exec.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es2015-unicode-regex │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── unicode-regex │ │ │ ├── basic │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ignore-non-unicode │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es3-member-expression-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── member-expression-literals │ │ │ └── member-expression-literals │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es3-property-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── property-literals │ │ │ └── property-literals │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-es5-property-mutators │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── property-mutators │ │ │ ├── getter-and-setter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── getter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── setter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-eval │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-exponentiation-operator │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── exponentian-operator │ │ │ ├── assignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── binary │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── comprehensive │ │ │ └── exec.js │ │ │ ├── memoise-object │ │ │ └── exec.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-export-extensions │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── export-extensions │ │ │ ├── default-compound-es6 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── default-es6 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── namespace-compound-es6 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── namespace-es6 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-flow-comments │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── flow-comments │ │ │ ├── declare-statements │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── def-site-variance │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── export-type-alias │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── import-type-alias │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── optional-parameters │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── optional-type │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── type-alias-with-comment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── type-alias │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── type-cast │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── type │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-flow-strip-types │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── strip-types │ │ │ ├── def-site-variance │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── strip-array-types │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-call-properties │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-declare-module │ │ │ └── actual.js │ │ │ ├── strip-declare-statements │ │ │ └── actual.js │ │ │ ├── strip-directive │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-interfaces-module-and-script │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-qualified-generic-type │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-string-literal-types │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-tuples │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-type-alias │ │ │ └── actual.js │ │ │ ├── strip-type-annotations │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── strip-typecasts │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── type-comments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-function-bind │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── function-bind │ │ │ ├── bind │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── call │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── complex-call │ │ │ │ ├── actual.js │ │ │ │ ├── exec.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── static-contexts │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── regression │ │ │ └── T6984 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-inline-environment-variables │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-jscript │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── jscript │ │ │ ├── arrow-function │ │ │ └── exec.js │ │ │ ├── options.json │ │ │ ├── simple-class │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── var-named-function-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-member-expression-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── member-expression-literals │ │ │ ├── invalid-identifiers │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── valid-identifiers │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-merge-sibling-variables │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-minify-booleans │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── minify-booleans │ │ │ ├── booleans │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-node-env-inline │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-object-assign │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-object-rest-spread │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── object-rest-spread │ │ │ ├── assignment │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── expression │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── variable-declaration │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── regression │ │ │ └── T7178 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-object-set-prototype-of-to-assign │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-property-literals │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── property-literals │ │ │ ├── invalid-identifiers │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── valid-identifiers │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-proto-to-assign │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── proto-to-assign │ │ │ ├── assignment-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── assignment-statement │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── object-literal │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-react-constant-elements │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── constant-elements │ │ │ ├── children │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── constructor │ │ │ ├── deep-constant-violation │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── dont-hoist-to-same-function │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── function-parameter │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── global-reference │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── html-element │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── inline-elements │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── inner-declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── parameter-reference │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── reassignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── ref-deopt │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── spread-deopt │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── text-children │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-react-display-name │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── display-name │ │ │ ├── assignment-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── object-property │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── variable-declarator │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-react-inline-elements │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── inline-elements │ │ │ ├── children-exists │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── component-with-props │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── component │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── expression-container │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── html-element-with-props │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── html-element │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── key-computed │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── key │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── multiline │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested-components │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested-html-elements │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── nested │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── ref-deopt │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── self-closing-component-with-props │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── self-closing-component │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── self-closing-html-element-with-props │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── self-closing-html-element │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── shorthand-attributes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── spread-deopt │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-react-jsx-compat │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── react-compat │ │ │ ├── convert-component │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── convert-tags │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-react-jsx-source │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── react-source │ │ │ ├── basic-sample │ │ │ └── exec.js │ │ │ ├── no-jsx │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ └── with-source │ │ │ └── exec.js │ │ └── index.js ├── babel-plugin-transform-react-jsx │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── react │ │ │ ├── .optimisation.react.constant-elements │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── .should-not-strip-nbsp-even-coupled-with-other-whitespace │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── .should-not-strip-tags-with-a-single-child-of-nbsp │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── .should-properly-handle-comments-adjacent-to-children │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── .should-properly-handle-comments-between-props │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── adds-appropriate-newlines-when-using-spread-attribute │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── arrow-functions │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── concatenates-adjacent-string-literals │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-assignment-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-export-default │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-if-missing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-object-declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-property-assignment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── display-name-variable-declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── dont-coerce-expression-containers │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── honor-custom-jsx-comment-if-jsx-pragma-option-set │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── honor-custom-jsx-comment │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── honor-custom-jsx-pragma-option │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── jsx-with-retainlines-option │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── jsx-without-retainlines-option │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── should-allow-constructor-as-prop │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-allow-deeper-js-namespacing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-allow-js-namespacing │ │ │ ├── actual.js │ │ │ ├── blacklist.js │ │ │ └── expected.js │ │ │ ├── should-avoid-wrapping-in-extra-parens-if-not-needed │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-convert-simple-tags │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-convert-simple-text │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-disallow-xml-namespacing │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── should-handle-attributed-elements │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-handle-has-own-property-correctly │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-have-correct-comma-in-nested-children │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-insert-commas-after-expressions-before-whitespace │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-not-mangle-expressioncontainer-attribute-values │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-quote-jsx-attributes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── should-transform-known-hyphenated-tags │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── throw-if-custom-jsx-comment-sets-react-dom-multiline │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── throw-if-custom-jsx-comment-sets-react-dom-simple │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── throw-if-custom-jsx-comment-sets-react-dom-singleline │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── throw-if-custom-jsx-comment-sets-react-dom │ │ │ ├── actual.js │ │ │ └── options.json │ │ │ ├── wraps-props-in-react-spread-for-first-spread-attributes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── wraps-props-in-react-spread-for-last-spread-attributes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── wraps-props-in-react-spread-for-middle-spread-attributes │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-regenerator │ ├── .npmignore │ ├── .test │ │ ├── async.es6.js │ │ └── tests.es6.js │ ├── LICENSE │ ├── PATENTS │ ├── README.md │ ├── package.json │ ├── src │ │ ├── emit.js │ │ ├── hoist.js │ │ ├── index.js │ │ ├── leap.js │ │ ├── meta.js │ │ ├── util.js │ │ └── visit.js │ └── test │ │ ├── fixtures │ │ ├── class-argument-scope │ │ │ ├── example │ │ │ │ └── exec.js │ │ │ └── options.json │ │ ├── function-sent │ │ │ ├── example │ │ │ │ └── exec.js │ │ │ └── options.json │ │ └── regression │ │ │ ├── 6733 │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── T7041 │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-remove-console │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── remove-console │ │ │ ├── expression-nested │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── expression-top-level │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── statement-nested │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── statement-top-level │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-remove-debugger │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ └── index.js ├── babel-plugin-transform-runtime │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── definitions.js │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── runtime │ │ │ ├── aliased-constructors │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── catch-all │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── class │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── es6-for-of │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── full │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── modules │ │ │ ├── actual.js │ │ │ ├── expected.js │ │ │ └── options.json │ │ │ ├── options.json │ │ │ ├── regenerator-runtime │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── symbol-iterator-in │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── symbol-iterator │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-simplify-comparison-operators │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── simplify-comparison-operators │ │ │ ├── equality-operators │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-transform-strict-mode │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ ├── auxiliary-comment │ │ │ ├── options.json │ │ │ └── use-strict-add │ │ │ │ ├── actual.js │ │ │ │ └── expected.js │ │ └── strict-mode │ │ │ ├── leading-comments-with-existing │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── leading-comments │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── options.json │ │ │ ├── undefined-this-arrow-function │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── undefined-this-root-call │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── undefined-this-root-declaration │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── undefined-this-root-reference │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── use-strict-add │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── use-strict-exists │ │ │ ├── actual.js │ │ │ └── expected.js │ │ └── index.js ├── babel-plugin-transform-undefined-to-void │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── undefined-to-void │ │ │ ├── basic │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ ├── member-expression │ │ │ ├── actual.js │ │ │ └── expected.js │ │ │ └── options.json │ │ └── index.js ├── babel-plugin-undeclared-variables-check │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ ├── fixtures │ │ └── validation.undeclared-variable-check │ │ │ ├── declared │ │ │ └── exec.js │ │ │ ├── options.json │ │ │ ├── undeclared-shorthand-property │ │ │ ├── exec.js │ │ │ └── options.json │ │ │ └── undeclared │ │ │ ├── exec.js │ │ │ └── options.json │ │ └── index.js ├── babel-polyfill │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── scripts │ │ ├── build-dist.sh │ │ ├── postpublish.js │ │ └── prepublish.js │ └── src │ │ └── index.js ├── babel-preset-es2015 │ ├── .npmignore │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── .babelrc │ │ ├── esnext.js │ │ ├── fixtures │ │ ├── esnext │ │ │ ├── es6-arrow-functions │ │ │ │ ├── arguments-refers-to-parent-function.js │ │ │ │ ├── empty-arrow-function.js │ │ │ │ ├── handles-nested-context-bindings.js │ │ │ │ ├── no-parens-for-low-precedence-expression-body.js │ │ │ │ ├── object-literal-needs-parens.js │ │ │ │ ├── only-lexical-this-not-dynamic-this.js │ │ │ │ ├── options.json │ │ │ │ ├── passed-to-function.js │ │ │ │ └── single-param-does-not-need-parens.js │ │ │ ├── es6-classes │ │ │ │ ├── anonymous-class.js │ │ │ │ ├── call-super-function.js │ │ │ │ ├── class-expressions.js │ │ │ │ ├── class-extend.js │ │ │ │ ├── class-with-constructor.js │ │ │ │ ├── class-with-method-declaration.js │ │ │ │ ├── empty-named-class.js │ │ │ │ ├── enumerable.js │ │ │ │ ├── explicit-super-in-constructor.js │ │ │ │ ├── extends-null.js │ │ │ │ ├── getter-setter-super.js │ │ │ │ ├── getter-setter.js │ │ │ │ ├── method-declaration-with-arguments.js │ │ │ │ ├── methods-are-writable.js │ │ │ │ ├── methods-with-rest-params.js │ │ │ │ ├── options.json │ │ │ │ ├── static-getter.js │ │ │ │ ├── static-method.js │ │ │ │ ├── static-setter.js │ │ │ │ └── super-change-proto.js │ │ │ ├── es6-computed-properties │ │ │ │ ├── accessor.js │ │ │ │ ├── method.js │ │ │ │ ├── nested.js │ │ │ │ ├── options.json │ │ │ │ └── simple.js │ │ │ ├── es6-default-parameters │ │ │ │ ├── arity.js │ │ │ │ ├── arrow-function.js │ │ │ │ ├── null-vs-undefined.js │ │ │ │ ├── options.json │ │ │ │ ├── scope.js │ │ │ │ └── simple-function.js │ │ │ ├── es6-object-concise │ │ │ │ ├── method-arguments.js │ │ │ │ ├── method-context.js │ │ │ │ ├── method-has-name.js │ │ │ │ ├── method-is-not-in-scope-inside.js │ │ │ │ ├── method.js │ │ │ │ └── options.json │ │ │ ├── es6-rest-parameters │ │ │ │ ├── arrow-fn.js │ │ │ │ ├── declaration.js │ │ │ │ ├── options.json │ │ │ │ └── rest.js │ │ │ ├── es6-spread │ │ │ │ ├── arguments-as-array.js │ │ │ │ ├── array-literal.js │ │ │ │ ├── call-with-array-literal.js │ │ │ │ ├── inside-function-expression.js │ │ │ │ ├── iterator.js │ │ │ │ ├── new-object.js │ │ │ │ ├── options.json │ │ │ │ ├── preserve-context.js │ │ │ │ └── simple-function-call.js │ │ │ └── es6-templates │ │ │ │ ├── multi-line.js │ │ │ │ ├── nested-interpolation.js │ │ │ │ ├── no-interpolation.js │ │ │ │ ├── options.json │ │ │ │ ├── raw-tagged-template-expression.js │ │ │ │ ├── simple-interpolation.js │ │ │ │ └── tagged-template-expression.js │ │ └── traceur │ │ │ ├── ArrayExtras │ │ │ ├── Fill.js │ │ │ ├── Find.js │ │ │ ├── FindIndex.js │ │ │ ├── From.js │ │ │ └── Of.js │ │ │ ├── ArrowFunctions │ │ │ ├── AlphaRename.js │ │ │ ├── AlphaRenameThisArguments.js │ │ │ ├── Arguments.js │ │ │ ├── ArrowFunctions.js │ │ │ ├── CoverInitializer.js │ │ │ ├── FreeVariableChecker.js │ │ │ ├── Parens.js │ │ │ ├── SloppyArguments.js │ │ │ ├── ThisBindingInPropertyName.js │ │ │ └── ThisBindings.js │ │ │ ├── AsyncFunctions │ │ │ ├── AlphaRenaming.js │ │ │ ├── AsyncArrow.js │ │ │ ├── AsyncArrow2.js │ │ │ ├── AsyncArrowArguments.js │ │ │ ├── AsyncArrowThis.js │ │ │ ├── AsyncMethod.js │ │ │ ├── AsyncMethodObjectLiteral.js │ │ │ ├── AsyncSyntax.js │ │ │ ├── Basics.js │ │ │ ├── Complete.js │ │ │ ├── Empty.js │ │ │ ├── Export.module.js │ │ │ ├── Finally.js │ │ │ ├── Finally2.js │ │ │ ├── PromiseCast.js │ │ │ ├── Prototype.js │ │ │ ├── Rethrow.js │ │ │ ├── Return.js │ │ │ ├── Throw.js │ │ │ ├── Timeout.js │ │ │ ├── Value.js │ │ │ ├── Yield.js │ │ │ └── resources │ │ │ │ └── async-function.js │ │ │ ├── AsyncGenerators │ │ │ ├── Array.js │ │ │ ├── AsyncGenerator.js │ │ │ ├── AsyncObservable.js │ │ │ ├── Demo.js │ │ │ ├── ForOn.module.js │ │ │ ├── ForOnBody.js │ │ │ ├── Method.js │ │ │ ├── Property.js │ │ │ ├── ReturnAsyncGenerator.js │ │ │ ├── ThisAndArguments.js │ │ │ ├── ThrowInAsyncGenerator.js │ │ │ ├── YieldFor.js │ │ │ ├── YieldForOn.js │ │ │ └── resources │ │ │ │ └── observable.js │ │ │ ├── Classes │ │ │ ├── .SuperNestedClass.js │ │ │ ├── ClassMethodInheritance.js │ │ │ ├── ClassNameBinding.js │ │ │ ├── ClassNameInStack.js │ │ │ ├── Constructor.js │ │ │ ├── ConstructorChaining.js │ │ │ ├── ConstructorMember.js │ │ │ ├── DefaultConstructor.js │ │ │ ├── DeriveFromObject.js │ │ │ ├── EmptyClass.js │ │ │ ├── ExtendCoverFormals.js │ │ │ ├── ExtendNonConstructableFunction.js │ │ │ ├── ExtendObject.js │ │ │ ├── ExtendStrange.js │ │ │ ├── FieldInheritance.js │ │ │ ├── FieldInitializers.js │ │ │ ├── FieldLookup.js │ │ │ ├── Fields.js │ │ │ ├── Getters.js │ │ │ ├── Inheritance.js │ │ │ ├── InheritanceFromMemberExpression.js │ │ │ ├── InheritanceFromNonclass.js │ │ │ ├── InheritanceNameBinding.js │ │ │ ├── Method.js │ │ │ ├── MethodInheritance.js │ │ │ ├── MethodLookup.js │ │ │ ├── NameBinding.js │ │ │ ├── NestedClassSuper.js │ │ │ ├── NestedClassSuperAnimal.js │ │ │ ├── NewClassExpression.js │ │ │ ├── NonEnum.js │ │ │ ├── OptionalParams.js │ │ │ ├── PropertyAccessors.js │ │ │ ├── PrototypeDescriptor.js │ │ │ ├── RestParams.js │ │ │ ├── SemiColon.js │ │ │ ├── SimpleSuper.js │ │ │ ├── Static.js │ │ │ ├── StaticSuper.js │ │ │ ├── StaticSuperNoExtends.js │ │ │ ├── StaticSymbol.js │ │ │ ├── Strict.js │ │ │ ├── SuperChaining.js │ │ │ ├── SuperChangeProto.js │ │ │ ├── SuperInArrow.js │ │ │ ├── SuperMissing.js │ │ │ ├── SuperPostfix.js │ │ │ ├── SuperSet.js │ │ │ ├── SuperUnary.js │ │ │ └── SuperWithoutExtends.js │ │ │ ├── Collections │ │ │ ├── Map.js │ │ │ ├── Set.js │ │ │ └── SetWithSymbols.js │ │ │ ├── ComputedPropertyNames │ │ │ ├── Class.js │ │ │ ├── ComputedPropertyNames.js │ │ │ └── Symbol.js │ │ │ ├── DefaultParameters │ │ │ ├── Simple.js │ │ │ └── Strict.js │ │ │ ├── Destructuring │ │ │ ├── Arguments.js │ │ │ ├── Array.js │ │ │ ├── ArrayPatternTrailingComma.js │ │ │ ├── ArrayPatternWithCoverInitializedName.js │ │ │ ├── ArrayPatternWithInitializer.js │ │ │ ├── ArrowFunction.js │ │ │ ├── Catch.js │ │ │ ├── Class.js │ │ │ ├── CoverInitializedName.js │ │ │ ├── CoverInitializer.js │ │ │ ├── CoverInitializerInForOf.js │ │ │ ├── DefaultParams.js │ │ │ ├── Empty.js │ │ │ ├── EvaluatesToRvalue.js │ │ │ ├── EvaluationOrder.js │ │ │ ├── ForInLoop.js │ │ │ ├── ForOfLoop.js │ │ │ ├── FunctionArrayPattern.js │ │ │ ├── FunctionObjectPattern.js │ │ │ ├── Initializer.js │ │ │ ├── InitializerObject.js │ │ │ ├── Method.js │ │ │ ├── MultipleCoverInitializersInArrowFunction.js │ │ │ ├── NestedScopeArguments.js │ │ │ ├── Object.js │ │ │ ├── Rest.js │ │ │ ├── RestIterator.js │ │ │ ├── ScopeThis.js │ │ │ ├── SetAccessor.js │ │ │ ├── Simplify.js │ │ │ ├── StrangeProperties.js │ │ │ ├── Strict.js │ │ │ ├── TopLevel.js │ │ │ ├── ValueTypes.js │ │ │ └── VarDecl.js │ │ │ ├── Exponentiation │ │ │ └── Basics.js │ │ │ ├── ForOf │ │ │ └── NewNoParens.js │ │ │ ├── LICENSE │ │ │ ├── Misc │ │ │ ├── ArrayIterator.js │ │ │ ├── ObjectAssign.js │ │ │ ├── ObjectIs.js │ │ │ ├── PrependStatement.js │ │ │ ├── Promise.js │ │ │ ├── PromiseResolve.js │ │ │ ├── PromiseThrowInResolve.js │ │ │ └── StringIterator.js │ │ │ ├── Modules │ │ │ ├── EmptyNamedImport.module.js │ │ │ ├── ExportDestructuring.module.js │ │ │ ├── ExportForwardDefault.module.js │ │ │ ├── ExportStar.module.js │ │ │ ├── ExportStarAs.module.js │ │ │ ├── Exports.module.js │ │ │ ├── ImportAsExportAs.module.js │ │ │ ├── ImportBasic.module.js │ │ │ ├── ImportCircular.module.js │ │ │ ├── ImportDefault.module.js │ │ │ ├── ImportEmptyImportClause.module.js │ │ │ ├── ImportFromModule.module.js │ │ │ ├── ImportNoImportClause.module.js │ │ │ ├── ImportPair.module.js │ │ │ ├── ImportReExportDefault.module.js │ │ │ ├── ImportReExportDefaultAs.module.js │ │ │ ├── ModuleDefault.module.js │ │ │ ├── ModuleName.module.js │ │ │ ├── StaticMethod.module.js │ │ │ ├── ThisInModules.module.js │ │ │ └── resources │ │ │ │ ├── TestClass.js │ │ │ │ ├── a.js │ │ │ │ ├── a2.js │ │ │ │ ├── b.js │ │ │ │ ├── c.js │ │ │ │ ├── clockwise.js │ │ │ │ ├── d.js │ │ │ │ ├── default-and-named.js │ │ │ │ ├── default-class-expression.js │ │ │ │ ├── default-class.js │ │ │ │ ├── default-function-expression.js │ │ │ │ ├── default-function.js │ │ │ │ ├── default-name.js │ │ │ │ ├── default.js │ │ │ │ ├── export-conflict.js │ │ │ │ ├── export-destructuring.js │ │ │ │ ├── export-forward-default-as.js │ │ │ │ ├── export-star-as.js │ │ │ │ ├── f.js │ │ │ │ ├── i.js │ │ │ │ ├── m.js │ │ │ │ ├── m2.js │ │ │ │ ├── m3.js │ │ │ │ ├── n.js │ │ │ │ ├── o.js │ │ │ │ ├── p.js │ │ │ │ ├── re-export-default-as.js │ │ │ │ ├── re-export-default.js │ │ │ │ ├── side-effect.js │ │ │ │ ├── side-effect2.js │ │ │ │ └── x.js │ │ │ ├── NumericLiteral │ │ │ └── Simple.js │ │ │ ├── ObjectInitializerShorthand │ │ │ ├── Ok.js │ │ │ └── StrictKeyword.js │ │ │ ├── PropertyMethodAssignment │ │ │ └── PropertyMethodAssignment.js │ │ │ ├── PureES6Transformer │ │ │ └── Basic.js │ │ │ ├── RegularExpression │ │ │ └── Simple.js │ │ │ ├── Rest │ │ │ ├── Simple.js │ │ │ └── Strict.js │ │ │ ├── Scope │ │ │ ├── BlockBinding10.js │ │ │ ├── BlockBinding11.js │ │ │ ├── BlockBinding2.js │ │ │ ├── BlockBinding3.js │ │ │ ├── BlockBinding4.js │ │ │ ├── BlockBinding5.js │ │ │ ├── BlockBinding6.js │ │ │ ├── BlockBinding7.js │ │ │ ├── BlockBinding8.js │ │ │ ├── BlockBinding9.js │ │ │ ├── BlockBindingHiddenOuterLet.js │ │ │ ├── BlockBindingSiblingRefenceError.js │ │ │ ├── DeconstructingBlockBinding.js │ │ │ ├── DeepNestedLet.js │ │ │ ├── DeepNestedLetConst.js │ │ │ ├── DeepNestedLetVar.js │ │ │ ├── DeepNestedLetVarNoInit.js │ │ │ ├── ForInInitializers.js │ │ │ ├── FunctionInBlock.js │ │ │ ├── LetForInInitializers1.js │ │ │ ├── LetForInitializers1.js │ │ │ ├── LetInClass.js │ │ │ ├── LetInClosure.js │ │ │ ├── LetInFor.js │ │ │ ├── LetInForBreak.js │ │ │ ├── LetInForBreakInner.js │ │ │ ├── LetInForBreakNamed.js │ │ │ ├── LetInForContinue.js │ │ │ ├── LetInForContinueInner.js │ │ │ ├── LetInForContinueNamed.js │ │ │ ├── LetInGenerators.js │ │ │ ├── LetInProperties.js │ │ │ ├── LetInWhileLoop.js │ │ │ ├── LetInitializerFor1.js │ │ │ ├── LetInitializerFor2.js │ │ │ ├── LetInitializerFor3.js │ │ │ ├── LetInitializerForIn.js │ │ │ ├── LetNoInitializer.js │ │ │ ├── LetNoInitializerGlobal.js │ │ │ ├── LetReinitializeInLoop.js │ │ │ ├── LetWithFor.js │ │ │ ├── LetWithForIn.js │ │ │ ├── LetWithSwitch.js │ │ │ ├── LetWithSwitch2.js │ │ │ ├── NameBindingInFunction.js │ │ │ ├── NestedForLoops.js │ │ │ ├── NestedFunction1.js │ │ │ ├── NestedFunction2.js │ │ │ ├── NestedFunction3.js │ │ │ ├── NestedLet.js │ │ │ ├── NestedLetConflict.js │ │ │ ├── RenameFunctionBlock.js │ │ │ ├── SiblingScopes.js │ │ │ ├── TopLevelLet.js │ │ │ ├── TopLevelLetConst.js │ │ │ └── TopLevelLetVar.js │ │ │ ├── Spread │ │ │ ├── Array.js │ │ │ ├── Call.js │ │ │ ├── CallWithUndefined.js │ │ │ ├── Class.js │ │ │ ├── Iterators.js │ │ │ ├── MethodCall.js │ │ │ ├── MethodCallQuotedName.js │ │ │ ├── New.js │ │ │ ├── New2.js │ │ │ ├── NewBuiltin.js │ │ │ ├── NoIterator.js │ │ │ ├── NotAnObject.js │ │ │ ├── String.js │ │ │ └── Type.js │ │ │ ├── StringExtras │ │ │ ├── CodePointAt.js │ │ │ ├── EndsWith.js │ │ │ ├── FromCodePoint.js │ │ │ ├── Includes.js │ │ │ ├── Repeat.js │ │ │ └── StartsWith.js │ │ │ ├── SuperObjectLiteral │ │ │ ├── SuperChaining.js │ │ │ ├── SuperChangeProto.js │ │ │ ├── SuperInArrow.js │ │ │ ├── SuperNestedObject.js │ │ │ ├── SuperPostfix.js │ │ │ ├── SuperSet.js │ │ │ ├── SuperUnary.js │ │ │ └── SuperWithoutProto.js │ │ │ ├── Symbol │ │ │ ├── GetOwnPropertySymbols.js │ │ │ ├── Inherited.js │ │ │ ├── Object.js │ │ │ ├── ObjectModel.js │ │ │ └── TransformationOff.js │ │ │ ├── Syntax │ │ │ ├── ArrayWithHoles.js │ │ │ ├── CaseClauseShouldBeStatementListItem.js │ │ │ ├── Empty.js │ │ │ ├── ExpressionValidation.js │ │ │ ├── ImplicitSemiColon.js │ │ │ ├── InInBinding.js │ │ │ ├── IsValidSimpleAssignmentTarget.js │ │ │ ├── MultlineCommentIsNewLine.js │ │ │ ├── NoNewLineHereEndOfFile.js │ │ │ ├── NumberLiteralMemberExpression.js │ │ │ ├── ParamDuplicateCheckNonSimpleOk.js │ │ │ ├── ParamDuplicateCheckOk.js │ │ │ ├── RegularExpression.js │ │ │ ├── StrictKeywords.js │ │ │ ├── StrictKeywordsInPattern.js │ │ │ ├── StringEscapes.js │ │ │ ├── UnicodeEscapeSequenceInName.js │ │ │ ├── UseStrictEscapeSequence.js │ │ │ ├── UseStrictLineContinuation.js │ │ │ └── null.js │ │ │ ├── TemplateLiterals │ │ │ ├── CallExpression.js │ │ │ ├── CommaExpression.js │ │ │ ├── Default.js │ │ │ ├── InBlock.js │ │ │ ├── MemberExpression.js │ │ │ ├── NewExpression.js │ │ │ ├── Strict.js │ │ │ ├── StringRaw.js │ │ │ ├── Tag.js │ │ │ ├── TemplateObjectCaching.module.js │ │ │ └── resources │ │ │ │ ├── f.js │ │ │ │ ├── m.js │ │ │ │ ├── n.js │ │ │ │ └── template-objects.js │ │ │ ├── UnicodeEscapeSequence │ │ │ └── Simple.js │ │ │ ├── Yield │ │ │ ├── Arguments.js │ │ │ ├── BadIterable.js │ │ │ ├── BinaryOperator.js │ │ │ ├── Break.js │ │ │ ├── BreakForOf.js │ │ │ ├── CommaOperator.js │ │ │ ├── Continue.js │ │ │ ├── DefaultArguments.js │ │ │ ├── DoGenerator.js │ │ │ ├── DoWhileStatementWithYield.js │ │ │ ├── EmptyGenerator.js │ │ │ ├── Finally.js │ │ │ ├── ForEmptyGenerator.js │ │ │ ├── ForGenerator.js │ │ │ ├── ForInGenerator.js │ │ │ ├── ForInGenerator2.js │ │ │ ├── ForInGenerator3.js │ │ │ ├── ForLexicallyNestedGenerator.js │ │ │ ├── ForMissingParts.js │ │ │ ├── ForOfGenerator.js │ │ │ ├── ForOfIteratorException.js │ │ │ ├── ForStatement.js │ │ │ ├── FunctionDeclaration.js │ │ │ ├── GeneratorReturn.js │ │ │ ├── GeneratorSend.js │ │ │ ├── GeneratorThrow.js │ │ │ ├── GeneratorWithoutYieldOrReturn.js │ │ │ ├── Hoisting.js │ │ │ ├── HoistingBlockbinding.js │ │ │ ├── IfGenerator.js │ │ │ ├── IfStatementWithYield.js │ │ │ ├── LabelledBlockGenerator.js │ │ │ ├── LabelledBreakGenerator.js │ │ │ ├── MapFilterGenerator.js │ │ │ ├── ObjectModel.js │ │ │ ├── OverrideGenerator.js │ │ │ ├── ReturnCatch.js │ │ │ ├── ReturnGenerator.js │ │ │ ├── ReturnInFinally.js │ │ │ ├── ReturnYield.js │ │ │ ├── ReturnYieldFor.js │ │ │ ├── SequenceGenerator.js │ │ │ ├── SimpleGenerator.js │ │ │ ├── StatementTestGenerator.js │ │ │ ├── SwitchGenerator.js │ │ │ ├── SwitchStatementWithYield.js │ │ │ ├── This.js │ │ │ ├── ThrowInCatch.js │ │ │ ├── ThrowInIterator.js │ │ │ ├── Tree.js │ │ │ ├── Try.js │ │ │ ├── Try10.js │ │ │ ├── Try11.js │ │ │ ├── Try12.js │ │ │ ├── Try2.js │ │ │ ├── Try3.js │ │ │ ├── Try4.js │ │ │ ├── Try5.js │ │ │ ├── Try6.js │ │ │ ├── Try7.js │ │ │ ├── Try8.js │ │ │ ├── Try9.js │ │ │ ├── TryCatchGenerator.js │ │ │ ├── TryCatchYieldGenerator.js │ │ │ ├── TryFinallyGenerator.js │ │ │ ├── WhileGenerator.js │ │ │ ├── WhileStatementWithYield.js │ │ │ ├── YieldAssignThrow.js │ │ │ ├── YieldIdentifier.js │ │ │ ├── YieldInFinally.js │ │ │ ├── YieldNoExpression.js │ │ │ ├── YieldUndefinedGenerator.js │ │ │ ├── YieldYield.js │ │ │ └── tryFinallyFinallyGenerator.js │ │ │ └── options.json │ │ └── traceur.js ├── babel-preset-react │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── babel-preset-stage-0 │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── babel-preset-stage-1 │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── babel-preset-stage-2 │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── babel-preset-stage-3 │ ├── .npmignore │ ├── README.md │ ├── index.js │ └── package.json ├── babel-register │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ ├── browser.js │ │ ├── cache.js │ │ └── node.js ├── babel-runtime │ ├── .npmignore │ ├── README.md │ ├── core-js.js │ ├── package.json │ ├── regenerator │ │ └── index.js │ └── scripts │ │ └── build-dist.js ├── babel-template │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ └── index.js │ └── test │ │ └── index.js ├── babel-traverse │ ├── .npmignore │ ├── README.md │ ├── package.json │ ├── src │ │ ├── cache.js │ │ ├── context.js │ │ ├── hub.js │ │ ├── index.js │ │ ├── path │ │ │ ├── ancestry.js │ │ │ ├── comments.js │ │ │ ├── context.js │ │ │ ├── conversion.js │ │ │ ├── evaluation.js │ │ │ ├── family.js │ │ │ ├── index.js │ │ │ ├── inference │ │ │ │ ├── index.js │ │ │ │ ├── inferer-reference.js │ │ │ │ └── inferers.js │ │ │ ├── introspection.js │ │ │ ├── lib │ │ │ │ ├── hoister.js │ │ │ │ ├── removal-hooks.js │ │ │ │ └── virtual-types.js │ │ │ ├── modification.js │ │ │ ├── removal.js │ │ │ └── replacement.js │ │ ├── scope │ │ │ ├── binding.js │ │ │ ├── index.js │ │ │ └── lib │ │ │ │ └── renamer.js │ │ └── visitors.js │ └── test │ │ ├── evaluation.js │ │ ├── inference.js │ │ ├── scope.js │ │ └── traverse.js ├── babel-types │ ├── .npmignore │ ├── README.md │ ├── package.json │ └── src │ │ ├── constants.js │ │ ├── converters.js │ │ ├── definitions │ │ ├── core.js │ │ ├── es2015.js │ │ ├── experimental.js │ │ ├── flow.js │ │ ├── index.js │ │ ├── init.js │ │ ├── jsx.js │ │ └── misc.js │ │ ├── flow.js │ │ ├── index.js │ │ ├── react.js │ │ ├── retrievers.js │ │ └── validators.js └── babel │ ├── .npmignore │ ├── README.md │ ├── cli.js │ ├── index.js │ └── package.json ├── scripts ├── _get-test-directories.sh ├── add-module-exports.js ├── build-website.sh ├── generate-babel-types-docs.js ├── generate-interfaces.js ├── grant-npm-owner.sh ├── test-cov.sh └── test.sh └── test ├── mocha.opts └── warning.js /.istanbul.yml: -------------------------------------------------------------------------------- 1 | instrumentation: 2 | root: . 3 | excludes: "**/node_modules/**" 4 | -------------------------------------------------------------------------------- /NPM_OWNERS: -------------------------------------------------------------------------------- 1 | sebmck 2 | thejameskyle 3 | amasad 4 | -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | 6.10.1 -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- 1 | machine: 2 | node: 3 | version: 4 | 0.10.0 5 | 6 | test: 7 | override: 8 | - make test-ci 9 | -------------------------------------------------------------------------------- /doc/api/node-path.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yyx990803/babel/4a262be43625354c43dc8cf47cb9b7672dc90c5a/doc/api/node-path.md -------------------------------------------------------------------------------- /doc/api/scope.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yyx990803/babel/4a262be43625354c43dc8cf47cb9b7672dc90c5a/doc/api/scope.md -------------------------------------------------------------------------------- /doc/ast/flow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yyx990803/babel/4a262be43625354c43dc8cf47cb9b7672dc90c5a/doc/ast/flow.md -------------------------------------------------------------------------------- /doc/ast/jsx.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yyx990803/babel/4a262be43625354c43dc8cf47cb9b7672dc90c5a/doc/ast/jsx.md -------------------------------------------------------------------------------- /doc/design/versioning.md: -------------------------------------------------------------------------------- 1 | # How does Babel versioning work? 2 | 3 | ## Does Babel follow semver? 4 | 5 | Yes. 6 | -------------------------------------------------------------------------------- /packages/README.md: -------------------------------------------------------------------------------- 1 | # Woah, what's going on here? 2 | 3 | A monorepo, muhahahahahaha. See the [monorepo design doc](/doc/design/monorepo.md) for reasoning. 4 | -------------------------------------------------------------------------------- /packages/babel-cli/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-cli/bin/babel-doctor.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require("../lib/babel-doctor"); 4 | -------------------------------------------------------------------------------- /packages/babel-cli/bin/babel-external-helpers.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require("../lib/babel-external-helpers"); 4 | -------------------------------------------------------------------------------- /packages/babel-cli/bin/babel-node.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require("../lib/babel-node"); 4 | -------------------------------------------------------------------------------- /packages/babel-cli/bin/babel.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require("../lib/babel"); 4 | -------------------------------------------------------------------------------- /packages/babel-cli/index.js: -------------------------------------------------------------------------------- 1 | throw new Error("Use the `babel-core` package not `babel`."); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/scripts/bootstrap.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | npm link babel-core 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/.babelrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-external-helpers/--output-type global/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--whitelist", "nonexistent"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-external-helpers/--output-type var/stdout.txt: -------------------------------------------------------------------------------- 1 | var babelHelpers = {}; 2 | babelHelpers; 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-external-helpers/--whitelist/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--whitelist", "createClass"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/--extensions/in-files/foo.bar: -------------------------------------------------------------------------------- 1 | console.log([1, 2, 3].map(x => x * x)); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/--extensions/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["foo", "--extensions", ".bar"], 3 | "stdout": "[ 1, 4, 9 ]" 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/directory/in-files/foo/index.js: -------------------------------------------------------------------------------- 1 | var foo = () => console.log("foo"); 2 | foo(); 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/directory/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["foo"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/directory/stdout.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/filename/in-files/bar.js: -------------------------------------------------------------------------------- 1 | var foo = () => console.log("foo"); 2 | foo(); 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/filename/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["bar"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/filename/stdout.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/require/in-files/bar2.js: -------------------------------------------------------------------------------- 1 | var bar = () => console.log("bar"); 2 | bar(); 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/require/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["foo2"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel-node/require/stdout.txt: -------------------------------------------------------------------------------- 1 | bar 2 | foo 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--ignore/in-files/src/bar/index.js: -------------------------------------------------------------------------------- 1 | bar; 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--ignore/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["src", "--out-dir", "lib", "--ignore", "src/foo/*"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--ignore/out-files/lib/bar/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | bar; 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--ignore/stdout.txt: -------------------------------------------------------------------------------- 1 | src/bar/index.js -> lib/bar/index.js 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--only/in-files/src/bar/index.js: -------------------------------------------------------------------------------- 1 | bar; 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--only/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["src", "--out-dir", "lib", "--only", "src/bar/*"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--only/out-files/lib/bar/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | bar; 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/--only/stdout.txt: -------------------------------------------------------------------------------- 1 | src/bar/index.js -> lib/bar/index.js 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/.stdin --out-file --source-maps/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--source-maps", "--out-file", "test.js"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/.stdin --out-file --source-maps/stdin.txt: -------------------------------------------------------------------------------- 1 | arr.map(x => x * x); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/.stdin --source-maps inline/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--source-maps", "inline"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/.stdin --source-maps inline/stdin.txt: -------------------------------------------------------------------------------- 1 | arr.map(x => x * x); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps inline/in-files/src/bar/bar.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps inline/in-files/src/foo.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps inline/stdout.txt: -------------------------------------------------------------------------------- 1 | src/bar/bar.js -> lib/bar/bar.js 2 | src/foo.js -> lib/foo.js 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps/in-files/src/bar/bar.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps/in-files/src/foo.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["src", "--source-maps", "--out-dir", "lib"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir --source-maps/stdout.txt: -------------------------------------------------------------------------------- 1 | src/bar/bar.js -> lib/bar/bar.js 2 | src/foo.js -> lib/foo.js 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir/in-files/src/bar/bar.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir/in-files/src/foo.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["src", "--out-dir", "lib"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir/out-files/lib/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | arr.map(function (x) { 4 | return x * MULTIPLIER; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/dir --out-dir/stdout.txt: -------------------------------------------------------------------------------- 1 | src/bar/bar.js -> lib/bar/bar.js 2 | src/foo.js -> lib/foo.js 3 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filename --out-file --source-maps inline/in-files/script.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filename --out-file/in-files/script.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filename --out-file/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["script.js", "--out-file", "script2.js"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filename-sourcemap --out-file --source-maps inline/in-files/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "inlineSourceMap": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/in-files/script.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps inline/in-files/script2.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/in-files/script.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file --source-maps/in-files/script2.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file/in-files/script.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file/in-files/script2.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/filenames --out-file/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["script.js", "script2.js", "--out-file", "script3.js"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --filename/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--filename", "test.js"], 3 | "stderrContains": true 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --filename/stderr.txt: -------------------------------------------------------------------------------- 1 | SyntaxError: test.js: Unexpected token (2:10) 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --filename/stdin.txt: -------------------------------------------------------------------------------- 1 | arr.map(function () { 2 | return $]!; 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --out-file/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "args": ["--out-file", "script.js"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --out-file/out-files/script.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | arr.map(function (x) { 4 | return x * MULTIPLIER; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin --out-file/stdin.txt: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin/stdin.txt: -------------------------------------------------------------------------------- 1 | arr.map(x => x * MULTIPLIER); 2 | -------------------------------------------------------------------------------- /packages/babel-cli/test/fixtures/babel/stdin/stdout.txt: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | arr.map(function (x) { 4 | return x * MULTIPLIER; 5 | }); 6 | -------------------------------------------------------------------------------- /packages/babel-code-frame/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-core/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("./lib/api/node.js"); 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/.babelrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/api/file.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/browserify/register.js: -------------------------------------------------------------------------------- 1 | require("../../../register")({ 2 | ignore: false 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/resolution/resolve-addons-relative-to-file/.gitignore: -------------------------------------------------------------------------------- 1 | !node_modules/ 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/resolution/resolve-addons-relative-to-file/actual.js: -------------------------------------------------------------------------------- 1 | var x = "before"; 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/resolution/resolve-addons-relative-to-file/expected.js: -------------------------------------------------------------------------------- 1 | var x = "AFTER"; 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/errors/syntax/actual.js: -------------------------------------------------------------------------------- 1 | arr.map(function () { 2 | return $]!; 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/errors/syntax/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token (2:10)" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/enforce-newline-modules-blacklist/actual.js: -------------------------------------------------------------------------------- 1 | export function foo() {} 2 | 3 | export function bar() {} 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/enforce-newline-modules-blacklist/expected.js: -------------------------------------------------------------------------------- 1 | export function foo() {} 2 | 3 | export function bar() {} 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/regression-1130/actual.js: -------------------------------------------------------------------------------- 1 | function A() { 2 | let a; 3 | } 4 | 5 | function B() { 6 | let a; 7 | } 8 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/regression-1130/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-block-scoping"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/regression-1149/actual.js: -------------------------------------------------------------------------------- 1 | function foo(bar) { 2 | var bar = bar[0]; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/regression-1149/expected.js: -------------------------------------------------------------------------------- 1 | function foo(bar) { 2 | var bar = bar[0]; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/regression-1168/actual.js: -------------------------------------------------------------------------------- 1 | function test(x: string = "hi"): string { 2 | return x; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/shebang/actual.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | foobar(); 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/misc/shebang/expected.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | 4 | foobar(); 5 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | var t = x => x * x; 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/arrow-function/expected.js: -------------------------------------------------------------------------------- 1 | var t = function t(x) { 2 | return x * x; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/full/actual.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * x); 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/full/expected.js: -------------------------------------------------------------------------------- 1 | arr.map(function (x) { 2 | return x * x; 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/full/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-arrow-functions"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/inline/actual.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * x); 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/input-source-map/expected.js: -------------------------------------------------------------------------------- 1 | var foo = function () { 2 | return 4; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/input-source-map/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "inputSourceMap": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/fixtures/transformation/source-maps/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-core/test/plugins.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-transform-fixture-test-runner")(__dirname + "/fixtures/plugins", "plugins"); 2 | -------------------------------------------------------------------------------- /packages/babel-core/test/transformation.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-transform-fixture-test-runner")(__dirname + "/fixtures/transformation", "transformation"); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/auto-indentation/hard-tab/actual.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar(); 3 | if (foo) { 4 | bar(); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/auto-indentation/hard-tab/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar(); 3 | if (foo) { 4 | bar(); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/auto-indentation/soft-tab-2/actual.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar(); 3 | if (foo) { 4 | bar(); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/auto-indentation/soft-tab-2/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar(); 3 | if (foo) { 4 | bar(); 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-concise-format/actual.js: -------------------------------------------------------------------------------- 1 | { 2 | print("hello"); 3 | // comment 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-concise-format/expected.js: -------------------------------------------------------------------------------- 1 | { print("hello"); // comment 2 | } 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-concise-format/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "concise": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-retainlines-option/actual.js: -------------------------------------------------------------------------------- 1 | { 2 | print("hello"); 3 | // comment 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-retainlines-option/expected.js: -------------------------------------------------------------------------------- 1 | { 2 | print("hello"); 3 | // comment 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment-with-retainlines-option/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "retainLines": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment/actual.js: -------------------------------------------------------------------------------- 1 | // Leading to block 2 | { 3 | print("hello"); 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/block-line-comment/expected.js: -------------------------------------------------------------------------------- 1 | // Leading to block 2 | { 3 | print("hello"); 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/comment-only-with-space/actual.js: -------------------------------------------------------------------------------- 1 | 2 | // from #23 3 | 4 | /**/ 5 | 6 | /* 7 | */ 8 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/comment-only-with-space/expected.js: -------------------------------------------------------------------------------- 1 | 2 | // from #23 3 | 4 | /**/ 5 | 6 | /* 7 | */ 8 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/comment-only/actual.js: -------------------------------------------------------------------------------- 1 | // from #23 2 | /**/ 3 | /* 4 | */ 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/comment-only/expected.js: -------------------------------------------------------------------------------- 1 | // from #23 2 | /**/ 3 | /* 4 | */ 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/comment-statement-with-retainlines-option/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "retainLines": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/do-while-line-comment/actual.js: -------------------------------------------------------------------------------- 1 | do { 2 | } // LINE 3 | while (true); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/do-while-line-comment/expected.js: -------------------------------------------------------------------------------- 1 | do {} // LINE 2 | while (true); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/empty/actual.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/empty/expected.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/return-no-argument/actual.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | return; // comment 3 | }()); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/return-no-argument/expected.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | return; // comment 3 | })(); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/simple-line-comment/actual.js: -------------------------------------------------------------------------------- 1 | // Leading 2 | var i = 20; 3 | // Trailing 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/simple-line-comment/expected.js: -------------------------------------------------------------------------------- 1 | // Leading 2 | var i = 20; 3 | // Trailing 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/simple-statement-comment/actual.js: -------------------------------------------------------------------------------- 1 | ; // Trailing 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/comments/simple-statement-comment/expected.js: -------------------------------------------------------------------------------- 1 | ; // Trailing 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/assignment/actual.js: -------------------------------------------------------------------------------- 1 | x = 1; 2 | var { y = 1 } = obj; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/assignment/expected.js: -------------------------------------------------------------------------------- 1 | x=1;var {y=1}=obj; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/binary-expressions/expected.js: -------------------------------------------------------------------------------- 1 | 1*1;1&&1;1+ +1;x+ ++y;a+ +b*2;a+ +b*2*2*2;a- -b;1+-b;1- --b;a- -b*2;1- --t*t; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "compact": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/single-line-comment/actual.js: -------------------------------------------------------------------------------- 1 | // foo 2 | bar(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/single-line-comment/expected.js: -------------------------------------------------------------------------------- 1 | // foo 2 | bar(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/while/actual.js: -------------------------------------------------------------------------------- 1 | while(true) x(); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/compact/while/expected.js: -------------------------------------------------------------------------------- 1 | while(true)x(); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/bitwise-precedence/actual.js: -------------------------------------------------------------------------------- 1 | x | y ^ z; 2 | x | (y ^ z); 3 | (x | y) ^ z; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/bitwise-precedence/expected.js: -------------------------------------------------------------------------------- 1 | x | y ^ z; 2 | x | y ^ z; 3 | (x | y) ^ z; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/floating-point/actual.js: -------------------------------------------------------------------------------- 1 | 1.1.valueOf(); 2 | (1e+300).valueOf(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/floating-point/expected.js: -------------------------------------------------------------------------------- 1 | 1.1.valueOf(); 2 | 1e+300.valueOf(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/for-loop-in/actual.js: -------------------------------------------------------------------------------- 1 | for ((a in b) ? a : b; i;); 2 | for (function(){for(;;);} && (a in b);;); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/one-property-with-line-terminator/actual.js: -------------------------------------------------------------------------------- 1 | dejavu.Class.declare({ 2 | method2: function () {} 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/one-property-with-line-terminator/expected.js: -------------------------------------------------------------------------------- 1 | dejavu.Class.declare({ 2 | method2: function () {} 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/return-with-retainlines-and-compact-option/expected.js: -------------------------------------------------------------------------------- 1 | function foo(l){ 2 | return ( 3 | 4 | l);} 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/return-with-retainlines-option/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "retainLines": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/unary-op/actual.js: -------------------------------------------------------------------------------- 1 | delete delete i; 2 | + +i; 3 | !!i; 4 | + ++i; 5 | - --i; 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/edgecase/unary-op/expected.js: -------------------------------------------------------------------------------- 1 | delete delete i; 2 | + +i; 3 | !!i; 4 | + ++i; 5 | - --i; 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/boolean-literal-types/actual.js: -------------------------------------------------------------------------------- 1 | var foo: true; 2 | var bar: false; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/boolean-literal-types/expected.js: -------------------------------------------------------------------------------- 1 | var foo: true; 2 | var bar: false; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/def-site-variance/actual.js: -------------------------------------------------------------------------------- 1 | class C<+T, -U> {} 2 | function f<+T, -U>() {} 3 | type T<+T, -U> = {}; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/def-site-variance/expected.js: -------------------------------------------------------------------------------- 1 | class C<+T, -U> {} 2 | function f<+T, -U>() {} 3 | type T<+T, -U> = {}; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/null-literal-types/actual.js: -------------------------------------------------------------------------------- 1 | var foo: null; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/null-literal-types/expected.js: -------------------------------------------------------------------------------- 1 | var foo: null; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/qualified-generic-type/actual.js: -------------------------------------------------------------------------------- 1 | var a: A.B; 2 | var a: A.B.C; 3 | var a: A.B; 4 | var a: typeof A.B; 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/qualified-generic-type/expected.js: -------------------------------------------------------------------------------- 1 | var a: A.B; 2 | var a: A.B.C; 3 | var a: A.B; 4 | var a: typeof A.B; 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/this-types/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | bar(): this { 3 | return this; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/flow/this-types/expected.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | bar(): this { 3 | return this; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/harmony-edgecase/export-default-declaration/actual.js: -------------------------------------------------------------------------------- 1 | export default function a () { } 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/harmony-edgecase/export-default-declaration/expected.js: -------------------------------------------------------------------------------- 1 | export default function a() {} 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/minified/labeled-statement/expected.js: -------------------------------------------------------------------------------- 1 | function x(){return-1;return--i;return!2;return void 0}throw-1; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/minified/literals/expected.js: -------------------------------------------------------------------------------- 1 | 5;5;"foobar";" ";"\n\r";"😂";/foobar/g;null;true;false;5;2;56;31; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/minified/new-expression/expected.js: -------------------------------------------------------------------------------- 1 | new X;new Y()();new F().z;new new x();new new x()(a);new new x(a);new new x(a)(a); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/minified/no-semicolon/expected.js: -------------------------------------------------------------------------------- 1 | function foo(){var x=1;y();if(bar){baz()}return}function bar(){for(;;);} 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/minified/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "minified": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | foo || (bar => bar()); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/arrow-function/expected.js: -------------------------------------------------------------------------------- 1 | foo || (bar => bar()); 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/assignment-expression/actual.js: -------------------------------------------------------------------------------- 1 | 1 + (a = 2); 2 | 1 + (a += 2); 3 | a = a || (a = {}); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/assignment-expression/expected.js: -------------------------------------------------------------------------------- 1 | 1 + (a = 2); 2 | 1 + (a += 2); 3 | a = a || (a = {}); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/expression/actual.js: -------------------------------------------------------------------------------- 1 | a && (a.b && a.b.c()) && function() {}() && {a: 1}.a 2 | !function () {}(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/expression/expected.js: -------------------------------------------------------------------------------- 1 | a && a.b && a.b.c() && function () {}() && { a: 1 }.a; 2 | !function () {}(); 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/object/actual.js: -------------------------------------------------------------------------------- 1 | ({}) === foo; 2 | ({}) && foo; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/object/expected.js: -------------------------------------------------------------------------------- 1 | ({}) === foo; 2 | ({}) && foo; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/unary-arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | void (() => {}); 2 | typeof (() => {}); 3 | !(() => {}); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/parentheses/unary-arrow-function/expected.js: -------------------------------------------------------------------------------- 1 | void (() => {}); 2 | typeof (() => {}); 3 | !(() => {}); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/AssignmentExpression-BinaryExpression-LogicalExpression/actual.js: -------------------------------------------------------------------------------- 1 | foo === bar; 2 | foo + bar; 3 | foo = bar; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/AssignmentExpression-BinaryExpression-LogicalExpression/expected.js: -------------------------------------------------------------------------------- 1 | foo === bar; 2 | foo + bar; 3 | foo = bar; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/AwaitExpression/actual.js: -------------------------------------------------------------------------------- 1 | async function foo() { 2 | await bar(); 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/AwaitExpression/expected.js: -------------------------------------------------------------------------------- 1 | async function foo() { 2 | await bar(); 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/BindExpression/actual.js: -------------------------------------------------------------------------------- 1 | ::foo.bar.foo; 2 | ::foo.bar["foo"]; 3 | 4 | ctx::foo.bar.foo; 5 | ctx::foo.bar["foo"]; 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/BlockStatement/actual.js: -------------------------------------------------------------------------------- 1 | {} 2 | 3 | { 4 | foo(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/BlockStatement/expected.js: -------------------------------------------------------------------------------- 1 | {} 2 | 3 | { 4 | foo(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/CallExpression/actual.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | foo("foo"); 3 | foo("foo", "bar"); 4 | foo(bar()); 5 | foo(bar("test")); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/CallExpression/expected.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | foo("foo"); 3 | foo("foo", "bar"); 4 | foo(bar()); 5 | foo(bar("test")); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ClassDeclaration/actual.js: -------------------------------------------------------------------------------- 1 | var foo = class Foo {}; 2 | var foo = class Foo extends Bar {}; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ClassDeclaration/expected.js: -------------------------------------------------------------------------------- 1 | var foo = class Foo {}; 2 | var foo = class Foo extends Bar {}; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ClassExpression/actual.js: -------------------------------------------------------------------------------- 1 | class Foo {} 2 | class Foo extends Bar {} 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ClassExpression/expected.js: -------------------------------------------------------------------------------- 1 | class Foo {} 2 | class Foo extends Bar {} 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ConditionalExpression/actual.js: -------------------------------------------------------------------------------- 1 | foo ? foo : bar; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ConditionalExpression/expected.js: -------------------------------------------------------------------------------- 1 | foo ? foo : bar; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/DebuggerStatement/actual.js: -------------------------------------------------------------------------------- 1 | debugger; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/DebuggerStatement/expected.js: -------------------------------------------------------------------------------- 1 | debugger; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/DoWhileStatement/actual.js: -------------------------------------------------------------------------------- 1 | do { 2 | test(); 3 | } while (true); 4 | 5 | do {} while (true); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/DoWhileStatement/expected.js: -------------------------------------------------------------------------------- 1 | do { 2 | test(); 3 | } while (true); 4 | 5 | do {} while (true); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/EmptyStatement/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/EmptyStatement/expected.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ForOfStatement/actual.js: -------------------------------------------------------------------------------- 1 | for (var x of nums) {} 2 | 3 | for (var x of nums) { 4 | console.log(x * x); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ForOfStatement/expected.js: -------------------------------------------------------------------------------- 1 | for (var x of nums) {} 2 | 3 | for (var x of nums) { 4 | console.log(x * x); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ForStatement/actual.js: -------------------------------------------------------------------------------- 1 | for (var i = 0;;) {} 2 | for (var i = 0; i < 5;) {} 3 | for (var i = 0; i < 5; i++) {} 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ForStatement/expected.js: -------------------------------------------------------------------------------- 1 | for (var i = 0;;) {} 2 | for (var i = 0; i < 5;) {} 3 | for (var i = 0; i < 5; i++) {} 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/Identifier/actual.js: -------------------------------------------------------------------------------- 1 | foo; 2 | undefined; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/Identifier/expected.js: -------------------------------------------------------------------------------- 1 | foo; 2 | undefined; 3 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/LabeledStatement/actual.js: -------------------------------------------------------------------------------- 1 | label: for (var i in test) {} 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/LabeledStatement/expected.js: -------------------------------------------------------------------------------- 1 | label: for (var i in test) {} 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/NewExpression/actual.js: -------------------------------------------------------------------------------- 1 | new Foo; 2 | new Foo(); 3 | new Foo(bar); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/NewExpression/expected.js: -------------------------------------------------------------------------------- 1 | new Foo(); 2 | new Foo(); 3 | new Foo(bar); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/SequenceExpression/actual.js: -------------------------------------------------------------------------------- 1 | foo, bar; 2 | 3 | foo, 4 | bar; 5 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/SequenceExpression/expected.js: -------------------------------------------------------------------------------- 1 | foo, bar; 2 | 3 | foo, bar; 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/SpreadElement-SpreadProperty/actual.js: -------------------------------------------------------------------------------- 1 | [...foo]; 2 | foo(bar, ...items); 3 | new Foo(...foo); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/SpreadElement-SpreadProperty/expected.js: -------------------------------------------------------------------------------- 1 | [...foo]; 2 | foo(bar, ...items); 3 | new Foo(...foo); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ThisExpression/actual.js: -------------------------------------------------------------------------------- 1 | this; 2 | this.foo; 3 | this["foo"]; 4 | this.foo(); 5 | this["foo"](); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ThisExpression/expected.js: -------------------------------------------------------------------------------- 1 | this; 2 | this.foo; 3 | this["foo"]; 4 | this.foo(); 5 | this["foo"](); 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ThrowStatement/actual.js: -------------------------------------------------------------------------------- 1 | throw err; 2 | throw Error("foobar"); 3 | throw new Error("foobar"); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/ThrowStatement/expected.js: -------------------------------------------------------------------------------- 1 | throw err; 2 | throw Error("foobar"); 3 | throw new Error("foobar"); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/UpdateExpression/actual.js: -------------------------------------------------------------------------------- 1 | ++i; 2 | i++; 3 | (foo++).test(); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/UpdateExpression/expected.js: -------------------------------------------------------------------------------- 1 | ++i; 2 | i++; 3 | (foo++).test(); 4 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/WhileStatement/actual.js: -------------------------------------------------------------------------------- 1 | while (foo) {} 2 | 3 | while (foo) { 4 | bar(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/WhileStatement/expected.js: -------------------------------------------------------------------------------- 1 | while (foo) {} 2 | 3 | while (foo) { 4 | bar(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/WithStatement/actual.js: -------------------------------------------------------------------------------- 1 | with (foo) {} 2 | 3 | with (foo) { 4 | bar(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/WithStatement/expected.js: -------------------------------------------------------------------------------- 1 | with (foo) {} 2 | 3 | with (foo) { 4 | bar(); 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSEmptyExpression/actual.js: -------------------------------------------------------------------------------- 1 | {}; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSEmptyExpression/expected.js: -------------------------------------------------------------------------------- 1 | {}; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSExpressionContainer/actual.js: -------------------------------------------------------------------------------- 1 |
{this.props.children}
; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSExpressionContainer/expected.js: -------------------------------------------------------------------------------- 1 |
{this.props.children}
; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSMemberExpression/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSMemberExpression/expected.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSNamespacedName/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSNamespacedName/expected.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSSpreadAttribute/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-generator/test/fixtures/types/XJSSpreadAttribute/expected.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-helper-bindify-decorators/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-bindify-decorators/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-bindify-decorators 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-builder-binary-assignment-operator-visitor/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-builder-conditional-assignment-operator-visitor/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-builder-react-jsx/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-call-delegate/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-call-delegate/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-call-delegate 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-define-map/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-define-map/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-define-map 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-explode-assignable-expression/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-explode-assignable-expression/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-explode-assignable-expression 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-explode-class/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-explode-class/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-explode-class 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-fixtures/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-function-name/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-function-name/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-function-name 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-get-function-arity/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-get-function-arity/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-get-function-arity 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-hoist-variables/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-hoist-variables/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-hoist-variables 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-optimise-call-expression/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-optimise-call-expression/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-optimise-call-expression 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-plugin-test-runner/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-regex/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-regex/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-regex 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-remap-async-to-generator/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-remap-async-to-generator/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-remap-async-to-generator 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-replace-supers/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helper-replace-supers/README.md: -------------------------------------------------------------------------------- 1 | # babel-helper-replace-supers 2 | 3 | ## Usage 4 | 5 | TODO 6 | -------------------------------------------------------------------------------- /packages/babel-helper-transform-fixture-test-runner/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-helpers/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-messages/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/block-scoped/exec.js: -------------------------------------------------------------------------------- 1 | const bar = 123; 2 | { const bar = 456; } 3 | assert.equal(bar, 123); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/destructuring-assignment/actual.js: -------------------------------------------------------------------------------- 1 | const [a, b] = [1, 2]; 2 | a = 3; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/destructuring-assignment/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "\"a\" is read-only" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/flow-declar/actual.js: -------------------------------------------------------------------------------- 1 | declare class foo {} 2 | const foo = 1; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/flow-declar/expected.js: -------------------------------------------------------------------------------- 1 | var foo = 1; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/ignore-member-expressions/actual.js: -------------------------------------------------------------------------------- 1 | const x = {}; 2 | x.key = "value"; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/ignore-member-expressions/expected.js: -------------------------------------------------------------------------------- 1 | var x = {}; 2 | x.key = "value"; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/loop/actual.js: -------------------------------------------------------------------------------- 1 | for (const i = 0; i < 3; i = i + 1) { 2 | console.log(i); 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/loop/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "\"i\" is read-only" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-assignment/actual.js: -------------------------------------------------------------------------------- 1 | const MULTIPLIER = 5; 2 | 3 | MULTIPLIER = "overwrite"; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-assignment/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "\"MULTIPLIER\" is read-only" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-classes/actual.js: -------------------------------------------------------------------------------- 1 | const MULTIPLIER = 5; 2 | 3 | class MULTIPLIER { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-classes/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Duplicate declaration \"MULTIPLIER\"" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-declaration/actual.js: -------------------------------------------------------------------------------- 1 | const MULTIPLIER = 5; 2 | 3 | var MULTIPLIER = "overwrite"; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-declaration/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Duplicate declaration \"MULTIPLIER\"" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-for-in/actual.js: -------------------------------------------------------------------------------- 1 | const MULTIPLIER = 5; 2 | 3 | for (MULTIPLIER in arr); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-for-in/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "\"MULTIPLIER\" is read-only" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-functions/actual.js: -------------------------------------------------------------------------------- 1 | const MULTIPLIER = 5; 2 | 3 | function MULTIPLIER() { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/no-functions/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Duplicate declaration \"MULTIPLIER\"" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/update-expression/actual.js: -------------------------------------------------------------------------------- 1 | const foo = 1; 2 | foo++; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/fixtures/general/update-expression/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "\"foo\" is read-only" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-check-es2015-constants/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-external-helpers/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-async-functions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-async-generators/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-class-constructor-call/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-class-properties/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-decorators/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-do-expressions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-exponentiation-operator/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-export-extensions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-flow/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-function-bind/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-function-sent/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-jsx/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-object-rest-spread/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | (x, y, ) => {}; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/arrow-function/expected.js: -------------------------------------------------------------------------------- 1 | (x, y) => {}; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/call/actual.js: -------------------------------------------------------------------------------- 1 | Math.max(1, 2 | 2, 3 | 3, 4 | ); 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/call/expected.js: -------------------------------------------------------------------------------- 1 | Math.max(1, 2, 3); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/new-expression/actual.js: -------------------------------------------------------------------------------- 1 | new Foo(a, b,); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/fixtures/trailing-function-commas/new-expression/expected.js: -------------------------------------------------------------------------------- 1 | new Foo(a, b); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-syntax-trailing-function-commas/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-functions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/no-parameters-and-no-id/actual.js: -------------------------------------------------------------------------------- 1 | foo(async function () { 2 | 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/parameters/actual.js: -------------------------------------------------------------------------------- 1 | async function foo(bar) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/test/fixtures/export-async/lone-export/actual.js: -------------------------------------------------------------------------------- 1 | export async function foo () { } 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/test/fixtures/regression/T6882/exec.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | 3 | async function foo() {} 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-generator/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-module-method/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-module-method/test/fixtures/bluebird-coroutines/arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | (async () => { await foo(); })() 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-module-method/test/fixtures/bluebird-coroutines/class/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-async-to-module-method/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-constructor-call/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-constructor-call/test/fixtures/class-constructor-call/none/actual.js: -------------------------------------------------------------------------------- 1 | class Foo {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-constructor-call/test/fixtures/class-constructor-call/none/expected.js: -------------------------------------------------------------------------------- 1 | class Foo {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-constructor-call/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/fixtures/general/derived/actual.js: -------------------------------------------------------------------------------- 1 | class Foo extends Bar { 2 | bar = "foo"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/fixtures/general/instance-undefined/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | bar; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/fixtures/general/instance/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | bar = "foo"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/fixtures/general/static-undefined/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static bar; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/fixtures/general/static/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static bar = "foo"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-class-properties/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-decorators/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-decorators/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/test/fixtures/do-expressions/empty.js: -------------------------------------------------------------------------------- 1 | assert.equal(do {}, undefined); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/test/fixtures/do-expressions/if.js: -------------------------------------------------------------------------------- 1 | assert.equal(do { 2 | if (true) { 3 | "bar"; 4 | } 5 | }, "bar"); 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/test/fixtures/do-expressions/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-do-expressions"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/test/fixtures/do-expressions/single-expression.js: -------------------------------------------------------------------------------- 1 | assert.equal(do { 2 | "foo"; 3 | }, "foo"); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-do-expressions/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/empty-arguments/actual.js: -------------------------------------------------------------------------------- 1 | var t = () => 5 + 5; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/empty-block/actual.js: -------------------------------------------------------------------------------- 1 | var t = () => {}; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/empty-block/expected.js: -------------------------------------------------------------------------------- 1 | var t = function () {}; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/expression/actual.js: -------------------------------------------------------------------------------- 1 | arr.map(x => x * x); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/expression/expected.js: -------------------------------------------------------------------------------- 1 | arr.map(function (x) { 2 | return x * x; 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/inside-call/actual.js: -------------------------------------------------------------------------------- 1 | arr.map(i => i + 1); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/inside-call/expected.js: -------------------------------------------------------------------------------- 1 | arr.map(function (i) { 2 | return i + 1; 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/multiple-arguments/actual.js: -------------------------------------------------------------------------------- 1 | var t = (i, x) => i * x; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/paran-insertion/actual.js: -------------------------------------------------------------------------------- 1 | var t = i => i * 5; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/fixtures/arrow-functions/single-argument/actual.js: -------------------------------------------------------------------------------- 1 | var t = (i) => i * 5; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-arrow-functions/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoped-functions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/.fail/assignment.js: -------------------------------------------------------------------------------- 1 | a = 1; 2 | 3 | let a = 2; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/.fail/call.js: -------------------------------------------------------------------------------- 1 | a; 2 | 3 | let a = 1; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/.fail/defaults.js: -------------------------------------------------------------------------------- 1 | function foo(bar = bar2, bar2) {} 2 | 3 | foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/.fail/export.js: -------------------------------------------------------------------------------- 1 | a; 2 | export const a = 1; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/.fail/update.js: -------------------------------------------------------------------------------- 1 | a++; 2 | 3 | let a = 1; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/general/function/actual.js: -------------------------------------------------------------------------------- 1 | function test() { 2 | let foo = "bar"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/general/function/expected.js: -------------------------------------------------------------------------------- 1 | function test() { 2 | var foo = "bar"; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/general/program/actual.js: -------------------------------------------------------------------------------- 1 | let test = "foo"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/general/program/expected.js: -------------------------------------------------------------------------------- 1 | var test = "foo"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/pass/assignment.js: -------------------------------------------------------------------------------- 1 | let a = 1; 2 | a = 2; 3 | assert.equal(a, 2); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/pass/defaults.js: -------------------------------------------------------------------------------- 1 | function foo(bar, bar2 = bar) {} 2 | 3 | foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/pass/export.js: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | a; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/fixtures/pass/update.js: -------------------------------------------------------------------------------- 1 | let a = 1; 2 | a++; 3 | assert.equal(a, 2); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-block-scoping/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/loose/literal-key/actual.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | "bar"() { 3 | 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/loose/super-class/actual.js: -------------------------------------------------------------------------------- 1 | class Test extends Foo { } 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/2941/actual.js: -------------------------------------------------------------------------------- 1 | export default class {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/T2494/actual.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | Foo: class extends Foo {} 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/T6712/actual.js: -------------------------------------------------------------------------------- 1 | class A { 2 | foo() { 3 | const foo = 2; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/export-super-class/actual.js: -------------------------------------------------------------------------------- 1 | export default class extends A {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/inferred-expression-name/actual.js: -------------------------------------------------------------------------------- 1 | var o = { foo: class foo {} }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/instance-getter/actual.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | get test() { 3 | return 5 + 5; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/instance-method/actual.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | test() { 3 | return 5 + 5; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/plain-class/actual.js: -------------------------------------------------------------------------------- 1 | class Test { } 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/fixtures/spec/super-class/actual.js: -------------------------------------------------------------------------------- 1 | class Test extends Foo { } 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-classes/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/argument/actual.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | [bar]: "foobar" 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/assignment/actual.js: -------------------------------------------------------------------------------- 1 | foo = { 2 | [bar]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/coerce/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | foo: "bar", 3 | [bar]: "foo" 4 | }; 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/ignore-symbol/actual.js: -------------------------------------------------------------------------------- 1 | var foo = { 2 | [Symbol.iterator]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/single/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | ["x" + foo]: "heh" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/this/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | ["x" + foo.bar]: "heh" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/two/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | first: "first", 3 | [second]: "second", 4 | }; 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/loose/variable/actual.js: -------------------------------------------------------------------------------- 1 | var foo = { 2 | [bar]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/argument/actual.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | [bar]: "foobar" 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/argument/expected.js: -------------------------------------------------------------------------------- 1 | foo(babelHelpers.defineProperty({}, bar, "foobar")); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/assignment/actual.js: -------------------------------------------------------------------------------- 1 | foo = { 2 | [bar]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/assignment/expected.js: -------------------------------------------------------------------------------- 1 | foo = babelHelpers.defineProperty({}, bar, "foobar"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/ignore-symbol/actual.js: -------------------------------------------------------------------------------- 1 | var foo = { 2 | [Symbol.iterator]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/single/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | ["x" + foo]: "heh" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/single/expected.js: -------------------------------------------------------------------------------- 1 | var obj = babelHelpers.defineProperty({}, "x" + foo, "heh"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/this/actual.js: -------------------------------------------------------------------------------- 1 | var obj = { 2 | ["x" + foo.bar]: "heh" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/this/expected.js: -------------------------------------------------------------------------------- 1 | var obj = babelHelpers.defineProperty({}, "x" + foo.bar, "heh"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/variable/actual.js: -------------------------------------------------------------------------------- 1 | var foo = { 2 | [bar]: "foobar" 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/fixtures/spec/variable/expected.js: -------------------------------------------------------------------------------- 1 | var foo = babelHelpers.defineProperty({}, bar, "foobar"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-computed-properties/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/assignment-expression/actual.js: -------------------------------------------------------------------------------- 1 | console.log([x] = [123]); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/assignment-statement/actual.js: -------------------------------------------------------------------------------- 1 | [a, b] = f(); 2 | ; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/empty-object-pattern/actual.js: -------------------------------------------------------------------------------- 1 | var {} = null; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/export-variable/actual.js: -------------------------------------------------------------------------------- 1 | 2 | export let {a, b, c: {d, e: {f = 4}}} = {}; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/known-array/actual.js: -------------------------------------------------------------------------------- 1 | var z = []; 2 | var [x, ...y] = z; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/known-array/expected.js: -------------------------------------------------------------------------------- 1 | var z = []; 2 | var x = z[0]; 3 | var y = z.slice(1); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/member-expression/actual.js: -------------------------------------------------------------------------------- 1 | [foo.foo, foo.bar] = [1, 2]; 2 | ; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/fixtures/destructuring/object-basic/actual.js: -------------------------------------------------------------------------------- 1 | var coords = [1, 2]; 2 | var { x, y } = coords; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-destructuring/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | src 3 | test 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/combination/dupes/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, a: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/combination/dupes/expected.js: -------------------------------------------------------------------------------- 1 | var x = babelHelpers.defineProperty({ a: 5 }, "a", 6); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/combination/no-dupes/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, b: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/combination/no-dupes/expected.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, b: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/both-quoted/actual.js: -------------------------------------------------------------------------------- 1 | var x = { "a\n b": 5, "a\n b": 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/both-quoted/expected.js: -------------------------------------------------------------------------------- 1 | var x = { "a\n b": 5, ["a\n b"]: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/dupes/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, a: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/dupes/expected.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, ["a"]: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/getter/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, get a() {return 6;} }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/no-dupes/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, b: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/no-dupes/expected.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, b: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/one-quoted/actual.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, "a": 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/one-quoted/expected.js: -------------------------------------------------------------------------------- 1 | var x = { a: 5, ["a"]: 6 }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/fixtures/duplicate-keys/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-duplicate-keys"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-duplicate-keys/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/loose/identifier/actual.js: -------------------------------------------------------------------------------- 1 | for (i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/loose/let/actual.js: -------------------------------------------------------------------------------- 1 | for (let i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/loose/member-expression/actual.js: -------------------------------------------------------------------------------- 1 | for (obj.prop of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/loose/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": [["transform-es2015-for-of", { "loose": true }]] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/loose/var/actual.js: -------------------------------------------------------------------------------- 1 | for (var i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/spec/identifier/actual.js: -------------------------------------------------------------------------------- 1 | for (i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/spec/let/actual.js: -------------------------------------------------------------------------------- 1 | for (let i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/spec/member-expression/actual.js: -------------------------------------------------------------------------------- 1 | for (obj.prop of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/spec/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-for-of"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/fixtures/spec/var/actual.js: -------------------------------------------------------------------------------- 1 | for (var i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-for-of/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/fixtures/function-name/.smoke/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-decorators"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/fixtures/function-name/basic/actual.js: -------------------------------------------------------------------------------- 1 | var g = function () { 2 | doSmth(); 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/fixtures/function-name/basic/expected.js: -------------------------------------------------------------------------------- 1 | var g = function g() { 2 | doSmth(); 3 | }; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/fixtures/function-name/method-definition/actual.js: -------------------------------------------------------------------------------- 1 | ({ x() {} }); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/fixtures/function-name/method-definition/expected.js: -------------------------------------------------------------------------------- 1 | ({ x() {} }); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-function-name/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-instanceof/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-instanceof/test/fixtures/instanceof/instanceof/actual.js: -------------------------------------------------------------------------------- 1 | a instanceof b; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-instanceof/test/fixtures/instanceof/instanceof/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.instanceof(a, b); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-instanceof/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/export-specifier-default/actual.js: -------------------------------------------------------------------------------- 1 | var a = 1; 2 | export { a as default }; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/get-module-name-option/expected.js: -------------------------------------------------------------------------------- 1 | define("my custom module name", [], function () {}); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/imports-glob/actual.js: -------------------------------------------------------------------------------- 1 | import * as foo from "foo"; 2 | 3 | foo; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/imports-mixing/actual.js: -------------------------------------------------------------------------------- 1 | import foo, {baz as xyz} from "foo"; 2 | 3 | foo; 4 | xyz; 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/imports/actual.js: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | import "foo-bar"; 3 | import "./directory/foo-bar"; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/imports/expected.js: -------------------------------------------------------------------------------- 1 | define(["foo", "foo-bar", "./directory/foo-bar"], function () {}); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/module-name/actual.js: -------------------------------------------------------------------------------- 1 | foobar(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/module-name/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "moduleIds": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/fixtures/amd/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers", "transform-es2015-modules-amd"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-amd/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/illegal-export-esmodule-2/actual.js: -------------------------------------------------------------------------------- 1 | export { __esModule }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/illegal-export-esmodule/actual.js: -------------------------------------------------------------------------------- 1 | export var __esModule = false; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/imports-default/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/imports-glob/actual.js: -------------------------------------------------------------------------------- 1 | import * as foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/imports-hoisting/actual.js: -------------------------------------------------------------------------------- 1 | tag`foo`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/imports-mixing/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/module-shadow/actual.js: -------------------------------------------------------------------------------- 1 | export function module() { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/interop/overview/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/regression/T7160/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/regression/T7199/actual.js: -------------------------------------------------------------------------------- 1 | import foo from 'foo'; 2 | const [x] = bar; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/regression/T7272/actual.js: -------------------------------------------------------------------------------- 1 | export const state = (state) => state.a 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/regression/T7272/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-1/actual.js: -------------------------------------------------------------------------------- 1 | export default foo; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-1/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.default = foo; -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-2/actual.js: -------------------------------------------------------------------------------- 1 | export { foo as default }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-2/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.default = foo; -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export-all/actual.js: -------------------------------------------------------------------------------- 1 | export * from 'mod'; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export/actual.js: -------------------------------------------------------------------------------- 1 | export function foo() {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/fixtures/strict/export/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | exports.foo = foo; 4 | function foo() {} -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-commonjs/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-systemjs/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-systemjs/test/fixtures/systemjs/imports-glob/actual.js: -------------------------------------------------------------------------------- 1 | import * as foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-systemjs/test/fixtures/systemjs/imports-mixing/actual.js: -------------------------------------------------------------------------------- 1 | import foo, {baz as xyz} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-systemjs/test/fixtures/systemjs/module-name/actual.js: -------------------------------------------------------------------------------- 1 | export var name = __moduleName; -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-systemjs/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/imports-glob/actual.js: -------------------------------------------------------------------------------- 1 | import * as foo from "foo"; 2 | 3 | foo; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/imports-mixing/actual.js: -------------------------------------------------------------------------------- 1 | import foo, {baz as xyz} from "foo"; 2 | xyz; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/imports/actual.js: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | import "foo-bar"; 3 | import "./directory/foo-bar"; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/module-id/actual.js: -------------------------------------------------------------------------------- 1 | foobar(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/module-id/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "moduleId": "MyLib" 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/module-name/actual.js: -------------------------------------------------------------------------------- 1 | foobar(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/module-name/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "moduleIds": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/non-default-imports/actual.js: -------------------------------------------------------------------------------- 1 | import { render } from "./lib/render"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["external-helpers", "transform-es2015-modules-umd"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/fixtures/umd/override-import-name/actual.js: -------------------------------------------------------------------------------- 1 | import "babel-template"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-modules-umd/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-object-super/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-object-super/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-parameters/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-parameters/test/fixtures/parameters/default-before-last/actual.js: -------------------------------------------------------------------------------- 1 | function foo(a = "foo", b) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-parameters/test/fixtures/parameters/rest-binding-deoptimisation/actual.js: -------------------------------------------------------------------------------- 1 | const deepAssign = (...args) => args = []; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-parameters/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/fixtures/shorthand-properties/shorthand-mixed/actual.js: -------------------------------------------------------------------------------- 1 | var coords = { x, y, foo: "bar" }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/fixtures/shorthand-properties/shorthand-multiple/actual.js: -------------------------------------------------------------------------------- 1 | var coords = { x, y }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/fixtures/shorthand-properties/shorthand-multiple/expected.js: -------------------------------------------------------------------------------- 1 | var coords = { x: x, y: y }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/fixtures/shorthand-properties/shorthand-single/actual.js: -------------------------------------------------------------------------------- 1 | var coords = { x }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/fixtures/shorthand-properties/shorthand-single/expected.js: -------------------------------------------------------------------------------- 1 | var coords = { x: x }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-shorthand-properties/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/array-literal-first/actual.js: -------------------------------------------------------------------------------- 1 | var lyrics = [...parts, "head", "and", "toes"]; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/array-literal-middle/actual.js: -------------------------------------------------------------------------------- 1 | var a = [b, ...c, d]; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/array-literal-middle/expected.js: -------------------------------------------------------------------------------- 1 | var a = [b].concat(babelHelpers.toConsumableArray(c), [d]); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/array-literal-multiple/actual.js: -------------------------------------------------------------------------------- 1 | var a = [b, ...c, d, e, ...f]; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/array-literals/actual.js: -------------------------------------------------------------------------------- 1 | var lyrics = ["head", "and", "toes", ...parts]; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/contexted-computed-method-call-multiple-args/actual.js: -------------------------------------------------------------------------------- 1 | obj[method](foo, bar, ...args); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/contexted-computed-method-call-single-arg/actual.js: -------------------------------------------------------------------------------- 1 | obj[method](...args); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/known-rest/actual.js: -------------------------------------------------------------------------------- 1 | function foo(...bar) { 2 | return [...bar]; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-array-literal/actual.js: -------------------------------------------------------------------------------- 1 | f(...[1, 2, 3]); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-array-literal/expected.js: -------------------------------------------------------------------------------- 1 | f.apply(undefined, [1, 2, 3]); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-first/actual.js: -------------------------------------------------------------------------------- 1 | add(...numbers, foo, bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-middle/actual.js: -------------------------------------------------------------------------------- 1 | add(foo, ...numbers, bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-multiple-args/actual.js: -------------------------------------------------------------------------------- 1 | add(foo, bar, ...numbers); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-multiple/actual.js: -------------------------------------------------------------------------------- 1 | add(foo, ...numbers, bar, what, ...test); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/method-call-single-arg/actual.js: -------------------------------------------------------------------------------- 1 | add(...numbers); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/new-expression/actual.js: -------------------------------------------------------------------------------- 1 | new Numbers(...nums); 2 | new Numbers(1, ...nums); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/single/actual.js: -------------------------------------------------------------------------------- 1 | [...foo]; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/fixtures/spread/single/expected.js: -------------------------------------------------------------------------------- 1 | [].concat(babelHelpers.toConsumableArray(foo)); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-spread/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/fixtures/sticky-regex/basic/actual.js: -------------------------------------------------------------------------------- 1 | var re = /o+/y; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/fixtures/sticky-regex/basic/expected.js: -------------------------------------------------------------------------------- 1 | var re = new RegExp("o+", "y"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/fixtures/sticky-regex/ignore-non-sticky/actual.js: -------------------------------------------------------------------------------- 1 | var re = /o+/; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/fixtures/sticky-regex/ignore-non-sticky/expected.js: -------------------------------------------------------------------------------- 1 | var re = /o+/; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/fixtures/sticky-regex/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-sticky-regex"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-sticky-regex/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/escape-quotes/actual.js: -------------------------------------------------------------------------------- 1 | var t = `'${foo}' "${bar}"`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/escape-quotes/expected.js: -------------------------------------------------------------------------------- 1 | var t = "'" + foo + "' \"" + bar + "\""; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/functions/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${_.test(foo)} ${bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/functions/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + _.test(foo) + " " + bar; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/multiline/actual.js: -------------------------------------------------------------------------------- 1 | var o = `wow 2 | this is 3 | actually multiline!`; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/multiline/expected.js: -------------------------------------------------------------------------------- 1 | var o = "wow\nthis is\nactually multiline!"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/multiple/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo} ${bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/multiple/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + foo + " " + bar; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/none/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/none/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/only/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `${test}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/only/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "" + test; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-template-literals"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/single/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/single/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + foo; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/statement/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo + bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/statement/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + (foo + bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/normal/tag/actual.js: -------------------------------------------------------------------------------- 1 | var foo = bar`wow\na${ 42 }b ${_.foobar()}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/escape-quotes/actual.js: -------------------------------------------------------------------------------- 1 | var t = `'${foo}' "${bar}"`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/escape-quotes/expected.js: -------------------------------------------------------------------------------- 1 | var t = "'" + String(foo) + "' \"" + String(bar) + "\""; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/functions/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${_.test(foo)} ${bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/multiline/actual.js: -------------------------------------------------------------------------------- 1 | var o = `wow 2 | this is 3 | actually multiline!`; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/multiline/expected.js: -------------------------------------------------------------------------------- 1 | var o = "wow\nthis is\nactually multiline!"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/multiple/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo} ${bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/multiple/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + String(foo) + " " + String(bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/none/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/none/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/only/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `${test}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/only/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "" + String(test); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/single/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/single/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + String(foo); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/statement/actual.js: -------------------------------------------------------------------------------- 1 | var foo = `test ${foo + bar}`; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/fixtures/spec/statement/expected.js: -------------------------------------------------------------------------------- 1 | var foo = "test " + String(foo + bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-template-literals/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-typeof-symbol/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-typeof-symbol/test/fixtures/symbols/shadow/actual.js: -------------------------------------------------------------------------------- 1 | var Symbol = foo(); 2 | typeof s; 3 | foo(Symbol); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-typeof-symbol/test/fixtures/symbols/shadow/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-typeof-symbol"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-typeof-symbol/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-unicode-regex/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-unicode-regex/test/fixtures/unicode-regex/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-unicode-regex"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es2015-unicode-regex/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es3-member-expression-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es3-member-expression-literals/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es3-property-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es3-property-literals/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es5-property-mutators/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-es5-property-mutators/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-eval/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-exponentiation-operator/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-exponentiation-operator/test/fixtures/exponentian-operator/assignment/actual.js: -------------------------------------------------------------------------------- 1 | var num = 1; 2 | num **= 2; 3 | ; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-exponentiation-operator/test/fixtures/exponentian-operator/binary/actual.js: -------------------------------------------------------------------------------- 1 | 2 ** 2; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-exponentiation-operator/test/fixtures/exponentian-operator/binary/expected.js: -------------------------------------------------------------------------------- 1 | Math.pow(2, 2); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-exponentiation-operator/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/test/fixtures/export-extensions/default-compound-es6/actual.js: -------------------------------------------------------------------------------- 1 | export v, { x, y as w } from "mod"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/test/fixtures/export-extensions/default-es6/actual.js: -------------------------------------------------------------------------------- 1 | export foo from "bar"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/test/fixtures/export-extensions/namespace-compound-es6/actual.js: -------------------------------------------------------------------------------- 1 | export v, * as ns from "mod"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/test/fixtures/export-extensions/namespace-es6/actual.js: -------------------------------------------------------------------------------- 1 | export * as foo from "bar"; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-export-extensions/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/optional-parameters/actual.js: -------------------------------------------------------------------------------- 1 | function multiply(num?: number) {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/optional-parameters/expected.js: -------------------------------------------------------------------------------- 1 | function multiply(num /*:: ?: number*/) {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/optional-type/actual.js: -------------------------------------------------------------------------------- 1 | function foo(bar?) {} 2 | function foo2(bar?: string) {} 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-flow-comments"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/type-cast/actual.js: -------------------------------------------------------------------------------- 1 | var a = (y: any); 2 | var a = ((y: foo): any); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/type/actual.js: -------------------------------------------------------------------------------- 1 | function foo(x: number): string {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/fixtures/flow-comments/type/expected.js: -------------------------------------------------------------------------------- 1 | function foo(x /*: number*/) /*: string*/ {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-comments/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/def-site-variance/expected.js: -------------------------------------------------------------------------------- 1 | class C {} 2 | function f() {} 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-call-properties/expected.js: -------------------------------------------------------------------------------- 1 | var a; 2 | var a; 3 | var a; 4 | var a; 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/strip-directive/expected.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @providesModule Foo 3 | * 4 | */ 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/test/fixtures/strip-types/type-comments/expected.js: -------------------------------------------------------------------------------- 1 | var x = 1; 2 | // comment 1 3 | 4 | var y = 2; 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-flow-strip-types/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-function-bind/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-function-bind/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-inline-environment-variables/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-jscript/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-jscript/test/fixtures/jscript/simple-class/actual.js: -------------------------------------------------------------------------------- 1 | class Test { 2 | } 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-jscript/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-member-expression-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-member-expression-literals/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-merge-sibling-variables/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-minify-booleans/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-minify-booleans/test/fixtures/minify-booleans/booleans/actual.js: -------------------------------------------------------------------------------- 1 | true; 2 | false; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-minify-booleans/test/fixtures/minify-booleans/booleans/expected.js: -------------------------------------------------------------------------------- 1 | !0; 2 | !1; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-minify-booleans/test/fixtures/minify-booleans/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-minify-booleans"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-minify-booleans/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-node-env-inline/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-assign/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest-spread/assignment/actual.js: -------------------------------------------------------------------------------- 1 | z = { x, ...y }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest-spread/expression/actual.js: -------------------------------------------------------------------------------- 1 | ({ x, ...y, a, ...b, c }); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest-spread/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-object-rest-spread"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/test/fixtures/object-rest-spread/variable-declaration/actual.js: -------------------------------------------------------------------------------- 1 | var z = { ...x }; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-rest-spread/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-object-set-prototype-of-to-assign/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-property-literals/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-property-literals/test/fixtures/property-literals/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-property-literals"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-property-literals/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-proto-to-assign/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-proto-to-assign/test/fixtures/proto-to-assign/assignment-statement/actual.js: -------------------------------------------------------------------------------- 1 | obj.__proto__ = bar; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-proto-to-assign/test/fixtures/proto-to-assign/assignment-statement/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.defaults(obj, bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-proto-to-assign/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-constant-elements/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-constant-elements/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/assignment-expression/actual.js: -------------------------------------------------------------------------------- 1 | foo = React.createClass({}); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/nested/actual.js: -------------------------------------------------------------------------------- 1 | var foo = bar(React.createClass({})); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/object-property/actual.js: -------------------------------------------------------------------------------- 1 | ({ 2 | foo: React.createClass({}) 3 | }); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-react-display-name"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/variable-declarator/actual.js: -------------------------------------------------------------------------------- 1 | var foo = React.createClass({}); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-display-name/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/children-exists/actual.js: -------------------------------------------------------------------------------- 1 |
bar
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/component-with-props/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/component/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/component/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.jsx(Baz, {}); -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/html-element-with-props/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/html-element/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/html-element/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.jsx("foo", {}); -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/key-computed/actual.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/key/actual.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/multiline/actual.js: -------------------------------------------------------------------------------- 1 | 2 | ; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/multiline/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.jsx(Baz, {}, void 0); -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/nested-html-elements/actual.js: -------------------------------------------------------------------------------- 1 |
{bar}
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/nested/actual.js: -------------------------------------------------------------------------------- 1 |
{bar}
2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/ref-deopt/actual.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/ref-deopt/expected.js: -------------------------------------------------------------------------------- 1 | React.createElement(Foo, { ref: "bar" }); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-component-with-props/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-component/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-component/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.jsx(Baz, {}); -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-html-element-with-props/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-html-element/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/self-closing-html-element/expected.js: -------------------------------------------------------------------------------- 1 | babelHelpers.jsx("foo", {}); -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/shorthand-attributes/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/spread-deopt/actual.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/fixtures/inline-elements/spread-deopt/expected.js: -------------------------------------------------------------------------------- 1 | React.createElement(Foo, bar); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-inline-elements/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-compat/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-compat/test/fixtures/react-compat/convert-tags/actual.js: -------------------------------------------------------------------------------- 1 | var x =
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-compat/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-source/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-source/test/fixtures/react-source/no-jsx/actual.js: -------------------------------------------------------------------------------- 1 | var x = 42; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-source/test/fixtures/react-source/no-jsx/expected.js: -------------------------------------------------------------------------------- 1 | var x = 42; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx-source/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/.should-not-strip-nbsp-even-coupled-with-other-whitespace/actual.js: -------------------------------------------------------------------------------- 1 |
 
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/.should-not-strip-tags-with-a-single-child-of-nbsp/actual.js: -------------------------------------------------------------------------------- 1 |
 
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/jsx-with-retainlines-option/actual.js: -------------------------------------------------------------------------------- 1 | var div =
test
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/jsx-with-retainlines-option/expected.js: -------------------------------------------------------------------------------- 1 | var div = React.createElement("div", null, "test"); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/jsx-with-retainlines-option/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "retainLines": true 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/jsx-without-retainlines-option/actual.js: -------------------------------------------------------------------------------- 1 | var div =
test
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-allow-constructor-as-prop/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-allow-deeper-js-namespacing/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-allow-js-namespacing/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-allow-js-namespacing/blacklist.js: -------------------------------------------------------------------------------- 1 | React.createElement(Namespace.Component, null); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-allow-js-namespacing/expected.js: -------------------------------------------------------------------------------- 1 | React.createElement(Namespace.Component, null); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-convert-simple-tags/actual.js: -------------------------------------------------------------------------------- 1 | var x =
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-convert-simple-tags/expected.js: -------------------------------------------------------------------------------- 1 | var x = React.createElement("div", null); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-convert-simple-text/actual.js: -------------------------------------------------------------------------------- 1 | var x =
text
; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-disallow-xml-namespacing/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-handle-has-own-property-correctly/actual.js: -------------------------------------------------------------------------------- 1 | testing; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-quote-jsx-attributes/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-transform-known-hyphenated-tags/actual.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/fixtures/react/should-transform-known-hyphenated-tags/expected.js: -------------------------------------------------------------------------------- 1 | React.createElement("font-face", null); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-react-jsx/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-regenerator/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /test 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-regenerator/test/fixtures/class-argument-scope/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "es2015" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-regenerator/test/fixtures/regression/T7041/actual.js: -------------------------------------------------------------------------------- 1 | Object.keys({}); 2 | 3 | function * fn(){} 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-regenerator/test/fixtures/regression/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "es2015" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-regenerator/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/expression-nested/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | true; 3 | blah(); 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/expression-top-level/actual.js: -------------------------------------------------------------------------------- 1 | true && console.log("foo"); 2 | blah(); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/expression-top-level/expected.js: -------------------------------------------------------------------------------- 1 | true; 2 | blah(); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-remove-console"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/statement-nested/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | blah(); 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/statement-top-level/actual.js: -------------------------------------------------------------------------------- 1 | console.log("foo"); 2 | blah(); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/fixtures/remove-console/statement-top-level/expected.js: -------------------------------------------------------------------------------- 1 | blah(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-console/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-remove-debugger/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/catch-all/actual.js: -------------------------------------------------------------------------------- 1 | Promise.resolve; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/class/actual.js: -------------------------------------------------------------------------------- 1 | class Foo {} 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/es6-for-of/actual.js: -------------------------------------------------------------------------------- 1 | for (var i of arr) { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/modules/actual.js: -------------------------------------------------------------------------------- 1 | import foo from "bar"; 2 | foo; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-runtime", "transform-regenerator"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/regenerator-runtime/actual.js: -------------------------------------------------------------------------------- 1 | void function* () { 2 | }; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/symbol-iterator-in/actual.js: -------------------------------------------------------------------------------- 1 | Symbol.iterator in Object(arr); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/fixtures/runtime/symbol-iterator/actual.js: -------------------------------------------------------------------------------- 1 | Symbol.iterator; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-runtime/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-simplify-comparison-operators/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-simplify-comparison-operators/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/auxiliary-comment/use-strict-add/actual.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/auxiliary-comment/use-strict-add/expected.js: -------------------------------------------------------------------------------- 1 | /*before*/"use strict"; 2 | 3 | /*after*/foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/leading-comments-with-existing/actual.js: -------------------------------------------------------------------------------- 1 | // comments 2 | module.exports = {}; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/leading-comments/actual.js: -------------------------------------------------------------------------------- 1 | // comments 2 | 3 | module.exports = {}; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-arrow-function/actual.js: -------------------------------------------------------------------------------- 1 | var foo = () => this; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-root-call/actual.js: -------------------------------------------------------------------------------- 1 | this.foo(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-root-call/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | undefined.foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-root-declaration/actual.js: -------------------------------------------------------------------------------- 1 | var self = this; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-root-reference/actual.js: -------------------------------------------------------------------------------- 1 | this; 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/undefined-this-root-reference/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | undefined; 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/use-strict-add/actual.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/use-strict-add/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/use-strict-exists/actual.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | foo(); 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/fixtures/strict-mode/use-strict-exists/expected.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | foo(); 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-strict-mode/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/fixtures/undefined-to-void/basic/actual.js: -------------------------------------------------------------------------------- 1 | var foo; 2 | foo === undefined; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/fixtures/undefined-to-void/basic/expected.js: -------------------------------------------------------------------------------- 1 | var foo; 2 | foo === void 0; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/fixtures/undefined-to-void/member-expression/actual.js: -------------------------------------------------------------------------------- 1 | var foo; 2 | foo === undefined.foo; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/fixtures/undefined-to-void/member-expression/expected.js: -------------------------------------------------------------------------------- 1 | var foo; 2 | foo === (void 0).foo; 3 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/fixtures/undefined-to-void/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-undefined-to-void"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-plugin-transform-undefined-to-void/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-undeclared-variables-check/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.log 3 | src 4 | test 5 | -------------------------------------------------------------------------------- /packages/babel-plugin-undeclared-variables-check/test/fixtures/validation.undeclared-variable-check/undeclared-shorthand-property/exec.js: -------------------------------------------------------------------------------- 1 | ({foo}) 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-undeclared-variables-check/test/fixtures/validation.undeclared-variable-check/undeclared/exec.js: -------------------------------------------------------------------------------- 1 | foo(); 2 | -------------------------------------------------------------------------------- /packages/babel-plugin-undeclared-variables-check/test/index.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-plugin-test-runner")(__dirname); 2 | -------------------------------------------------------------------------------- /packages/babel-polyfill/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-polyfill/README.md: -------------------------------------------------------------------------------- 1 | # babel-polyfill 2 | 3 | -------------------------------------------------------------------------------- /packages/babel-polyfill/scripts/postpublish.js: -------------------------------------------------------------------------------- 1 | rm(__dirname + "/../browser.js"); 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/.babelrc: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/esnext.js: -------------------------------------------------------------------------------- 1 | require("babel-helper-transform-fixture-test-runner")(__dirname + "/fixtures/esnext", "esnext"); 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-arrow-functions/empty-arrow-function.js: -------------------------------------------------------------------------------- 1 | var empty = () => {}; 2 | assert.equal(empty(), undefined); 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-arrow-functions/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-arrow-functions"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-computed-properties/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-computed-properties"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-rest-parameters/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-parameters"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-templates/multi-line.js: -------------------------------------------------------------------------------- 1 | var s = `a 2 | b 3 | c`; 4 | assert.equal(s, 'a\n b\n c'); 5 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-templates/no-interpolation.js: -------------------------------------------------------------------------------- 1 | var s = `str`; 2 | assert.equal(s, 'str'); 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-templates/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["transform-es2015-template-literals"] 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/esnext/es6-templates/simple-interpolation.js: -------------------------------------------------------------------------------- 1 | var s = `1 + 1 = ${1 + 1}`; 2 | assert.equal(s, '1 + 1 = 2'); 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Classes/SemiColon.js: -------------------------------------------------------------------------------- 1 | class SemiColon { 2 | ; 3 | } -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Misc/PromiseResolve.js: -------------------------------------------------------------------------------- 1 | var p = Promise.resolve(42); 2 | 3 | assert.equal(p, Promise.resolve(p)); 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/EmptyNamedImport.module.js: -------------------------------------------------------------------------------- 1 | import {} from './resources/m.js'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/ImportAsExportAs.module.js: -------------------------------------------------------------------------------- 1 | import * as m from './resources/m3.js'; 2 | assert.equal(m.x, 'z'); 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/a.js: -------------------------------------------------------------------------------- 1 | export var a = 'A'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/a2.js: -------------------------------------------------------------------------------- 1 | export var a = 'A2'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/b.js: -------------------------------------------------------------------------------- 1 | import * as c from './c.js'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/c.js: -------------------------------------------------------------------------------- 1 | export var c = 'C'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/d.js: -------------------------------------------------------------------------------- 1 | export * from './a.js'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/default-and-named.js: -------------------------------------------------------------------------------- 1 | export default 'default'; 2 | export var x = 'x'; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/default-function-expression.js: -------------------------------------------------------------------------------- 1 | export default function() { 2 | return 456; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/default-name.js: -------------------------------------------------------------------------------- 1 | var p = 4; 2 | export {p as default}; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/default.js: -------------------------------------------------------------------------------- 1 | export default 42; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/export-conflict.js: -------------------------------------------------------------------------------- 1 | export var a = 'a'; 2 | export * from './a.js'; // also exports a 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/export-destructuring.js: -------------------------------------------------------------------------------- 1 | export var {x, y = 2} = {x: 1}; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/export-star-as.js: -------------------------------------------------------------------------------- 1 | export * as a from './m.js'; 2 | export * as b from './n.js'; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/f.js: -------------------------------------------------------------------------------- 1 | export var f = () => this; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/i.js: -------------------------------------------------------------------------------- 1 | export var i = 0; 2 | export function inc() { 3 | i++; 4 | } 5 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/m.js: -------------------------------------------------------------------------------- 1 | export var a = 1; 2 | export var b = 2; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/m2.js: -------------------------------------------------------------------------------- 1 | var z = 'z'; 2 | export {z as var}; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/m3.js: -------------------------------------------------------------------------------- 1 | import {var as x} from './m2.js'; 2 | export {x}; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/n.js: -------------------------------------------------------------------------------- 1 | export var c = 3; 2 | export var d = 4; 3 | export default 5; 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/o.js: -------------------------------------------------------------------------------- 1 | export * from './m.js'; 2 | export * from './n.js'; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/p.js: -------------------------------------------------------------------------------- 1 | export var p = 'P'; 2 | export var q = 'Q'; 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/re-export-default-as.js: -------------------------------------------------------------------------------- 1 | export {default as x} from './default.js'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/re-export-default.js: -------------------------------------------------------------------------------- 1 | export {default} from './default.js'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/side-effect.js: -------------------------------------------------------------------------------- 1 | this.sideEffect++; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/side-effect2.js: -------------------------------------------------------------------------------- 1 | this.sideEffect++; 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Modules/resources/x.js: -------------------------------------------------------------------------------- 1 | export var x = 'X'; 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Spread/NoIterator.js: -------------------------------------------------------------------------------- 1 | assert.throw(() => [...{}], TypeError); 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Spread/NotAnObject.js: -------------------------------------------------------------------------------- 1 | assert.throw(() => [...null], TypeError); 2 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Syntax/InInBinding.js: -------------------------------------------------------------------------------- 1 | var [x = 'a' in {a: 1}] = []; 2 | assert.equal(true, x); 3 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Syntax/NoNewLineHereEndOfFile.js: -------------------------------------------------------------------------------- 1 | // Comment not closed. 2 | var f = (x) /* 3 | => {} 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/Syntax/null.js: -------------------------------------------------------------------------------- 1 | null -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/TemplateLiterals/resources/f.js: -------------------------------------------------------------------------------- 1 | export function f(...args) { 2 | return args; 3 | } 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/TemplateLiterals/resources/m.js: -------------------------------------------------------------------------------- 1 | import {f} from './f.js'; 2 | 3 | assert.equal('a', (f `a`)[0][0]); 4 | -------------------------------------------------------------------------------- /packages/babel-preset-es2015/test/fixtures/traceur/TemplateLiterals/resources/n.js: -------------------------------------------------------------------------------- 1 | import {f} from './f.js'; 2 | 3 | assert.equal('b', (f `b`)[0][0]); 4 | -------------------------------------------------------------------------------- /packages/babel-preset-react/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-preset-stage-0/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-preset-stage-1/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-preset-stage-2/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-preset-stage-3/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-register/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-register/src/browser.js: -------------------------------------------------------------------------------- 1 | // required to safely use babel/register within a browserify codebase 2 | 3 | export default function () {} 4 | -------------------------------------------------------------------------------- /packages/babel-runtime/.npmignore: -------------------------------------------------------------------------------- 1 | scripts 2 | node_modules 3 | -------------------------------------------------------------------------------- /packages/babel-runtime/README.md: -------------------------------------------------------------------------------- 1 | # babel-runtime 2 | 3 | -------------------------------------------------------------------------------- /packages/babel-runtime/core-js.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "default": require("core-js/library"), 3 | __esModule: true 4 | }; 5 | -------------------------------------------------------------------------------- /packages/babel-runtime/regenerator/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require("regenerator-runtime"); 2 | -------------------------------------------------------------------------------- /packages/babel-template/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-traverse/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel-traverse/README.md: -------------------------------------------------------------------------------- 1 | # babel-traverse 2 | -------------------------------------------------------------------------------- /packages/babel-types/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel/.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | test 3 | node_modules 4 | -------------------------------------------------------------------------------- /packages/babel/README.md: -------------------------------------------------------------------------------- 1 | # babel 2 | -------------------------------------------------------------------------------- /packages/babel/index.js: -------------------------------------------------------------------------------- 1 | throw new Error("The node API for `babel` has been moved to `babel-core`."); 2 | -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter dot --ui tdd --timeout 10000 2 | -------------------------------------------------------------------------------- /test/warning.js: -------------------------------------------------------------------------------- 1 | console.error("Don't run `mocha` directly. Use `make test`. See CONTRIBUTING.md for usage instructions."); 2 | process.exit(0); 3 | --------------------------------------------------------------------------------