365 Commits

Author SHA1 Message Date
Sebastian McKenzie
d65c29b60a remove gross acorn conditional statement styling 2015-07-26 05:22:33 +01:00
Sebastian McKenzie
18e610820f verify that the raw property we've got stored is actually a string - fixes #2078 2015-07-26 05:22:12 +01:00
Sebastian McKenzie
69721b930a add token match method and remove more dead code 2015-07-26 04:48:42 +01:00
Sebastian McKenzie
676766533c improve babylon test coverage and remove dead code 2015-07-25 19:54:19 +01:00
Sebastian McKenzie
2598299e64 finish reorganisation of babylon 2015-07-25 08:03:39 +01:00
Sebastian McKenzie
7e7ad89724 remove range property from nodes, clean up babylon codebase 2015-07-25 07:07:22 +01:00
Sebastian McKenzie
4e00575ed5 fix broken tests take 2 2015-07-25 06:16:50 +01:00
Sebastian McKenzie
7964e3bf11 fix broken tests 2015-07-25 06:14:09 +01:00
Sebastian McKenzie
55f3fb3015 add espree comment attachment tests and remove ranges test property from babylon tests 2015-07-25 06:07:51 +01:00
Sebastian McKenzie
350e901794 update babylon fixtures to use File as the root node rather than Program 2015-07-25 05:24:58 +01:00
Sebastian McKenzie
14d2625753 switch babylon tests to fixtures 2015-07-25 05:19:32 +01:00
Sebastian McKenzie
008f3d6ada fix broken tests 2015-07-25 04:01:30 +01:00
Sebastian McKenzie
00d6b0364d remove unused import 2015-07-25 03:56:42 +01:00
Sebastian McKenzie
b12866db86 extract out mocha fixtures and resolve utils 2015-07-25 03:54:48 +01:00
Sebastian McKenzie
2ed9416e19 check whether the last child is the same node as the one we're removing comments from - fixes #2072, fixes #2068 2015-07-25 02:16:31 +01:00
Sebastian McKenzie
e15a28cc1c inherit class constructor function from parent class - fixes babel-plugins/babel-plugin-flow-comments#15 2015-07-25 00:40:52 +01:00
Sebastian McKenzie
e51949e402 better inheritance for t.inherits 2015-07-25 00:40:39 +01:00
Sebastian McKenzie
9cc0442db9 make class container shadowed 2015-07-24 22:34:14 +01:00
Sebastian McKenzie
0531b61d59 v5.8.5 2015-07-24 21:59:14 +01:00
Sebastian McKenzie
ca9ea6826f v5.8.4 2015-07-24 21:30:26 +01:00
Sebastian McKenzie
9cb5006136 fix broken imports and test newlines 2015-07-24 21:15:27 +01:00
Sebastian McKenzie
07e1ce8bf4 convert CLI imports to ES6 2015-07-24 21:10:11 +01:00
Sebastian McKenzie
3d416a6fbe move up regex Literal generation 2015-07-24 21:09:39 +01:00
Sebastian McKenzie
2d7a2b5e6d add sourceType option 2015-07-24 21:09:27 +01:00
Sebastian McKenzie
b20b6adf06 fix babel-plugin build hanging 2015-07-24 21:09:16 +01:00
Sebastian McKenzie
bac0b80953 don't console.log ignore config 2015-07-24 21:07:53 +01:00
Sebastian McKenzie
2a54d1385d update jscript plugin 2015-07-24 21:07:33 +01:00
Sebastian McKenzie
35ac8bbe9b update babel-plugin-jscript 2015-07-24 03:10:12 +01:00
Sebastian McKenzie
54f852e466 generator: rewrite automatic parentheses insertion to be smarter, includes some buffer state that automatically triggers a parentheses to be pushed also has the positive side effect of cleaning up a lot of redundant code - fixes #2064 2015-07-24 03:10:06 +01:00
Sebastian McKenzie
c731d2d6dc update jscript tests 2015-07-23 18:48:38 +01:00
Sam Saccone
23527544fa 🎨 switch to reduce for pipeline 2015-07-23 13:41:55 -04:00
Sebastian McKenzie
b9dde49ab6 use Object.setPrototypeOf and fallback to __proto__ in inherits helper - fixes #2053 2015-07-22 17:28:58 +01:00
Sebastian McKenzie
236a9a6285 Merge branch 'master' of github.com:babel/babel
t push# especially if it merges an updated upstream into a topic branch.
2015-07-21 22:44:54 +01:00
Sebastian McKenzie
b277f2c986 revert changes to use strict literal newline generation 2015-07-21 22:44:35 +01:00
Sebastian McKenzie
3f0ac54032 simplify CodeGenerator#print 2015-07-21 22:40:58 +01:00
Chris Parker
51cdae25cf fix tryCreateRegexp function scope 2015-07-21 17:23:31 -04:00
Sebastian McKenzie
1ff63329a3 fix directive newline insertion 2015-07-21 18:50:08 +01:00
Sebastian McKenzie
beb8061d3f better identification of strict directives - cc @jmm 2015-07-21 18:43:10 +01:00
Sebastian McKenzie
0fbc714315 add scripts folder to npmignore 2015-07-21 18:41:50 +01:00
Sebastian McKenzie
68d58af8b1 v5.8.3 2015-07-21 18:22:42 +01:00
Sebastian McKenzie
8e798cbc9c v5.8.2 2015-07-21 18:11:11 +01:00
Sebastian McKenzie
0d2356ed8c v5.8.1 2015-07-21 18:00:22 +01:00
Sebastian McKenzie
78707e212c update test to reflect UIDs 2015-07-21 17:55:35 +01:00
Sebastian McKenzie
dd225b5b74 add handling for loops when doing rest parameter allocation optimisation 2015-07-21 17:51:20 +01:00
Sebastian McKenzie
f6e7b7716b add onComment shim to babel.parse API 2015-07-21 17:50:49 +01:00
Sebastian McKenzie
7fa684b120 don't reset raw of \x escape literals - cc @jmm 2015-07-21 14:53:05 +01:00
Sebastian McKenzie
437a201315 v5.8.0 2015-07-21 02:52:14 +01:00
Sebastian McKenzie
da60230801 add missing dependencies for older non-flat npm versions 2015-07-21 02:50:03 +01:00
Sebastian McKenzie
412208745b v5.7.5 2015-07-21 02:39:55 +01:00
Sebastian McKenzie
30be1317e6 update flow literal annotations to have a rawValue 2015-07-21 02:37:43 +01:00