Skip to content

Nullish coalescing support #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
fd95887
Rename `AwaitExpression.delegate` -> `.all`
RReverser Feb 20, 2015
1b3d9bc
fixes #231: generate strings with fewer escape sequences by default
michaelficarra Apr 28, 2015
4842752
Merge pull request #232 from michaelficarra/GH-231
michaelficarra Apr 28, 2015
a01f670
Update esutils version
Constellation May 13, 2015
02d47fe
update license attribute
pgilad May 19, 2015
7c571e4
Merge pull request #235 from pgilad/patch-1
Constellation May 19, 2015
f8bc1d5
Support RestElement
ef4 May 27, 2015
f845b2c
Merge pull request #236 from ef4/rest-element
Constellation May 27, 2015
ed529d5
Update node.js versions of travis
Constellation May 27, 2015
5070077
Improved ArrayPattern formatting
ef4 May 27, 2015
2e90c2b
Merge pull request #237 from ef4/nicer-array-patterns
michaelficarra May 27, 2015
7f5a86d
expand RestElement to support all patterns
ef4 May 28, 2015
617dc9f
Merge pull request #238 from ef4/expand-rest-patterns
michaelficarra Jun 5, 2015
a216a16
use "sudo: false" in travis config for faster builds
michaelficarra Aug 9, 2015
609c969
replace * version for esprima-moz with actual version
michaelficarra Aug 9, 2015
08e6f47
Merge pull request #248 from estools/michaelficarra-patch-1
michaelficarra Aug 9, 2015
19bf5d0
add support for super()
sterling Aug 25, 2015
12a4319
Merge pull request #252 from sterlinghw/master
michaelficarra Aug 26, 2015
f2879cd
Add support for esprima 2.x import and export statements
adamjmcgrath Jul 1, 2015
dbf8fe2
Merge pull request #253 from adamjmcgrath/esprima-2.x
Constellation Aug 29, 2015
c3eccef
Fix for supporting AssignmentPattern. Closes #229.
tolmasky Sep 5, 2015
3fde4c3
Add assignment pattern tests.
tolmasky Sep 5, 2015
5dabbc5
version 1.7.0
michaelficarra Sep 6, 2015
b99a200
Fix Import variable binding for esprima 2, eg `import {foo as bar} fr…
adamjmcgrath Sep 24, 2015
fc99fcd
Merge pull request #257 from adamjmcgrath/esprima-2-aliased-imports
Constellation Sep 25, 2015
da47c46
Don't test esprima-moz anymore.
ariya Nov 21, 2015
2a307d5
Merge pull request #268 from ariya/no-moz
Constellation Nov 21, 2015
ceaa2d6
Update semver to the latest version 5.1.
ariya Nov 21, 2015
ba5dc1c
Merge pull request #269 from ariya/update-semver
michaelficarra Nov 22, 2015
5b152cf
Travis CI's Node.js versions: exclude 0.11, add iojs and latest stabl…
ariya Nov 22, 2015
b8f42ea
Merge pull request #270 from ariya/update-travis
michaelficarra Nov 24, 2015
f48fa71
version 1.7.1
michaelficarra Nov 24, 2015
9e5f89d
Add exported identifier to ExportSpecifier for esprima
adamjmcgrath Nov 25, 2015
9ab203a
Create export-declaration test cases
adamjmcgrath Nov 26, 2015
bc118db
Merge pull request #272 from adamjmcgrath/fix-export-specifier
michaelficarra Dec 4, 2015
6420bda
Added simple support for MetaProperty
Dec 15, 2015
8739f75
Cleaned up code, added test case for esprima 2.5 enhancement to parse…
Dec 15, 2015
77fe8bb
Merge pull request #275 from steve-gray/master
Constellation Dec 15, 2015
3abb271
Update export declarations to meet the latest estree spec
Constellation Jan 2, 2016
556408d
Merge pull request #255 from tolmasky/master
Constellation Jan 3, 2016
b77a9ef
Update esprima version to 2.7.1
Constellation Jan 3, 2016
9e0b891
Update optionator to 0.8.1
Constellation Jan 3, 2016
334bd71
version 1.8.0
Constellation Jan 3, 2016
7aa3b04
Add the test with default and anonymous function
Constellation Jan 3, 2016
fde0f53
Add support for anonymous class declarations in default exports
zjmiller Jan 25, 2016
c6a0c12
Merge pull request #280 from zjmiller/master
michaelficarra Jan 25, 2016
4130f99
Test with Acorn (not Acorn-6to5) and fix issue with AssignmentPattern
zjmiller Jan 27, 2016
2b8d6ed
Merge pull request #281 from zjmiller/master
michaelficarra Jan 29, 2016
9844f64
Support for defaults when destructuring parameters (#297)
tswaters Aug 5, 2016
932847d
fix inconsistent brace style from recently merged PR
michaelficarra Aug 5, 2016
ba4faab
Version 1.8.1
michaelficarra Aug 6, 2016
719de30
fix: create regexp literal if possible (#308)
KnisterPeter Sep 1, 2016
7bd0e2e
fixes #104: member expression on number may alter its raw value
michaelficarra Jul 20, 2017
4640adf
drop unsupported node versions from Travis config
michaelficarra Sep 7, 2017
f82a685
Update dependencies
Jan 27, 2017
ce726e9
Version 1.9.0
michaelficarra Sep 8, 2017
bcd240e
Remove license for SourceNodeMocks (#356)
johnjbarton Oct 24, 2017
2056c8b
Drop support for node < 4 (#355)
realityking Jan 31, 2018
612e75a
Update source-map to version 0.6.1 (#357)
realityking Jan 31, 2018
d759359
fixes #358: correctly codegen AssignmentPattern in ObjectPattern (#361)
michaelficarra Feb 1, 2018
f0488e1
Version 1.9.1
michaelficarra Feb 26, 2018
582a413
MetaProperty fields as Identifier (#369)
Cellule Apr 20, 2018
d3b88db
Support async iteration statement `for-await-of` introduced in ES2018
twada May 10, 2018
df61463
Version 1.10.0
michaelficarra Jun 11, 2018
833974b
Support async generator method introduced in ES2018
twada Jul 11, 2018
20a0d37
Version 1.11.0
michaelficarra Jul 14, 2018
52df4da
fix issue #371
fokushi-db Aug 27, 2018
f6df59f
Change the precedence of await so it's the same as other unary expres…
papandreou Jan 8, 2019
4a93ffc
Version 1.11.1
michaelficarra Feb 19, 2019
b8df205
Support dynamic import (take 2) (#395)
papandreou Aug 13, 2019
124e035
Version 1.12.0
michaelficarra Aug 13, 2019
2360684
Fixed missing space between `for await` with `compact: true`
Jan 3, 2020
a30ea92
Version 1.12.1
michaelficarra Jan 3, 2020
819a63b
Update esprima to 4.0.1
TimvdLippe Sep 24, 2019
c917cf2
Super class expression parenthesis (#404)
sanex3339 Jan 10, 2020
fb7b56f
Optional catch binding support (#405)
sanex3339 Jan 11, 2020
6eb8e31
support 'regex' property when 'value' is null (#396)
fabiosantoscode Jan 18, 2020
ba40e5c
Version 1.13.0
michaelficarra Jan 18, 2020
a25d531
Exponentiation operator (#407)
sanex3339 Feb 5, 2020
86d0006
Version 1.14.0
michaelficarra Feb 6, 2020
90f59c2
fix unnecessary parentheses for binary operators and add regression test
michaelficarra Feb 6, 2020
a3b6718
Version 1.14.1
michaelficarra Feb 6, 2020
c62cbe2
fixed multiline decision for object patterns with rest elements (#408)
sanex3339 Jun 3, 2020
1d85742
Version 1.14.2
michaelficarra Jun 3, 2020
177ec89
Add copyright information to LICENSE file (#414)
brimworks Jun 8, 2020
eee573b
fixed precedence of sequence expression in computed property name (#415)
sanex3339 Jun 22, 2020
dc2993c
Version 1.14.3
michaelficarra Jun 22, 2020
ff550a8
drop support for node <6 (#419)
sanex3339 Aug 5, 2020
e8e2e81
Update .gitattributes
michaelficarra Aug 5, 2020
1d192ae
add support for optional chaining (#412)
sanex3339 Aug 5, 2020
ab53cd5
Version 2.0.0
michaelficarra Aug 5, 2020
121f9a8
Nullish coalescing support
Jun 12, 2020
5646f11
Updated nullish coalescing logic, added more tests
sanex3339 Aug 24, 2020
7f97bfa
Added additional check for right expression type
sanex3339 Aug 24, 2020
6c1bd94
Added additional check for left expression type
sanex3339 Aug 24, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
test/3rdparty/**/* -crlf -diff
# don't collapse diffs of test expectations
test/compare-*/*.expected.min.js -linguist-generated
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"

matrix:
allow_failures:
- node_js: "0.11"
- "6"
- "8"
- "10"
2 changes: 2 additions & 0 deletions LICENSE.BSD
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Copyright (C) 2012 Yusuke Suzuki (twitter: @Constellation) and other contributors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

Expand Down
27 changes: 0 additions & 27 deletions LICENSE.source-map

This file was deleted.

32 changes: 0 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,35 +82,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#### source-map

SourceNodeMocks has a limited interface of mozilla/source-map SourceNode implementations.

Copyright (c) 2009-2011, Mozilla Foundation and contributors
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the names of the Mozilla Foundation nor the names of project
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Loading