@mapbox/hast-util-to-jsx
Advanced tools
Comparing version 0.1.0 to 1.0.0
# hast-util-to-jsx changelog | ||
## 1.0.0 | ||
- Require Node >=10 and update dependencies. | ||
## 0.1.0 | ||
- Start this log. | ||
- Start this log. |
@@ -94,3 +94,3 @@ 'use strict'; | ||
const htmlName = hastPropertyNameToHtmlName(hastName); | ||
const info = propertyInformation(htmlName); | ||
const info = propertyInformation.find(propertyInformation.html, htmlName); | ||
const propName = reactAttrConverter(htmlName); | ||
@@ -97,0 +97,0 @@ |
{ | ||
"name": "@mapbox/hast-util-to-jsx", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Transform HAST to JSX", | ||
@@ -27,17 +27,19 @@ "main": "index.js", | ||
"kebab-case": "^1.0.0", | ||
"postcss": "^6.0.21", | ||
"postcss-js": "^1.0.1", | ||
"property-information": "^3.2.0", | ||
"postcss": "^7.0.31", | ||
"postcss-js": "^2.0.3", | ||
"property-information": "^5.5.0", | ||
"react-attr-converter": "^0.3.1", | ||
"stringify-entities": "^1.3.1" | ||
"stringify-entities": "^3.0.1", | ||
"stringify-object": "^3.3.0" | ||
}, | ||
"devDependencies": { | ||
"hastscript": "^3.1.0", | ||
"rehype-parse": "^4.1.0", | ||
"unified": "^6.1.6", | ||
"unist-builder": "^1.0.2" | ||
"hastscript": "^5.1.2", | ||
"rehype-parse": "^6.0.2", | ||
"unified": "^9.0.0", | ||
"unist-builder": "^2.0.3" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
} | ||
"node": ">=10" | ||
}, | ||
"gitHead": "2a5498b8f45875c04e0e2b6b319f36c3e38a4aed" | ||
} |
@@ -35,3 +35,3 @@ # @mapbox/hast-util-to-jsx | ||
A few libraries exist to transform HTML to JSX. | ||
Using this util, you can perform that transformation entirely within the ecosystem of [`unified`](https://github.com/unifiedjs/unified) syntax trees, using `[`rehype](https://github.com/rehypejs/rehype) to parse HTML and this util to stringify the tree into JSX. | ||
Using this util, you can perform that transformation entirely within the ecosystem of [`unified`](https://github.com/unifiedjs/unified) syntax trees, using [`rehype`](https://github.com/rehypejs/rehype) to parse HTML and this util to stringify the tree into JSX. | ||
@@ -41,2 +41,2 @@ ## Related | ||
- [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html) — Transform HAST to HTML. | ||
- [`rehype`](https://github.com/rehypejs/rehype) — Process HTML as HAST. | ||
- [`rehype`](https://github.com/rehypejs/rehype) — Process HTML as HAST. |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
29195
0
41
7
1
+ Addedstringify-object@^3.3.0
+ Addedcamelcase-css@2.0.1(transitive)
+ Addedget-own-enumerable-property-symbols@3.0.2(transitive)
+ Addedis-obj@1.0.1(transitive)
+ Addedis-regexp@1.0.0(transitive)
+ Addedpicocolors@0.2.1(transitive)
+ Addedpostcss@7.0.39(transitive)
+ Addedpostcss-js@2.0.3(transitive)
+ Addedproperty-information@5.6.0(transitive)
+ Addedstringify-entities@3.1.0(transitive)
+ Addedstringify-object@3.3.0(transitive)
+ Addedxtend@4.0.2(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedcamelcase-css@1.0.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedis-alphabetical@1.0.4(transitive)
- Removedis-alphanumerical@1.0.4(transitive)
- Removedis-decimal@1.0.4(transitive)
- Removedis-hexadecimal@1.0.4(transitive)
- Removedpostcss@6.0.23(transitive)
- Removedpostcss-js@1.0.1(transitive)
- Removedproperty-information@3.2.0(transitive)
- Removedstringify-entities@1.3.2(transitive)
- Removedsupports-color@5.5.0(transitive)
Updatedpostcss@^7.0.31
Updatedpostcss-js@^2.0.3
Updatedproperty-information@^5.5.0
Updatedstringify-entities@^3.0.1