Skip to content

Commit 498a53c

Browse files
committed
Rename brotli sub-files
1 parent 9a2f3b7 commit 498a53c

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export function buildHuffmanTable(root_table, table, root_bits, code_lengths, co
151151
}
152152

153153
/**
154-
* @typedef {import('./brotliBitReader.js').default} BrotliBitReader
154+
* @typedef {import('./brotli.bitreader.js').default} BrotliBitReader
155155
* @param {number} alphabet_size
156156
* @param {HuffmanCode[]} tables
157157
* @param {number} table

src/brotli.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
* Copyright 2013 Google Inc, Apache License 2.0
44
*/
55

6-
import BrotliBitReader from './brotliBitReader.js'
6+
import BrotliBitReader from './brotli.bitreader.js'
77
import { lookup, lookupOffsets } from './brotliContext.js'
8-
import { HuffmanCode, readHuffmanCode, readSymbol } from './brotliHuffman.js'
9-
import { kBlockLengthPrefixCode, kCopyLengthPrefixCode, kCopyRangeLut, kInsertLengthPrefixCode, kInsertRangeLut } from './brotliPrefix.js'
8+
import { HuffmanCode, readHuffmanCode, readSymbol } from './brotli.huffman.js'
9+
import { kBlockLengthPrefixCode, kCopyLengthPrefixCode, kCopyRangeLut, kInsertLengthPrefixCode, kInsertRangeLut } from './brotli.prefix.js'
1010
import { BrotliInput, BrotliOutput } from './brotliStreams.js'
11-
import { kNumTransforms, transformDictionaryWord } from './brotliTransform.js'
11+
import { kNumTransforms, transformDictionaryWord } from './brotli.transform.js'
1212

1313
const kNumLiteralCodes = 256
1414
const kNumInsertAndCopyCodes = 704
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
Transformations on dictionary words.
1616
*/
1717

18-
import { getDictionary } from './brotliDictionary.js'
18+
import { getDictionary } from './brotli.dictionary.js'
1919

2020
const kIdentity = 0
2121
const kOmitLast1 = 1

0 commit comments

Comments
 (0)