couchdb-esprima.git
2 years agoFix Unexpected "Invalid left-hand side in for-in" error main master
Joseph Pecoraro [Wed, 11 Sep 2019 01:13:15 +0000 (18:13 -0700)] 
Fix Unexpected "Invalid left-hand side in for-in" error

Fixes #1920
Fixes #1944
Closes gh-1993

2 years agoUpdate test262 for ES2018+ features
Joseph Pecoraro [Wed, 11 Sep 2019 01:38:05 +0000 (18:38 -0700)] 
Update test262 for ES2018+ features

Fixes #1995
Closes gh-1996

3 years agoFix link from Chapter 2 to Chapter 3
Eugene Otto [Thu, 8 Aug 2019 18:47:58 +0000 (11:47 -0700)] 
Fix link from Chapter 2 to Chapter 3

https://github.com/jquery/esprima/issues/1986
Closes gh-1987

3 years agoFix Unexpected ILLEGAL token with function literal in template strings
Joseph Pecoraro [Wed, 11 Sep 2019 01:15:20 +0000 (18:15 -0700)] 
Fix Unexpected ILLEGAL token with function literal in template strings

Fixes #1991
Closes gh-1994

3 years agoUpdate identifier parsing per Unicode v12.1.0
Mathias Bynens [Tue, 2 Jul 2019 09:17:05 +0000 (11:17 +0200)] 
Update identifier parsing per Unicode v12.1.0

ECMAScript follows the latest version of the Unicode Standard. Unicode v12.1.0 was officially released on May 7th, 2019. This patch updates Esprima to support the new identifier characters.

Ref. https://github.com/tc39/ecma262/issues/1530.

Closes gh-1978

3 years agoAppVeyor CI: minor tweaks to improve dashboard clarity
Ariya Hidayat [Sun, 9 Dec 2018 15:52:29 +0000 (07:52 -0800)] 
AppVeyor CI: minor tweaks to improve dashboard clarity

Closes gh-1962

3 years agoDownstream test: re-enable Istanbul with a workaround
Ariya Hidayat [Sun, 9 Dec 2018 00:40:54 +0000 (16:40 -0800)] 
Downstream test: re-enable Istanbul with a workaround

The workaround is to skip the browser instrumentation tests in the
Istanbul test suite (since it is flaky when running on the CI system)

Closes gh-1961

3 years agoCI: Report to codecov.io via AppVeyor instead of Circle CI
Ariya Hidayat [Fri, 7 Dec 2018 08:56:18 +0000 (00:56 -0800)] 
CI: Report to codecov.io via AppVeyor instead of Circle CI

Closes gh-1960

3 years agoUpdate to the latest version of TypeScript compiler, linter, and formatter
Ariya Hidayat [Wed, 5 Dec 2018 03:22:00 +0000 (19:22 -0800)] 
Update to the latest version of TypeScript compiler, linter, and formatter

Due to the latest formatter does not run on Node.js v4 anymore, this
version has been excluded from Travis CI runs.

Closes gh-1958

4 years agoFix parsing async get/set in a class
Ariya Hidayat [Sun, 10 Jun 2018 23:02:32 +0000 (16:02 -0700)] 
Fix parsing async get/set in a class

Fixes #1861
Fixes #1875
Closes gh-1939

4 years agoCI for GitLab
Ariya Hidayat [Thu, 7 Jun 2018 08:07:55 +0000 (01:07 -0700)] 
CI for GitLab

This makes it easy to do off-GitHub development.

Closes gh-1936

4 years agoUpdate identifier parsing per Unicode v11
Mathias Bynens [Thu, 7 Jun 2018 11:03:06 +0000 (13:03 +0200)] 
Update identifier parsing per Unicode v11

ECMAScript follows the latest version of the Unicode Standard. Earlier this week, Unicode v11 was officially released. This patch updates Esprima to support the new identifier characters.

Ref. https://github.com/tc39/ecma262/issues/1219.

Closes gh-1937

4 years agoDocumentation: fix the type of some nodes.
Ariya Hidayat [Wed, 6 Jun 2018 15:40:31 +0000 (08:40 -0700)] 
Documentation: fix the type of some nodes.

