You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typedoc-plugin-frontmatter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typedoc-plugin-frontmatter - npm Package Compare versions

Comparing version

to
1.2.1

2

dist/index.js

@@ -46,3 +46,3 @@ /**

page.contents = page?.contents
?.replace(/^/, `---\n${yaml.stringify(page.frontmatter, yamlStringifyOptions)}---\n\n`)
?.replace(/^/, `---\n${yaml.stringify(page.frontmatter, { ...yamlStringifyOptions, lineWidth: 0 })}---\n\n`)
.replace(/[\r\n]{3,}/g, '\n\n');

@@ -49,0 +49,0 @@ }

@@ -69,4 +69,6 @@ /**

*
* @example { "lineWidth": 0 }
* Please note that `{ lineWidth: 0 }` is set by default to prevent invalid wrapping.
*
* @example {"defaultStringType": "QUOTE_SINGLE", "defaultKeyType": "PLAIN"}
*/
export declare const yamlStringifyOptions: Partial<DeclarationOption>;

@@ -109,3 +109,5 @@ /**

*
* @example { "lineWidth": 0 }
* Please note that `{ lineWidth: 0 }` is set by default to prevent invalid wrapping.
*
* @example {"defaultStringType": "QUOTE_SINGLE", "defaultKeyType": "PLAIN"}
*/

@@ -112,0 +114,0 @@ export const yamlStringifyOptions = {

{
"name": "typedoc-plugin-frontmatter",
"version": "1.2.0",
"version": "1.2.1",
"description": "A plugin for TypeDoc ( + typedoc-plugin-markdown ) that prepends configurable frontmatter to page content.",

@@ -5,0 +5,0 @@ "exports": {