Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
parseNumberingAsync(zip){
var file = zip.files["word/numbering.xml"];
return file ? file.async("string")
.then((xml) => this.parseNumberingFile(xml)) : null;
}
.then((content) => {
this.docx.setRelationships(content);
return this.asyncResult.files['word/numbering.xml'].async('string');
})
.then((content) => {