rdfa-streaming-parser
Advanced tools
Comparing version 1.2.0 to 1.2.1
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v1.2.1"></a> | ||
## [v1.2.1](https://github.com/rubensworks/rdfa-streaming-parser.js/compare/v1.2.0...v1.2.1) - 2020-03-28 | ||
### Fixed | ||
* [Fix crash on relative base tag values](https://github.com/rubensworks/rdfa-streaming-parser.js/commit/e564188e5fb41cbbbbfd78ff1269e1e57959ef86) | ||
* [Properly delegate errors from listeners to the stream](https://github.com/rubensworks/rdfa-streaming-parser.js/commit/730201ce16bc27b80ca046da015d48ce77b8ee8d) | ||
<a name="v1.2.0"></a> | ||
@@ -5,0 +12,0 @@ ## [v1.2.0](https://github.com/rubensworks/rdfa-streaming-parser.js/compare/v1.1.1...v1.2.0) - 2020-01-27 |
@@ -742,2 +742,5 @@ "use strict"; | ||
this.onTagClose(); | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onTagClose(); | ||
} | ||
} | ||
@@ -747,5 +750,2 @@ catch (e) { | ||
} | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onTagClose(); | ||
} | ||
}, | ||
@@ -755,2 +755,5 @@ onend: () => { | ||
this.onEnd(); | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onEnd(); | ||
} | ||
} | ||
@@ -760,5 +763,2 @@ catch (e) { | ||
} | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onEnd(); | ||
} | ||
}, | ||
@@ -768,2 +768,5 @@ onopentag: (name, attributes) => { | ||
this.onTagOpen(name, attributes); | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onTagOpen(name, attributes); | ||
} | ||
} | ||
@@ -773,5 +776,2 @@ catch (e) { | ||
} | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onTagOpen(name, attributes); | ||
} | ||
}, | ||
@@ -781,2 +781,5 @@ ontext: (data) => { | ||
this.onText(data); | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onText(data); | ||
} | ||
} | ||
@@ -786,5 +789,2 @@ catch (e) { | ||
} | ||
if (this.htmlParseListener) { | ||
this.htmlParseListener.onText(data); | ||
} | ||
}, | ||
@@ -791,0 +791,0 @@ }, { |
@@ -108,3 +108,3 @@ "use strict"; | ||
} | ||
return this.dataFactory.namedNode(href); | ||
return this.dataFactory.namedNode(relative_to_absolute_iri_1.resolve(href, this.baseIRI.value)); | ||
} | ||
@@ -111,0 +111,0 @@ /** |
{ | ||
"name": "rdfa-streaming-parser", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A fast and lightweight streaming RDFa parser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91117