Socket
Socket
Sign inDemoInstall

mermaid

Package Overview
Dependencies
Maintainers
5
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mermaid - npm Package Compare versions

Comparing version 11.0.1 to 11.0.2

dist/chunks/mermaid.core/chunk-FBCX6ULS.mjs

79

dist/diagrams/git/gitGraphAst.d.ts

@@ -1,60 +0,21 @@

export function setDirection(dir: any): void;
export function setOptions(rawOptString: any): void;
export function getOptions(): {};
export function commit(msg: any, id: any, type: any, tags: any): void;
export function branch(name: any, order: any): void;
export function merge(otherBranch: any, custom_id: any, override_type: any, custom_tags: any): void;
export function cherryPick(sourceId: any, targetId: any, tags: any, parentCommitId: any): void;
export function checkout(branch: any): void;
export function prettyPrint(): void;
export function clear(): void;
export function getBranchesAsObjArray(): {
name: any;
import type { DiagramOrientation, Commit, GitGraphDB, CommitDB, MergeDB, BranchDB, CherryPickDB } from './gitGraphTypes.js';
export declare const setDirection: (dir: DiagramOrientation) => void;
export declare const setOptions: (rawOptString: string) => void;
export declare const getOptions: () => any;
export declare const commit: (commitDB: CommitDB) => void;
export declare const branch: (branchDB: BranchDB) => void;
export declare const merge: (mergeDB: MergeDB) => void;
export declare const cherryPick: (cherryPickDB: CherryPickDB) => void;
export declare const checkout: (branch: string) => void;
export declare const prettyPrint: () => void;
export declare const clear: () => void;
export declare const getBranchesAsObjArray: () => {
name: string;
}[];
export function getBranches(): Map<any, any>;
export function getCommits(): Map<any, any>;
export function getCommitsArray(): any[];
export function getCurrentBranch(): any;
export function getDirection(): string;
export function getHead(): any;
export namespace commitType {
let NORMAL: number;
let REVERSE: number;
let HIGHLIGHT: number;
let MERGE: number;
let CHERRY_PICK: number;
}
declare namespace _default {
export function getConfig(): import("../../config.type.js").GitGraphDiagramConfig | undefined;
export { setDirection };
export { setOptions };
export { getOptions };
export { commit };
export { branch };
export { merge };
export { cherryPick };
export { checkout };
export { prettyPrint };
export { clear };
export { getBranchesAsObjArray };
export { getBranches };
export { getCommits };
export { getCommitsArray };
export { getCurrentBranch };
export { getDirection };
export { getHead };
export { setAccTitle };
export { getAccTitle };
export { getAccDescription };
export { setAccDescription };
export { setDiagramTitle };
export { getDiagramTitle };
export { commitType };
}
export default _default;
import { setAccTitle } from '../common/commonDb.js';
import { getAccTitle } from '../common/commonDb.js';
import { getAccDescription } from '../common/commonDb.js';
import { setAccDescription } from '../common/commonDb.js';
import { setDiagramTitle } from '../common/commonDb.js';
import { getDiagramTitle } from '../common/commonDb.js';
export declare const getBranches: () => Map<string, string | null>;
export declare const getCommits: () => Map<string, Commit>;
export declare const getCommitsArray: () => Commit[];
export declare const getCurrentBranch: () => string;
export declare const getDirection: () => DiagramOrientation;
export declare const getHead: () => Commit | null;
export declare const db: GitGraphDB;

@@ -1,14 +0,6 @@

export function draw(txt: any, id: any, ver: any, diagObj: any): void;
declare namespace _default {
export { draw };
}
import type { DrawDefinition } from '../../diagram-api/types.js';
export declare const draw: DrawDefinition;
declare const _default: {
draw: DrawDefinition;
};
export default _default;
export type CommitMap = Map<string, {
id: string;
message: string;
seq: number;
type: number;
tag: string;
parents: string[];
branch: string;
}>;
{
"name": "mermaid",
"version": "11.0.1",
"version": "11.0.2",
"description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",

@@ -67,3 +67,3 @@ "type": "module",

"uuid": "^9.0.1",
"@mermaid-js/parser": "^0.1.1"
"@mermaid-js/parser": "^0.2.0"
},

@@ -70,0 +70,0 @@ "devDependencies": {

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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