Fixes #1910
Fixes #1929
Closes gh-1935

4 years agoDocumentation: explicit notice on supporting only JavaScript
Ariya Hidayat [Tue, 29 May 2018 16:30:54 +0000 (09:30 -0700)] 
Documentation: explicit notice on supporting only JavaScript

Fixes #1922
Closes gh-1933

4 years agoDownstream test: ignore Recast since its master is flaky.
Ariya Hidayat [Sat, 19 May 2018 22:04:58 +0000 (15:04 -0700)] 
Downstream test: ignore Recast since its master is flaky.

Recast's TypeScript tests often fail spuriously, sometimes in conjuction with GraphQL,
so let's isolate us from it.

Closes gh-1931

4 years agoRecognize Token.StringLiteral as a ReturnStatement argument.
Michael Fitzpatrick [Sun, 1 Apr 2018 14:05:27 +0000 (07:05 -0700)] 
Recognize Token.StringLiteral as a ReturnStatement argument.

This fix is similar to the one from #1882 for Token.Template.

Fixes #1897
Fixes #1928
Closes gh-1925

4 years agoAdd missing closing brace, fix incorrect interface name
Adrian Sieber [Wed, 28 Feb 2018 19:09:28 +0000 (19:09 +0000)] 
Add missing closing brace, fix incorrect interface name

Closes gh-1916

4 years agoUpdate identifier data to Unicode v10
Mathias Bynens [Wed, 21 Feb 2018 22:38:50 +0000 (14:38 -0800)] 
Update identifier data to Unicode v10

Closes gh-1915

4 years agoDocs: fix the type of SwitchCase's test
Ariya Hidayat [Sat, 10 Feb 2018 04:52:09 +0000 (20:52 -0800)] 
Docs: fix the type of SwitchCase's test

Fix #1909
Closes gh-1913

4 years agoTiny typo
Jordan Stephens [Wed, 7 Feb 2018 15:57:23 +0000 (10:57 -0500)] 
Tiny typo

Uses cases -> use cases

Close gh-1911

4 years agoUpdate TypeScript compiler, linter, and formatter to the latest version
Ariya Hidayat [Sun, 24 Dec 2017 04:30:55 +0000 (20:30 -0800)] 
Update TypeScript compiler, linter, and formatter to the latest version

Some formatting tweaks and identifier renaming (to adhere to the
variable unshadowing rule) are necessary.

Closes gh-1906

4 years agoDocumentation: Describe RegExp parsing dependency
Mike Pennisi [Sun, 26 Nov 2017 04:21:53 +0000 (23:21 -0500)] 
Documentation: Describe RegExp parsing dependency

Document Esprima's dependency on the regular expression parser of the
host environment.

Fix #1883
Closes gh-1890

4 years agoMake the pure tokenizer a bit aggressive in recognizing regex literals.
Ariya Hidayat [Thu, 23 Nov 2017 12:21:29 +0000 (19:21 +0700)] 
Make the pure tokenizer a bit aggressive in recognizing regex literals.

At the same time, ensure that it can fall back if the regex literal
proved to be invalid.

Fix #1772
Fix #1873
Close gh-1889

4 years agoCorrect the handling of HTML comment when parsing as a module
Ariya Hidayat [Tue, 21 Nov 2017 22:01:38 +0000 (05:01 +0700)] 
Correct the handling of HTML comment when parsing as a module

Fix #1841
Closes gh-1885

4 years agoIntegrate Test262
Mike Pennisi [Sun, 12 Nov 2017 19:33:52 +0000 (14:33 -0500)] 
Integrate Test262

Retrieve the Test262 project from its canonical location on GitHub.com.
Use the `test262-stream` module to create tests in accordance with that
project's interpretation guidelines. Use the `test-interpreter` project
to maintain a "whitelist" file of tests which Esprima is currently
expected to fail.

Fixed #1773
Closed gh-1880

