@atjson/renderer-plain-text
Advanced tools
Comparing version 0.6.4 to 0.7.4
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
renderAnnotation(): IterableIterator<string>; | ||
root(): IterableIterator<string>; | ||
} |
@@ -5,3 +5,3 @@ "use strict"; | ||
class PlainTextRenderer extends renderer_hir_1.default { | ||
*renderAnnotation() { | ||
*root() { | ||
let text = yield; | ||
@@ -12,2 +12,2 @@ return text.join(''); | ||
exports.default = PlainTextRenderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1REFBNEM7QUFFNUMsdUJBQXVDLFNBQVEsc0JBQVE7SUFDckQsQ0FBQyxnQkFBZ0I7UUFDZixJQUFJLElBQUksR0FBYSxLQUFLLENBQUM7UUFDM0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkIsQ0FBQztDQUNGO0FBTEQsb0NBS0MifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1REFBNEM7QUFFNUMsdUJBQXVDLFNBQVEsc0JBQVE7SUFDckQsQ0FBQyxJQUFJO1FBQ0gsSUFBSSxJQUFJLEdBQWEsS0FBSyxDQUFDO1FBQzNCLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZCLENBQUM7Q0FDRjtBQUxELG9DQUtDIn0= |
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
renderAnnotation(): IterableIterator<string>; | ||
root(): IterableIterator<string>; | ||
} |
@@ -1,5 +0,4 @@ | ||
"use strict"; | ||
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
*renderAnnotation() { | ||
*root() { | ||
let text = yield; | ||
@@ -9,2 +8,2 @@ return text.join(''); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sUUFBUSxNQUFNLHNCQUFzQixDQUFDO0FBRTVDLE1BQU0sQ0FBQyxPQUFPLHdCQUF5QixTQUFRLFFBQVE7SUFDckQsQ0FBQyxnQkFBZ0I7UUFDZixJQUFJLElBQUksR0FBYSxLQUFLLENBQUM7UUFDM0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkIsQ0FBQztDQUNGIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxRQUFRLE1BQU0sc0JBQXNCLENBQUM7QUFFNUMsTUFBTSxDQUFDLE9BQU8sd0JBQXlCLFNBQVEsUUFBUTtJQUNyRCxDQUFDLElBQUk7UUFDSCxJQUFJLElBQUksR0FBYSxLQUFLLENBQUM7UUFDM0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkIsQ0FBQztDQUNGIn0= |
{ | ||
"name": "@atjson/renderer-plain-text", | ||
"version": "0.6.4", | ||
"version": "0.7.4", | ||
"description": "A brand new TypeScript library.", | ||
@@ -18,12 +18,12 @@ "main": "dist/commonjs/index.js", | ||
"devDependencies": { | ||
"@atjson/contenttype-html": "^0.6.4", | ||
"@atjson/core": "^0.5.12", | ||
"@atjson/hir": "^0.5.17", | ||
"parse5": "^3.0.2", | ||
"tslint": "^5.7.0", | ||
"typescript": "^2.4.2" | ||
"@atjson/document": "^0.7.2", | ||
"@atjson/hir": "^0.7.2", | ||
"@atjson/source-html": "^0.7.4", | ||
"parse5": "^4.0.0", | ||
"tslint": "^5.9.1", | ||
"typescript": "^2.6.2" | ||
}, | ||
"dependencies": { | ||
"@atjson/renderer-hir": "^0.5.20" | ||
"@atjson/renderer-hir": "^0.7.4" | ||
} | ||
} |
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
*renderAnnotation(): IterableIterator<string> { | ||
*root(): IterableIterator<string> { | ||
let text: string[] = yield; | ||
@@ -6,0 +6,0 @@ return text.join(''); |
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
2723
32
+ Added@atjson/document@0.7.16(transitive)
+ Added@atjson/hir@0.7.16(transitive)
+ Added@atjson/renderer-hir@0.7.16(transitive)
- Removed@atjson/core@0.5.12(transitive)
- Removed@atjson/hir@0.5.17(transitive)
- Removed@atjson/renderer-hir@0.5.20(transitive)
- Removed@types/entities@1.1.1(transitive)
- Removedentities@1.1.2(transitive)
Updated@atjson/renderer-hir@^0.7.4