@atjson/renderer-hir
Advanced tools
Comparing version 0.25.7 to 0.26.0
@@ -6,2 +6,13 @@ # Change Log | ||
# 0.26.0 (2024-03-21) | ||
### Bug Fixes | ||
- address lint comments and test issues ([8a5d58e](https://github.com/CondeNast/atjson/commit/8a5d58ec391960d1d7cf300aba9605a531b670d9)) | ||
- renderer instance render method should only accept precompiled documents ([3768258](https://github.com/CondeNast/atjson/commit/37682587ca0bdb4117e5286aadf6cf41cb9ec944)) | ||
### Features | ||
- markdown rendering for offset tables and datasets ([3198caf](https://github.com/CondeNast/atjson/commit/3198cafb6afb5c4e577b5ae92bc800e8ed111d78)) | ||
## [0.25.7](https://github.com/CondeNast/atjson/compare/@atjson/renderer-hir@0.25.6...@atjson/renderer-hir@0.25.7) (2023-10-16) | ||
@@ -8,0 +19,0 @@ |
import Document, { Block, Mark } from "@atjson/document"; | ||
import { InternalMark } from "@atjson/util"; | ||
export declare function escapeHTML(text: string): string; | ||
@@ -15,10 +16,16 @@ export declare function classify(type: string): string; | ||
} | ||
type RendererDocument = Document | { | ||
text: string; | ||
marks: Mark[]; | ||
blocks: Block[]; | ||
} | null; | ||
export default class Renderer { | ||
static render<T extends typeof Renderer>(this: T, ...params: ConstructorParameters<T>): any; | ||
private slices; | ||
constructor(_document: Document | { | ||
protected render(serializedDocument: { | ||
text: string; | ||
marks: Mark[]; | ||
marks: InternalMark[]; | ||
blocks: Block[]; | ||
} | null, ..._args: any[]); | ||
}): any; | ||
private slices; | ||
constructor(_document: RendererDocument, ..._args: any[]); | ||
renderBlock(block: Block, context: Context): Iterator<void, any, any>; | ||
@@ -28,3 +35,3 @@ renderMark(mark: Mark, context: Context): Iterator<void, any, any>; | ||
text: string; | ||
marks: Mark[]; | ||
marks: InternalMark[]; | ||
blocks: Block[]; | ||
@@ -35,2 +42,3 @@ } | null; | ||
} | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -115,2 +115,7 @@ "use strict"; | ||
} | ||
render(serializedDocument) { | ||
return compile(this, null, (0, util_1.createTree)(serializedDocument), util_1.ROOT, { | ||
document: serializedDocument, | ||
}); | ||
} | ||
constructor(_document, ..._args) { | ||
@@ -153,2 +158,2 @@ this.slices = new Map(); | ||
exports.default = Renderer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSw2REFBb0U7QUFDcEUsdUNBQStEO0FBTS9ELE1BQU0sTUFBTSxHQUFZO0lBQ3RCLEdBQUcsRUFBRSxPQUFPO0lBQ1osR0FBRyxFQUFFLE1BQU07SUFDWCxHQUFHLEVBQUUsTUFBTTtJQUNYLEdBQUcsRUFBRSxRQUFRO0lBQ2IsR0FBRyxFQUFFLFFBQVE7SUFDYixHQUFHLEVBQUUsUUFBUTtJQUNiLEdBQUcsRUFBRSxRQUFRO0NBQ2QsQ0FBQztBQUlGLFNBQVMsUUFBUSxDQUFDLEdBQW9CO0lBQ3BDLE9BQU8sTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ3JCLENBQUM7QUFFRCxTQUFnQixVQUFVLENBQUMsSUFBWTtJQUNyQyxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsWUFBWSxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBQzlDLENBQUM7QUFGRCxnQ0FFQztBQUVELFNBQVMsT0FBTyxDQUFJLEtBQXFCO0lBQ3ZDLElBQUksY0FBYyxHQUFHLEVBQUUsQ0FBQztJQUN4QixLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxHQUFHLEdBQUcsS0FBSyxDQUFDLE1BQU0sRUFBRSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUMsRUFBRSxFQUFFO1FBQ2hELElBQU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FDLE9BQU8sQ0FBQyxtQ0FBSSxJQUFJLENBQUM7SUFDMUMsQ0FBQztJQUVELENBQUMsSUFBSTtRQUNILE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUdELElBQUksQ0FBQyxJQUFZLEVBQUUsQ0FBVTtRQUMzQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7Q0FDRjtBQWhIRCwyQkFnSEMifQ== |
import Document, { Block, Mark } from "@atjson/document"; | ||
import { InternalMark } from "@atjson/util"; | ||
export declare function escapeHTML(text: string): string; | ||
@@ -15,10 +16,16 @@ export declare function classify(type: string): string; | ||
} | ||
type RendererDocument = Document | { | ||
text: string; | ||
marks: Mark[]; | ||
blocks: Block[]; | ||
} | null; | ||
export default class Renderer { | ||
static render<T extends typeof Renderer>(this: T, ...params: ConstructorParameters<T>): any; | ||
private slices; | ||
constructor(_document: Document | { | ||
protected render(serializedDocument: { | ||
text: string; | ||
marks: Mark[]; | ||
marks: InternalMark[]; | ||
blocks: Block[]; | ||
} | null, ..._args: any[]); | ||
}): any; | ||
private slices; | ||
constructor(_document: RendererDocument, ..._args: any[]); | ||
renderBlock(block: Block, context: Context): Iterator<void, any, any>; | ||
@@ -28,3 +35,3 @@ renderMark(mark: Mark, context: Context): Iterator<void, any, any>; | ||
text: string; | ||
marks: Mark[]; | ||
marks: InternalMark[]; | ||
blocks: Block[]; | ||
@@ -35,2 +42,3 @@ } | null; | ||
} | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -96,2 +96,7 @@ import Document, { serialize } from "@atjson/document"; | ||
} | ||
render(serializedDocument) { | ||
return compile(this, null, createTree(serializedDocument), ROOT, { | ||
document: serializedDocument, | ||
}); | ||
} | ||
constructor(_document, ..._args) { | ||
@@ -133,2 +138,2 @@ this.slices = new Map(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI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BSTtRQUNILE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUdELElBQUksQ0FBQyxJQUFZLEVBQUUsQ0FBVTtRQUMzQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7Q0FDRiJ9 |
{ | ||
"name": "@atjson/renderer-hir", | ||
"version": "0.25.7", | ||
"version": "0.26.0", | ||
"description": "Generalized tools for generating documents in a hierarchical fashion", | ||
@@ -18,3 +18,3 @@ "main": "dist/commonjs/index.js", | ||
}, | ||
"gitHead": "08af74d43cdc8150c5450f2df07e631919052a57" | ||
"gitHead": "4b63bc9f238faa157c46720ac877d59cc193c2da" | ||
} |
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
140011
380
0