@atjson/renderer-hir
Advanced tools
Comparing version 0.21.14 to 0.22.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.22.0](https://github.com/CondeNast/atjson/compare/@atjson/renderer-hir@0.21.14...@atjson/renderer-hir@0.22.0) (2020-02-20) | ||
### Features | ||
* add Annotation is type narrowing function ([#423](https://github.com/CondeNast/atjson/issues/423)) ([2858a4f](https://github.com/CondeNast/atjson/commit/2858a4f707dd14d0ece5d0bc576f38363dfbe5ba)) | ||
## [0.21.14](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/renderer-hir@0.21.13...@atjson/renderer-hir@0.21.14) (2020-02-10) | ||
@@ -8,0 +19,0 @@ |
@@ -19,5 +19,5 @@ import Document, { Annotation, AnnotationJSON } from "@atjson/document"; | ||
renderAnnotation(annotation: Annotation<any>, context: Context): Iterator<void, any, any>; | ||
root(): Iterator<void, any, any[]>; | ||
root(): Generator<undefined, any, unknown>; | ||
text(text: string, _: Context): string; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -83,3 +83,3 @@ "use strict"; | ||
} | ||
else if (childNode.annotation instanceof document_1.UnknownAnnotation) { | ||
else if (document_1.is(childNode.annotation, document_1.UnknownAnnotation)) { | ||
console.debug("Encountered unknown annotation in render:", childNode.annotation); | ||
@@ -140,2 +140,2 @@ throw new Error("Cannot render an unknown annotation. Ensure all annotations are converted or removed before attempting to render."); | ||
exports.default = Renderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQ0FJMEI7QUFDMUIscUNBQTJEO0FBTTNELE1BQU0sTUFBTSxHQUFZO0lBQ3RCLEdBQUcsRUFBRSxPQUFPO0lBQ1osR0FBRyxFQUFFLE1BQU07SUFDWCxHQUFHLEVBQUUsTUFBTTtJ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PQUFPLEtBQUssQ0FBQztTQUNkO0lBQ0gsQ0FBQztJQUVELENBQUMsSUFBSTtRQUNILE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUdELElBQUksQ0FBQyxJQUFZLEVBQUUsQ0FBVTtRQUMzQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7Q0FDRjtBQTFDRCwyQkEwQ0MifQ== |
@@ -19,5 +19,5 @@ import Document, { Annotation, AnnotationJSON } from "@atjson/document"; | ||
renderAnnotation(annotation: Annotation<any>, context: Context): Iterator<void, any, any>; | ||
root(): Iterator<void, any, any[]>; | ||
root(): Generator<undefined, any, unknown>; | ||
text(text: string, _: Context): string; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { UnknownAnnotation } from "@atjson/document"; | ||
import { UnknownAnnotation, is } from "@atjson/document"; | ||
import { HIR } from "@atjson/hir"; | ||
@@ -85,3 +85,3 @@ const escape = { | ||
} | ||
else if (childNode.annotation instanceof UnknownAnnotation) { | ||
else if (is(childNode.annotation, UnknownAnnotation)) { | ||
console.debug("Encountered unknown annotation in render:", childNode.annotation); | ||
@@ -141,2 +141,2 @@ throw new Error("Cannot render an unknown annotation. Ensure all annotations are converted or removed before attempting to render."); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBaUIsRUFHZixpQkFBaUIsRUFDbEIsTUFBTSxrQkFBa0IsQ0FBQztBQUMxQixPQUFPLEVBQUUsR0FBRyxFQUEyQixNQUFNLGFBQWEsQ0FBQztBQU0zRCxNQUFNLE1BQU0sR0FBWTtJQUN0QixHQUFHLEVBQUUsT0FBTztJQUNaLEdBQUcsRUFBRSxNQUFNO0lBQ1gsR0FBRyxFQUFF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SxDQUNWLElBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLGlEQUFpRCxVQUFVLENBQUMsSUFBSSxvREFBb0QsQ0FDOUksQ0FBQztZQUVGLE9BQU8sQ0FBQyxLQUFLLENBQUMseUJBQXlCLEVBQUUsVUFBVSxDQUFDLENBQUM7WUFDckQsT0FBTyxLQUFLLENBQUM7U0FDZDtJQUNILENBQUM7SUFFRCxDQUFDLElBQUk7UUFDSCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFHRCxJQUFJLENBQUMsSUFBWSxFQUFFLENBQVU7UUFDM0IsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0YifQ== |
{ | ||
"name": "@atjson/renderer-hir", | ||
"version": "0.21.14", | ||
"version": "0.22.0", | ||
"description": "Generalized tools for generating documents in a hierarchical fashion", | ||
@@ -13,6 +13,6 @@ "main": "dist/commonjs/index.js", | ||
"dependencies": { | ||
"@atjson/hir": "0.21.14" | ||
"@atjson/hir": "0.22.0" | ||
}, | ||
"devDependencies": { | ||
"@atjson/document": "0.22.11" | ||
"@atjson/document": "0.23.0" | ||
}, | ||
@@ -22,3 +22,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "29d85c980db70c1ed4133c26c6f777ad54ab0947" | ||
"gitHead": "a606a655b298fa8c73a201d1fca97c86d0632c53" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
398623
0
+ Added@atjson/hir@0.22.0(transitive)
- Removed@atjson/hir@0.21.14(transitive)
Updated@atjson/hir@0.22.0