chore: bump node to v12.15.0 (master) (#22063)

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
Electron Bot 2020-02-10 17:48:30 -08:00 committed by GitHub
parent 9ad6f06831
commit 2bfe66bcfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 50 deletions

2
DEPS
View file

@ -14,7 +14,7 @@ vars = {
'chromium_version': 'chromium_version':
'ddac4c3cc1528254008f9e7a2aea5d4426906bfd', 'ddac4c3cc1528254008f9e7a2aea5d4426906bfd',
'node_version': 'node_version':
'v12.14.1', 'v12.15.0',
'nan_version': 'nan_version':
'2ee313aaca52e2b478965ac50eb5082520380d1b', '2ee313aaca52e2b478965ac50eb5082520380d1b',

View file

@ -27,7 +27,6 @@ build_bring_back_node_with_ltcg_configuration.patch
revert_crypto_add_oaeplabel_option.patch revert_crypto_add_oaeplabel_option.patch
refactor_transferrablemodule_is_deprecated_use_compiledwasmmodule.patch refactor_transferrablemodule_is_deprecated_use_compiledwasmmodule.patch
enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch enable_31_bit_smis_on_64bit_arch_and_ptr_compression.patch
fix_remove_unused_llhttp_variables.patch
fix_include_libuv_header_in_node_binding.patch fix_include_libuv_header_in_node_binding.patch
remove_deprecated_task_api_override_removed_in_latest_v8.patch remove_deprecated_task_api_override_removed_in_latest_v8.patch
remove_serialization_deserialization_of_wasmmoduleobject.patch remove_serialization_deserialization_of_wasmmoduleobject.patch

View file

@ -1,48 +0,0 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Shelley Vohr <shelley.vohr@gmail.com>
Date: Wed, 8 Jan 2020 10:12:46 -0800
Subject: fix: remove unused llhttp variables
Node.js updated llhttps in https://github.com/nodejs/node/pull/30553,
which updated some of the llparse_blobs. To keep numbering consistency,
it left the newly unused ones, which causes compilation failures in Electron
as we do not allow unused variables.
Fixed in https://github.com/nodejs/llparse/pull/34; this patch can be removed
as soon as llparse v6.2.1 is rolled into Node.js
diff --git a/deps/llhttp/src/llhttp.c b/deps/llhttp/src/llhttp.c
index 698230f93fe08f347a9e6e9f7194663c9b5318c3..664b563ad1ccf69794f0e86245e91d0bc26c1d58 100644
--- a/deps/llhttp/src/llhttp.c
+++ b/deps/llhttp/src/llhttp.c
@@ -24,10 +24,6 @@ typedef int (*llhttp__internal__span_cb)(
static const unsigned char llparse_blob0[] = {
'C', 'L'
};
-static const unsigned char ALIGN(16) llparse_blob1[] = {
- 0x9, 0x9, 0xc, 0xc, '!', '"', '$', '>', '@', '~', 0x80,
- 0xff
-};
static const unsigned char llparse_blob2[] = {
'o', 'n'
};
@@ -43,19 +39,9 @@ static const unsigned char llparse_blob5[] = {
static const unsigned char llparse_blob6[] = {
'p', 'g', 'r', 'a', 'd', 'e'
};
-static const unsigned char ALIGN(16) llparse_blob7[] = {
- 0x9, 0x9, ' ', '~', 0x80, 0xfe
-};
static const unsigned char llparse_blob8[] = {
'h', 'u', 'n', 'k', 'e', 'd'
};
-static const unsigned char ALIGN(16) llparse_blob9[] = {
- ' ', '!', '#', '\'', '*', '+', '-', '.', '0', '9', 'A',
- 'Z', '^', 'z', '|', '|'
-};
-static const unsigned char ALIGN(16) llparse_blob10[] = {
- '~', '~'
-};
static const unsigned char llparse_blob11[] = {
'e', 'n', 't', '-', 'l', 'e', 'n', 'g', 't', 'h'
};