@atjson/renderer-hir
Advanced tools
Comparing version 0.23.2 to 0.23.3
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.23.3](https://github.com/CondeNast/atjson/compare/@atjson/renderer-hir@0.23.2...@atjson/renderer-hir@0.23.3) (2022-08-18) | ||
### Bug Fixes | ||
- pass sliced out document as rendering context ([4884d81](https://github.com/CondeNast/atjson/commit/4884d814513cfd5c192399702f5a232dbc2572ea)), closes [#1307](https://github.com/CondeNast/atjson/issues/1307) | ||
## [0.23.2](https://github.com/CondeNast/atjson/compare/@atjson/renderer-hir@0.23.1...@atjson/renderer-hir@0.23.2) (2022-08-18) | ||
@@ -8,0 +14,0 @@ |
@@ -64,5 +64,5 @@ "use strict"; | ||
if (attributes in slices) { | ||
let node = slices[attributes]; | ||
if (node != null) { | ||
return transformer(node); | ||
let slice = slices[attributes]; | ||
if (slice != null) { | ||
return transformer(slice.node, slice.document); | ||
} | ||
@@ -82,3 +82,3 @@ } | ||
else { | ||
annotation.attributes = attrs(annotation.attributes, slices, (sliceNode) => compile(renderer, sliceNode, slices, { document: context.document })); | ||
annotation.attributes = attrs(annotation.attributes, slices, (sliceNode, document) => compile(renderer, sliceNode, slices, { document })); | ||
generator = renderer.renderAnnotation(annotation, Object.assign(Object.assign({}, context), { children: childAnnotations })); | ||
@@ -141,3 +141,3 @@ } | ||
let hir = new hir_1.HIR(document); | ||
return compile(renderer, hir.rootNode, hir.sliceNodes, { | ||
return compile(renderer, hir.rootNode, hir.slices, { | ||
document: hir.document, | ||
@@ -167,2 +167,2 @@ }); | ||
exports.default = Renderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsK0NBSzBCO0FBRTFCLHFDQUEyRDtBQU0zRCxNQUFNLE1BQU0sR0FBWT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0FDdkIsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztJQUdELFlBQVksU0FBbUIsRUFBRSxHQUFHLEtBQVksSUFBRyxDQUFDO0lBRXBELENBQUMsZ0JBQWdCLENBQ2YsVUFBMkIsRUFDM0IsT0FBZ0I7UUFFaEIsSUFBSSxTQUFTLEdBQ1YsSUFBWSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUM7WUFDN0IsSUFBWSxDQUFDLFFBQVEsQ0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQztRQUMzQyxJQUFJLFNBQVMsRUFBRTtZQUNiLE9BQU8sS0FBSyxDQUFDLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFLE9BQU8sQ0FBQyxDQUFDO1NBQ3pEO2FBQU07WUFFTCxPQUFPLENBQUMsSUFBSSxDQUNWLElBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLGlEQUFpRCxVQUFVLENBQUMsSUFBSSxvREFBb0QsQ0FDOUksQ0FBQztZQUVGLE9BQU8sQ0FBQyxLQUFLLENBQUMseUJBQXlCLEVBQUUsVUFBVSxDQUFDLENBQUM7WUFDckQsT0FBTyxLQUFLLENBQUM7U0FDZDtJQUNILENBQUM7SUFFRCxDQUFDLElBQUk7UUFDSCxPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFHRCxJQUFJLENBQUMsSUFBWSxFQUFFLENBQVU7UUFDM0IsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0NBQ0Y7QUE1Q0QsMkJBNENDIn0= |
@@ -59,5 +59,5 @@ import { UnknownAnnotation, is, } from "@atjson/document"; | ||
if (attributes in slices) { | ||
let node = slices[attributes]; | ||
if (node != null) { | ||
return transformer(node); | ||
let slice = slices[attributes]; | ||
if (slice != null) { | ||
return transformer(slice.node, slice.document); | ||
} | ||
@@ -77,3 +77,3 @@ } | ||
else { | ||
annotation.attributes = attrs(annotation.attributes, slices, (sliceNode) => compile(renderer, sliceNode, slices, { document: context.document })); | ||
annotation.attributes = attrs(annotation.attributes, slices, (sliceNode, document) => compile(renderer, sliceNode, slices, { document })); | ||
generator = renderer.renderAnnotation(annotation, { | ||
@@ -142,3 +142,3 @@ ...context, | ||
let hir = new HIR(document); | ||
return compile(renderer, hir.rootNode, hir.sliceNodes, { | ||
return compile(renderer, hir.rootNode, hir.slices, { | ||
document: hir.document, | ||
@@ -167,2 +167,2 @@ }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBaUIsRUFHZixpQkFBaUIsRUFDakIsRUFBRSxHQUNILE1BQU0sa0JBQWtCLENBQUM7QUFFMUIsT0FBTyxFQUFFLEdBQUcsRUFBMkIsTUFBTSxhQUFhLENBQUM7QUFNM0QsTUFBTSxNQUFNLEdBQVk7SUFDdEIsR0FBRyxFQUFFLE9BQU87SUFDWixHQUFHLEVBQUUsTUFBTTtJQUNYLEdBQUcsRUFBRSxNQUFNO0lBQ1gsR0FBRyxFQUFFLFFBQVE7SUFDYixHQUFHLEVBQUUsUUFBUTtJQUNiLEdBQUcsRUFBRSxRQUFRO0lBQ2IsR0FBRyxFQUFFLFFBQVE7Q0FDZCxDQUFDO0FBSUYsU0FBUyxRQUFRLENBQUMsR0FBb0I7SUFDcEMsT0FBTyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDckIsQ0FBQztBQUVELE1BQU0sVUFBVSxVQUFVLENBQUMsSUFBWTtJQUNyQyxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsWUFBWSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBQzlDLENBQUM7QUFFRCxTQUFTLE9BQU8sQ0FBSSxLQUFxQjtJQUN2Qy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0FBQyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsSUFBSSxFQUFFLFVBQVUsRUFBRSxPQUFPLENBQUMsQ0FBQztTQUN6RDthQUFNO1lBRUwsT0FBTyxDQUFDLElBQUksQ0FDVixJQUFJLElBQUksQ0FBQyxXQUFXLENBQUMsSUFBSSxpREFBaUQsVUFBVSxDQUFDLElBQUksb0RBQW9ELENBQzlJLENBQUM7WUFFRixPQUFPLENBQUMsS0FBSyxDQUFDLHlCQUF5QixFQUFFLFVBQVUsQ0FBQyxDQUFDO1lBQ3JELE9BQU8sS0FBSyxDQUFDO1NBQ2Q7SUFDSCxDQUFDO0lBRUQsQ0FBQyxJQUFJO1FBQ0gsT0FBTyxLQUFLLENBQUM7SUFDZixDQUFDO0lBR0QsSUFBSSxDQUFDLElBQVksRUFBRSxDQUFVO1FBQzNCLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztDQUNGIn0= |
{ | ||
"name": "@atjson/renderer-hir", | ||
"version": "0.23.2", | ||
"version": "0.23.3", | ||
"description": "Generalized tools for generating documents in a hierarchical fashion", | ||
@@ -13,3 +13,3 @@ "main": "dist/commonjs/index.js", | ||
"dependencies": { | ||
"@atjson/hir": "0.23.2" | ||
"@atjson/hir": "0.23.3" | ||
}, | ||
@@ -22,3 +22,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "c27aa8de0c6e000cefd2f910583d0c3013efc140" | ||
"gitHead": "c5af08d8d391643a1d2108b005b9956e7deef98b" | ||
} |
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
122131
+ Added@atjson/hir@0.23.3(transitive)
- Removed@atjson/hir@0.23.2(transitive)
Updated@atjson/hir@0.23.3