163 Commits

Author SHA1 Message Date
Bo Borgerson
8f790ceeed Satisfy the "space-infix-ops" eslint rule (#3696)
Future proofing against https://github.com/babel/eslint-config-babel/pull/1.

Only one violation, even without enforcement!
2016-09-02 18:50:03 -04:00
Henry Zhu
470635adb0 v6.11.0 2016-06-26 20:21:26 -04:00
Simon Lydell
3d77ad9381 babel-code-frame: Upgrade to js-tokens@2 (#3533)
That version brings ES2016 support. However, the difference in syntax
highlighting is not distinguishable, because both `*` and `**` get the
same color.
2016-06-22 13:23:21 -04:00
Henry Zhu
05bf216339 v6.8.0 2016-05-02 19:43:49 -04:00
Henry Zhu
4c23b01798 change plugins to use babel-runtime 6 2016-04-24 20:06:23 -04:00
Logan Smyth
696c74933a v6.7.7 2016-04-20 20:09:20 -07:00
Simon Lydell
f80463120b babel-code-frame: Handle code with tabs
Previously, the `^` marker was misaligned if the line above contained tabs.

Fixes T7282.

Note: This commit handles a very subtle edge-case differently: When the passed
in column number is larger than the length of the line. Previously, the `^`
marker would be faithfully placed at that exact column number. Now, it is placed
at the end of the line instead (after the last character of the line to be
precise). Ideally, we should define what should happen in edge cases, but that's
out of scope for this PR.
2016-04-11 15:46:32 +02:00
Simon Lydell
580b09abb1 babel-code-frame: Add test for code with tabs 2016-04-11 15:44:31 +02:00
Logan Smyth
89ecbda25c v6.7.5 2016-04-07 20:24:49 -07:00
Simon Lydell
b733c6766a babel-code-frame: Add missing documentation.
I used the README for babel-generator as inspiration.
2016-03-23 19:06:45 +01:00
Simon Lydell
dceb988bbb babel-code-frame: Fix indentation 2016-03-23 19:00:53 +01:00
Simon Lydell
aaaffd32e7 babel-code-frame: Get rid of the line-numbers dependency. 2016-03-23 18:59:39 +01:00
Simon Lydell
d6b8e4c608 babel-code-frame: Add tests 2016-03-23 18:38:07 +01:00
Simon Lydell
6af4ba1937 babel-code-frame: Update type annotation
The code allows omitting the column number, but the type annotation for that
parameter didn't.
2016-03-23 17:13:07 +01:00
Logan Smyth
6470426f7a v6.7.4 2016-03-22 20:37:46 -07:00
Sebastian McKenzie
67de615bfc update babel-code-frame version 2016-03-22 22:14:36 +00:00
Sebastian McKenzie
09287643c7 remove line-numbers from babel-code-frame 2016-03-22 22:08:25 +00:00
Amjad Masad
de92d632f3 v6.7.2 2016-03-10 14:41:27 -08:00
Henry Zhu
0cc53dafc0 add test to npmignores [ci skip] 2016-03-08 22:33:23 -05:00
Henry Zhu
57ef6a2b6a v6.6.5 2016-03-04 18:16:17 -05:00
Amjad Masad
2fbe28cc88 Remove remaining @flow annotations 2016-03-03 15:10:59 -08:00
Amjad Masad
12ee11a0a4 Revert "Remove Flow annotations and pragmas"
This reverts commit 4252244d06b225ab26a02d52c04f9940a3e4d6a2.
2016-03-03 15:03:55 -08:00
Henry Zhu
f34e6518ff v6.6.0 2016-02-29 16:12:12 -05:00
Sam Goldman
4252244d06 Remove Flow annotations and pragmas 2016-02-28 13:18:57 -10:00
Sebastian McKenzie
5b89849f43 Switch to klint, fix some lint rules 2016-02-14 23:25:14 +00:00
Henry Zhu
f9f8ad6eff v6.5.0 2016-02-06 19:06:41 -05:00
Sebastian McKenzie
7b36967416 v6.3.13 2015-12-04 22:56:51 +11:00
Sebastian McKenzie
ae831c2270 v6.3.12 2015-12-04 22:56:13 +11:00
Sebastian McKenzie
4a1e5c17b4 v6.1.18 2015-11-12 13:46:30 -08:00
Sebastian McKenzie
23fd185590 v6.1.17 2015-11-12 13:40:25 -08:00
Sebastian McKenzie
c4c66687ea v6.1.16 2015-11-12 13:33:20 -08:00
Sebastian McKenzie
9c91b555f9 v6.1.15 2015-11-12 12:15:47 -08:00
Sebastian McKenzie
f127f81cb7 v6.1.14 2015-11-12 12:01:18 -08:00
Sebastian McKenzie
548d973d12 v6.1.13 2015-11-12 11:57:45 -08:00
Sebastian McKenzie
af208e8acb v6.1.12 2015-11-12 00:47:51 -08:00
Sebastian McKenzie
8fb4d55687 v6.1.11 2015-11-11 23:58:22 -08:00
Sebastian McKenzie
98b3dda500 v6.1.10 2015-11-11 23:52:57 -08:00
Sebastian McKenzie
15baf2afb5 v6.1.9 2015-11-11 23:46:00 -08:00
Sebastian McKenzie
e018723c7e v6.1.8 2015-11-11 23:40:20 -08:00
Sebastian McKenzie
8dcf4aedc0 v6.1.7 2015-11-11 23:37:19 -08:00
Sebastian McKenzie
97443eada6 v6.1.6 2015-11-11 23:32:43 -08:00
Sebastian McKenzie
803f58f7ad v6.1.5 2015-11-11 23:30:14 -08:00
Sebastian McKenzie
caff1e72a5 v6.1.10 2015-11-11 23:28:53 -08:00
Sebastian McKenzie
541e547848 v6.1.9 2015-11-11 23:27:56 -08:00
Sebastian McKenzie
26e56bc966 v6.1.5 2015-11-11 22:48:30 -08:00
Sebastian McKenzie
03383bdf31 v6.1.4 2015-11-11 02:04:26 -08:00
Sebastian McKenzie
884252b90f increase test coverage 2015-11-10 14:26:40 -08:00
Sebastian McKenzie
c865cb4bf9 v6.0.15 2015-11-01 22:07:03 +00:00
Sebastian McKenzie
8e35c0b615 fix babel-runtime version in some packages 2015-10-30 23:45:34 +00:00
Sebastian McKenzie
34665bdfda v6.0.14 2015-10-30 23:30:40 +00:00