rdfa-streaming-parser
Advanced tools
Comparing version 1.2.1 to 1.2.2
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v1.2.2"></a> | ||
## [v1.2.2](https://github.com/rubensworks/rdfa-streaming-parser.js/compare/v1.2.0...v1.2.2) - 2020-06-03 | ||
### Fixed | ||
* [Fix incompatibility with WhatWG streams](https://github.com/rubensworks/rdfa-streaming-parser.js/commit/8b7964eb24f70b23f0c5811b730b752e95d3695d) | ||
### Changed | ||
* [Update dependency @types/rdf-js to v3, Closes #17](https://github.com/rubensworks/rdfa-streaming-parser.js/commit/4c45c2f3b41146934678c6c9e53b29afcd5c440c) | ||
<a name="v1.2.1"></a> | ||
@@ -5,0 +14,0 @@ ## [v1.2.1](https://github.com/rubensworks/rdfa-streaming-parser.js/compare/v1.2.0...v1.2.1) - 2020-03-28 |
@@ -14,3 +14,3 @@ "use strict"; | ||
constructor(options) { | ||
super({ objectMode: true }); | ||
super({ readableObjectMode: true }); | ||
this.activeTagStack = []; | ||
@@ -46,3 +46,3 @@ options = options || {}; | ||
import(stream) { | ||
const output = new stream_1.PassThrough({ objectMode: true }); | ||
const output = new stream_1.PassThrough({ readableObjectMode: true }); | ||
stream.on('error', (error) => parsed.emit('error', error)); | ||
@@ -49,0 +49,0 @@ stream.on('data', (data) => output.write(data)); |
{ | ||
"name": "rdfa-streaming-parser", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A fast and lightweight streaming RDFa parser", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"@rdfjs/data-model": "^1.1.1", | ||
"@types/rdf-js": "^2.0.10", | ||
"@types/rdf-js": "^3.0.0", | ||
"htmlparser2": "^4.0.0", | ||
@@ -43,3 +43,3 @@ "relative-to-absolute-iri": "^1.0.2" | ||
"devDependencies": { | ||
"@types/jest": "^24.0.1", | ||
"@types/jest": "^25.1.0", | ||
"@types/jest-each": "^24.3.0", | ||
@@ -49,11 +49,11 @@ "@types/node": "^13.1.0", | ||
"coveralls": "^3.0.0", | ||
"jest": "^24.3.0", | ||
"jest-each": "^25.1.0", | ||
"jest": "^26.0.0", | ||
"jest-each": "^26.0.0", | ||
"jest-rdf": "^1.3.0", | ||
"manual-git-changelog": "^1.0.1", | ||
"pre-commit": "^1.2.2", | ||
"rdf-test-suite": "^1.9.0", | ||
"rdf-test-suite": "^1.13.1", | ||
"streamify-string": "^1.0.1", | ||
"ts-jest": "^24.0.0", | ||
"tslint": "^5.8.0", | ||
"ts-jest": "^26.0.0", | ||
"tslint": "^6.0.0", | ||
"tslint-eslint-rules": "^5.3.1", | ||
@@ -60,0 +60,0 @@ "typescript": "^3.3.1" |
@@ -5,3 +5,3 @@ # RDFa Streaming Parser | ||
[![Coverage Status](https://coveralls.io/repos/github/rubensworks/rdfa-streaming-parser.js/badge.svg?branch=master)](https://coveralls.io/github/rubensworks/rdfa-streaming-parser.js?branch=master) | ||
[![npm version](https://badge.fury.io/js/rdfa-streaming-parser.svg)](https://www.npmjs.com/package/rdfa-streaming-parser) [![Greenkeeper badge](https://badges.greenkeeper.io/rubensworks/rdfa-streaming-parser.js.svg)](https://greenkeeper.io/) | ||
[![npm version](https://badge.fury.io/js/rdfa-streaming-parser.svg)](https://www.npmjs.com/package/rdfa-streaming-parser) | ||
@@ -118,3 +118,3 @@ A [fast](https://gist.github.com/rubensworks/9eaaee548f647be15e98dea2b7d27586) and lightweight _streaming_ and 100% _spec-compliant_ [RDFa 1.1](https://rdfa.info/) parser, | ||
```javascript | ||
new JsonLdParser({ | ||
new RdfaParser({ | ||
dataFactory: require('@rdfjs/data-model'), | ||
@@ -121,0 +121,0 @@ baseIRI: 'http://example.org/', |
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
91472
+ Added@types/rdf-js@3.0.3(transitive)
- Removed@types/rdf-js@2.0.12(transitive)
Updated@types/rdf-js@^3.0.0