markmap-common
Advanced tools
Comparing version 0.13.0 to 0.13.3-alpha.1
@@ -1,2 +0,2 @@ | ||
/*! markmap-common v0.13.0 | MIT License */ | ||
/*! markmap-common v0.13.3-alpha.1+f7f5075 | MIT License */ | ||
class Hook { | ||
@@ -3,0 +3,0 @@ constructor() { |
@@ -1,2 +0,2 @@ | ||
/*! markmap-common v0.13.0 | MIT License */ | ||
/*! markmap-common v0.13.3-alpha.1+f7f5075 | MIT License */ | ||
'use strict'; | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "markmap-common", | ||
"version": "0.13.0", | ||
"version": "0.13.3-alpha.1+f7f5075", | ||
"description": "", | ||
@@ -27,3 +27,3 @@ "author": "", | ||
}, | ||
"gitHead": "4f5096be2e5ee0d666c0868dbb0d163b19b00ffe" | ||
"gitHead": "f7f507547a2e1b2b1637e532a1c67d6ad0eabaf9" | ||
} |
@@ -91,1 +91,21 @@ export interface IHierarchy<T> { | ||
} | ||
export interface IMarkmapJSONOptions { | ||
color?: string | string[]; | ||
duration?: number; | ||
maxWidth?: number; | ||
} | ||
export interface IMarkmapOptions { | ||
id?: string; | ||
autoFit: boolean; | ||
color: (node: INode) => string; | ||
duration: number; | ||
embedGlobalCSS: boolean; | ||
fitRatio: number; | ||
maxWidth: number; | ||
nodeMinHeight: number; | ||
paddingX: number; | ||
scrollForPan: boolean; | ||
spacingHorizontal: number; | ||
spacingVertical: number; | ||
style?: (id: string) => string; | ||
} |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
21332
690
1