preact-highlight
Advanced tools
Comparing version 0.1.0-0 to 1.0.0
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/jasonChen1982/preact-highlight/compare/v0.1.0-0...v1.0.0) (2017-06-21) | ||
<a name="0.1.0-0"></a> | ||
@@ -7,0 +12,0 @@ # 0.1.0-0 (2017-06-21) |
{ | ||
"name": "preact-highlight", | ||
"version": "0.1.0-0", | ||
"version": "1.0.0", | ||
"description": "a syntax highlight component for preact", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
@@ -15,3 +15,3 @@ # preact-highlight | ||
render() { | ||
return <HighLight code={demo}/>; | ||
return <HighLight className="cmp-high-light" code={demo}/>; | ||
} | ||
@@ -25,1 +25,6 @@ } | ||
`HighLight` component `code` property had supported `string` `json|object` `function` | ||
| property | type | description | | ||
| ----------------- | --------------------------------------- | ---------------------------------------- | | ||
| `className` | `string` | css style classname | | ||
| `code` | `string` or `json|object` or `function` | need highlight code snippet | |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
10930
1
29
1