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

@rsuite/document-nav

Package Overview
Dependencies
Maintainers
6
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rsuite/document-nav - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

5

lib/NavItem.js

@@ -89,5 +89,6 @@ 'use strict';

var active = anchor === activeAnchor;
var content = showOrderNumber ? index + ' ' + title : title;
return React.createElement(
'div',
{ className: 'nav-item' },
{ className: 'nav-item', title: content },
React.createElement(

@@ -100,3 +101,3 @@ 'a',

},
showOrderNumber ? index + ' ' + title : title
content
),

@@ -103,0 +104,0 @@ subItems || children ? React.createElement(

2

package.json
{
"name": "@rsuite/document-nav",
"version": "1.0.14",
"version": "1.0.15",
"description": "Document navigation is automatically generated based on the HTML title (h1-h6) tag",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -53,4 +53,5 @@ // @flow

const active = anchor === activeAnchor;
const content = showOrderNumber ? `${index} ${title}` : title;
return (
<div className="nav-item">
<div className="nav-item" title={content}>
<a

@@ -63,3 +64,3 @@ href={`#${anchor}`}

>
{showOrderNumber ? `${index} ${title}` : title}
{content}
</a>

@@ -66,0 +67,0 @@ {subItems || children ? (

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