Skip to content

Commit df95409

Browse files
author
Jungku Lee
committed
Merge remote-tracking branch 'upstream/main' into feat/write_sync
2 parents 8f8be72 + f6a83cd commit df95409

File tree

172 files changed

+7945
-2987
lines changed

Some content is hidden

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

172 files changed

+7945
-2987
lines changed

LICENSE

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,6 +1972,35 @@ The externally maintained libraries used by Node.js are:
19721972
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
19731973
"""
19741974

1975+
- gypi_to_gn.py, located at tools/gypi_to_gn.py, is licensed as follows:
1976+
"""
1977+
Redistribution and use in source and binary forms, with or without
1978+
modification, are permitted provided that the following conditions are
1979+
met:
1980+
1981+
* Redistributions of source code must retain the above copyright
1982+
notice, this list of conditions and the following disclaimer.
1983+
* Redistributions in binary form must reproduce the above
1984+
copyright notice, this list of conditions and the following disclaimer
1985+
in the documentation and/or other materials provided with the
1986+
distribution.
1987+
* Neither the name of Google LLC nor the names of its
1988+
contributors may be used to endorse or promote products derived from
1989+
this software without specific prior written permission.
1990+
1991+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1992+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1993+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1994+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1995+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1996+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1997+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1998+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1999+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2000+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2001+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2002+
"""
2003+
19752004
- ESLint, located at tools/node_modules/eslint, is licensed as follows:
19762005
"""
19772006
Copyright OpenJS Foundation and other contributors, <www.openjsf.org>

benchmark/misc/startup-cli-version.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22
const common = require('../common.js');
33
const { spawnSync } = require('child_process');
4+
const { existsSync } = require('fs');
45
const path = require('path');
56

67
// This benchmarks the startup of various CLI tools that are already
@@ -11,6 +12,7 @@ const path = require('path');
1112
const bench = common.createBenchmark(main, {
1213
cli: [
1314
'tools/node_modules/eslint/bin/eslint.js',
15+
'deps/npm/bin/npx-cli.js',
1416
'deps/npm/bin/npm-cli.js',
1517
'deps/corepack/dist/corepack.js',
1618
],
@@ -45,6 +47,10 @@ function spawnProcess(cli, bench, state) {
4547

4648
function main({ count, cli }) {
4749
cli = path.resolve(__dirname, '../../', cli);
50+
if (!existsSync(cli)) {
51+
return;
52+
}
53+
4854
const warmup = 3;
4955
const state = { count, finished: -warmup };
5056
spawnProcess(cli, bench, state);

configure.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,9 +1273,7 @@ def configure_node(o):
12731273

12741274
o['variables']['want_separate_host_toolset'] = int(cross_compiling)
12751275

1276-
# Enable branch protection for arm64
12771276
if target_arch == 'arm64':
1278-
o['cflags']+=['-msign-return-address=all']
12791277
o['variables']['arm_fpu'] = options.arm_fpu or 'neon'
12801278

12811279
if options.node_snapshot_main is not None:

deps/ada/unofficial.gni

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Copyright 2023 Microsoft Inc.
2-
# Use of this source code is governed by a BSD-style license that can be
3-
# found in the LICENSE file.
4-
51
# This file is used by GN for building, which is NOT the build system used for
62
# building official binaries.
73
# Please edit the gyp files if you are making changes to build system.

deps/base64/unofficial.gni

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
# Copyright (c) 2013-2022 GitHub Inc.
2-
# Copyright 2022 the V8 project authors. All rights reserved.
3-
# Copyright 2023 Microsoft Inc.
4-
# Use of this source code is governed by a BSD-style license that can be
5-
# found in the LICENSE file.
6-
71
# This file is used by GN for building, which is NOT the build system used for
82
# building official binaries.
93
# Please edit the gyp files if you are making changes to build system.

deps/brotli/brotli.gyp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
'c/common/context.c',
77
'c/common/dictionary.c',
88
'c/common/platform.c',
9+
'c/common/shared_dictionary.c',
910
'c/common/transform.c',
1011

1112
# Decoder
@@ -22,6 +23,7 @@
2223
'c/enc/brotli_bit_stream.c',
2324
'c/enc/cluster.c',
2425
'c/enc/command.c',
26+
'c/enc/compound_dictionary.c',
2527
'c/enc/compress_fragment.c',
2628
'c/enc/compress_fragment_two_pass.c',
2729
'c/enc/dictionary_hash.c',

deps/brotli/c/common/constants.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
55
*/
66

7-
#include "./constants.h"
7+
#include "constants.h"
88

99
const BrotliPrefixCodeRange
1010
_kBrotliPrefixCodeRanges[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = {

deps/brotli/c/common/constants.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
#ifndef BROTLI_COMMON_CONSTANTS_H_
1313
#define BROTLI_COMMON_CONSTANTS_H_
1414

15-
#include "./platform.h"
1615
#include <brotli/port.h>
1716
#include <brotli/types.h>
1817

18+
#include "platform.h"
19+
1920
/* Specification: 7.3. Encoding of the context map */
2021
#define BROTLI_CONTEXT_MAP_MAX_RLE 16
2122

deps/brotli/c/common/context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "./context.h"
1+
#include "context.h"
22

33
#include <brotli/types.h>
44

deps/brotli/c/common/dictionary.bin

Lines changed: 0 additions & 432 deletions
This file was deleted.

0 commit comments

Comments
 (0)