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-alpha to 1.0.14-alpha.2

lib/utils/innerText.js

4

lib/Nav.js

@@ -41,2 +41,4 @@ 'use strict';

var _innerText = require('./utils/innerText');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -198,3 +200,3 @@

if (/^H[1-6]/.test(type)) {
var _title = node.innerText || '';
var _title = (0, _innerText.getInnerText)(node) || '';
var _anchor = node.id || _title;

@@ -201,0 +203,0 @@ node.id = _anchor;

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

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

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