jugglinmike
0466504d7b
Integrate Test262 ( #654 )
...
* Integrate Test262
Introduce a GNU Make target for retrieving TC-39's Test262 suite and
validating parsing of the files it contains. Interpret each file as a
parser test in accordance with that project's `INTERPRETING.md`
document. Allow for the specification of allowed failures via a
"whitelist" file so that the test suite may help prevent regressions in
this project in situations where this project has known bugs. Initialize
the "whitelist" file with a listing of all tests that are currently
failing. Extend the continuous integration environment's configuration
to automatically run these tests.
* use graceful-fs and latest yarn on travis
2017-08-06 21:20:25 -04:00
Henry Zhu
66ec5263a4
Use Yarn Workspaces ( #6056 )
...
* update lerna and lerna-changelog
* Lerna: enable yarn, yarn workspaces [skip ci]
* use older version of Babel since it matches on semver (cannot be the same version)
* install yarn version
* revert node engine change
* update flow
* circle ci on 8
* update lock
2017-08-05 14:48:15 -04:00
Teddy Katz
13d931c417
Don't insert the same node into the AST multiple times (fixes babel/babili#556) ( #6054 )
2017-08-04 19:00:29 -04:00
Henry Zhu
47a9ba3440
Merge pull request #6051 from babel/5709-2
...
Rewrite parameter transform and drop _blockHoist reliance
2017-08-04 18:55:23 -04:00
Daniel Tschinder
fb6d0491f6
Upgrade dependencies
2017-08-05 00:37:55 +02:00
Nicolò Ribaudo
7353a38846
Arrow fns can't be used as the left side of a binary or ternary expression ( #559 )
...
* Arrow fns can't be used as the left side of a binary or ternary expression
Fixes #536
* Add test for logical expression with arrow function
* Fix eslint
2017-08-05 00:27:11 +02:00
Henry Zhu
a1debae8f0
babylon beta.19 ( #6053 )
2017-08-04 14:46:12 -04:00
Henry Zhu
5c867240f7
7.0.0-beta.19
2017-08-04 12:44:51 -04:00
Henry Zhu
9c91e75cb3
yarn.lock
2017-08-04 12:38:08 -04:00
Henry Zhu
579aabf23e
alpha.18 ( #660 )
2017-08-04 12:34:17 -04:00
Henry Zhu
30c4d6b456
Merge pull request #6052 from babel/array-destructuring-hole
...
Array destructuring hole
2017-08-04 12:20:50 -04:00
Henry Zhu
0e58007264
add test for spread with hole
2017-08-04 12:06:26 -04:00
Henry Zhu
577173cc02
fix export when array destructuring exported value with hole
2017-08-04 11:53:49 -04:00
Henry Zhu
8c457e9283
Merge pull request #5468 from babel/react-preset
...
Add requireDirective to strip-flow-types for use in React preset
2017-08-04 11:31:12 -04:00
Brian Ng
2a83867436
Fixes from review
2017-08-04 10:16:45 -05:00
Naveen jain
0c11af8fc5
Fix #656 ( #659 )
...
* Fix #656
* Fix #656
2017-08-04 11:54:03 +02:00
Brian Ng
9dd65c809f
fixes
2017-08-03 22:27:30 -05:00
Brian Ng
af5f34ace5
Throw if annotation found without directive
2017-08-03 21:54:36 -05:00
Brian Ng
57da9bdbed
Add requireDirective to strip-flow-types for use in React preset
2017-08-03 21:13:45 -05:00
Logan Smyth
d86ae2fb84
Remove _blockHoist usage from param processing.
2017-08-03 20:56:50 -05:00
Logan Smyth
18084db7cf
Fix an ordering bug in object-rest-spread.
2017-08-03 20:56:24 -05:00
Logan Smyth
8e19a5b057
Update param scope values when expanding parameters.
2017-08-03 20:56:24 -05:00
Logan Smyth
95882d4e5a
Rewrite param processing to be more clearly defined.
2017-08-03 20:56:08 -05:00
Henry Zhu
99ab2b206c
update to alpha.18 ( #6050 )
2017-08-03 20:40:53 -04:00
Henry Zhu
77cfa94682
yarn: fix ci?
2017-08-03 20:02:31 -04:00
Henry Zhu
78157ebabd
2.0.0-alpha.18
2017-08-03 18:30:13 -04:00
Henry Zhu
e5fd7407c9
update to alpha.18 ( #386 )
2017-08-03 18:28:47 -04:00
Henry Zhu
79c6814d65
v7.0.0-alpha.18
v7.0.0-alpha.18
2017-08-03 18:20:36 -04:00
Henry Zhu
d479673074
prepublish [skip ci]
2017-08-03 18:18:36 -04:00
Nicolò Ribaudo
eee1a3854e
Alow regex after "of" in for(...of...) ( #579 )
...
Fixes #456
2017-08-03 09:11:31 -05:00
Henry Zhu
6630ae9794
Merge pull request #6046 from jridgewell/pr/6038
...
Fix invalid block-scoped loop
2017-08-03 08:51:25 -04:00
greenkeeper[bot]
880fa582c3
Update flow-bin to the latest version 🚀 ( #657 )
...
* chore(package): update flow-bin to version 0.52.0
* chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2017-08-03 11:02:29 +02:00
Justin Ridgewell
6bb1486405
Fix
2017-08-02 19:47:14 -04:00
Sarup Banskota
75808a2d14
Prevent getFunctionParent from returning Program ( #5923 )
2017-08-02 16:30:33 -05:00
jbrown215
4e9a25e34a
Flow opaque type aliases ( #5990 )
2017-08-02 16:30:19 -05:00
Henry Zhu
0f823beeb1
Newlines in fixtures ( #6044 )
...
* write newlines for fixtures
* rerun fixtures
2017-08-02 15:35:29 -04:00
Sergey Rubanov
829c75a866
Development Only: drop Node 4-5 and npm 2 ( #6037 ) [skip ci]
...
Node versions 4 and 5 are obsolete. Version of npm bundled in Node 6 is 3 so npm 2 could be dropped as well.
2017-08-02 14:30:13 -04:00
Henry Zhu
9d7c82d869
Adding failing test for 6025
2017-08-01 16:16:47 -04:00
Brian Ng
21eeed8a8c
Fix generate interfaces script ( #6031 )
...
* Fix typo in TSPropertySignature type definition
* Sort fields in generate-interfaces script
2017-08-01 14:38:46 -04:00
Brian Ng
889f4e7791
Fix refs in transform-optional-chaining docs [skip ci] ( #6035 )
2017-08-01 14:30:16 -04:00
Artem Yavorsky
f7a096b08e
Add browserslist config/package.json section support. ( #161 )
2017-08-01 10:50:44 -05:00
Artem Yavorsky
1dd3d14a2f
Export default for available plugins
2017-08-01 09:38:48 -05:00
Artem Yavorsky
bba7be20d2
Add available plugins into separate module
2017-08-01 09:38:48 -05:00
Brian Ng
c5e81516dd
Add optional catch binding to stage 3 preset ( #6032 )
2017-07-31 16:00:43 -04:00
Brian Ng
6d965c0926
Make babel-node a standalone package ( #6023 )
...
* Make babel-node a standalone package
* New package `babel-node` previously `babel-cli/bin/babel-node`
* updates
2017-07-29 22:26:28 -04:00
Jimmy Jia
2dba910b9e
Merge branch '6.x'
2017-07-29 12:20:18 -04:00
Andy
e32042f353
babel-generator: Comment TypeScript-specific code ( #6026 )
2017-07-28 18:03:38 -04:00
Andy
c1d07fd6db
babel-generator: Add TypeScript support ( #5896 )
...
* babel-generator: Add TypeScript support
* Remove type declarations; not published from babylon
* Remove TODOs
* Consistently use `this.word` for tokens that are words
2017-07-28 16:07:05 -04:00
Henry Zhu
f83c83d49c
add proposals repo [skip ci] ( #6024 )
2017-07-28 15:31:47 -04:00
chocolateboy
605adc922d
allow PluginPass.file.addImport to create empty import statements ( #6022 )
...
* allow PluginPass.file.addImport to create empty import statements; fixes #6021
omitting addImport's second argument creates an import statement with an
empty `specifiers` array i.e. an empty import statement:
plugin:
Program (path, { file }) {
file.addImport('foo-bar/register')
}
output:
import "foo-bar/register";
2017-07-28 12:37:00 -04:00