4 years agoRecognize Token.Template as a ReturnStatement argument.
johnjbarton [Fri, 17 Nov 2017 17:32:50 +0000 (09:32 -0800)] 
Recognize Token.Template as a ReturnStatement argument.

When a Template is broken across multiple lines, the existing hasArgument test fails.
The Template is scanned as a single token so we just need to check for it after the return.

Fixes #1829
Closes gh-1882

5 years agoTest fixture: move an async test to the more proper location.
Ariya Hidayat [Sat, 16 Sep 2017 14:13:49 +0000 (07:13 -0700)] 
Test fixture: move an async test to the more proper location.

Refs #1847
Closes gh-1854

5 years agoMigrate to CircleCI 2.0
Ryo Shibayama [Tue, 12 Sep 2017 12:10:09 +0000 (21:10 +0900)] 
Migrate to CircleCI 2.0

Closes gh-1852

5 years agoFix incorrect parse async with proto-identifier-shorthand
kingwl [Fri, 8 Sep 2017 10:37:49 +0000 (18:37 +0800)] 
Fix incorrect parse async with proto-identifier-shorthand

Fix #1847
Closes gh-1851

5 years agoDocumentation: Always refer to the latest stable version.
Ariya Hidayat [Sun, 20 Aug 2017 15:09:23 +0000 (08:09 -0700)] 
Documentation: Always refer to the latest stable version.

Refs #1589
Closes gh-1849

5 years agoFix Negative Column in Binary Expression String Concatenation
kingwl [Mon, 31 Jul 2017 02:08:10 +0000 (10:08 +0800)] 
Fix Negative Column in Binary Expression String Concatenation

Fix #1844
Closes gh-1846

5 years agoFix incorrect YieldExpression in object methods
kingwl [Tue, 25 Jul 2017 07:41:55 +0000 (15:41 +0800)] 
Fix incorrect YieldExpression  in object methods

Fix #1834
Closes gh-1843

5 years agoDownstream test: disable AssetGraph since it needs Node.js > 6.
Ariya Hidayat [Fri, 28 Jul 2017 06:51:02 +0000 (23:51 -0700)] 
Downstream test: disable AssetGraph since it needs Node.js > 6.

Closes gh-1845

5 years agoReadTheDocs: Switch to the Alabaster theme
Ariya Hidayat [Sun, 25 Jun 2017 22:24:14 +0000 (15:24 -0700)] 
ReadTheDocs: Switch to the Alabaster theme

Refs #1477
Closes gh-1840

5 years agoDocumentation: Encourage the explicit use of parseScript vs parseModule
Ariya Hidayat [Fri, 23 Jun 2017 04:01:56 +0000 (21:01 -0700)] 
Documentation: Encourage the explicit use of parseScript vs parseModule

Ref #1576
Closes gh-1839

5 years agoUpdate ChangeLog for 4.0.0
Ariya Hidayat [Fri, 9 Jun 2017 04:32:09 +0000 (21:32 -0700)] 
Update ChangeLog for 4.0.0

Refs #1589

5 years agoUpdate README.md to prepare for version 4.0
Ariya Hidayat [Thu, 8 Jun 2017 06:17:08 +0000 (23:17 -0700)] 
Update README.md to prepare for version 4.0

Refs #1589

5 years agoTravis CI and AppVeyor: Run with Node.js v8
Ariya Hidayat [Tue, 6 Jun 2017 06:34:41 +0000 (23:34 -0700)] 
Travis CI and AppVeyor: Run with Node.js v8

Fix #1836
Closes gh-1837

5 years agoFix the "tokens" and "comment" argument names
Sylvain Francois [Wed, 10 May 2017 21:46:33 +0000 (14:46 -0700)] 
Fix the "tokens" and "comment" argument names

Were specified as "token" and "comments" in the description of the parse method

Closes gh-1832

5 years agoUpdate TypeScript-related dependencies
Ariya Hidayat [Sat, 29 Apr 2017 15:25:09 +0000 (08:25 -0700)] 
Update TypeScript-related dependencies

Closes gh-1827

5 years agoUse const whenever possible
Ariya Hidayat [Tue, 4 Apr 2017 04:33:21 +0000 (21:33 -0700)] 
Use const whenever possible

