Skip to content

Commit

Permalink
bump package deps
Browse files Browse the repository at this point in the history
  • Loading branch information
derduher committed Dec 23, 2020
1 parent 6072f36 commit 2687ec2
Show file tree
Hide file tree
Showing 4 changed files with 910 additions and 682 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## unreleased

- bump dependencies
- correct return type of xmllint. Was Promise<null> but actually returned Promise<void>

## 6.3.3

- bump ts to 4
Expand Down
4 changes: 2 additions & 2 deletions lib/xmllint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import { XMLLintUnavailable } from './errors';
/**
* Verify the passed in xml is valid. Requires xmllib be installed
* @param xml what you want validated
* @return {Promise<null>} resolves on valid rejects [error stderr]
* @return {Promise<void>} resolves on valid rejects [error stderr]
*/
export function xmlLint(xml: string | Readable): Promise<null> {
export function xmlLint(xml: string | Readable): Promise<void> {
const args = [
'--schema',
resolve(__dirname, '..', '..', 'schema', 'all.xsd'),
Expand Down
Loading

0 comments on commit 2687ec2

Please sign in to comment.