1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Update npm packages

Note that the Prettier update made it possible to move a couple of comments after `default:`-cases back to their original/intended positions, please see https://prettier.io/blog/2022/03/16/2.6.0.html
This commit is contained in:
Jonas Jenwald 2022-03-20 10:36:11 +01:00
parent f017f295ec
commit 73d2ddac0d
4 changed files with 330 additions and 398 deletions

View file

@ -3374,8 +3374,7 @@ class PartialEvaluator {
}
}
break;
default:
// 'uniXXXX'/'uXXXX{XX}' glyphs
default: // 'uniXXXX'/'uXXXX{XX}' glyphs
const unicode = getUnicodeForGlyph(glyphName, glyphsUnicodeMap);
if (unicode !== -1) {
code = unicode;

View file

@ -156,8 +156,7 @@ class Parser {
}
this.shift();
return dict;
default:
// simple object
default: // simple object
return buf1;
}
}