This is also now enforced via TSLint's prefer-const (with TSLint
dependency bumped to v5).

Fix #1817
Closes gh-1823

5 years agoImprove error message upon an invalid JSX element
Ariya Hidayat [Mon, 3 Apr 2017 00:49:58 +0000 (17:49 -0700)] 
Improve error message upon an invalid JSX element

Instead of trying to handle it by itself, the special lexer for JSX should
simply defer to the vanilla lexer if it can't understand the upcoming token.

Fix #1815
Closes gh-1820

5 years agoJSX: Matching a token should not be too strict
Ariya Hidayat [Fri, 31 Mar 2017 13:41:13 +0000 (06:41 -0700)] 
JSX: Matching a token should not be too strict

Only a real lexing should throw an exception for an unknown JSX token.
This ensures that a non-empty expression container does not cause any
problem.

Fixes #1786
Closes gh-1816

5 years agoAllow `in` expression in a concise body with a function body
Ariya Hidayat [Thu, 30 Mar 2017 03:19:09 +0000 (20:19 -0700)] 
Allow `in` expression in a concise body with a function body

Fix #1793
Closes gh-1813

5 years agoAllow JSX element in a yield expression
Ariya Hidayat [Tue, 28 Mar 2017 11:48:54 +0000 (04:48 -0700)] 
Allow JSX element in a yield expression

Fix #1765
Closes gh-1812

5 years agoDownstream tests: run them with Node.js v6.1
Ariya Hidayat [Sun, 26 Mar 2017 20:53:06 +0000 (13:53 -0700)] 
Downstream tests: run them with Node.js v6.1

