Add option to throw error when invalid objects are parsed (thanks @jwoodrow): #235 Add PDFDocument.setLanguage method to set the document's language metadata (thanks @Mogztter): #259 Remove const enum to support TypeScript projects using the --isolatedModules flag: #276 #272