@concordance/react
Advanced tools
Comparing version 0.2.0 to 1.0.0
@@ -11,3 +11,3 @@ 'use strict' | ||
// Expected API version to be passed to register(). | ||
exports.apiVersion = 0 | ||
exports.apiVersion = 1 | ||
@@ -17,6 +17,6 @@ // Expected minimal version of Concordance. Concordance will increment its API | ||
// patches that were introduced in a specific version of Concordance. | ||
exports.minimalConcordanceVersion = '0.7.0' | ||
exports.minimalConcordanceVersion = '1.0.0' | ||
// Plugin-specific version of its serialization output. | ||
exports.serializerVersion = 0 | ||
exports.serializerVersion = 1 | ||
@@ -23,0 +23,0 @@ exports.theme = { |
{ | ||
"name": "@concordance/react", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "Compare, format, diff and serialize React trees with Concordance", | ||
@@ -40,12 +40,12 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@novemberborn/as-i-preach": "^9.0.0", | ||
"@novemberborn/as-i-preach": "^10.0.1", | ||
"ava": "^0.19.0", | ||
"babel-cli": "^6.24.1", | ||
"babel-core": "^6.24.1", | ||
"babel-core": "^6.25.0", | ||
"babel-preset-react": "^6.24.1", | ||
"codecov": "^2.1.0", | ||
"concordance": "^0.8.0", | ||
"nyc": "^10.1.2", | ||
"react": "^15.5.4", | ||
"react-test-renderer": "^15.5.4" | ||
"concordance": "^1.0.0", | ||
"nyc": "^11.0.1", | ||
"react": "^15.6.1", | ||
"react-test-renderer": "^15.6.1" | ||
}, | ||
@@ -52,0 +52,0 @@ "as-i-preach": { |
@@ -5,2 +5,17 @@ # @concordance/react | ||
Very much a work in progress. | ||
Allows | ||
[`React.createElement()`](https://facebook.github.io/react/docs/react-api.html#createelement) | ||
objects to be compared, formatted, diffed and serialized. Also supports | ||
`toJSON()` renderings of | ||
[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer). | ||
These may be compared to `React.createElement()` objects. | ||
When comparing [React | ||
component](https://facebook.github.io/react/docs/components-and-props.html) | ||
elements, the element type is compared by identity. After deserialization the | ||
element types are compared by function name, taking into account whether | ||
serialization and / or comparison is done using Node.js 4, which has less | ||
reliable support for function names. | ||
Component elements are formatted with a ⍟ character after the element | ||
name. Properties and children are formatted by [Concordance](https://github.com/concordancejs/concordance). |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
29814
0
21