Skip to content

Commit

Permalink
update to Node v14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rogerwang committed Apr 23, 2020
1 parent e0fce58 commit 01f1c2a
Show file tree
Hide file tree
Showing 5,328 changed files with 399,819 additions and 340,445 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ module.exports = {
'comma-style': 'error',
'computed-property-spacing': 'error',
'constructor-super': 'error',
'default-case-last': 'error',
'dot-location': ['error', 'property'],
'dot-notation': 'error',
'eol-last': 'error',
Expand Down Expand Up @@ -273,6 +274,7 @@ module.exports = {
functions: false,
variables: false,
}],
'no-useless-backreference': 'error',
'no-useless-call': 'error',
'no-useless-catch': 'error',
'no-useless-concat': 'error',
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/ASAN.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
!.gitkeep
!.mailmap
!.nycrc
!.travis.yml
!.eslintrc.yaml
!.cpplint

Expand All @@ -33,10 +32,10 @@
/doc/api.xml
/node
/node_g
/gon-config.json
/*.exe
/*.swp
/out
/*.txt
/*.msi
/*.wixpdb

Expand Down
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Amery <amery@xiangfa.org> 子丶言 <amery@xiangfa.org>
Amit Bendor <ajbendor@gmail.com>
Anatoli Papirovski <apapirovski@mac.com> <anatoli.papirovski@postmates.com>
Andreas Offenhaeuser <offenhaeuser@gmail.com> anoff <offenhaeuser@gmail.com>
Andrew Hughes <Andrew.Hughes1@ibm.com> <andrew.hughes.101@outlook.com>
Andy Bettisworth <andy.bettisworth@accreu.com>
Angel Stoyanov <atstojanov@gmail.com> atstojanov <atstojanov@gmail.com>
Anna Henningsen <anna@addaleax.net> <sqrt@entless.org>
Expand Down Expand Up @@ -250,6 +251,7 @@ Masato Ohba <over.rye@gmail.com>
Matheus Marchini <mat@mmarchini.me> <matheusdot@gmail.com>
Matheus Marchini <mat@mmarchini.me> <matheus@sthima.com.br>
Matheus Marchini <mat@mmarchini.me> <matheus@sthima.com>
Matheus Marchini <mat@mmarchini.me> <mmarchini@netflix.com>
Matt Lang <matt@mediasuite.co.nz> matt-in-a-hat <matt@mediasuite.co.nz>
Matt Reed <matthewreed26@gmail.com> matthewreed26 <matthewreed26@gmail.com>
Matteo Collina <matteo.collina@gmail.com> <hello@matteocollina.com>
Expand Down Expand Up @@ -408,6 +410,7 @@ Travis Meisenheimer <travis@indexoutofbounds.com> <tmeisenh@gmail.com>
Trevor Burnham <trevor@databraid.com> <trevorburnham@gmail.com>
Trivikram Kamat <trivikr.dev@gmail.com> <16024985+trivikr@users.noreply.github.com>
Tyler Larson <talltyler@gmail.com>
Ujjwal Sharma <usharma1998@gmail.com> <ryzokuken@disroot.org>
Viktor Karpov <viktor.s.karpov@gmail.com> vitkarpov <viktor.s.karpov@gmail.com>
Vincent Voyer <v@fasterize.com>
Vladimir de Turckheim <vlad2t@hotmail.com>
Expand All @@ -423,6 +426,7 @@ Wilson Lin <wla80@sfu.ca>
Wyatt Preul <wpreul@gmail.com> geek <wpreul@gmail.com>
Xavier J Ortiz <xavier.ortiz.ch@gmail.com>
xiaoyu <306766053@qq.com> Poker <306766053@qq.com>
Yael Hermon <yaelherm@gmail.com> <yaelhe@wix.com>
Yazhong Liu <yorkiefixer@gmail.com> Yazhong Liu <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <l900422@vip.qq.com>
Yazhong Liu <yorkiefixer@gmail.com> Yorkie <yorkiefixer@gmail.com>
Expand Down
88 changes: 0 additions & 88 deletions .travis.yml

This file was deleted.

78 changes: 77 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2636,7 +2636,7 @@ Charles Samborski <demurgos@demurgos.net>
zhmushan <zhmushan@qq.com>
yoshimoto koki <yoyoyo427435@gmail.com>
Ilarion Halushka <hilarion.galushka@gmail.com>
Yael Hermon <yaelhe@wix.com>
Yael Hermon <yaelherm@gmail.com>
Mitch Hankins <mitchhankins92@gmail.com>
Mikko Rantanen <jubjub@jubjubnest.net>
wenjun ye <1728914873@qq.com>
Expand Down Expand Up @@ -2945,5 +2945,81 @@ Chris Oyler <christopher.oyler@gmail.com>
Jesper Ek <deadbeef84@gmail.com>
Luciano <lucianomammino@gmail.com>
jens-cappelle <jens.jan.cappelle@gmail.com>
bruce-one <bryce@gibson-consulting.com.au>
Jason Macgowan <jason.macgowan@icloud.com>
Vincent Dhennin <vincent.dhennin@viacesi.fr>
Alex Zherdev <alex.zherdev@gmail.com>
Jeny <yenymzo@gmail.com>
Tchoupinax <corentinfiloche@hotmail.fr>
Sebastien Ahkrin <sebastien48criquet@gmail.com>
Michael Lehenbauer <mikelehen@google.com>
Harendra Singh <harendra@getpostman.com>
Sam Foxman <samfoxman320@gmail.com>
Marek Łabuz <mareklabuz@Mareks-MacBook-Pro-2.local>
Reza Fatahi <aug2uag@gmail.com>
Priyanka Kore <piyukore06@gmail.com>
Jan-Philip Gehrcke <jp@opstrace.com>
Maël Nison <nison.mael@gmail.com>
qualitymanifest <qualitymanifest@gmail.com>
Rosen Penev <rosenp@gmail.com>
Jeremy Albright <myrlin1@gmail.com>
Giovanni Campagna <gcampagn@cs.stanford.edu>
Donggeon Lim <ooqwe486@gmail.com>
Tim Costa <tim@timcosta.io>
rene.herrmann <rene.herrmann@share-now.com>
Derek Lewis <DerekNonGeneric@inf.is>
Kirill Ponomarev <shacaron@gmail.com>
Soar <58918356+soar-beep@users.noreply.github.com>
Tadao Iseki <saitoeku3@gmail.com>
Diego Lafuente <diego.lafuente@logtrust.com>
Andrew Kuzmenko <kuzmenko@ucoz-team.net>
David Newman <david@nici.solutions>
Andrey Hohutkin <andrey.hohutkin@gmail.com>
A. Volgin <anatoly.volgin.rg@gmail.com>
Chris Osborn <chris.osborn@sitelier.com>
stephank <gh@stephank.nl>
Taylor Zane Glaeser <tzglaeser@gmail.com>
sutangu <sutangu@gmail.com>
Santosh Yadav <santosh.yadav198613@gmail.com>
kresimirfranin <kresimir.franin@deliveryhero.com>
Colin Grant <43424668+GKJCJG@users.noreply.github.com>
Ryan Schmidt <git@ryandesign.com>
Ronald J Kimball <rjk@tamias.net>
Vighnesh Raut <vighnesh.raut13@gmail.com>
SpaceRacet5w2A6l0I <59487396+SpaceRacet5w2A6l0I@users.noreply.github.com>
Alexander Wang <zxcvb22217@gmail.com>
carterbancroft <carter.bancroft@gmail.com>
Egor Pavlov <no.more.vikings@gmail.com>
Parker Bjur <bjur.parker45@gmail.com>
Yakov Litvin <yakov.litvin.publicly@gmail.com>
Eran Levin <exx8exx8@gmail.com>
Alexander Smarus <bender@readdle.com>
kenzo-spaulding <51864231+kenzo-spaulding@users.noreply.github.com>
Rusty Conover <rusty@conover.me>
aaccttrr <adam.cotter@nearform.com>
ConorDavenport <cnrdavenport@gmail.com>
Dylan Coakley <dylancoakley@Dylans-MacBook-Pro.local>
Steffen <steffen.koette@gmail.com>
Conor ONeill <cwjoneill@gmail.com>
tsabolov <k.tsabolov@gmail.com>
Swagat Konchada <swagatata@gmail.com>
Yuhanun Citgez <y.citgez@student.utwente.nl>
Danielle Adams <danielle.adams@heroku.com>
Andrey Pechkurov <apechkurov@gmail.com>
Jeff <jeff.tian@outlook.com>
simon <simon.tretter@hokify.com>
Eric Eastwood <contact@ericeastwood.com>
unknown <rosaxny@gmail.com>
zfx <502545703@qq.com>
Vita Batrla <vita.batrla@gmail.com>
André Draszik <git@andred.net>
ProdipRoy89 <prodip1989@gmail.com>
Andrew Neitsch <andrew@neitsch.ca>
RamanandPatil <ramanand.patil@gmail.com>
forfun414 <forfun414@gmail.com>
David Gilbertson <gilbertson.david@gmail.com>
Sergey Zelenov <sergey.zelenov@getyourguide.com>
Eric Bickle <ebickle@users.noreply.github.com>
Joe Pea <joe@trusktr.io>

# Generated by tools/update-authors.js
46 changes: 31 additions & 15 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ file a new issue.
* [Running Coverage](#running-coverage)
* [Building the documentation](#building-the-documentation)
* [Building a debug build](#building-a-debug-build)
* [Building an ASAN build](#building-an-asan-build)
* [Troubleshooting Unix and macOS builds](#troubleshooting-unix-and-macos-builds)
* [Windows](#windows)
* [Prerequisites](#prerequisites)
Expand Down Expand Up @@ -106,8 +107,9 @@ platforms. This is true regardless of entries in the table below.
| GNU/Linux | armv6 | kernel >= 4.14, glibc >= 2.24 | Experimental | Downgraded as of Node.js 12 |
| GNU/Linux | ppc64le >=power8 | kernel >= 3.10.0, glibc >= 2.17 | Tier 2 | e.g. Ubuntu 16.04 <sup>[1](#fn1)</sup>, EL 7 <sup>[2](#fn2)</sup> |
| GNU/Linux | s390x | kernel >= 3.10.0, glibc >= 2.17 | Tier 2 | e.g. EL 7 <sup>[2](#fn2)</sup> |
| Windows | x64, x86 (WoW64) | >= Windows 7/2008 R2/2012 R2 | Tier 1 | <sup>[4](#fn4),[5](#fn5)</sup> |
| Windows | x86 (native) | >= Windows 7/2008 R2/2012 R2 | Tier 1 (running) / Experimental (compiling) <sup>[6](#fn6)</sup> | |
| Windows | x64, x86 (WoW64) | >= Windows 8.1/2012 R2 | Tier 1 | <sup>[4](#fn4),[5](#fn5)</sup> |
| Windows | x86 (native) | >= Windows 8.1/2012 R2 | Tier 1 (running) / Experimental (compiling) <sup>[6](#fn6)</sup> | |
| Windows | x64, x86 | Windows Server 2012 (not R2) | Experimental | |
| Windows | arm64 | >= Windows 10 | Experimental | |
| macOS | x64 | >= 10.11 | Tier 1 | |
| SmartOS | x64 | >= 18 | Tier 2 | |
Expand Down Expand Up @@ -167,17 +169,16 @@ Binaries at <https://nodejs.org/download/release/> are produced on:
| Binary package | Platform and Toolchain |
| --------------------- | ------------------------------------------------------------------------ |
| aix-ppc64 | AIX 7.1 TL05 on PPC64BE with GCC 6 |
| darwin-x64 (and .pkg) | macOS 10.11, Xcode Command Line Tools 10 with -mmacosx-version-min=10.10 |
| linux-arm64 | CentOS 7 with devtoolset-6 / GCC 6 |
| linux-armv7l | Cross-compiled on Ubuntu 16.04 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools) |
| linux-ppc64le | CentOS 7 with devtoolset-6 / GCC 6 <sup>[7](#fn7)</sup> |
| linux-s390x | RHEL 7 with devtoolset-6 / GCC 6 <sup>[7](#fn7)</sup> |
| linux-x64 | CentOS 7 with devtoolset-6 / GCC 6 <sup>[7](#fn7)</sup> |
| sunos-x64 | SmartOS 18 with GCC 7 |
| win-x64 and win-x86 | Windows 2012 R2 (x64) with Visual Studio 2017 |

<em id="fn7">7</em>: The Enterprise Linux devtoolset-6 allows us to compile
binaries with GCC 6 but linked to the glibc and libstdc++ versions of the host
| darwin-x64 (and .pkg) | macOS 10.15, Xcode Command Line Tools 11 with -mmacosx-version-min=10.13 |
| linux-arm64 | CentOS 7 with devtoolset-8 / GCC 8 <sup>[8](#fn8)</sup> |
| linux-armv7l | Cross-compiled on Ubuntu 18.04 x64 with [custom GCC toolchain](https://github.com/rvagg/rpi-newer-crosstools) |
| linux-ppc64le | CentOS 7 with devtoolset-8 / GCC 8 <sup>[8](#fn8)</sup> |
| linux-s390x | RHEL 7 with devtoolset-8 / GCC 8 <sup>[8](#fn8)</sup> |
| linux-x64 | CentOS 7 with devtoolset-8 / GCC 8 <sup>[8](#fn8)</sup> |
| win-x64 and win-x86 | Windows 2012 R2 (x64) with Visual Studio 2019 |

<em id="fn8">8</em>: The Enterprise Linux devtoolset-8 allows us to compile
binaries with GCC 8 but linked to the glibc and libstdc++ versions of the host
platforms (CentOS 7 / RHEL 7). Therefore, binaries produced on these systems
are compatible with glibc >= 2.17 and libstdc++ >= 6.0.20 (`GLIBCXX_3.4.20`).
These are available on distributions natively supporting GCC 4.9, such as
Expand Down Expand Up @@ -490,6 +491,22 @@ $ gdb /opt/node-debug/node core.node.8.1535359906
$ backtrace
```

#### Building an ASAN build

[ASAN](https://github.com/google/sanitizers) can help detect various memory
related bugs. ASAN builds are currently only supported on linux.
If you want to check it on Windows or macOS or you want a consistent toolchain
on Linux, you can try [Docker](https://www.docker.com/products/docker-desktop)
(using an image like `gengjiawen/node-build:2020-02-14`).

The `--debug` is not necessary and will slow down build and testing, but it can
show clear stacktrace if ASAN hits an issue.

``` console
$ ./configure --debug --enable-asan && make -j4
$ make test-only
```

#### Troubleshooting Unix and macOS builds

Stale builds can sometimes result in `file not found` errors while building.
Expand Down Expand Up @@ -539,7 +556,6 @@ Optional requirements for compiling for Windows 10 on ARM (ARM64):
* Windows 10 SDK 10.0.17763.0 or newer

##### Option 2: Automated install with Boxstarter
<a name="boxstarter"></a>

A [Boxstarter](https://boxstarter.org/) script can be used for easy setup of
Windows systems with all the required prerequisites for Node.js development.
Expand All @@ -550,7 +566,7 @@ packages:
Unix tools added to the `PATH`.
* [Python 3.x](https://chocolatey.org/packages/python) and
[legacy Python](https://chocolatey.org/packages/python2)
* [Visual Studio 2017 Build Tools](https://chocolatey.org/packages/visualstudio2017buildtools)
* [Visual Studio 2019 Build Tools](https://chocolatey.org/packages/visualstudio2019buildtools)
with [Visual C++ workload](https://chocolatey.org/packages/visualstudio2017-workload-vctools)
* [NetWide Assembler](https://chocolatey.org/packages/nasm)

Expand Down
Loading

0 comments on commit 01f1c2a

Please sign in to comment.