Socket
Socket
Sign inDemoInstall

hast-util-sanitize

Package Overview
Dependencies
1
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

2

lib/index.js

@@ -252,3 +252,3 @@ 'use strict'

if (own.call(schema.ancestors, name)) {
while (++index <= schema.ancestors[name].length) {
while (++index < schema.ancestors[name].length) {
if (stack.indexOf(schema.ancestors[name][index]) > -1) {

@@ -255,0 +255,0 @@ return name

{
"name": "hast-util-sanitize",
"version": "3.0.1",
"version": "3.0.2",
"description": "hast utility to sanitize nodes",

@@ -51,3 +51,3 @@ "license": "MIT",

"unist-builder": "^2.0.0",
"xo": "^0.34.0"
"xo": "^0.35.0"
},

@@ -54,0 +54,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc