Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hast-util-excerpt

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hast-util-excerpt - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

index.js

@@ -81,9 +81,4 @@ /**

while (++index < node.children.length) {
while (++index < node.children.length && !found) {
const result = preorder(node.children[index])
if (found) {
break
}
// @ts-expect-error: assume content model matches.

@@ -90,0 +85,0 @@ if (result) children.push(result)

2

package.json
{
"name": "hast-util-excerpt",
"version": "1.0.0",
"version": "1.0.1",
"description": "hast utility to excerpt the tree to a comment",

@@ -5,0 +5,0 @@ "license": "MIT",

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