Skip to content

Commit 600a3e4

Browse files
[GR-39662] Upgrading the underlying Node.js to version 16.17.1.
PullRequest: js/2604
2 parents d7f012e + 945d45e commit 600a3e4

File tree

3,201 files changed

+138166
-68887
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,201 files changed

+138166
-68887
lines changed

3rd_party_licenses.txt

Lines changed: 112 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
512512

513513
================================================================================
514514

515-
Node.js 16.16.0
515+
Node.js 16.17.1
516516

517517
Node.js is licensed for use as follows:
518518

@@ -625,9 +625,22 @@ The externally maintained libraries used by Node.js are:
625625

626626
- ICU, located at deps/icu-small, is licensed as follows:
627627
"""
628-
COPYRIGHT AND PERMISSION NOTICE (ICU 58 and later)
628+
UNICODE, INC. LICENSE AGREEMENT - DATA FILES AND SOFTWARE
629629

630-
Copyright © 1991-2020 Unicode, Inc. All rights reserved.
630+
See Terms of Use
631+
for definitions of Unicode Inc.’s Data Files and Software.
632+
633+
NOTICE TO USER: Carefully read the following legal agreement.
634+
BY DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING UNICODE INC.'S
635+
DATA FILES ("DATA FILES"), AND/OR SOFTWARE ("SOFTWARE"),
636+
YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
637+
TERMS AND CONDITIONS OF THIS AGREEMENT.
638+
IF YOU DO NOT AGREE, DO NOT DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE
639+
THE DATA FILES OR SOFTWARE.
640+
641+
COPYRIGHT AND PERMISSION NOTICE
642+
643+
Copyright © 1991-2022 Unicode, Inc. All rights reserved.
631644
Distributed under the Terms of Use in https://www.unicode.org/copyright.html.
632645

633646
Permission is hereby granted, free of charge, to any person obtaining
@@ -659,15 +672,17 @@ The externally maintained libraries used by Node.js are:
659672
use or other dealings in these Data Files or Software without prior
660673
written authorization of the copyright holder.
661674

662-
---------------------
675+
----------------------------------------------------------------------
663676

664677
Third-Party Software Licenses
665678

666679
This section contains third-party software notices and/or additional
667680
terms for licensed third-party software components included within ICU
668681
libraries.
669682

670-
1. ICU License - ICU 1.8.1 to ICU 57.1
683+
----------------------------------------------------------------------
684+
685+
ICU License - ICU 1.8.1 to ICU 57.1
671686

672687
COPYRIGHT AND PERMISSION NOTICE
673688

@@ -702,7 +717,9 @@ The externally maintained libraries used by Node.js are:
702717
All trademarks and registered trademarks mentioned herein are the
703718
property of their respective owners.
704719

705-
2. Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
720+
----------------------------------------------------------------------
721+
722+
Chinese/Japanese Word Break Dictionary Data (cjdict.txt)
706723

707724
# The Google Chrome software developed by Google is licensed under
708725
# the BSD license. Other software included in this distribution is
@@ -906,7 +923,9 @@ The externally maintained libraries used by Node.js are:
906923
#
907924
# ---------------COPYING.ipadic-----END----------------------------------
908925

909-
3. Lao Word Break Dictionary Data (laodict.txt)
926+
----------------------------------------------------------------------
927+
928+
Lao Word Break Dictionary Data (laodict.txt)
910929

911930
# Copyright (C) 2016 and later: Unicode, Inc. and others.
912931
# License & terms of use: http://www.unicode.org/copyright.html
@@ -946,7 +965,9 @@ The externally maintained libraries used by Node.js are:
946965
# OF THE POSSIBILITY OF SUCH DAMAGE.
947966
# --------------------------------------------------------------------------
948967

949-
4. Burmese Word Break Dictionary Data (burmesedict.txt)
968+
----------------------------------------------------------------------
969+
970+
Burmese Word Break Dictionary Data (burmesedict.txt)
950971

951972
# Copyright (c) 2014 International Business Machines Corporation
952973
# and others. All Rights Reserved.
@@ -986,7 +1007,9 @@ The externally maintained libraries used by Node.js are:
9861007
# SUCH DAMAGE.
9871008
# --------------------------------------------------------------------------
9881009

989-
5. Time Zone Database
1010+
----------------------------------------------------------------------
1011+
1012+
Time Zone Database
9901013

9911014
ICU uses the public domain data and code derived from Time Zone
9921015
Database for its time zone support. The ownership of the TZ database
@@ -1009,7 +1032,9 @@ The externally maintained libraries used by Node.js are:
10091032
# making a contribution to the database or code waives all rights to
10101033
# future claims in that contribution or in the TZ Database.
10111034

1012-
6. Google double-conversion
1035+
----------------------------------------------------------------------
1036+
1037+
Google double-conversion
10131038

10141039
Copyright 2006-2011, the V8 project authors. All rights reserved.
10151040
Redistribution and use in source and binary forms, with or without
@@ -1037,6 +1062,83 @@ The externally maintained libraries used by Node.js are:
10371062
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
10381063
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
10391064
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1065+
1066+
----------------------------------------------------------------------
1067+
1068+
File: aclocal.m4 (only for ICU4C)
1069+
Section: pkg.m4 - Macros to locate and utilise pkg-config.
1070+
1071+
Copyright © 2004 Scott James Remnant .
1072+
Copyright © 2012-2015 Dan Nicholson
1073+
1074+
This program is free software; you can redistribute it and/or modify
1075+
it under the terms of the GNU General Public License as published by
1076+
the Free Software Foundation; either version 2 of the License, or
1077+
(at your option) any later version.
1078+
1079+
This program is distributed in the hope that it will be useful, but
1080+
WITHOUT ANY WARRANTY; without even the implied warranty of
1081+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1082+
General Public License for more details.
1083+
1084+
You should have received a copy of the GNU General Public License
1085+
along with this program; if not, write to the Free Software
1086+
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
1087+
02111-1307, USA.
1088+
1089+
As a special exception to the GNU General Public License, if you
1090+
distribute this file as part of a program that contains a
1091+
configuration script generated by Autoconf, you may include it under
1092+
the same distribution terms that you use for the rest of that
1093+
program.
1094+
1095+
(The condition for the exception is fulfilled because
1096+
ICU4C includes a configuration script generated by Autoconf,
1097+
namely the `configure` script.)
1098+
1099+
----------------------------------------------------------------------
1100+
1101+
File: config.guess (only for ICU4C)
1102+
1103+
This file is free software; you can redistribute it and/or modify it
1104+
under the terms of the GNU General Public License as published by
1105+
the Free Software Foundation; either version 3 of the License, or
1106+
(at your option) any later version.
1107+
1108+
This program is distributed in the hope that it will be useful, but
1109+
WITHOUT ANY WARRANTY; without even the implied warranty of
1110+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1111+
General Public License for more details.
1112+
1113+
You should have received a copy of the GNU General Public License
1114+
along with this program; if not, see .
1115+
1116+
As a special exception to the GNU General Public License, if you
1117+
distribute this file as part of a program that contains a
1118+
configuration script generated by Autoconf, you may include it under
1119+
the same distribution terms that you use for the rest of that
1120+
program. This Exception is an additional permission under section 7
1121+
of the GNU General Public License, version 3 ("GPLv3").
1122+
1123+
(The condition for the exception is fulfilled because
1124+
ICU4C includes a configuration script generated by Autoconf,
1125+
namely the `configure` script.)
1126+
1127+
----------------------------------------------------------------------
1128+
1129+
File: install-sh (only for ICU4C)
1130+
1131+
Copyright 1991 by the Massachusetts Institute of Technology
1132+
1133+
Permission to use, copy, modify, distribute, and sell this software and its
1134+
documentation for any purpose is hereby granted without fee, provided that
1135+
the above copyright notice appear in all copies and that both that
1136+
copyright notice and this permission notice appear in supporting
1137+
documentation, and that the name of M.I.T. not be used in advertising or
1138+
publicity pertaining to distribution of the software without specific,
1139+
written prior permission. M.I.T. makes no representations about the
1140+
suitability of this software for any purpose. It is provided "as is"
1141+
without express or implied warranty.
10401142
"""
10411143

