@atjson/renderer-react
Advanced tools
Comparing version 0.21.9 to 0.21.10
@@ -6,2 +6,6 @@ # Change Log | ||
## [0.21.10](https://github.com/CondeNast/atjson/compare/@atjson/renderer-react@0.21.9...@atjson/renderer-react@0.21.10) (2019-12-04) | ||
**Note:** Version bump only for package @atjson/renderer-react | ||
## [0.21.9](https://github.com/CondeNast/atjson/compare/@atjson/renderer-react@0.21.8...@atjson/renderer-react@0.21.9) (2019-11-18) | ||
@@ -8,0 +12,0 @@ |
import Document, { Annotation } from "@atjson/document"; | ||
import Renderer from "@atjson/renderer-hir"; | ||
import * as React from "react"; | ||
import { ComponentType } from "react"; | ||
import { ComponentType, ReactElement } from "react"; | ||
export default class ReactRenderer extends Renderer { | ||
@@ -10,5 +9,5 @@ private componentLookup; | ||
}); | ||
root(): IterableIterator<any>; | ||
renderAnnotation(annotation: Annotation): IterableIterator<React.Component | void>; | ||
root(): Generator<undefined, any, unknown>; | ||
renderAnnotation(annotation: Annotation): Iterator<void, ReactElement | ReactElement[], ReactElement[]>; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
import Document, { Annotation } from "@atjson/document"; | ||
import Renderer from "@atjson/renderer-hir"; | ||
import * as React from "react"; | ||
import { ComponentType } from "react"; | ||
import { ComponentType, ReactElement } from "react"; | ||
export default class ReactRenderer extends Renderer { | ||
@@ -10,5 +9,5 @@ private componentLookup; | ||
}); | ||
root(): IterableIterator<any>; | ||
renderAnnotation(annotation: Annotation): IterableIterator<React.Component | void>; | ||
root(): Generator<undefined, any, unknown>; | ||
renderAnnotation(annotation: Annotation): Iterator<void, ReactElement | ReactElement[], ReactElement[]>; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@atjson/renderer-react", | ||
"version": "0.21.9", | ||
"version": "0.21.10", | ||
"description": "Render atjson documents into a React app", | ||
@@ -13,3 +13,3 @@ "main": "dist/commonjs/index.js", | ||
"dependencies": { | ||
"@atjson/renderer-hir": "0.21.7" | ||
"@atjson/renderer-hir": "0.21.8" | ||
}, | ||
@@ -20,6 +20,6 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@atjson/document": "0.22.4", | ||
"@atjson/offset-annotations": "0.23.2" | ||
"@atjson/document": "0.22.5", | ||
"@atjson/offset-annotations": "0.23.3" | ||
}, | ||
"gitHead": "990eec191a758f83c855d1d99f86b125de70b70a" | ||
"gitHead": "48d31810189ae5546c70a889e31fb7aaac885d9f" | ||
} |
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
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
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
346161
91
1
+ Added@atjson/hir@0.21.8(transitive)
+ Added@atjson/renderer-hir@0.21.8(transitive)
- Removed@atjson/hir@0.21.7(transitive)
- Removed@atjson/renderer-hir@0.21.7(transitive)
Updated@atjson/renderer-hir@0.21.8