@atjson/renderer-plain-text
Advanced tools
Comparing version 0.7.12 to 0.7.13
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
root(): IterableIterator<string>; | ||
root(): IterableIterator<any>; | ||
} |
@@ -8,2 +8,2 @@ import Renderer from '@atjson/renderer-hir'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxRQUFRLE1BQU0sc0JBQXNCLENBQUM7QUFFNUMsTUFBTSxDQUFDLE9BQU8sd0JBQXlCLFNBQVEsUUFBUTtJQUNyRCxDQUFDLElBQUk7UUFDSCxJQUFJLElBQUksR0FBYSxLQUFLLENBQUM7UUFDM0IsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDdkIsQ0FBQztDQUNGIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxRQUFRLE1BQU0sc0JBQXNCLENBQUM7QUFFNUMsTUFBTSxDQUFDLE9BQU8sd0JBQXlCLFNBQVEsUUFBUTtJQUNyRCxDQUFDLElBQUk7UUFDSCxJQUFJLElBQUksR0FBRyxLQUFLLENBQUM7UUFDakIsT0FBTyxJQUFJLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZCLENBQUM7Q0FDRiJ9 |
{ | ||
"name": "@atjson/renderer-plain-text", | ||
"version": "0.7.12", | ||
"version": "0.7.13", | ||
"description": "A brand new TypeScript library.", | ||
@@ -10,3 +10,3 @@ "main": "dist/commonjs/index.js", | ||
"prepublish": "npm run build", | ||
"build": "rm -rf dist; tsc -p . & tsc -p . --module ESNext --outDir dist/modules/ --target ES2017; exit 0", | ||
"build": "rm -rf dist; tsc -p . & tsc -p . --module ESNext --outDir dist/modules/ --target ES2017", | ||
"test": "../../node_modules/jest/bin/jest.js packages/$(basename $PWD) --config=../../package.json" | ||
@@ -19,5 +19,5 @@ }, | ||
"devDependencies": { | ||
"@atjson/document": "^0.7.12", | ||
"@atjson/hir": "^0.7.12", | ||
"@atjson/source-html": "^0.7.12", | ||
"@atjson/document": "^0.7.13", | ||
"@atjson/hir": "^0.7.13", | ||
"@atjson/source-html": "^0.7.13", | ||
"parse5": "^4.0.0", | ||
@@ -28,4 +28,4 @@ "tslint": "^5.9.1", | ||
"dependencies": { | ||
"@atjson/renderer-hir": "^0.7.12" | ||
"@atjson/renderer-hir": "^0.7.13" | ||
} | ||
} |
import Renderer from '@atjson/renderer-hir'; | ||
export default class PlainTextRenderer extends Renderer { | ||
*root(): IterableIterator<string> { | ||
let text: string[] = yield; | ||
*root(): IterableIterator<any> { | ||
let text = yield; | ||
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
1842
5
18
Updated@atjson/renderer-hir@^0.7.13