10421144
- libuv, located at deps/uv, is licensed as follows:

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ See [version roadmap](https://www.graalvm.org/release-notes/version-roadmap/) fo
88
## Version 22.3.0
99
* Implemented the [WebAssembly multi-value](https://github.com/WebAssembly/multi-value) proposal.
1010
* Added an experimental option `--js.unhandled-rejections=handler` that allows to use a custom callback to track unhandled promise rejections.
11-
* Updated Node.js to version 16.16.0.
11+
* Updated Node.js to version 16.17.1.
1212
* ECMA-402 Internationalization API has been enabled by default. It can be disabled by `--js.intl-402=false` option.
1313
* Implemented the [Decorators (stage 3)](https://github.com/tc39/proposal-decorators) proposal.
1414

graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/builtins/JSConstructTypedArrayNode.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,6 @@ private static int toByteLength(int length, int elementSize) {
476476
private RuntimeException throwInappropriateLengthError(long length) {
477477
if (getContext().isOptionNashornCompatibilityMode()) {
478478
throw Errors.createRangeError("inappropriate array buffer length: " + length);
479-
} else if (getContext().isOptionV8CompatibilityMode()) {
480-
throw Errors.createRangeError("Invalid array buffer length");
481479
} else {
482480
throw Errors.createRangeError("Invalid typed array length: " + length);
483481
}

graal-nodejs/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ tools/icu
77
tools/lint-md/lint-md.mjs
88
benchmark/tmp
99
doc/**/*.js
10+
!doc/api_assets/*.js
1011
!.eslintrc.js

graal-nodejs/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ module.exports = {
260260
'no-useless-concat': 'error',
261261
'no-useless-constructor': 'error',
262262
'no-useless-return': 'error',
263+
'no-var': 'error',
263264
'no-void': 'error',
264265
'no-whitespace-before-property': 'error',
265266
'object-curly-newline': 'error',
@@ -319,6 +320,7 @@ module.exports = {
319320
'node-core/no-duplicate-requires': 'error',
320321
},
321322
globals: {
323+
CustomEvent: 'readable',
322324
Crypto: 'readable',
323325
CryptoKey: 'readable',
324326
fetch: 'readable',

graal-nodejs/.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
test/fixtures/* -text
22
vcbuild.bat text eol=crlf
3+
deps/npm/bin/npm text eol=lf
4+
deps/npm/bin/npx text eol=lf
5+
deps/corepack/shims/corepack text eol=lf
36
tools/msvs/find_python.cmd text eol=crlf

graal-nodejs/.github/ISSUE_TEMPLATE/4-report-a-flaky-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,24 @@ body:
1919
placeholder: e.g. `test-fs-stat-bigint`
2020
validations:
2121
required: true
22-
- type: input
22+
- type: dropdown
2323
attributes:
2424
label: Platform
2525
description: The platform the test is flaky on.
26-
placeholder: e.g. `macos` or `linux`
26+
multiple: true
27+
options:
28+
- AIX
29+
- FreeBSD
30+
- Linux ARM64
31+
- Linux ARMv7
32+
- Linux PPC64LE
33+
- Linux s390x
34+
- Linux x64
35+
- macOS ARM64
36+
- macOS x64
37+
- SmartOS
38+
- Windows
39+
- Other
2740
- type: textarea
2841
attributes:
2942
label: Console output

graal-nodejs/.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: true
22
contact_links:
33
- name: ⁉️ Need help with Node.js?
44
url: https://github.com/nodejs/help

graal-nodejs/.github/label-pr-config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ subSystemLabels:
2626
/^src\/.*win32.*/: c++, windows
2727
/^src\/node_zlib/: c++, zlib
2828
/^src\/tracing/: c++, tracing
29-
/^src\/node_api/: c++, node-api
29+
/^src\/(?:node_api|js_native_api)/: c++, node-api
3030
/^src\/node_http2/: c++, http2
3131
/^src\/node_report/: c++, report
3232
/^src\/node_wasi/: c++, wasi
@@ -67,7 +67,7 @@ subSystemLabels:
6767
/^tools\/make-v8/: tools, v8 engine, needs-ci
6868
/^tools\/v8_gypfiles/: tools, v8 engine, needs-ci
6969
/^tools\/(code_cache|snapshot)/: needs-ci
70-
/^tools\/build-addons.js/: needs-ci
70+
/^tools\/build-addons.mjs/: needs-ci
7171
# all other tool changes should be marked as such
7272
/^tools\//: tools
7373
/^\.eslint|\.remark|\.editorconfig/: tools
@@ -117,7 +117,8 @@ exlusiveLabels:
117117
/^test\/inspector\//: test, inspector
118118
/^test\/cctest\/test_inspector/: test, inspector
119119
/^test\/cctest\/test_url/: test, whatwg-url
120-
/^test\/addons-napi\//: test, node-api
120+
/^test\/node-api\//: test, node-api
121+
/^test\/js-native-api\//: test, node-api
121122
/^test\/async-hooks\//: test, async_hooks
122123
/^test\/report\//: test, report
123124
/^test\/fixtures\/es-module/: test, esm

graal-nodejs/.github/workflows/authors.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,30 @@ on:
66

77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
authors_update:
1114
if: github.repository == 'nodejs/node'
1215
runs-on: ubuntu-latest
1316
steps:
14-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v3
1518
with:
1619
fetch-depth: '0' # This is required to actually get all the authors
1720
persist-credentials: false
18-
- run: tools/update-authors.js # Run the AUTHORS tool
19-
- uses: gr2m/create-or-update-pull-request-action@v1 # Create a PR or update the Action's existing PR
21+
- run: tools/update-authors.mjs # Run the AUTHORS tool
22+
- uses: gr2m/create-or-update-pull-request-action@6720400cad8e74d7adc64640e4e6ea6748b83d8f
23+
# Creates a PR or update the Action's existing PR, or
24+
# no-op if the base branch is already up-to-date.
2025
env:
2126
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
2227
with:
2328
author: Node.js GitHub Bot <[email protected]>
2429
body: >
2530
Here are some new additions to the AUTHORS file.
2631
This is an automatically generated PR by the
27-
`authors.yml` GitHub Action, which runs `tools/update-authors.js`.
32+
`authors.yml` GitHub Action, which runs `tools/update-authors.mjs`.
2833
branch: actions/authors-update # Custom branch *just* for this Action.
2934
commit-message: 'meta: update AUTHORS'
3035
labels: meta

0 commit comments

Comments
 (0)