Skip to content

v5.3.0

Latest

Choose a tag to compare

@noppa noppa released this 05 Aug 20:19

Create parent directories for input files

We now allow schemas that reference files in other directories. E.g.

await validateXML({
  xml: [{fileName: 'doc.xml', contents: xml}],
  schema: [{fileName: 'main/test.xsd', contents: schema}],
  preload: [{fileName: 'shared/comment.xsd', contents: comment}],
});

PR #36, thanks @dtretyakov!

Ignore worker events from outiside of the library

Closes #37, "library fails in node.js v24+ watch mode".