This fixes issues with redeyed, but unfortunately documentjs needs to be
excluded (outdated, tests can't run with modern Node.js anymore).

Closes gh-1798

5 years agoFix the documentation for the AST of ForStatement
Ariya Hidayat [Thu, 23 Mar 2017 14:31:21 +0000 (07:31 -0700)] 
Fix the documentation for the AST of ForStatement

Fix #1777
Closes gh-1788

5 years agoReuse rest/spread element for object rest/spread
Ariya Hidayat [Wed, 8 Mar 2017 14:44:57 +0000 (06:44 -0800)] 
Reuse rest/spread element for object rest/spread

Fix #1588
Closes gh-1778

5 years agoUse access modifier in the Scanner class
Ariya Hidayat [Sat, 4 Mar 2017 03:15:04 +0000 (19:15 -0800)] 
Use access modifier in the Scanner class

Fix #1713
Closes gh-1776

5 years agoPure tokenizer: simplify the choice of obtaining a new token
Ariya Hidayat [Sun, 26 Feb 2017 23:06:11 +0000 (15:06 -0800)] 
Pure tokenizer: simplify the choice of obtaining a new token

Fix #1768
Closes gh-1774

5 years agoUpdate TypeScript-related dependencies
Ariya Hidayat [Mon, 27 Feb 2017 01:08:47 +0000 (17:08 -0800)] 
Update TypeScript-related dependencies

Closes gh-1770

5 years agoAdd a template for issue reporting
Ariya Hidayat [Sun, 26 Feb 2017 14:49:05 +0000 (06:49 -0800)] 
Add a template for issue reporting

Closes gh-1767

5 years agoDownstream test: temporarily exclude escope
Ariya Hidayat [Mon, 27 Feb 2017 04:40:52 +0000 (20:40 -0800)] 
Downstream test: temporarily exclude escope

Closes gh-1771

5 years agoMove object rest/spread tests to test/fixture/es2018
Ariya Hidayat [Sat, 25 Feb 2017 09:00:39 +0000 (01:00 -0800)] 
Move object rest/spread tests to test/fixture/es2018

Refs #1588
Closes gh-1763

5 years agoAppVeyor CI: switch from Google Chrome to Chromium
Ariya Hidayat [Sat, 25 Feb 2017 19:51:34 +0000 (11:51 -0800)] 
AppVeyor CI: switch from Google Chrome to Chromium

Fix #1762
Closes gh-1764

5 years agoMove dynamic import tests to test/fixtures/es2018
Ariya Hidayat [Thu, 23 Feb 2017 15:15:13 +0000 (07:15 -0800)] 
Move dynamic import tests to test/fixtures/es2018

Refs #1728
Closes gh-1759

5 years agoRevert "deep clone node when node.shorthand = true"
Ariya Hidayat [Sat, 25 Feb 2017 05:48:22 +0000 (21:48 -0800)] 
Revert "deep clone node when node.shorthand = true"

This reverts commit 45a862633a8fda016a61316281fcf765801d5dd3.

5 years agodeep clone node when node.shorthand = true
fishbar [Mon, 6 Jun 2016 09:25:21 +0000 (17:25 +0800)] 
deep clone node when node.shorthand = true

Fix #1755
Closes gh-1756

5 years agoAllow async arrow function to accept yield as the parameter
Ariya Hidayat [Wed, 8 Feb 2017 14:41:02 +0000 (06:41 -0800)] 
Allow async arrow function to accept yield as the parameter

Fix #1747
Closes gh-1754

5 years agoAsync arrow function must reinterpret its parameters
Ariya Hidayat [Tue, 7 Feb 2017 15:00:52 +0000 (07:00 -0800)] 
Async arrow function must reinterpret its parameters

This fixes the problem with incorrect node type in the parameters
(object expression vs object pattern, etc).

Fix #1751
Fix #1748
Closes gh-1753

5 years agoFix the node of the object property key for async function
Ariya Hidayat [Sun, 5 Feb 2017 18:57:26 +0000 (10:57 -0800)] 
Fix the node of the object property key for async function

This also corrects the location for the said property key.

Fix #1745
Closes gh-1750

5 years agoDocumentation: add an example to remove console calls
Ariya Hidayat [Wed, 1 Feb 2017 14:43:46 +0000 (06:43 -0800)] 
Documentation: add an example to remove console calls

Refs #1477
Closes gh-1744

5 years agoFix incorrect detection of async function
Ariya Hidayat [Tue, 31 Jan 2017 05:04:03 +0000 (21:04 -0800)] 
Fix incorrect detection of async function

Refs #1079
Closes gh-1742

5 years agoSupport dynamic import call
Ariya Hidayat [Sun, 29 Jan 2017 16:32:27 +0000 (08:32 -0800)] 
Support dynamic import call

Fix #1728
Closes gh-1740

5 years agoSyntax tree format: document async function and await expression
Ariya Hidayat [Mon, 30 Jan 2017 03:12:52 +0000 (19:12 -0800)] 
Syntax tree format: document async function and await expression

Refs #1079
Refs #1477
Closes gh-1741

5 years agoFixed wrong source type in the documentation
Timofey Kachalov [Sun, 29 Jan 2017 10:20:22 +0000 (13:20 +0300)] 
Fixed wrong source type in the documentation

Fix #1738
Closes gh-1739

5 years agoREADME: point to the documentation hosted at readthedocs.io (Ref #1477)
Ariya Hidayat [Sat, 28 Jan 2017 18:49:31 +0000 (10:49 -0800)] 
README: point to the documentation hosted at readthedocs.io (Ref #1477)

5 years agoCreate the documentation suitable for readthedocs.io
Ariya Hidayat [Thu, 26 Jan 2017 15:46:27 +0000 (07:46 -0800)] 
Create the documentation suitable for readthedocs.io

Currently the contents are:

  Chapter 1. Getting Started
  Chapter 2. Syntactic Analysis (Parsing)
  Chapter 3. Lexical Analysis (Tokenization)
  Appendix A. Syntax Tree Format

Fix #1477
Closes gh-1737

5 years agoSupport object rest/spread properties
Ariya Hidayat [Tue, 17 Jan 2017 15:01:52 +0000 (07:01 -0800)] 
Support object rest/spread properties

Fix #1588
Closes gh-1732

5 years agoDetect Microsoft Edge and use it to run the browser tests
Ariya Hidayat [Wed, 18 Jan 2017 15:11:28 +0000 (07:11 -0800)] 
Detect Microsoft Edge and use it to run the browser tests

Fix #1727
Closes gh-1733

5 years agoSupport running the tests on Safari Technology Preview
Ariya Hidayat [Sat, 14 Jan 2017 05:55:06 +0000 (21:55 -0800)] 
Support running the tests on Safari Technology Preview

Fix #1710
Closes gh-1729

5 years agoSimplify handling the marker for node location
Ariya Hidayat [Tue, 10 Jan 2017 15:34:49 +0000 (07:34 -0800)] 
Simplify handling the marker for node location

Marker, MetaNode, JSXMetaNode are all merged into just one structure

Fix #1717
Closes gh-1726

5 years agoDo not mutate the token object when constructing a primary expression
Ariya Hidayat [Mon, 9 Jan 2017 15:13:48 +0000 (07:13 -0800)] 
Do not mutate the token object when constructing a primary expression

Fix #1714
Closes gh-1723

5 years agoSave and restore scanner state
Ariya Hidayat [Sun, 8 Jan 2017 21:32:06 +0000 (13:32 -0800)] 
Save and restore scanner state

Fix #1716
Closes gh-1722

5 years agoUse const enum for the token types
Ariya Hidayat [Sat, 7 Jan 2017 20:16:12 +0000 (12:16 -0800)] 
Use const enum for the token types

Fix #1712
Closes gh-1721

5 years agoCheck EOF with the lookahead token
Ariya Hidayat [Fri, 6 Jan 2017 04:45:19 +0000 (20:45 -0800)] 
Check EOF with the lookahead token

Fix #1711
Closes gh-1715

5 years agoAdd type annotations to all tokenization-related code
Ariya Hidayat [Tue, 3 Jan 2017 15:38:15 +0000 (07:38 -0800)] 
Add type annotations to all tokenization-related code

Fix #1705
Closes gh-1709

5 years agoUse the new `as` syntax for type assertions
Ariya Hidayat [Tue, 3 Jan 2017 03:58:17 +0000 (19:58 -0800)] 
Use the new `as` syntax for type assertions

Fix #1703
Closes gh-1708

5 years agoDo not mutate the token object
Ariya Hidayat [Sat, 31 Dec 2016 20:01:06 +0000 (12:01 -0800)] 
Do not mutate the token object

Fix #1702
Closes gh-1704

5 years agoTolerate missing ) in a with and do-while statement
Ariya Hidayat [Sat, 24 Dec 2016 07:00:33 +0000 (23:00 -0800)] 
Tolerate missing ) in a with and do-while statement

Fix #1481
Closes gh-1694

5 years agoSetter function argument must not be a rest parameter
Ariya Hidayat [Sat, 24 Dec 2016 18:54:22 +0000 (10:54 -0800)] 
Setter function argument must not be a rest parameter

Fix #1693
Closes gh-1696

5 years agoExported async function should be parsed as function declaration
Ariya Hidayat [Sat, 24 Dec 2016 15:50:01 +0000 (07:50 -0800)] 
Exported async function should be parsed as function declaration

Fix #1692
Closes gh-1695

5 years agoREADME: Add a link to the complete documentation
Ariya Hidayat [Fri, 23 Dec 2016 17:28:15 +0000 (09:28 -0800)] 
README: Add a link to the complete documentation

Fix #1687
Closes gh-1691

5 years agoesvalidate: Ensure the consistency of error message
Ariya Hidayat [Fri, 23 Dec 2016 15:12:22 +0000 (07:12 -0800)] 
esvalidate: Ensure the consistency of error message

The error message of a fatal (non-tolerated) error should be similar with that
of a tolerated one, i.e. it should include the name of the input file which
triggers the error.

Fix #1688
Closes gh-1690

5 years agoAdjust the error message for bad getter/setter arity
Ariya Hidayat [Thu, 22 Dec 2016 14:24:43 +0000 (06:24 -0800)] 
Adjust the error message for bad getter/setter arity

Fix #1685
Closes gh-1686

5 years agoUpdate ChangeLog for 3.1.3
Ariya Hidayat [Thu, 22 Dec 2016 03:49:57 +0000 (19:49 -0800)] 
Update ChangeLog for 3.1.3

Refs #1584

5 years agoUse the reference to the living ECMA-262 specification
Ariya Hidayat [Thu, 22 Dec 2016 11:23:04 +0000 (03:23 -0800)] 
Use the reference to the living ECMA-262 specification

Fix #1585
Closes gh-1684

5 years agoRest element and rest parameter should include binding patterns
Ariya Hidayat [Tue, 20 Dec 2016 15:41:27 +0000 (07:41 -0800)] 
Rest element and rest parameter should include binding patterns

Fix #1681
Closes gh-1682

5 years agoLimit strict mode directive to functions with a simple parameter list
Ariya Hidayat [Sun, 18 Dec 2016 15:25:55 +0000 (07:25 -0800)] 
Limit strict mode directive to functions with a simple parameter list

Fix #1677
Closes gh-1680

5 years agoProhibit any escape sequence in a reserved word
Ariya Hidayat [Wed, 14 Dec 2016 14:47:31 +0000 (06:47 -0800)] 
Prohibit any escape sequence in a reserved word

Fix #1612
Closes gh-1671

5 years agoDownstream test: revert AssetGraph workaround
Ariya Hidayat [Fri, 16 Dec 2016 05:20:07 +0000 (21:20 -0800)] 
Downstream test: revert AssetGraph workaround

The workaround is not necessary anymore (solved in AssetGraph itself).

Refs #1665
Closes gh-1676

5 years agoUpdate ChangeLog for 3.1.2
Ariya Hidayat [Wed, 23 Nov 2016 04:01:41 +0000 (20:01 -0800)] 
Update ChangeLog for 3.1.2

Refs #1584

5 years agoUpdate ChangeLog for 3.1.1
Ariya Hidayat [Mon, 31 Oct 2016 03:19:46 +0000 (20:19 -0700)] 
Update ChangeLog for 3.1.1

Refs #1584

5 years agoRemove .gitattributes since it modifies test fixtures
Ariya Hidayat [Wed, 14 Dec 2016 16:26:23 +0000 (08:26 -0800)] 
Remove .gitattributes since it modifies test fixtures

Fix #1672
Closes gh-1673

5 years agoEnsure that all *.js files are using LF as the line ending
Ariya Hidayat [Wed, 14 Dec 2016 05:01:23 +0000 (21:01 -0800)] 
Ensure that all *.js files are using LF as the line ending

Fix #1604
Closes gh-1670

5 years agoOnly permit hex digits in hex escape sequence
Ariya Hidayat [Tue, 13 Dec 2016 04:02:35 +0000 (20:02 -0800)] 
Only permit hex digits in hex escape sequence

Adjust the error message to follow V8.
Also make it explicit that scanHexEscape can return null (upon an
invalid sequence).

Fixes #1619
Closes gh-1669

5 years agoSort error messages in messages.ts alphabetically
Ariya Hidayat [Mon, 12 Dec 2016 15:30:47 +0000 (07:30 -0800)] 
Sort error messages in messages.ts alphabetically

Closes gh-1667

5 years agoAccount for different possible arguments of a yield expression
Ariya Hidayat [Fri, 9 Dec 2016 06:27:54 +0000 (22:27 -0800)] 
Account for different possible arguments of a yield expression

Fix #1469
Closes gh-1663

5 years agoProhibit labelled class/generator/function declaration
Ariya Hidayat [Sat, 10 Dec 2016 15:02:14 +0000 (07:02 -0800)] 
Prohibit labelled class/generator/function declaration

The only allowed situation is labelled function declaration in non-strict mode
(for web compatibility reason).

Fix #1484
Closes gh-1665

5 years agoDownstream test: temporarily workaround AssetGraph linting issue
Ariya Hidayat [Sun, 11 Dec 2016 15:15:14 +0000 (07:15 -0800)] 
Downstream test: temporarily workaround AssetGraph linting issue

Refs #1665
Closes gh-1666