hast-util-to-dom
Advanced tools
Comparing version 2.0.2 to 2.0.3
{ | ||
"name": "hast-util-to-dom", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "hast utility to transform to the DOM", | ||
@@ -9,2 +9,3 @@ "license": "ISC", | ||
"hast", | ||
"hast-util", | ||
"util", | ||
@@ -18,2 +19,6 @@ "utility", | ||
"bugs": "https://github.com/syntax-tree/hast-util-to-dom/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Keith McKnight <keith@mcknig.ht> (https://keith.mcknig.ht)", | ||
@@ -39,3 +44,3 @@ "contributors": [ | ||
"babel-eslint": "^10.0.0", | ||
"babel-jest": "^24.0.0", | ||
"babel-jest": "^25.0.0", | ||
"eslint": "^6.0.0", | ||
@@ -47,7 +52,7 @@ "eslint-config-airbnb-base": "^14.0.0", | ||
"jasmine-core": "^3.0.0", | ||
"jest-cli": "^24.0.0", | ||
"jest-cli": "^25.0.0", | ||
"karma": "^4.0.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
"karma-firefox-launcher": "^1.0.0", | ||
"karma-jasmine": "^2.0.0", | ||
"karma-jasmine": "^3.0.0", | ||
"karma-mocha-reporter": "^2.0.0", | ||
@@ -63,3 +68,3 @@ "karma-rollup-preprocessor": "^7.0.0", | ||
"rollup-plugin-node-resolve": "^5.0.0", | ||
"w3c-xmlserializer": "^1.1.2" | ||
"w3c-xmlserializer": "^2.0.0" | ||
}, | ||
@@ -66,0 +71,0 @@ "scripts": { |
@@ -27,3 +27,3 @@ # hast-util-to-dom | ||
## Usage | ||
## Use | ||
@@ -33,5 +33,5 @@ This utility is intended for browser use! | ||
```js | ||
import toDOM from 'hast-util-to-dom'; | ||
import toDom from 'hast-util-to-dom'; | ||
const el = toDOM({ | ||
const el = toDom({ | ||
type: 'element', | ||
@@ -75,3 +75,3 @@ tagName: 'h1', | ||
### `toDOM(node[, options])` | ||
### `toDom(node[, options])` | ||
@@ -115,4 +115,4 @@ Transform a [**hast**][hast] [*tree*][tree] to a DOM tree. | ||
This project has a [Code of Conduct][coc]. | ||
By interacting with this repository, organisation, or community you agree to | ||
This project has a [code of conduct][coc]. | ||
By interacting with this repository, organization, or community you agree to | ||
abide by its terms. | ||
@@ -148,3 +148,3 @@ | ||
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg | ||
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg | ||
@@ -151,0 +151,0 @@ [chat]: https://spectrum.chat/unified/syntax-tree |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
7767
3
0
2