in src/io/xpi.ts [159:167]
checkPath(path: string) {
if (!Object.prototype.hasOwnProperty.call(this.files, path)) {
throw new Error(`Path "${path}" does not exist in this XPI`);
}
if (this.files[path].uncompressedSize > this.maxSizeBytes) {
throw new Error(`File "${path}" is too large. Aborting.`);
}
}