\begin{quote}
{\bfseries{Tags\+:}}
\begin{DoxyItemize}
\item \+:boom\+: \mbox{[}Breaking Change\mbox{]}
\item \+:eyeglasses\+: \mbox{[}Spec Compliance\mbox{]}
\item \+:rocket\+: \mbox{[}New Feature\mbox{]}
\item \+:bug\+: \mbox{[}Bug Fix\mbox{]}
\item \+:memo\+: \mbox{[}Documentation\mbox{]}
\item \+:house\+: \mbox{[}Internal\mbox{]}
\item \+:nail\+\_\+care\+: \mbox{[}Polish\mbox{]} 
\end{DoxyItemize}\end{quote}
\begin{quote}
Semver Policy\+: \href{https://github.com/babel/babel/tree/main/packages/babel-parser\#semver}{\texttt{ https\+://github.\+com/babel/babel/tree/main/packages/babel-\/parser\#semver}} \end{quote}
{\itshape Note\+: Gaps between patch versions are faulty, broken or test releases.}

See the \href{https://github.com/babel/babel/blob/main/CHANGELOG.md}{\texttt{ Babel Changelog}} for the pre-\/6.\+8.\+0 version Changelog.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1517}{}\doxysection{6.\+17.\+1 (2017-\/05-\/10)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1517}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1518}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1518}

\begin{DoxyItemize}
\item Fix typo in flow spread operator error (Brian Ng)
\item Fixed invalid number literal parsing (\href{https://github.com/babel/babylon/pull/473}{\texttt{ \#473}}) (Alex Kuzmenko)
\item Fix number parser (\href{https://github.com/babel/babylon/pull/433}{\texttt{ \#433}}) (Alex Kuzmenko)
\item Ensure non pattern shorthand props are checked for reserved words (\href{https://github.com/babel/babylon/pull/479}{\texttt{ \#479}}) (Brian Ng)
\item Remove jsx context when parsing arrow functions (\href{https://github.com/babel/babylon/pull/475}{\texttt{ \#475}}) (Brian Ng)
\item Allow super in class properties (\href{https://github.com/babel/babylon/pull/499}{\texttt{ \#499}}) (Brian Ng)
\item Allow flow class field to be named constructor (\href{https://github.com/babel/babylon/pull/510}{\texttt{ \#510}}) (Brian Ng)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1519}{}\doxysection{6.\+17.\+0 (2017-\/04-\/20)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1519}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1520}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1520}

\begin{DoxyItemize}
\item Cherry-\/pick \#418 to 6.\+x (\href{https://github.com/babel/babylon/pull/476}{\texttt{ \#476}}) (Sebastian Mc\+Kenzie)
\item Add support for invalid escapes in tagged templates (\href{https://github.com/babel/babylon/pull/274}{\texttt{ \#274}}) (Kevin Gibbons)
\item Throw error if new.\+target is used outside of a function (\href{https://github.com/babel/babylon/pull/402}{\texttt{ \#402}}) (Brian Ng)
\item Fix parsing of class properties (\href{https://github.com/babel/babylon/pull/351}{\texttt{ \#351}}) (Kevin Gibbons)
\item Fix parsing yield with dynamic\+Import (\href{https://github.com/babel/babylon/pull/383}{\texttt{ \#383}}) (Brian Ng)
\item Ensure consistent start args for parse\+Paren\+Item (\href{https://github.com/babel/babylon/pull/386}{\texttt{ \#386}}) (Brian Ng)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1521}{}\doxysection{7.\+0.\+0-\/beta.\+8 (2017-\/04-\/04)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1521}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1522}{}\doxysubsection{New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1522}

\begin{DoxyItemize}
\item Add support for flow type spread (\#418) (Conrad Buck)
\item Allow statics in flow interfaces (\#427) (Brian Ng)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1523}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1523}

\begin{DoxyItemize}
\item Fix predicate attachment to match flow parser (\#428) (Brian Ng)
\item Add extra.\+raw back to JSXText and JSXAttribute (\#344) (Alex Rattray)
\item Fix rest parameters with array and objects (\#424) (Brian Ng)
\item Fix number parser (\#433) (Alex Kuzmenko)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1524}{}\doxysubsection{Docs}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1524}

\begin{DoxyItemize}
\item Fix CONTRIBUTING.\+md \href{\#432}{\texttt{ skip ci}} (Alex Kuzmenko)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1525}{}\doxysubsection{Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1525}

\begin{DoxyItemize}
\item Use babel-\/register script when running babel smoke tests (\#442) (Brian Ng)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1526}{}\doxysection{7.\+0.\+0-\/beta.\+7 (2017-\/03-\/22)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1526}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1527}{}\doxysubsection{Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1527}

\begin{DoxyItemize}
\item Remove babylon plugin for template revision since it\textquotesingle{}s stage-\/4 (\#426) (Henry Zhu)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1528}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1528}

\begin{DoxyItemize}
\item Fix push-\/pop logic in flow (\#405) (Daniel Tschinder)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1529}{}\doxysection{7.\+0.\+0-\/beta.\+6 (2017-\/03-\/21)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1529}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1530}{}\doxysubsection{New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1530}

\begin{DoxyItemize}
\item Add support for invalid escapes in tagged templates (\#274) (Kevin Gibbons)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1531}{}\doxysubsection{Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1531}

\begin{DoxyItemize}
\item Improves error message when super is called outside of constructor (\#408) (Arshabh Kumar Agarwal)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1532}{}\doxysubsection{Docs}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1532}

\begin{DoxyItemize}
\item \mbox{[}7.\+0\mbox{]} Moved value field in spec from Object\+Member to Object\+Property as Object\+Method\textquotesingle{}s don\textquotesingle{}t have it (\#415) \mbox{[}skip ci\mbox{]} (James Browning)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1533}{}\doxysection{7.\+0.\+0-\/beta.\+5 (2017-\/03-\/21)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1533}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1534}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1534}

\begin{DoxyItemize}
\item Throw error if new.\+target is used outside of a function (\#402) (Brian Ng)
\item Fix parsing of class properties (\#351) (Kevin Gibbons)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1535}{}\doxysubsection{Other}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1535}

\begin{DoxyItemize}
\item Test runner\+: Detect extra property in \textquotesingle{}actual\textquotesingle{} but not in \textquotesingle{}expected\textquotesingle{}. (\#407) (Andy)
\item Optimize travis builds (\#419) (Daniel Tschinder)
\item Update codecov to 2.\+0 (\#412) (Daniel Tschinder)
\item Fix spec for Class\+Method\+: It doesn\textquotesingle{}t have a function, it {\itshape is} a function. (\#406) \mbox{[}skip ci\mbox{]} (Andy)
\item Changed Non-\/existent Rest\+Pattern to Rest\+Element which is what is actually parsed (\#409) \mbox{[}skip ci\mbox{]} (James Browning)
\item Upgrade flow to 0.\+41 (Daniel Tschinder)
\item Fix watch command (\#403) (Brian Ng)
\item Update yarn lock (Daniel Tschinder)
\item Fix watch command (\#403) (Brian Ng)
\item chore(package)\+: update flow-\/bin to version 0.\+41.\+0 (\#395) (greenkeeper\mbox{[}bot\mbox{]})
\item Add estree test for correct order of directives (Daniel Tschinder)
\item Add Do\+Expression to spec (\#364) (Alex Kuzmenko)
\item Mention cloning of repository in CONTRIBUTING.\+md (\#391) \mbox{[}skip ci\mbox{]} (Sumedh Nimkarde)
\item Explain how to run only one test (\#389) \mbox{[}skip ci\mbox{]} (Aaron Ang)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1536}{}\doxysection{7.\+0.\+0-\/beta.\+4 (2017-\/03-\/01)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1536}

\begin{DoxyItemize}
\item Don\textquotesingle{}t consume async when checking for async func decl (\#377) (Brian Ng)
\item add {\ttfamily ranges} option \mbox{[}skip ci\mbox{]} (Henry Zhu)
\item Don\textquotesingle{}t parse class properties without initializers when class\+Properties is disabled and Flow is enabled (\#300) (Andrew Levine)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1537}{}\doxysection{7.\+0.\+0-\/beta.\+3 (2017-\/02-\/28)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1537}

\begin{DoxyItemize}
\item \mbox{[}7.\+0\mbox{]} Change Rest\+Property/\+Spread\+Property to Rest\+Element/\+Spread\+Element (\#384)
\item Merge changes from 6.\+x
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1538}{}\doxysection{7.\+0.\+0-\/beta.\+2 (2017-\/02-\/20)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1538}

\begin{DoxyItemize}
\item estree\+: correctly change literals in all cases (\#368) (Daniel Tschinder)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1539}{}\doxysection{7.\+0.\+0-\/beta.\+1 (2017-\/02-\/20)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1539}

\begin{DoxyItemize}
\item Fix negative number literal typeannotations (\#366) (Daniel Tschinder)
\item Update contributing with more test info \href{\#355}{\texttt{ skip ci}} (Brian Ng)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1540}{}\doxysection{7.\+0.\+0-\/beta.\+0 (2017-\/02-\/15)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1540}

\begin{DoxyItemize}
\item Reintroduce Variance node (\#333) (Daniel Tschinder)
\item Rename Numeric\+Literal\+Type\+Annotation to Number\+Literal\+Type\+Annotation (\#332) (Charles Pick)
\item \mbox{[}7.\+0\mbox{]} Remove For\+Await\+Statement, add await flag to For\+Of\+Statement (\#349) (Brandon Dail)
\item chore(package)\+: update ava to version 0.\+18.\+0 (\#345) (greenkeeper\mbox{[}bot\mbox{]})
\item chore(package)\+: update babel-\/plugin-\/istanbul to version 4.\+0.\+0 (\#350) (greenkeeper\mbox{[}bot\mbox{]})
\item Change location of Object\+Type\+Indexer to match flow (\#228) (Daniel Tschinder)
\item Rename flow AST Type Existential\+Type\+Param to Exists\+Type\+Annotation (\#322) (Toru Kobayashi)
\item Revert \char`\"{}\+Temporary rollback for erroring on trailing comma with spread (\#154)\char`\"{} (\#290) (Daniel Tschinder)
\item Remove class\+Constructor\+Call plugin (\#291) (Brian Ng)
\item Update yarn.\+lock (Daniel Tschinder)
\item Update cross-\/env to 3.\+x (Daniel Tschinder)
\item \mbox{[}7.\+0\mbox{]} Remove node 0.\+10, 0.\+12 and 5 from Travis (\#284) (Sergey Rubanov)
\item Remove {\ttfamily String.\+from\+Code\+Point} shim (\#279) (Mathias Bynens)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1541}{}\doxysection{6.\+16.\+1 (2017-\/02-\/23)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1541}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1542}{}\doxysubsection{\+:bug\+: Regression}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1542}

\begin{DoxyItemize}
\item Revert \char`\"{}\+Fix export default async function to be Function\+Declaration\char`\"{} (\href{https://github.com/babel/babylon/pull/375}{\texttt{ \#375}})
\end{DoxyItemize}

Need to modify Babel for this AST node change, so moving to 7.\+0.


\begin{DoxyItemize}
\item Revert \char`\"{}\+Don\textquotesingle{}t parse class properties without initializers when class\+Properties plugin is disabled, and Flow is enabled\char`\"{} (\href{https://github.com/babel/babylon/pull/376}{\texttt{ \#376}})
\end{DoxyItemize}

\href{https://github.com/facebook/react-native/issues/12542}{\texttt{ react-\/native}} broke with this so we reverted.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1543}{}\doxysection{6.\+16.\+0 (2017-\/02-\/23)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1543}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1544}{}\doxysubsection{\+:rocket\+: New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1544}
{\itshape {\bfseries{ESTree}}} compatibility as plugin (\href{https://github.com/babel/babylon/pull/277}{\texttt{ \#277}}) (Daniel Tschinder)

We finally introduce a new compatibility layer for ESTree. To put babylon into ESTree-\/compatible mode the new plugin {\ttfamily estree} can be enabled. In this mode the parser will output an AST that is compliant to the specs of \href{https://github.com/estree/estree/}{\texttt{ ESTree}}

We highly recommend everyone who uses babylon outside of babel to use this plugin. This will make it much easier for users to switch between different ESTree-\/compatible parsers. We so far tested several projects with different parsers and exchanged their parser to babylon and in nearly all cases it worked out of the box. Some other estree-\/compatible parsers include {\ttfamily acorn}, {\ttfamily esprima}, {\ttfamily espree}, {\ttfamily flow-\/parser}, etc.

To enable {\ttfamily estree} mode simply add the plugin in the config\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{  "{}plugins"{}: [ "{}estree"{} ]}
\DoxyCodeLine{\} }

\end{DoxyCode}


If you want to migrate your project from non-\/\+ESTree mode to ESTree, have a look at our \href{https://github.com/babel/babylon/\#output}{\texttt{ Readme}}, where all deviations are mentioned.

Add a parse\+Expression public method (\href{https://github.com/babel/babylon/pull/213}{\texttt{ \#213}}) (jeromew)

Babylon exports a new function to parse a single expression


\begin{DoxyCode}{0}
\DoxyCodeLine{import \{ parseExpression \} from 'babylon';}
\DoxyCodeLine{}
\DoxyCodeLine{const ast = parseExpression('x || y \&\& z', options); }

\end{DoxyCode}


The returned AST will only consist of the expression. The options are the same as for {\ttfamily parse()}

Add start\+Line option (\href{https://github.com/babel/babylon/pull/346}{\texttt{ \#346}}) (Raphael Mu)

A new option was added to babylon allowing to change the initial linenumber for the first line which is usually {\ttfamily 1}. Changing this for example to {\ttfamily 100} will make line {\ttfamily 1} of the input source to be marked as line {\ttfamily 100}, line {\ttfamily 2} as {\ttfamily 101}, line {\ttfamily 3} as {\ttfamily 102}, ...

Function predicate declaration (\href{https://github.com/babel/babylon/pull/103}{\texttt{ \#103}}) (Panagiotis Vekris)

Added support for function predicates which flow introduced in version 0.\+33.\+0


\begin{DoxyCode}{0}
\DoxyCodeLine{declare function is\_number(x: mixed): boolean \%checks(typeof x === "{}number"{}); }

\end{DoxyCode}


Allow imports in declare module (\href{https://github.com/babel/babylon/pull/315}{\texttt{ \#315}}) (Daniel Tschinder)

Added support for imports within module declarations which flow introduced in version 0.\+37.\+0


\begin{DoxyCode}{0}
\DoxyCodeLine{declare module "{}C"{} \{}
\DoxyCodeLine{  import type \{ DT \} from "{}D"{};}
\DoxyCodeLine{  declare export type CT = \{ D: DT \};}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1545}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1545}
Forbid semicolons after decorators in classes (\href{https://github.com/babel/babylon/pull/352}{\texttt{ \#352}}) (Kevin Gibbons)

This example now correctly throws an error when there is a semicolon after the decorator\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{class A \{}
\DoxyCodeLine{@a;}
\DoxyCodeLine{foo()\{\}}
\DoxyCodeLine{\} }

\end{DoxyCode}


Keywords are not allowed as local specifier (\href{https://github.com/babel/babylon/pull/307}{\texttt{ \#307}}) (Daniel Tschinder)

Using keywords in imports is not allowed anymore\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{import \{ default \} from "{}foo"{};}
\DoxyCodeLine{import \{ a as debugger \} from "{}foo"{}; }

\end{DoxyCode}


Do not allow overwritting of primitive types (\href{https://github.com/babel/babylon/pull/314}{\texttt{ \#314}}) (Daniel Tschinder)

In flow it is now forbidden to overwrite the primitive types {\ttfamily \char`\"{}any\char`\"{}}, {\ttfamily \char`\"{}mixed\char`\"{}}, {\ttfamily \char`\"{}empty\char`\"{}}, {\ttfamily \char`\"{}bool\char`\"{}}, {\ttfamily \char`\"{}boolean\char`\"{}}, {\ttfamily \char`\"{}number\char`\"{}}, {\ttfamily \char`\"{}string\char`\"{}}, {\ttfamily \char`\"{}void\char`\"{}} and {\ttfamily \char`\"{}null\char`\"{}} with your own type declaration.

Disallow import type \{ type a \} from … (\href{https://github.com/babel/babylon/pull/305}{\texttt{ \#305}}) (Daniel Tschinder)

The following code now correctly throws an error


\begin{DoxyCode}{0}
\DoxyCodeLine{import type \{ type a \} from "{}foo"{}; }

\end{DoxyCode}


Don\textquotesingle{}t parse class properties without initializers when class\+Properties is disabled and Flow is enabled (\href{https://github.com/babel/babylon/pull/300}{\texttt{ \#300}}) (Andrew Levine)

Ensure that you enable the {\ttfamily class\+Properties} plugin in order to enable correct parsing of class properties. Prior to this version it was possible to parse them by enabling the {\ttfamily flow} plugin but this was not intended the behaviour.

If you enable the flow plugin you can only define the type of the class properties, but not initialize them.

Fix export default async function to be Function\+Declaration (\href{https://github.com/babel/babylon/pull/324}{\texttt{ \#324}}) (Daniel Tschinder)

Parsing the following code now returns a {\ttfamily Function\+Declaration} AST node instead of {\ttfamily Function\+Expression}.


\begin{DoxyCode}{0}
\DoxyCodeLine{export default async function bar() \{\}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1546}{}\doxysubsection{\+:nail\+\_\+care\+: Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1546}
Improve error message on attempt to destructure named import (\href{https://github.com/babel/babylon/pull/288}{\texttt{ \#288}}) (Brian Ng)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1547}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1547}
Fix negative number literal typeannotations (\href{https://github.com/babel/babylon/pull/366}{\texttt{ \#366}}) (Daniel Tschinder)

Ensure take\+Decorators is called on exported class (\href{https://github.com/babel/babylon/pull/358}{\texttt{ \#358}}) (Brian Ng)

ESTree\+: correctly change literals in all cases (\href{https://github.com/babel/babylon/pull/368}{\texttt{ \#368}}) (Daniel Tschinder)

Correctly convert Rest\+Property to Assignable (\href{https://github.com/babel/babylon/pull/339}{\texttt{ \#339}}) (Daniel Tschinder)

Fix \#321 by allowing question marks in type params (\href{https://github.com/babel/babylon/pull/338}{\texttt{ \#338}}) (Daniel Tschinder)

Fix \#336 by correctly setting arrow-\/param (\href{https://github.com/babel/babylon/pull/337}{\texttt{ \#337}}) (Daniel Tschinder)

Fix parse error when destructuring {\ttfamily set} with default value (\href{https://github.com/babel/babylon/pull/317}{\texttt{ \#317}}) (Brian Ng)

Fix Object\+Type\+Call\+Property static (\href{https://github.com/babel/babylon/pull/298}{\texttt{ \#298}}) (Dan Harper)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1548}{}\doxysubsection{\+:house\+: Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1548}
Fix generator-\/method-\/with-\/computed-\/name spec (\href{https://github.com/babel/babylon/pull/360}{\texttt{ \#360}}) (Alex Rattray)

Fix flow type-\/parameter-\/declaration test with unintended semantic (\href{https://github.com/babel/babylon/pull/361}{\texttt{ \#361}}) (Alex Rattray)

Cleanup and splitup parser functions (\href{https://github.com/babel/babylon/pull/295}{\texttt{ \#295}}) (Daniel Tschinder)

chore(package)\+: update flow-\/bin to version 0.\+38.\+0 (\href{https://github.com/babel/babylon/pull/313}{\texttt{ \#313}}) (greenkeeper\mbox{[}bot\mbox{]})

Call inner function instead of 1\+:1 copy to plugin (\href{https://github.com/babel/babylon/pull/294}{\texttt{ \#294}}) (Daniel Tschinder)

Update eslint-\/config-\/babel to the latest version 🚀 (\href{https://github.com/babel/babylon/pull/299}{\texttt{ \#299}}) (greenkeeper\mbox{[}bot\mbox{]})

Update eslint-\/config-\/babel to the latest version 🚀 (\href{https://github.com/babel/babylon/pull/293}{\texttt{ \#293}}) (greenkeeper\mbox{[}bot\mbox{]})

dev\+Deps\+: remove eslint-\/plugin-\/babel (\href{https://github.com/babel/babylon/pull/292}{\texttt{ \#292}}) (Kai Cataldo)

Correct indent eslint rule config (\href{https://github.com/babel/babylon/pull/276}{\texttt{ \#276}}) (Daniel Tschinder)

Fail tests that have expected.\+json and throws-\/option (\href{https://github.com/babel/babylon/pull/285}{\texttt{ \#285}}) (Daniel Tschinder)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1549}{}\doxysubsection{\+:memo\+: Documentation}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1549}
Update contributing with more test info \href{[\#355](https://github.com/babel/babylon/pull/355)}{\texttt{ skip ci}} (Brian Ng)

Update API documentation (\href{https://github.com/babel/babylon/pull/330}{\texttt{ \#330}}) (Timothy Gu)

Added keywords to package.\+json (\href{https://github.com/babel/babylon/pull/323}{\texttt{ \#323}}) (Dmytro)

AST spec\+: fix casing of {\ttfamily Reg\+Exp\+Literal} (\href{https://github.com/babel/babylon/pull/318}{\texttt{ \#318}}) (Mathias Bynens)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1550}{}\doxysection{6.\+15.\+0 (2017-\/01-\/10)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1550}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1551}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1551}
Add support for Flow shorthand import type (\href{https://github.com/babel/babylon/pull/267}{\texttt{ \#267}}) (Jeff Morrison)

This change implements flows new shorthand import syntax and where previously you had to write this code\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{import \{someValue\} from "{}blah"{};}
\DoxyCodeLine{import type \{someType\} from "{}blah"{};}
\DoxyCodeLine{import typeof \{someOtherValue\} from "{}blah"{}; }

\end{DoxyCode}


you can now write it like this\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{import \{}
\DoxyCodeLine{  someValue,}
\DoxyCodeLine{  type someType,}
\DoxyCodeLine{  typeof someOtherValue,}
\DoxyCodeLine{\} from "{}blah"{}; }

\end{DoxyCode}


For more information look at \href{https://github.com/facebook/flow/pull/2890}{\texttt{ this}} pull request.

flow\+: allow leading pipes in all positions (\href{https://github.com/babel/babylon/pull/256}{\texttt{ \#256}}) (Vladimir Kurchatkin)

This change now allows a leading pipe everywhere types can be used\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{var f = (x): | 1 | 2 => 1; }

\end{DoxyCode}


Throw error when exporting non-\/declaration (\href{https://github.com/babel/babylon/pull/241}{\texttt{ \#241}}) (Kai Cataldo)

Previously babylon parsed the following exports, although they are not valid\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{export typeof foo;}
\DoxyCodeLine{export new Foo();}
\DoxyCodeLine{export function() \{\};}
\DoxyCodeLine{export for (;;);}
\DoxyCodeLine{export while(foo); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1552}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1552}
Don\textquotesingle{}t set in\+Type flag when parsing property names (\href{https://github.com/babel/babylon/pull/266}{\texttt{ \#266}}) (Vladimir Kurchatkin)

This fixes parsing of this case\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{const map = \{}
\DoxyCodeLine{  [age <= 17] : 'Too young'}
\DoxyCodeLine{\}; }

\end{DoxyCode}


Fix source location for JSXEmpty\+Expression nodes (fixes \#248) (\href{https://github.com/babel/babylon/pull/249}{\texttt{ \#249}}) (James Long)

The following case produced an invalid AST 
\begin{DoxyCode}{0}
\DoxyCodeLine{<div>\{/* foo */\}</div> }

\end{DoxyCode}


Use from\+Code\+Point to convert high value unicode entities (\href{https://github.com/babel/babylon/pull/243}{\texttt{ \#243}}) (Ryan Duffy)

When high value unicode entities (e.\+g. 💩) were used in the input source code they are now correctly encoded in the resulting AST.

Rename folder to avoid Windows-\/illegal characters (\href{https://github.com/babel/babylon/pull/281}{\texttt{ \#281}}) (Ryan Plant)

Allow this.\+state.\+clone() when parsing decorators (\href{https://github.com/babel/babylon/pull/262}{\texttt{ \#262}}) (Alex Rattray)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1553}{}\doxysubsection{\+:house\+: Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1553}
User external-\/helpers (\href{https://github.com/babel/babylon/pull/254}{\texttt{ \#254}}) (Daniel Tschinder)

Add watch script for dev (\href{https://github.com/babel/babylon/pull/234}{\texttt{ \#234}}) (Kai Cataldo)

Freeze current plugins list for \char`\"{}$\ast$\char`\"{} option, and remove from README.\+md (\href{https://github.com/babel/babylon/pull/245}{\texttt{ \#245}}) (Andrew Levine)

Prepare tests for multiple fixture runners. (\href{https://github.com/babel/babylon/pull/240}{\texttt{ \#240}}) (Daniel Tschinder)

Add some test coverage for decorators stage-\/0 plugin (\href{https://github.com/babel/babylon/pull/250}{\texttt{ \#250}}) (Andrew Levine)

Refactor tokenizer types file (\href{https://github.com/babel/babylon/pull/263}{\texttt{ \#263}}) (Sven SAULEAU)

Update eslint-\/config-\/babel to the latest version 🚀 (\href{https://github.com/babel/babylon/pull/273}{\texttt{ \#273}}) (greenkeeper\mbox{[}bot\mbox{]})

chore(package)\+: update rollup to version 0.\+41.\+0 (\href{https://github.com/babel/babylon/pull/272}{\texttt{ \#272}}) (greenkeeper\mbox{[}bot\mbox{]})

chore(package)\+: update flow-\/bin to version 0.\+37.\+0 (\href{https://github.com/babel/babylon/pull/255}{\texttt{ \#255}}) (greenkeeper\mbox{[}bot\mbox{]})\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1554}{}\doxysection{6.\+14.\+1 (2016-\/11-\/17)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1554}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1555}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1555}
Allow {\ttfamily \char`\"{}plugins\char`\"{}\+: \mbox{[}\char`\"{}$\ast$\char`\"{}\mbox{]}} (\href{https://github.com/babel/babylon/pull/229}{\texttt{ \#229}}) (Daniel Tschinder)


\begin{DoxyCode}{0}
\DoxyCodeLine{\{}
\DoxyCodeLine{  "{}plugins"{}: ["{}*"{}]}
\DoxyCodeLine{\} }

\end{DoxyCode}


Will include all parser plugins instead of specifying each one individually. Useful for tools like babel-\/eslint, jscodeshift, and ast-\/explorer.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1556}{}\doxysection{6.\+14.\+0 (2016-\/11-\/16)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1556}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1557}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1557}
Throw error for reserved words {\ttfamily enum} and {\ttfamily await} (\href{https://github.com/babel/babylon/pull/195}{\texttt{ \#195}}) (Kai Cataldo)

\href{http://www.ecma-international.org/ecma-262/6.0/\#sec-future-reserved-words}{\texttt{ 11.\+6.\+2.\+2 Future Reserved Words}}

Babylon will throw for more reserved words such as {\ttfamily enum} or {\ttfamily await} (in strict mode).


\begin{DoxyCode}{0}
\DoxyCodeLine{class enum \{\} // throws}
\DoxyCodeLine{class await \{\} // throws in strict mode (module) }

\end{DoxyCode}


Optional names for function types and object type indexers (\href{https://github.com/babel/babylon/pull/197}{\texttt{ \#197}}) (Gabe Levi)

So where you used to have to write


\begin{DoxyCode}{0}
\DoxyCodeLine{type A = (x: string, y: boolean) => number;}
\DoxyCodeLine{type B = (z: string) => number;}
\DoxyCodeLine{type C = \{ [key: string]: number \}; }

\end{DoxyCode}


you can now write (with flow 0.\+34.\+0)


\begin{DoxyCode}{0}
\DoxyCodeLine{type A = (string, boolean) => number;}
\DoxyCodeLine{type B = string => number;}
\DoxyCodeLine{type C = \{ [string]: number \}; }

\end{DoxyCode}


Parse flow nested array type annotations like {\ttfamily number\mbox{[}\mbox{]}\mbox{[}\mbox{]}} (\href{https://github.com/babel/babylon/pull/219}{\texttt{ \#219}}) (Bernhard Häussner)

Supports these form now of specifying array types\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var a: number[][][][];}
\DoxyCodeLine{var b: string[][]; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1558}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1558}
Correctly eat semicolon at the end of {\ttfamily Delcare\+Module\+Exports} (\href{https://github.com/babel/babylon/pull/223}{\texttt{ \#223}}) (Daniel Tschinder)


\begin{DoxyCode}{0}
\DoxyCodeLine{declare module "{}foo"{} \{ declare module.exports: number \}}
\DoxyCodeLine{declare module "{}foo"{} \{ declare module.exports: number; \}  // also allowed now }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1559}{}\doxysubsection{\+:house\+: Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1559}

\begin{DoxyItemize}
\item Count Babel tests towards Babylon code coverage (\href{https://github.com/babel/babylon/pull/182}{\texttt{ \#182}}) (Moti Zilberman)
\item Fix strange line endings (\href{https://github.com/babel/babylon/pull/214}{\texttt{ \#214}}) (Thomas Grainger)
\item Add node 7 (Daniel Tschinder)
\item chore(package)\+: update flow-\/bin to version 0.\+34.\+0 (\href{https://github.com/babel/babylon/pull/204}{\texttt{ \#204}}) (Greenkeeper)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1560}{}\doxysection{v6.\+13.\+1 (2016-\/10-\/26)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1560}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1561}{}\doxysubsection{\+:nail\+\_\+care\+: Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1561}

\begin{DoxyItemize}
\item Use rollup for bundling to speed up startup time (\href{https://github.com/babel/babylon/pull/190}{\texttt{ \#190}}) (\href{https://github.com/DrewML}{\texttt{ @drewml}})
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{const babylon = require('babylon');}
\DoxyCodeLine{const ast = babylon.parse('var foo = "{}lol"{};'); }

\end{DoxyCode}


With that test case, there was a $\sim$95ms savings by removing the need for node to build/traverse the dependency graph.

{\bfseries{Without bundling}} 

{\bfseries{With bundling}} 


\begin{DoxyItemize}
\item add clean command \href{[\#201](https://github.com/babel/babylon/pull/201)}{\texttt{ skip ci}} (Henry Zhu)
\item add For\+Await\+Statement (async generator already added) \href{[\#196](https://github.com/babel/babylon/pull/196)}{\texttt{ skip ci}} (Henry Zhu)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1562}{}\doxysection{v6.\+13.\+0 (2016-\/10-\/21)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1562}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1563}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1563}
Property variance type annotations for Flow plugin (\href{https://github.com/babel/babylon/pull/161}{\texttt{ \#161}}) (Sam Goldman)

\begin{quote}
See \href{https://flowtype.org/docs/variance.html}{\texttt{ https\+://flowtype.\+org/docs/variance.\+html}} for more information \end{quote}

\begin{DoxyCode}{0}
\DoxyCodeLine{type T = \{ +p: T \};}
\DoxyCodeLine{interface T \{ -\/p: T \};}
\DoxyCodeLine{declare class T \{ +[k:K]: V \};}
\DoxyCodeLine{class T \{ -\/[k:K]: V \};}
\DoxyCodeLine{class C2 \{ +p: T = e \}; }

\end{DoxyCode}


Raise error on duplicate definition of {\bfseries{proto}} (\href{https://github.com/babel/babylon/pull/183}{\texttt{ \#183}}) (Moti Zilberman)


\begin{DoxyCode}{0}
\DoxyCodeLine{(\{ \_\_proto\_\_: 1, \_\_proto\_\_: 2 \}) // Throws an error now }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1564}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1564}
Flow\+: Allow class properties to be named {\ttfamily static} (\href{https://github.com/babel/babylon/pull/184}{\texttt{ \#184}}) (Moti Zilberman)


\begin{DoxyCode}{0}
\DoxyCodeLine{declare class A \{}
\DoxyCodeLine{  static: T;}
\DoxyCodeLine{\} }

\end{DoxyCode}


Allow \char`\"{}async\char`\"{} as identifier for object literal property shorthand (\href{https://github.com/babel/babylon/pull/187}{\texttt{ \#187}}) (Andrew Levine)


\begin{DoxyCode}{0}
\DoxyCodeLine{var foo = \{ async, bar \}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1565}{}\doxysubsection{\+:nail\+\_\+care\+: Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1565}
Fix flowtype and add in\+Type to state (\href{https://github.com/babel/babylon/pull/189}{\texttt{ \#189}}) (Daniel Tschinder)

\begin{quote}
This improves the performance slightly (because of hidden classes) \end{quote}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1566}{}\doxysubsection{\+:house\+: Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1566}
Fix .gitattributes line ending setting (\href{https://github.com/babel/babylon/pull/191}{\texttt{ \#191}}) (Moti Zilberman)

Increase test coverage (\href{https://github.com/babel/babylon/pull/175}{\texttt{ \#175}} (Moti Zilberman)

Readd missin .eslinignore for IDEs (Daniel Tschinder)

Error on missing expected.\+json fixture in CI (\href{https://github.com/babel/babylon/pull/188}{\texttt{ \#188}}) (Moti Zilberman)

Add .gitattributes and .editorconfig for LF line endings (\href{https://github.com/babel/babylon/pull/179}{\texttt{ \#179}}) (Moti Zilberman)

Fixes two tests that are failing after the merge of \#172 (\href{https://github.com/babel/babylon/pull/177}{\texttt{ \#177}}) (Moti Zilberman)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1567}{}\doxysection{v6.\+12.\+0 (2016-\/10-\/14)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1567}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1568}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1568}
Implement import() syntax (\href{https://github.com/babel/babylon/pull/163}{\texttt{ \#163}}) (Jordan Gensler)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1569}{}\doxysubsubsection{Dynamic Import}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1569}

\begin{DoxyItemize}
\item Proposal Repo\+: \href{https://github.com/domenic/proposal-dynamic-import}{\texttt{ https\+://github.\+com/domenic/proposal-\/dynamic-\/import}}
\item Championed by \href{https://github.com/domenic}{\texttt{ @domenic}}
\item stage-\/2
\item \href{https://github.com/rwaldron/tc39-notes/blob/master/es7/2016-09/sept-28.md\#113a-import}{\texttt{ sept-\/28 tc39 notes}}
\end{DoxyItemize}

\begin{quote}
This repository contains a proposal for adding a \char`\"{}function-\/like\char`\"{} import() module loading syntactic form to Java\+Script \end{quote}

\begin{DoxyCode}{0}
\DoxyCodeLine{import(`./section-\/modules/\$\{link.dataset.entryModule\}.js`)}
\DoxyCodeLine{.then(module => \{}
\DoxyCodeLine{  module.loadPageInto(main);}
\DoxyCodeLine{\}) }

\end{DoxyCode}


Add Empty\+Type\+Annotation (\href{https://github.com/babel/babylon/pull/171}{\texttt{ \#171}}) (Sam Goldman)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1570}{}\doxysubsubsection{Empty\+Type\+Annotation}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1570}
Just wasn\textquotesingle{}t covered before.


\begin{DoxyCode}{0}
\DoxyCodeLine{type T = empty; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1571}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1571}
Fix crash when exporting with destructuring and sparse array (\href{https://github.com/babel/babylon/pull/170}{\texttt{ \#170}}) (Jeroen Engels)


\begin{DoxyCode}{0}
\DoxyCodeLine{// was failing due to sparse array}
\DoxyCodeLine{export const \{ foo: [ ,, qux7 ] \} = bar; }

\end{DoxyCode}


Allow keyword in Flow object declaration property names with type parameters (\href{https://github.com/babel/babylon/pull/146}{\texttt{ \#146}}) (Dan Harper)


\begin{DoxyCode}{0}
\DoxyCodeLine{declare class X \{}
\DoxyCodeLine{  foobar<T>(): void;}
\DoxyCodeLine{  static foobar<T>(): void;}
\DoxyCodeLine{\} }

\end{DoxyCode}


Allow keyword in object/class property names with Flow type parameters (\href{https://github.com/babel/babylon/pull/145}{\texttt{ \#145}}) (Dan Harper)


\begin{DoxyCode}{0}
\DoxyCodeLine{class Foo \{}
\DoxyCodeLine{  delete<T>(item: T): T \{}
\DoxyCodeLine{    return item;}
\DoxyCodeLine{  \}}
\DoxyCodeLine{\} }

\end{DoxyCode}


Allow type\+Annotations for yield expressions (\href{https://github.com/babel/babylon/pull/174}{\texttt{ \#174}})) (Daniel Tschinder)


\begin{DoxyCode}{0}
\DoxyCodeLine{function *foo() \{}
\DoxyCodeLine{  const x = (yield 5: any);}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1572}{}\doxysubsection{\+:nail\+\_\+care\+: Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1572}
Annotate more errors with expected token (\href{https://github.com/babel/babylon/pull/172}{\texttt{ \#172}})) (Moti Zilberman)


\begin{DoxyCode}{0}
\DoxyCodeLine{// Unexpected token, expected ; (1:6)}
\DoxyCodeLine{\{ set 1 \} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1573}{}\doxysubsection{\+:house\+: Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1573}
Remove kcheck (\href{https://github.com/babel/babylon/pull/173}{\texttt{ \#173}})) (Daniel Tschinder)

Also run flow, linting, babel tests on separate instances (add back node 0.\+10)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1574}{}\doxysection{v6.\+11.\+6 (2016-\/10-\/12)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1574}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1575}{}\doxysubsection{\+:bug\+: Bug Fix/\+Regression}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1575}
Fix crash when exporting with destructuring and sparse array (\href{https://github.com/babel/babylon/pull/170}{\texttt{ \#170}}) (Jeroen Engels)


\begin{DoxyCode}{0}
\DoxyCodeLine{// was failing with `Cannot read property 'type' of null` because of null identifiers}
\DoxyCodeLine{export const \{ foo: [ ,, qux7 ] \} = bar; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1576}{}\doxysection{v6.\+11.\+5 (2016-\/10-\/12)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1576}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1577}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1577}
Fix\+: Check for duplicate named exports in exported destructuring assignments (\href{https://github.com/babel/babylon/pull/144}{\texttt{ \#144}}) (Kai Cataldo)


\begin{DoxyCode}{0}
\DoxyCodeLine{// `foo` has already been exported. Exported identifiers must be unique. (2:20)}
\DoxyCodeLine{export function foo() \{\};}
\DoxyCodeLine{export const \{ a: [\{foo\}] \} = bar; }

\end{DoxyCode}


Fix\+: Check for duplicate named exports in exported rest elements/properties (\href{https://github.com/babel/babylon/pull/164}{\texttt{ \#164}}) (Kai Cataldo)


\begin{DoxyCode}{0}
\DoxyCodeLine{// `foo` has already been exported. Exported identifiers must be unique. (2:22)}
\DoxyCodeLine{export const foo = 1;}
\DoxyCodeLine{export const [bar, ...foo] = baz; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1578}{}\doxysubsection{\+:bug\+: Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1578}
Fix\+: Allow identifier {\ttfamily async} for default param in arrow expression (\href{https://github.com/babel/babylon/pull/165}{\texttt{ \#165}}) (Kai Cataldo)


\begin{DoxyCode}{0}
\DoxyCodeLine{// this is ok now}
\DoxyCodeLine{const test = (\{async = true\}) => \{\}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1579}{}\doxysubsection{\+:nail\+\_\+care\+: Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1579}
Babylon will now print out the token it\textquotesingle{}s expecting if there\textquotesingle{}s a {\ttfamily Syntax\+Error} (\href{https://github.com/babel/babylon/pull/150}{\texttt{ \#150}}) (Daniel Tschinder)


\begin{DoxyCode}{0}
\DoxyCodeLine{\# So in the case of a missing ending curly (`\}`)}
\DoxyCodeLine{Module build failed: SyntaxError: Unexpected token, expected \} (30:0)}
\DoxyCodeLine{  28 |   \}}
\DoxyCodeLine{  29 |}
\DoxyCodeLine{> 30 |}
\DoxyCodeLine{     | \string^ }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1580}{}\doxysection{v6.\+11.\+4 (2016-\/10-\/03)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1580}
Temporary rollback for erroring on trailing comma with spread (\#154) (Henry Zhu)\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1581}{}\doxysection{v6.\+11.\+3 (2016-\/10-\/01)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1581}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1582}{}\doxysubsection{\+:eyeglasses\+: Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1582}
Add static errors for object rest (\#149) (\href{https://github.com/danez}{\texttt{ @danez}})

\begin{quote}
\href{https://github.com/sebmarkbage/ecmascript-rest-spread}{\texttt{ https\+://github.\+com/sebmarkbage/ecmascript-\/rest-\/spread}} \end{quote}
Object rest copies the {\itshape rest} of properties from the right hand side {\ttfamily obj} starting from the left to right.


\begin{DoxyCode}{0}
\DoxyCodeLine{let \{ x, y, ...z \} =  \{ x: 1, y: 2, z: 3 \};}
\DoxyCodeLine{// x = 1}
\DoxyCodeLine{// y = 2}
\DoxyCodeLine{// z = \{ z: 3 \} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1583}{}\doxysubsubsection{New Syntax Errors\+:}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1583}
{\bfseries{Syntax\+Error}}\+: The rest element has to be the last element when destructuring (1\+:10) 
\begin{DoxyCode}{0}
\DoxyCodeLine{> 1 | let \{ ...x, y, z \} = \{ x: 1, y: 2, z: 3\};}
\DoxyCodeLine{    |           \string^}
\DoxyCodeLine{\# Previous behavior:}
\DoxyCodeLine{\# x = \{ x: 1, y: 2, z: 3 \}}
\DoxyCodeLine{\# y = 2}
\DoxyCodeLine{\# z = 3 }

\end{DoxyCode}


Before, this was just a more verbose way of shallow copying {\ttfamily obj} since it doesn\textquotesingle{}t actually do what you think.

{\bfseries{Syntax\+Error}}\+: Cannot have multiple rest elements when destructuring (1\+:13)


\begin{DoxyCode}{0}
\DoxyCodeLine{> 1 | let \{ x, ...y, ...z \} = \{ x: 1, y: 2, z: 3\};}
\DoxyCodeLine{    |              \string^}
\DoxyCodeLine{\# Previous behavior:}
\DoxyCodeLine{\# x = 1}
\DoxyCodeLine{\# y = \{ y: 2, z: 3 \}}
\DoxyCodeLine{\# z = \{ y: 2, z: 3 \} }

\end{DoxyCode}


Before y and z would just be the same value anyway so there is no reason to need to have both.

{\bfseries{Syntax\+Error}}\+: A trailing comma is not permitted after the rest element (1\+:16)


\begin{DoxyCode}{0}
\DoxyCodeLine{let \{ x, y, ...z, \} = obj; }

\end{DoxyCode}


The rationale for this is that the use case for trailing comma is that you can add something at the end without affecting the line above. Since a Rest\+Property always has to be the last property it doesn\textquotesingle{}t make sense.

\DoxyHorRuler{0}


get / set are valid property names in default assignment (\#142) (\href{https://github.com/jezell}{\texttt{ @jezell}})


\begin{DoxyCode}{0}
\DoxyCodeLine{// valid}
\DoxyCodeLine{function something(\{ set = null, get = null \}) \{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1585}{}\doxysection{v6.\+11.\+2 (2016-\/09-\/23)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1585}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1586}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1586}

\begin{DoxyItemize}
\item \href{https://github.com/babel/babylon/issues/139}{\texttt{ \#139}} Don\textquotesingle{}t do the duplicate check if not an identifier (\#140) @hzoo
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{// regression with duplicate export check}
\DoxyCodeLine{SyntaxError: ./typography.js: `undefined` has already been exported. Exported identifiers must be unique. (22:13)}
\DoxyCodeLine{  20 |}
\DoxyCodeLine{  21 | export const \{ rhythm \} = typography;}
\DoxyCodeLine{> 22 | export const \{ TypographyStyle \} = typography }

\end{DoxyCode}


Bail out for now, and make a change to account for destructuring in the next release.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1587}{}\doxysection{6.\+11.\+1 (2016-\/09-\/22)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1587}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1588}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1588}

\begin{DoxyItemize}
\item \href{https://github.com/babel/babylon/pull/137}{\texttt{ \#137}} -\/ Fix a regression with duplicate exports -\/ it was erroring on all keys in {\ttfamily Object.\+prototype}. @danez
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{export toString from './toString'; }

\end{DoxyCode}



\begin{DoxyCode}{0}
\DoxyCodeLine{`toString` has already been exported. Exported identifiers must be unique. (1:7)}
\DoxyCodeLine{> 1 | export toString from './toString';}
\DoxyCodeLine{    |        \string^}
\DoxyCodeLine{  2 | }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1589}{}\doxysection{6.\+11.\+0 (2016-\/09-\/22)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1589}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1590}{}\doxysubsection{Spec Compliance (will break CI)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1590}

\begin{DoxyItemize}
\item Disallow duplicate named exports (\href{https://github.com/babel/babylon/pull/107}{\texttt{ \#107}}) @kaicataldo
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{// Only one default export allowed per module. (2:9)}
\DoxyCodeLine{export default function() \{\};}
\DoxyCodeLine{export \{ foo as default \};}
\DoxyCodeLine{}
\DoxyCodeLine{// Only one default export allowed per module. (2:0)}
\DoxyCodeLine{export default \{\};}
\DoxyCodeLine{export default function() \{\};}
\DoxyCodeLine{}
\DoxyCodeLine{// `Foo` has already been exported. Exported identifiers must be unique. (2:0)}
\DoxyCodeLine{export \{ Foo \};}
\DoxyCodeLine{export class Foo \{\}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1591}{}\doxysubsection{New Feature (\+Syntax)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1591}

\begin{DoxyItemize}
\item Add support for computed class property names (\href{https://github.com/babel/babylon/pull/121}{\texttt{ \#121}}) @motiz88
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{// AST}
\DoxyCodeLine{interface ClassProperty <: Node \{}
\DoxyCodeLine{  type: "{}ClassProperty"{};}
\DoxyCodeLine{  key: Identifier;}
\DoxyCodeLine{  value: Expression;}
\DoxyCodeLine{  computed: boolean; // added}
\DoxyCodeLine{\} }

\end{DoxyCode}



\begin{DoxyCode}{0}
\DoxyCodeLine{// with "{}plugins"{}: ["{}classProperties"{}]}
\DoxyCodeLine{class Foo \{}
\DoxyCodeLine{  [x]}
\DoxyCodeLine{  ['y']}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{class Bar \{}
\DoxyCodeLine{  [p]}
\DoxyCodeLine{  [m] () \{\}}
\DoxyCodeLine{\}}

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1592}{}\doxysubsection{Bug Fix}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1592}

\begin{DoxyItemize}
\item Fix {\ttfamily static} property falling through in the declare class Flow AST (\href{https://github.com/babel/babylon/pull/135}{\texttt{ \#135}}) @danharper
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{declare class X \{}
\DoxyCodeLine{    a: number;}
\DoxyCodeLine{    static b: number; // static}
\DoxyCodeLine{    c: number; // this was being marked as static in the AST as well}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1593}{}\doxysubsection{Polish}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1593}

\begin{DoxyItemize}
\item Rephrase \char`\"{}assigning/binding to rvalue\char`\"{} errors to include context (\href{https://github.com/babel/babylon/pull/119}{\texttt{ \#119}}) @motiz88
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{// Used to error with:}
\DoxyCodeLine{// SyntaxError: Assigning to rvalue (1:0)}
\DoxyCodeLine{}
\DoxyCodeLine{// Now:}
\DoxyCodeLine{// Invalid left-\/hand side in assignment expression (1:0)}
\DoxyCodeLine{3 = 4}
\DoxyCodeLine{}
\DoxyCodeLine{// Invalid left-\/hand side in for-\/in statement (1:5)}
\DoxyCodeLine{for (+i in \{\}); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1594}{}\doxysubsection{Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1594}

\begin{DoxyItemize}
\item Fix call to {\ttfamily this.\+parse\+Maybe\+Assign} with correct arguments (\href{https://github.com/babel/babylon/pull/133}{\texttt{ \#133}}) @danez
\item Add semver note to changelog (\href{https://github.com/babel/babylon/pull/131}{\texttt{ \#131}}) @hzoo
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1595}{}\doxysection{6.\+10.\+0 (2016-\/09-\/19)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1595}
\begin{quote}
We plan to include some spec compliance bugs in patch versions. An example was the multiple default exports issue. \end{quote}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1596}{}\doxysubsection{Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1596}

\begin{DoxyItemize}
\item Implement ES2016 check for simple parameter list in strict mode (\href{https://github.com/babel/babylon/pull/106}{\texttt{ \#106}}) (Timothy Gu)
\end{DoxyItemize}

\begin{quote}
It is a Syntax Error if Contains\+Use\+Strict of Function\+Body is true and Is\+Simple\+Parameter\+List of Formal\+Parameters is false. \href{https://tc39.github.io/ecma262/2016/\#sec-function-definitions-static-semantics-early-errors}{\texttt{ https\+://tc39.\+github.\+io/ecma262/2016/\#sec-\/function-\/definitions-\/static-\/semantics-\/early-\/errors}} \end{quote}
More Context\+: \href{https://github.com/rwaldron/tc39-notes/blob/master/es7/2015-07/july-29.md\#611-the-scope-of-use-strict-with-respect-to-destructuring-in-parameter-lists}{\texttt{ tc39-\/notes}}

For example\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{// this errors because it uses destructuring and default parameters}
\DoxyCodeLine{// in a function with a "{}use strict"{} directive}
\DoxyCodeLine{function a([ option1, option2 ] = []) \{}
\DoxyCodeLine{  "{}use strict"{};}
\DoxyCodeLine{\}}

\end{DoxyCode}


The solution would be to use a top level \char`\"{}use strict\char`\"{} or to remove the destructuring or default parameters when using a function + \char`\"{}use strict\char`\"{} or to.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1597}{}\doxysubsection{New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1597}

\begin{DoxyItemize}
\item Exact object type annotations for Flow plugin (\href{https://github.com/babel/babylon/pull/104}{\texttt{ \#104}}) (Basil Hosmer)
\end{DoxyItemize}

Added to flow in \href{https://github.com/facebook/flow/commit/c710c40aa2a115435098d6c0dfeaadb023cd39b8}{\texttt{ https\+://github.\+com/facebook/flow/commit/c710c40aa2a115435098d6c0dfeaadb023cd39b8}}

Looks like\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{var a : \{| x: number, y: string |\} = \{ x: 0, y: 'foo' \}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1598}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1598}

\begin{DoxyItemize}
\item Include {\ttfamily type\+Parameter} location in {\ttfamily Arrow\+Function\+Expression} (\href{https://github.com/babel/babylon/pull/126}{\texttt{ \#126}}) (Daniel Tschinder)
\item Error on invalid flow type annotation with default assignment (\href{https://github.com/babel/babylon/pull/122}{\texttt{ \#122}}) (Dan Harper)
\item Fix Flow return types on arrow functions (\href{https://github.com/babel/babylon/pull/124}{\texttt{ \#124}}) (Dan Harper)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1599}{}\doxysubsection{Misc}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1599}

\begin{DoxyItemize}
\item Add tests for export extensions (\href{https://github.com/babel/babylon/pull/127}{\texttt{ \#127}}) (Daniel Tschinder)
\item Fix Contributing guidelines \mbox{[}skip ci\mbox{]} (Daniel Tschinder)
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1600}{}\doxysection{6.\+9.\+2 (2016-\/09-\/09)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1600}
The only change is to remove the {\ttfamily babel-\/runtime} dependency by compiling with Babel\textquotesingle{}s ES2015 loose mode. So using babylon standalone should be smaller.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1601}{}\doxysection{6.\+9.\+1 (2016-\/08-\/23)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1601}
This release contains mainly small bugfixes but also updates babylons default mode to es2017. The features for {\ttfamily exponentiation\+Operator}, {\ttfamily async\+Functions} and {\ttfamily trailing\+Function\+Commas} which previously needed to be activated via plugin are now enabled by default and the plugins are now no-\/ops.\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1602}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1602}

\begin{DoxyItemize}
\item Fix issues with default object params in async functions (\href{https://github.com/babel/babylon/pull/96}{\texttt{ \#96}}) @danez
\item Fix issues with flow-\/types and async function (\href{https://github.com/babel/babylon/pull/95}{\texttt{ \#95}}) @danez
\item Fix arrow functions with destructuring, types \& default value (\href{https://github.com/babel/babylon/pull/94}{\texttt{ \#94}}) @danharper
\item Fix declare class with qualified type identifier (\href{https://github.com/babel/babylon/pull/97}{\texttt{ \#97}}) @danez
\item Remove exponentiation\+Operator, async\+Functions, trailing\+Function\+Commas plugins and enable them by default (\href{https://github.com/babel/babylon/pull/98}{\texttt{ \#98}}) @danez
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1603}{}\doxysection{6.\+9.\+0 (2016-\/08-\/16)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1603}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1604}{}\doxysubsection{New syntax support}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1604}

\begin{DoxyItemize}
\item Add JSX spread children (\href{https://github.com/babel/babylon/pull/42}{\texttt{ \#42}}) @calebmer
\end{DoxyItemize}

(Be aware that React is not going to support this syntax)


\begin{DoxyCode}{0}
\DoxyCodeLine{<div>}
\DoxyCodeLine{  \{...todos.map(todo => <Todo key=\{todo.id\} todo=\{todo\}/>)\}}
\DoxyCodeLine{</div> }

\end{DoxyCode}



\begin{DoxyItemize}
\item Add support for declare module.\+exports (\href{https://github.com/babel/babylon/pull/72}{\texttt{ \#72}}) @danez
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{declare module "{}foo"{} \{}
\DoxyCodeLine{  declare module.exports: \{\}}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1605}{}\doxysubsection{New Features}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1605}

\begin{DoxyItemize}
\item If supplied, attach filename property to comment node loc. (\href{https://github.com/babel/babylon/pull/80}{\texttt{ \#80}}) @divmain
\item Add identifier name to node loc field (\href{https://github.com/babel/babylon/pull/90}{\texttt{ \#90}}) @kittens
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1606}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1606}

\begin{DoxyItemize}
\item Fix exponential operator to behave according to spec (\href{https://github.com/babel/babylon/pull/75}{\texttt{ \#75}}) @danez
\item Fix lookahead to not add comments to arrays which are not cloned (\href{https://github.com/babel/babylon/pull/76}{\texttt{ \#76}}) @danez
\item Fix accidental fall-\/through in Flow type parsing. (\href{https://github.com/babel/babylon/pull/82}{\texttt{ \#82}}) @xiemaisi
\item Only allow declares inside declare module (\href{https://github.com/babel/babylon/pull/73}{\texttt{ \#73}}) @danez
\item Small fix for parsing type parameter declarations (\href{https://github.com/babel/babylon/pull/83}{\texttt{ \#83}}) @gabelevi
\item Fix arrow param locations with flow types (\href{https://github.com/babel/babylon/pull/57}{\texttt{ \#57}}) @danez
\item Fixes Syntax\+Error position with flow optional type (\href{https://github.com/babel/babylon/pull/65}{\texttt{ \#65}}) @danez
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1607}{}\doxysubsection{Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1607}

\begin{DoxyItemize}
\item Add codecoverage to tests @danez
\item Fix tests to not save expected output if we expect the test to fail @danez
\item Make a shallow clone of babel for testing @danez
\item chore(package)\+: update cross-\/env to version 2.\+0.\+0 (\href{https://github.com/babel/babylon/pull/77}{\texttt{ \#77}}) @greenkeeperio-\/bot
\item chore(package)\+: update ava to version 0.\+16.\+0 (\href{https://github.com/babel/babylon/pull/86}{\texttt{ \#86}}) @greenkeeperio-\/bot
\item chore(package)\+: update babel-\/plugin-\/istanbul to version 2.\+0.\+0 (\href{https://github.com/babel/babylon/pull/89}{\texttt{ \#89}}) @greenkeeperio-\/bot
\item chore(package)\+: update nyc to version 8.\+0.\+0 (\href{https://github.com/babel/babylon/pull/88}{\texttt{ \#88}}) @greenkeeperio-\/bot
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1608}{}\doxysection{6.\+8.\+4 (2016-\/07-\/06)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1608}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1609}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1609}

\begin{DoxyItemize}
\item Fix the location of params, when flow and default value used (\href{https://github.com/babel/babylon/pull/68}{\texttt{ \#68}}) @danez
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1610}{}\doxysection{6.\+8.\+3 (2016-\/07-\/02)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1610}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1611}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1611}

\begin{DoxyItemize}
\item Fix performance regression introduced in 6.\+8.\+2 with conditionals (\href{https://github.com/babel/babylon/pull/63}{\texttt{ \#63}}) @danez
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1612}{}\doxysection{6.\+8.\+2 (2016-\/06-\/24)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1612}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1613}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1613}

\begin{DoxyItemize}
\item Fix parse error with yielding jsx elements in generators {\ttfamily function$\ast$ it() \{ yield $<$a$>$$<$/a$>$; \}} (\href{https://github.com/babel/babylon/pull/31}{\texttt{ \#31}}) @eldereal
\item When cloning nodes do not clone its comments (\href{https://github.com/babel/babylon/pull/24}{\texttt{ \#24}}) @danez
\item Fix parse errors when using arrow functions with an spread element and return type {\ttfamily (...props)\+: void =$>$ \{\}} (\href{https://github.com/babel/babylon/pull/10}{\texttt{ \#10}}) @danez
\item Fix leading comments added from previous node (\href{https://github.com/babel/babylon/pull/23}{\texttt{ \#23}}) @danez
\item Fix parse errors with flow\textquotesingle{}s optional arguments {\ttfamily (arg?) =$>$ \{\}} (\href{https://github.com/babel/babylon/pull/19}{\texttt{ \#19}}) @danez
\item Support negative numeric type literals @kittens
\item Remove line terminator restriction after await keyword @kittens
\item Remove grouped type arrow restriction as it seems flow no longer has it @kittens
\item Fix parse error with generic methods that have the name {\ttfamily get} or {\ttfamily set} {\ttfamily class foo \{ get() \{\} \}} (\href{https://github.com/babel/babylon/pull/55}{\texttt{ \#55}}) @vkurchatkin
\item Fix parse error with arrow functions that have flow type parameter declarations {\ttfamily $<$T$>$(x\+: T)\+: T =$>$ x;} (\href{https://github.com/babel/babylon/pull/54}{\texttt{ \#54}}) @gabelevi
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1614}{}\doxysubsection{Documentation}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1614}

\begin{DoxyItemize}
\item Document AST differences from ESTree (\href{https://github.com/babel/babylon/pull/41}{\texttt{ \#41}}) @nene
\item Move ast spec from babel/babel (\href{https://github.com/babel/babylon/pull/46}{\texttt{ \#46}}) @hzoo
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1615}{}\doxysubsection{Internal}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1615}

\begin{DoxyItemize}
\item Enable skipped tests (\href{https://github.com/babel/babylon/pull/16}{\texttt{ \#16}}) @danez
\item Add script to test latest version of babylon with babel (\href{https://github.com/babel/babylon/pull/21}{\texttt{ \#21}}) @danez
\item Upgrade test runner ava @kittens
\item Add missing generate-\/identifier-\/regex script @kittens
\item Rename parser context types @kittens
\item Add node v6 to travis testing @hzoo
\item Update to Unicode v9 (\href{https://github.com/babel/babylon/pull/45}{\texttt{ \#45}}) @mathiasbynens
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1616}{}\doxysection{6.\+8.\+1 (2016-\/06-\/06)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1616}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1617}{}\doxysubsection{New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1617}

\begin{DoxyItemize}
\item Parse type parameter declarations with defaults like {\ttfamily type Foo$<$T = string$>$ = T}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1618}{}\doxysubsection{Bug Fixes}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1618}

\begin{DoxyItemize}
\item Type parameter declarations need 1 or more type parameters.
\item The existential type {\ttfamily $\ast$} is not a valid type parameter.
\item The existential type {\ttfamily $\ast$} is a primary type
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1619}{}\doxysubsection{Spec Compliance}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1619}

\begin{DoxyItemize}
\item The param list for type parameter declarations now consists of {\ttfamily Type\+Parameter} nodes
\item New {\ttfamily Type\+Parameter} AST Node (replaces using the {\ttfamily Identifier} node before)
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{interface TypeParameter <: Node \{}
\DoxyCodeLine{  bound: TypeAnnotation;}
\DoxyCodeLine{  default: TypeAnnotation;}
\DoxyCodeLine{  name: string;}
\DoxyCodeLine{  variance: "{}plus"{} | "{}minus"{};}
\DoxyCodeLine{\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1620}{}\doxysection{6.\+8.\+0 (2016-\/05-\/02)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1620}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1621}{}\doxysubsubsection{New Feature}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1621}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1622}{}\doxyparagraph{Parse Method Parameter Decorators ($<$a href=\char`\"{}https\+://github.\+com/babel/babylon/pull/12\char`\"{}$>$\#12$<$/a$>$)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1622}
\begin{quote}
\href{https://goo.gl/8MmCMG}{\texttt{ Method Parameter Decorators}} is now a TC39 \href{https://github.com/tc39/ecma262/blob/master/stage0.md}{\texttt{ stage 0 proposal}}. \end{quote}
Examples\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{class Foo \{}
\DoxyCodeLine{  constructor(@foo() x, @bar(\{ a: 123 \}) @baz() y) \{\}}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{export default function func(@foo() x, @bar(\{ a: 123 \}) @baz() y) \{\}}
\DoxyCodeLine{}
\DoxyCodeLine{var obj = \{}
\DoxyCodeLine{  method(@foo() x, @bar(\{ a: 123 \}) @baz() y) \{\}}
\DoxyCodeLine{\}; }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1623}{}\doxyparagraph{Parse for-\/await statements (w/ $<$tt$>$async\+Generators$<$/tt$>$ plugin) ($<$a href=\char`\"{}https\+://github.\+com/babel/babylon/pull/17\char`\"{}$>$\#17$<$/a$>$)}\label{md_sfcode_node_modules__babel_parser_CHANGELOG_autotoc_md1623}
There is also a new node type, {\ttfamily For\+Await\+Statement}.

\begin{quote}
\href{https://github.com/tc39/proposal-async-iteration}{\texttt{ Async generators and for-\/await}} are now a \href{https://github.com/tc39/ecma262\#current-proposals}{\texttt{ stage 2 proposal}}. \end{quote}
Example\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{async function f() \{}
\DoxyCodeLine{  for await (let x of y);}
\DoxyCodeLine{\} }

\end{DoxyCode}
 