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

@magidoc/plugin-fuse-markdown

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magidoc/plugin-fuse-markdown - npm Package Compare versions

Comparing version 5.0.3 to 6.0.0

2

build/indexer/indexer.d.ts
import Fuse, { type IFuseOptions } from 'fuse.js';
import type Slugger from 'github-slugger';
import type { Lexer } from 'marked';
import type Slugger from 'github-slugger';
import { type TextExtractors } from '../markdown/extract';

@@ -5,0 +5,0 @@ import type { MarkdownDocument } from './document';

@@ -1,3 +0,3 @@

import type { Tokens, Lexer, TokensList } from 'marked';
import type Slugger from 'github-slugger';
import type { Lexer, Tokens, TokensList } from 'marked';
/**

@@ -4,0 +4,0 @@ * A markdown header

@@ -37,6 +37,3 @@ var IndexableMarkdownType;

else if (token.depth <= lastHeader.depth) {
newCurrentSection.headers = [
...currentSection.headers.filter((header) => header.depth < token.depth),
header,
];
newCurrentSection.headers = [...currentSection.headers.filter((header) => header.depth < token.depth), header];
}

@@ -43,0 +40,0 @@ }

@@ -0,3 +1,3 @@

import type { Token } from 'marked';
import type { TextExtractor } from './extract';
import type { Token } from 'marked';
export declare function defaultExtractors(): Record<Token['type'], TextExtractor>;

@@ -0,4 +1,4 @@

import Slugger from 'github-slugger';
import { Lexer } from 'marked';
import Slugger from 'github-slugger';
export declare function defaultSlugger(): Slugger;
export declare function defaultLexer(): Lexer;

@@ -0,3 +1,3 @@

import Slugger from 'github-slugger';
import { Lexer } from 'marked';
import Slugger from 'github-slugger';

@@ -4,0 +4,0 @@ function defaultSlugger() {

@@ -5,3 +5,3 @@ {

"private": false,
"version": "5.0.3",
"version": "6.0.0",
"type": "module",

@@ -24,18 +24,16 @@ "license": "MIT",

"dependencies": {
"fuse.js": "^7.0.0",
"github-slugger": "^2.0.0",
"marked": "^12.0.2"
"fuse.js": "7.0.0",
"github-slugger": "2.0.0",
"marked": "13.0.1"
},
"devDependencies": {
"@types/marked": "^6.0.0",
"@types/node": "^20.12.8",
"@types/prettier": "^3.0.0",
"@vitest/coverage-v8": "^1.6.0",
"rollup": "^4.17.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.6.0"
"@types/node": "20.14.8",
"@vitest/coverage-v8": "1.6.0",
"rollup": "4.18.0",
"typescript": "5.5.2",
"vite": "5.3.1",
"vitest": "1.6.0"
},
"peerDependencies": {
"fuse.js": "^6.6.2"
"fuse.js": "6.6.2"
},

@@ -42,0 +40,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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