deps: update brotli to 1.1.0 · nodejs/node@f00f120 · GitHub
Skip to content

Commit f00f120

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update brotli to 1.1.0
PR-URL: #50804 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent e03ac83 commit f00f120

88 files changed

Lines changed: 6284 additions & 2130 deletions

Some content is hidden

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

deps/brotli/brotli.gyp

Lines changed: 2 additions & 0 deletions

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.
-50.5 KB
Binary file not shown.

deps/brotli/c/common/dictionary.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
55
*/
66

7-
#include "./dictionary.h"
8-
#include "./platform.h"
7+
#include "dictionary.h"
8+
#include "platform.h"
99

1010
#if defined(__cplusplus) || defined(c_plusplus)
1111
extern "C" {
1212
#endif
1313

1414
#if !defined(BROTLI_EXTERNAL_DICTIONARY_DATA)
1515
static const uint8_t kBrotliDictionaryData[] =
16+
/* GENERATED CODE START */
1617
{
1718
116,105,109,101,100,111,119,110,108,105,102,101,108,101,102,116,98,97,99,107,99,
1819
111,100,101,100,97,116,97,115,104,111,119,111,110,108,121,115,105,116,101,99,105
@@ -5860,6 +5861,7 @@ static const uint8_t kBrotliDictionaryData[] =
58605861
,164,181,224,164,190,224,164,136,224,164,184,224,164,149,224,165,141,224,164,176
58615862
,224,164,191,224,164,175,224,164,164,224,164,190
58625863
}
5864+
/* GENERATED CODE END */
58635865
;
58645866
#endif /* !BROTLI_EXTERNAL_DICTIONARY_DATA */
58655867

@@ -5895,7 +5897,7 @@ static BrotliDictionary kBrotliDictionary = {
58955897
#endif
58965898
};
58975899

5898-
const BrotliDictionary* BrotliGetDictionary() {
5900+
const BrotliDictionary* BrotliGetDictionary(void) {
58995901
return &kBrotliDictionary;
59005902
}
59015903

deps/brotli/c/common/platform.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
#include <stdlib.h>
88

9-
#include "./platform.h"
109
#include <brotli/types.h>
1110

11+
#include "platform.h"
12+
1213
/* Default brotli_alloc_func */
1314
void* BrotliDefaultAllocFunc(void* opaque, size_t size) {
1415
BROTLI_UNUSED(opaque);

deps/brotli/c/common/platform.h

Lines changed: 60 additions & 113 deletions

0 commit comments

Comments
 (0)