Brian Ng
e530e3c025
[7.0] List babylon plugins instead of * in babel-generator tests ( #5231 )
2017-01-28 09:35:21 -05:00
Kai Cataldo
e09ea222c9
Remove babel-runtime from packages' dependencies ( #5218 )
2017-01-27 09:04:35 -05:00
wtgtybhertgeghgtwtg
e5aa501327
Bump detect-indent. ( #5226 )
2017-01-27 09:02:48 -05:00
Artem Yavorsky
3f95a767f2
[7.0] Add legacy-decorators to stage-1. Fixes #5220 ( #5225 )
2017-01-27 09:02:10 -05:00
Fabian Finke
a97be35984
Add example to spread README [skip ci] ( #5227 )
2017-01-27 13:39:39 +01:00
Sven SAULEAU
446b4a7dbd
docs: remove link to REPL ( #5216 )
2017-01-26 14:50:23 -06:00
Thomas Roch
a52265c79e
docs: fix do expressions JSX example ( #5214 ) [skip ci]
2017-01-26 11:04:56 -05:00
Sven SAULEAU
931cee7ab8
docs: [skip ci] update README ( #5212 )
2017-01-26 08:00:23 -05:00
Sven SAULEAU
aa7817bafb
transform-regenerator README pt2 ( #5203 )
...
* docs: [skip ci] remove comments in JSON
* docs: [skip ci] nit remove duplicated babelrc
2017-01-24 15:32:18 +01:00
Sven SAULEAU
7fe59c38fe
docs: [skip ci] update README ( #5202 )
2017-01-24 08:23:35 -06:00
Sven SAULEAU
2a1db1c250
docs: [skip ci] update README ( #5200 )
2017-01-24 08:00:31 -06:00
wtgtybhertgeghgtwtg
398b0326a3
[7.0] Bump home-or-tmp for babel-register. ( #5189 )
2017-01-23 23:35:44 -05:00
Brian Ng
b69dc51be0
Fix missing parens when function expressions is tag ( #5193 )
2017-01-23 08:45:57 -08:00
Sven SAULEAU
c638985aca
docs: [skip ci] update README ( #5194 )
2017-01-23 10:48:35 -05:00
Vivek Kumar Bansal
728072f47b
[7.0] Remove old babel-runtime code ( #5187 )
2017-01-21 11:25:29 -05:00
Henry Zhu
661102c7ea
Merge branch 'master' into 7.0
...
# Conflicts:
# .travis.yml
# CHANGELOG.md
# lerna.json
# packages/babel-cli/package.json
2017-01-21 08:52:14 -05:00
Andres Suarez
e9d87ed55c
Remove path-is-absolute in favor of builtin path.isAbsolute ( #5179 )
2017-01-21 08:33:34 -05:00
Mathias Bynens
090f7abda4
[7.0] babel-preset-stage-2: Add transform-unicode-property-regex ( #3683 )
...
This enables the use of Unicode property escapes of the form `\p{…}` and `\P{…}` in regular expressions with the `u` flag enabled.
More info: https://mathiasbynens.be/notes/es-unicode-property-escapes
Proposal: https://github.com/mathiasbynens/es-regexp-unicode-property-escapes
Plugin: https://github.com/mathiasbynens/babel-plugin-transform-unicode-property-regex
2017-01-20 08:17:25 -05:00
Colin
1aa7a2a1a3
Remove "class-constructor-call" syntax and transform plugins ( #5119 )
...
* removed class-constructor-call syntax and transform plugins and all references to them
* #5112 , removed another reference to constructor call
2017-01-20 10:42:56 +01:00
Sergey Rubanov
d0b42d4313
Update babel-core browserify fixture ( #5164 )
2017-01-20 10:29:44 +01:00
Logan Smyth
7de9fa07fb
v6.22.2
2017-01-19 22:03:27 -08:00
Logan Smyth
6528fe105e
Break out of argument processing properly.
2017-01-19 21:47:11 -08:00
Adonis K
12886ea495
[7.0] Remove stage 4 plugins from stage 3 preset ( #5126 )
...
* remove trailing function commas from stage-3 preset (#5117 )
trailing function commas is now a finished proposal and was moved to stage 4 (https://github.com/tc39/proposal-trailing-function-commas )
* remove the exponentiation operator from stage-3 preset (#5117 )
exponentiation-operator is now a finished proposal and was moved to stage 4 (https://github.com/rwaldron/exponentiation-operator )
* remove async function to es2015 generator from stage-3 preset (#5117 )
async functions is now a finished proposal and was moved to stage 4 (https://github.com/tc39/ecmascript-asyncawait )
2017-01-19 23:03:49 -05:00
Jordan Jones
1742035a98
[7.0] Fixes #5108 , browser.js and browser.js test removed ( #5124 )
...
* Fixes #5108 , browser.js and browser.js test removed
* Moved api/node.js to index.js and adjusted associated file references
2017-01-19 22:43:11 -05:00
Janus Troelsen
e4ba28c294
[7.0] Dependencies: Upgrade regexpu-core to ^4.0.2 ( #5028 )
2017-01-19 22:33:46 -05:00
Anderson Vasques
81c3578adc
[7.0] Remove old code used for backwards compatibility ( #5122 )
...
[7.0] Remove old code used for backwards compatibility in babel-polyfill
Fixes #5121
2017-01-19 22:32:16 -05:00
Chau Nguyen
d710e6dd5b
[7.0] Drop flowUsesCommas option from babel-generator ( #5123 )
2017-01-19 22:24:13 -05:00
Sergey Rubanov
3a5ce620c8
[7.0] Deprecate babel-core/register.js ( #5132 )
...
* Deprecate babel-core/register.js
* add error when using `babel-core/register`
2017-01-19 22:22:45 -05:00
Shubheksha Jalan
c468b15a15
[7.0] removed old code from transform-runtime ( #5142 )
2017-01-19 22:20:04 -05:00
Henry Zhu
368485828f
v6.22.1
2017-01-19 22:12:53 -05:00
Henry Zhu
b06763f1a3
force update core/cli
2017-01-19 22:09:37 -05:00
Jason Aslakson
ef25bebfa8
fix issue #5012 - Cannot read property 'declarations' of null ( #5019 )
...
- temporary fix
2017-01-19 21:36:18 -05:00
Henry Zhu
e9fc38bcd3
v6.22.0
2017-01-19 19:33:22 -05:00
Henry Zhu
4106dd3db1
Revert "Run Babel's unittests in a custom sandbox."
2017-01-19 18:43:50 -05:00
Erik Desjardins
bca170ad79
Avoid duplicating impure expressions in object rest destructuring ( #5151 )
...
* avoid duplicating impure initializers in object rest destructuring
* reuse existing VariableDeclarations in object rest destructuring, to fix two issues:
1. inserting an additional VariableDeclaration after the current one may change order of operations, which is unsafe if a future VariableDeclarator refers to a destructured variable.
2. The entire VariableDeclaration is removed when all properties are rest properties, indiscriminately removing other variables
2017-01-18 21:32:44 -05:00
Toru Kobayashi
3871236723
transform-react-constant-elements hoists Composite Components ( #5137 ) [skip ci]
2017-01-17 14:47:04 -05:00
Logan Smyth
c76b8eec82
Run Babel's unittests in a custom sandbox. ( #5135 )
2017-01-17 14:46:23 -05:00
Brian Ng
8c35b320d3
Bump eslint-config-babel and fix lint ( #5129 )
2017-01-17 10:51:16 +01:00
Sergey Rubanov
292c3ca206
Refactor test packages to use ES modules instead of CJS ( #5138 )
2017-01-16 11:25:04 -05:00
Logan Smyth
e863790e7e
Fix linting error from merged PR.
2017-01-15 15:29:26 -08:00
Logan Smyth
c5fb56e66c
Bump out chokidar dependency for the new awaitWriteFinish option.
2017-01-15 14:45:48 -08:00
Logan Smyth
40746f3dcb
Merge pull request #3698 from hayeah/master
...
Watch mode should wait for file write. (T7411)
2017-01-15 14:44:45 -08:00
Logan Smyth
a98c9ae9dc
Merge pull request #4790 from peterm0x/master
...
fixes invalid line offsets in merged sourcemaps
2017-01-15 14:36:33 -08:00
Logan Smyth
7200626021
Merge pull request #5088 from christophehurpeau/fix-issue-4851
...
fix: plugin-transform-object-rest-spread param with default value
2017-01-15 14:27:56 -08:00
Logan Smyth
87c201fa47
Merge pull request #5043 from zertosh/no-lodash-is
...
Replace "lodash/is*" and "lodash/each" with native equivalents
2017-01-15 14:22:24 -08:00
Mark Wubben
20c9dca798
Document babelrc option ( #5101 )
...
The core package accepts a babelrc option, which if set to false stops
the transforms from using .babelrc and .babelignore files. Document
this option and remove the --no-babelrc CLI flag, referring to the CLI
documentation instead.
[skip ci]
2017-01-15 16:04:23 -06:00
Christophe Hurpeau
4a1965511f
fix: plugin-transform-object-rest-spread param with default value
2017-01-15 14:02:08 -08:00
Logan Smyth
e18dc7a6d3
Avoid destructuring in untranspiled script.
2017-01-15 13:54:54 -08:00
Andres Suarez
658f13e030
Replace uses of "lodash/each" with native equivalents
2017-01-15 13:54:54 -08:00
Andres Suarez
2bee765e6b
Replace lodash is* with equivalent typeof check
2017-01-15 13:53:58 -08:00