Name Description Size Coverage
array-set.js A data structure which is a combination of an array and a set. Adding a new member is O(1), testing for membership is O(1), and finding the index of an element is O(1). Removing elements from the set is not supported. Only strings are supported for membership. 2350 94 %
base64-vlq.js Converts from a two-complement value to a value where the sign bit is placed in the least significant bit. For example, as decimals: 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) 3430 32 %
base64.js Encode an integer in the range of 0 to 63 to a single base 64 digit. 538 40 %
binary-search.js Recursive implementation of binary search. @param aLow Indices here and lower do not contain the needle. @param aHigh Indices here and higher do not contain the needle. @param aNeedle The element being searched for. @param aHaystack The non-empty array being searched. @param aCompare Function which takes two elements and returns -1, 0, or 1. @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the closest element that is smaller than or greater than the one we are searching for, respectively, if the exact element cannot be found. 4142 8 %
mapping-list.js Determine whether mappingB is after mappingA with respect to generated position. 2257 21 %
mappings.wasm 48526 -
moz.build 492 -
read-wasm.js 1194 38 %
source-map-consumer.js Construct a new `SourceMapConsumer` from `rawSourceMap` and `sourceMapUrl` (see the `SourceMapConsumer` constructor for details. Then, invoke the `async function f(SourceMapConsumer) -> T` with the newly constructed consumer, wait for `f` to complete, call `destroy` on the consumer, and return `f`'s return value. You must not use the consumer after `f` completes! By using `with`, you do not have to remember to manually call `destroy` on the consumer, since it will be called automatically once `f` completes. ```js const xSquared = await SourceMapConsumer.with( myRawSourceMap, null, async function (consumer) { // Use `consumer` inside here and don't worry about remembering // to call `destroy`. const x = await whatever(consumer); return x * x; } ); // You may not use that `consumer` anymore out here; it has // been destroyed. But you can use `xSquared`. console.log(xSquared); ``` 34222 51 %
source-map-generator.js An instance of the SourceMapGenerator represents a source map which is being built incrementally. You may pass an object with the following properties: - file: The filename of the generated source. - sourceRoot: A root for all relative URLs in this source map. 13849 7 %
source-node.js SourceNodes provide a way to abstract over interpolating/concatenating snippets of generated JavaScript source code while maintaining the line and column information associated with the original source code. @param aLine The original line number. @param aColumn The original column number. @param aSource The original source's filename. @param aChunks Optional. An array of strings which are snippets of generated JS, or other SourceNodes. @param aName The original identifier. 13749 8 %
url.js 432 100 %
util.js This is a helper function for getting values from parameter/options objects. @param args The object we are extracting values from @param name The name of the property we are getting. @param defaultValue An optional value to return if the property is missing from the object. If this is not specified and the property is missing, an error will be thrown. 11771 50 %
wasm.js Provide the JIT with a nice shape / hidden class. 3674 77 %