Socket
Socket
Sign inDemoInstall

hast-util-is-element

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hast-util-is-element - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

27

package.json
{
"name": "hast-util-is-element",
"version": "1.0.3",
"description": "Check if a node is a (certain) element",
"version": "1.0.4",
"description": "hast utility to check if a node is a (certain) element",
"license": "MIT",
"keywords": [
"unist",
"hast",
"hast-util",
"util",
"utility",
"html",
"is",
"element",
"util",
"utility"
"element"
],
"repository": "syntax-tree/hast-util-is-element",
"bugs": "https://github.com/syntax-tree/hast-util-is-element/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -26,9 +32,9 @@ "contributors": [

"browserify": "^16.0.0",
"nyc": "^14.0.0",
"nyc": "^15.0.0",
"prettier": "^1.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.24.0"
"xo": "^0.27.0"
},

@@ -55,2 +61,5 @@ "scripts": {

"esnext": false,
"rules": {
"unicorn/prefer-includes": "off"
},
"ignores": [

@@ -57,0 +66,0 @@ "hast-util-is-element.js"

@@ -22,3 +22,3 @@ # hast-util-is-element

## Usage
## Use

@@ -62,2 +62,7 @@ ```js

## Security
`hast-util-is-element` does not change the syntax tree so there are no openings
for [cross-site scripting (XSS)][xss] attacks.
## Contribute

@@ -69,4 +74,4 @@

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.

@@ -102,3 +107,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

@@ -124,1 +129,3 @@ [chat]: https://spectrum.chat/unified/syntax-tree

[element]: https://github.com/syntax-tree/hast#element
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc