Skip to content

Commit

Permalink
fix: resolve is now part of the public API
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Aug 28, 2018
1 parent 66efbb5 commit bb4bed5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib/saxes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ declare namespace saxes {
fail(er: Error): this;
write(chunk: string | null): this;
close(): this;

resolve(prefix: string): string | undefined;
}
}

Expand Down
2 changes: 0 additions & 2 deletions lib/saxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1595,8 +1595,6 @@ class SaxesParser {
*
* @returns {string|undefined} The namespace URI or ``undefined`` if the
* prefix is not defined.
*
* @private
*/
resolve(prefix) {
let uri = this.tag.ns[prefix];
Expand Down

0 comments on commit bb4bed5

Please sign in to comment.