mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Merge branch 'master' into develop
This commit is contained in:
commit
bd1343648e
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
if ! pnpm run lint; then
|
if ! pnpm run lint; then
|
||||||
# print a nice error message on lint failure
|
# print a nice error message on lint failure
|
||||||
ERROR_MESSAGE='Running `pnpm run lint` failed.'
|
ERROR_MESSAGE='Running `pnpm run lint` failed.'
|
||||||
ERROR_MESSAGE+=' Running `pnpm run lint:fix` may fix this issue. '
|
ERROR_MESSAGE+=' Running `pnpm -w run lint:fix` may fix this issue. '
|
||||||
ERROR_MESSAGE+=" If this error doesn't occur on your local machine,"
|
ERROR_MESSAGE+=" If this error doesn't occur on your local machine,"
|
||||||
ERROR_MESSAGE+=' make sure your packages are up-to-date by running `pnpm install`.'
|
ERROR_MESSAGE+=' make sure your packages are up-to-date by running `pnpm install`.'
|
||||||
ERROR_MESSAGE+=' You may also need to delete your prettier cache by running'
|
ERROR_MESSAGE+=' You may also need to delete your prettier cache by running'
|
||||||
|
@ -42,368 +42,86 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
flowchart LR
|
%%{init: {"flowchart": {"htmlLabels": true}} }%%
|
||||||
subgraph one
|
flowchart LR
|
||||||
direction LR
|
b("`The dog in **the** hog.(1).. a a a a *very long text* about it
|
||||||
A[myClass1] --> B[default]
|
Word!
|
||||||
subgraph two
|
|
||||||
direction BT
|
Another line with many, many words. Another line with many, many words. Another line with many, many words. Another line with many, many words. Another line with many, many words. Another line with many, many words. Another line with many, many words. Another line with many, many words.`") --apa--> c
|
||||||
C[myClass2] --> D[default]
|
|
||||||
end
|
</pre
|
||||||
end
|
>
|
||||||
|
<pre class="mermaid" style="width: 50%">
|
||||||
|
classDiagram-v2
|
||||||
|
|
||||||
|
classA -- classB : Inheritance
|
||||||
|
classA -- classC : link
|
||||||
|
classC -- classD : link
|
||||||
|
classB -- classD
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
flowchart LR
|
sequenceDiagram
|
||||||
classDef aPID stroke:#4e4403,fill:#fdde29,color:#4e4403,rx:5px,ry:5px;
|
Alice->>Bob: Extremely utterly long line of longness which had previously overflown the actor box as it is much longer than what it should be
|
||||||
classDef crm stroke:#333333,fill:#DCDCDC,color:#333333,rx:5px,ry:5px;
|
loop Loopy
|
||||||
classDef type stroke:#502604,fill:#FAB565,color:#502604,rx:20px,ry:20px;;
|
Bob->>Alice: Pasten
|
||||||
|
end
|
||||||
O0("Joe")
|
|
||||||
class O0 aPID;
|
|
||||||
|
|
||||||
O1("Person")
|
|
||||||
class O1 crm;
|
|
||||||
O0 -- has type -->O1["Person"]
|
|
||||||
|
|
||||||
O2("aat:300411314")
|
|
||||||
class O2 type;
|
|
||||||
click O2 function "Sorry the newline html tags are not being processed correctly<br/> So all of this appears on the <br/> same line."
|
|
||||||
O0 -- has type -->O2["Bug"]
|
|
||||||
click O0 function "Lots of great info about Joe<br>Lots of great info about Joe<br>burt<br>fred";
|
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
flowchart TD
|
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
||||||
subgraph test
|
flowchart LR
|
||||||
direction TB
|
b("`The dog in **the** hog.(1)
|
||||||
subgraph test2
|
NL`") --"`1o **bold**`"--> c[new strings svg labels]
|
||||||
direction LR
|
|
||||||
F --> D
|
|
||||||
end
|
|
||||||
subgraph test3
|
|
||||||
direction TB
|
|
||||||
G --> H
|
|
||||||
end
|
|
||||||
end
|
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
flowchart TD
|
%%{init: {"flowchart": {"htmlLabels": true}} }%%
|
||||||
|
flowchart LR
|
||||||
release-branch[Create Release Branch]:::relClass
|
b("`The dog in **the** hog.(1)
|
||||||
develop-branch[Update Develop Branch]:::relClass
|
NL`") --"`1o **bold**`"--> c[new strings html labels]
|
||||||
github-release-draft[GitHub Release Draft]:::relClass
|
|
||||||
trigger-pipeline[Trigger Jenkins pipeline]:::fixClass
|
|
||||||
github-release[GitHub Release]:::postClass
|
|
||||||
|
|
||||||
build-ready --> release-branch
|
|
||||||
build-ready --> develop-branch
|
|
||||||
release-branch --> jenkins-release-build
|
|
||||||
jenkins-release-build --> github-release-draft
|
|
||||||
jenkins-release-build --> install-release
|
|
||||||
install-release --> verify-release
|
|
||||||
jenkins-release-build --> announce
|
|
||||||
github-release-draft --> github-release
|
|
||||||
verify-release --> verify-check
|
|
||||||
verify-check -- Yes --> github-release
|
|
||||||
verify-check -- No --> release-fix
|
|
||||||
release-fix --> release-branch-pr
|
|
||||||
verify-check -- No --> delete-artifacts
|
|
||||||
release-branch-pr --> trigger-pipeline
|
|
||||||
delete-artifacts --> trigger-pipeline
|
|
||||||
trigger-pipeline --> jenkins-release-build
|
|
||||||
|
|
||||||
|
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<pre class="mermaid" style="width: 50%">
|
||||||
flowchart LR
|
%%{init: {"flowchart": {"htmlLabels": true}} }%%
|
||||||
a["<strong>Haiya</strong>"]===>b
|
flowchart LR
|
||||||
|
b("The dog in the hog.(1)\nNL") --"1o bold"--> c[old strings svg labels]
|
||||||
</pre>
|
</pre>
|
||||||
<pre class="mermaid2" style="width: 50%">
|
<script type="module">
|
||||||
flowchart TD
|
// import mindmap from '../../packages/mermaid-mindmap/src/detector';
|
||||||
A --> B
|
// import example from '../../packages/mermaid-example-diagram/src/mermaid-example-diagram.core.mjs';
|
||||||
A --> C
|
import mermaid from './mermaid.esm.mjs';
|
||||||
B --> C
|
// await mermaid.registerExternalDiagrams([example]);
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 50%">
|
|
||||||
flowchart TD
|
|
||||||
A([stadium shape test])
|
|
||||||
A -->|Get money| B([Go shopping])
|
|
||||||
B --> C([Let me think...<br />Do I want something for work,<br />something to spend every free second with,<br />or something to get around?])
|
|
||||||
C -->|One| D([Laptop])
|
|
||||||
C -->|Two| E([iPhone])
|
|
||||||
C -->|Three| F([Car<br/>wroom wroom])
|
|
||||||
click A "index.html#link-clicked" "link test"
|
|
||||||
click B testClick "click test"
|
|
||||||
classDef someclass fill:#f96;
|
|
||||||
class A someclass;
|
|
||||||
class C someclass;
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 50%">
|
|
||||||
sequenceDiagram
|
|
||||||
title: My Sequence Diagram Title
|
|
||||||
accTitle: My Acc Sequence Diagram
|
|
||||||
accDescr: My Sequence Diagram Description
|
|
||||||
|
|
||||||
Alice->>John: Hello John, how are you?
|
|
||||||
John-->>Alice: Great!
|
|
||||||
Alice-)John: See you later!
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 50%">
|
|
||||||
graph TD
|
|
||||||
A -->|000| B
|
|
||||||
B -->|111| C
|
|
||||||
|
|
||||||
linkStyle 1 stroke:#ff3,stroke-width:4px,color:red;
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
journey
|
|
||||||
accTitle: My User Journey Diagram
|
|
||||||
accDescr: My User Journey Diagram Description
|
|
||||||
|
|
||||||
title My working day
|
|
||||||
section Go to work
|
|
||||||
Make tea: 5: Me
|
|
||||||
Go upstairs: 3: Me
|
|
||||||
Do work: 1: Me, Cat
|
|
||||||
section Go home
|
|
||||||
Go downstairs: 5: Me
|
|
||||||
Sit down: 5: Me
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
info
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
requirementDiagram
|
|
||||||
accTitle: My req Diagram
|
|
||||||
accDescr: My req Diagram Description
|
|
||||||
|
|
||||||
requirement test_req {
|
|
||||||
id: 1
|
|
||||||
text: the test text.
|
|
||||||
risk: high
|
|
||||||
verifymethod: test
|
|
||||||
}
|
|
||||||
|
|
||||||
functionalRequirement test_req2 {
|
|
||||||
id: 1.1
|
|
||||||
text: the second test text.
|
|
||||||
risk: low
|
|
||||||
verifymethod: inspection
|
|
||||||
}
|
|
||||||
|
|
||||||
performanceRequirement test_req3 {
|
|
||||||
id: 1.2
|
|
||||||
text: the third test text.
|
|
||||||
risk: medium
|
|
||||||
verifymethod: demonstration
|
|
||||||
}
|
|
||||||
|
|
||||||
element test_entity {
|
|
||||||
type: simulation
|
|
||||||
}
|
|
||||||
|
|
||||||
element test_entity2 {
|
|
||||||
type: word doc
|
|
||||||
docRef: reqs/test_entity
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
test_entity - satisfies -> test_req2
|
|
||||||
test_req - traces -> test_req2
|
|
||||||
test_req - contains -> test_req3
|
|
||||||
test_req <- copies - test_entity2
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
gantt
|
|
||||||
dateFormat YYYY-MM-DD
|
|
||||||
title Adding GANTT diagram functionality to mermaid
|
|
||||||
excludes weekends
|
|
||||||
%% (`excludes` accepts specific dates in YYYY-MM-DD format, days of the week ("sunday") or "weekends", but not the word "weekdays".)
|
|
||||||
|
|
||||||
section A section
|
|
||||||
Completed task :done, des1, 2014-01-06,2014-01-08
|
|
||||||
Active task :active, des2, 2014-01-09, 3d
|
|
||||||
Future task : des3, after des2, 5d
|
|
||||||
Future task2 : des4, after des3, 5d
|
|
||||||
|
|
||||||
section Critical tasks
|
|
||||||
Completed task in the critical line :crit, done, 2014-01-06,24h
|
|
||||||
Implement parser and jison :crit, done, after des1, 2d
|
|
||||||
Create tests for parser :crit, active, 3d
|
|
||||||
Future task in critical line :crit, 5d
|
|
||||||
Create tests for renderer :2d
|
|
||||||
Add to mermaid :1d
|
|
||||||
Functionality added :milestone, 2014-01-25, 0d
|
|
||||||
|
|
||||||
section Documentation
|
|
||||||
Describe gantt syntax :active, a1, after des1, 3d
|
|
||||||
Add gantt diagram to demo page :after a1 , 20h
|
|
||||||
Add another diagram to demo page :doc1, after a1 , 48h
|
|
||||||
|
|
||||||
section Last section
|
|
||||||
Describe gantt syntax :after doc1, 3d
|
|
||||||
Add gantt diagram to demo page :20h
|
|
||||||
Add another diagram to demo page :48h
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
stateDiagram
|
|
||||||
state Active {
|
|
||||||
Idle
|
|
||||||
}
|
|
||||||
Inactive --> Idle: ACT
|
|
||||||
Active --> Active: LOG
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
flowchart TB
|
|
||||||
accTitle: My flowchart
|
|
||||||
accDescr: My flowchart Description
|
|
||||||
subgraph One
|
|
||||||
a1-->a2-->a3
|
|
||||||
end
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
sequenceDiagram
|
|
||||||
A ->> B: 1
|
|
||||||
rect rgb(204, 0, 102)
|
|
||||||
break yes
|
|
||||||
rect rgb(0, 204, 204)
|
|
||||||
C ->> C: 0
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
B ->> A: Return
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
classDiagram
|
|
||||||
accTitle: My class diagram
|
|
||||||
accDescr: My class diagram Description
|
|
||||||
Class01 <|-- AveryLongClass : Cool
|
|
||||||
Class09 --> C2 : Where am i?
|
|
||||||
Class09 --* C3
|
|
||||||
Class09 --|> Class07
|
|
||||||
Class07 : equals()
|
|
||||||
Class07 : Object[] elementData
|
|
||||||
Class01 : size()
|
|
||||||
Class01 : int chimp
|
|
||||||
Class01 : int gorilla
|
|
||||||
class Class10 {
|
|
||||||
int id
|
|
||||||
size()
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
%%{init: {'config': {'wrap': true }}}%%
|
|
||||||
sequenceDiagram
|
|
||||||
participant A as Extremely utterly long line of longness which had previously overflown the actor box as it is much longer than what it should be
|
|
||||||
A->>Bob: Hola
|
|
||||||
Bob-->A: Pasten !
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
gitGraph
|
|
||||||
commit id: "ZERO"
|
|
||||||
branch develop
|
|
||||||
commit id:"A"
|
|
||||||
checkout main
|
|
||||||
commit id:"ONE"
|
|
||||||
checkout develop
|
|
||||||
commit id:"B"
|
|
||||||
branch featureA
|
|
||||||
commit id:"FIX"
|
|
||||||
commit id: "FIX-2"
|
|
||||||
checkout main
|
|
||||||
commit id:"TWO"
|
|
||||||
cherry-pick id:"A"
|
|
||||||
commit id:"THREE"
|
|
||||||
cherry-pick id:"FIX"
|
|
||||||
checkout develop
|
|
||||||
commit id:"C"
|
|
||||||
merge featureA
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
flowchart TD
|
|
||||||
A[Christmas] -->|Get money| B(Go shopping)
|
|
||||||
B --> C{Let me think}
|
|
||||||
C -->|One| D[Laptop]
|
|
||||||
C -->|Two| E[iPhone]
|
|
||||||
C -->|Three| F[fa:fa-car Car]
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
classDiagram
|
|
||||||
Animal "1" <|-- Duck
|
|
||||||
Animal <|-- Fish
|
|
||||||
Animal <--o Zebra
|
|
||||||
Animal : +int age
|
|
||||||
Animal : +String gender
|
|
||||||
Animal: +isMammal()
|
|
||||||
Animal: +mate()
|
|
||||||
class Duck{
|
|
||||||
+String beakColor
|
|
||||||
+swim()
|
|
||||||
+quack()
|
|
||||||
}
|
|
||||||
class Fish{
|
|
||||||
-int sizeInFeet
|
|
||||||
-canEat()
|
|
||||||
}
|
|
||||||
class Zebra{
|
|
||||||
+bool is_wild
|
|
||||||
+run()
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
<pre class="mermaid2" style="width: 100%">
|
|
||||||
erDiagram
|
|
||||||
CAR ||--o{ NAMED-DRIVER : allows
|
|
||||||
CAR {
|
|
||||||
string registrationNumber
|
|
||||||
string make
|
|
||||||
string model
|
|
||||||
}
|
|
||||||
PERSON ||--o{ NAMED-DRIVER : is
|
|
||||||
PERSON {
|
|
||||||
string firstName
|
|
||||||
string lastName
|
|
||||||
int age
|
|
||||||
}
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<!-- <script src="./mermaid.js"></script> -->
|
|
||||||
<script src="./mermaid.js"></script>
|
|
||||||
<script>
|
|
||||||
mermaid.parseError = function (err, hash) {
|
mermaid.parseError = function (err, hash) {
|
||||||
// console.error('Mermaid error: ', err);
|
// console.error('Mermaid error: ', err);
|
||||||
};
|
};
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
maxTextSize: 900000,
|
// theme: 'forest',
|
||||||
startOnLoad: true,
|
startOnLoad: true,
|
||||||
securityLevel: 'loose',
|
|
||||||
logLevel: 0,
|
logLevel: 0,
|
||||||
fontFamily: 'courier',
|
|
||||||
flowchart: {
|
flowchart: {
|
||||||
// curve: 'curveLinear',
|
// defaultRenderer: 'elk',
|
||||||
useMaxWidth: true,
|
useMaxWidth: false,
|
||||||
htmlLabels: false,
|
// htmlLabels: false,
|
||||||
fontFamily: 'courier',
|
htmlLabels: true,
|
||||||
},
|
},
|
||||||
lazyLoadedDiagrams: ['./mermaid-mindmap-detector.js'],
|
// htmlLabels: false,
|
||||||
|
gantt: {
|
||||||
|
useMaxWidth: false,
|
||||||
|
},
|
||||||
|
sequence: {
|
||||||
|
wrap: true,
|
||||||
|
},
|
||||||
|
useMaxWidth: false,
|
||||||
});
|
});
|
||||||
function callback() {
|
function callback() {
|
||||||
alert('It worked');
|
alert('It worked');
|
||||||
}
|
}
|
||||||
|
|
||||||
function clickByFlow(elemName) {
|
|
||||||
const div = document.createElement('div');
|
|
||||||
div.className = 'created-by-click';
|
|
||||||
div.style = 'padding: 20px; background: green; color: white;';
|
|
||||||
div.innerText = 'Clicked By Flow';
|
|
||||||
|
|
||||||
document.getElementsByTagName('body')[0].appendChild(div);
|
|
||||||
}
|
|
||||||
|
|
||||||
mermaid.parseError = function (err, hash) {
|
mermaid.parseError = function (err, hash) {
|
||||||
console.error('In parse error:');
|
console.error('In parse error:');
|
||||||
console.error(err);
|
console.error(err);
|
||||||
};
|
};
|
||||||
|
// mermaid.test1('first_slow', 1200).then((r) => console.info(r));
|
||||||
|
// mermaid.test1('second_fast', 200).then((r) => console.info(r));
|
||||||
|
// mermaid.test1('third_fast', 200).then((r) => console.info(r));
|
||||||
|
// mermaid.test1('forth_slow', 1200).then((r) => console.info(r));
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -96,7 +96,7 @@ mermaid.initialize(config);
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:673](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L673)
|
[mermaidAPI.ts:667](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L667)
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
@ -127,7 +127,7 @@ Return the last node appended
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:312](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L312)
|
[mermaidAPI.ts:306](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L306)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ the cleaned up svgCode
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:263](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L263)
|
[mermaidAPI.ts:257](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L257)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ the string with all the user styles
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:192](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L192)
|
[mermaidAPI.ts:186](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L186)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ the string with all the user styles
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:240](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L240)
|
[mermaidAPI.ts:234](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L234)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -229,7 +229,7 @@ with an enclosing block that has each of the cssClasses followed by !important;
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:176](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L176)
|
[mermaidAPI.ts:170](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L170)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -295,7 +295,7 @@ Put the svgCode into an iFrame. Return the iFrame code
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:291](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L291)
|
[mermaidAPI.ts:285](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L285)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -320,4 +320,4 @@ Remove any existing elements from the given document
|
|||||||
|
|
||||||
#### Defined in
|
#### Defined in
|
||||||
|
|
||||||
[mermaidAPI.ts:362](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L362)
|
[mermaidAPI.ts:356](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaidAPI.ts#L356)
|
||||||
|
@ -54,7 +54,45 @@ flowchart LR
|
|||||||
id1[This is the text in the box]
|
id1[This is the text in the box]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Graph
|
#### Unicode text
|
||||||
|
|
||||||
|
Use `"` to enclose the unicode text.
|
||||||
|
|
||||||
|
```mermaid-example
|
||||||
|
flowchart LR
|
||||||
|
id["This ❤ Unicode"]
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
flowchart LR
|
||||||
|
id["This ❤ Unicode"]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Markdown formatting
|
||||||
|
|
||||||
|
Use double quotes and backticks "\` text \`" to enclose the markdown text.
|
||||||
|
|
||||||
|
```mermaid-example
|
||||||
|
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
||||||
|
flowchart LR
|
||||||
|
markdown["`This **is** _Markdown_`"]
|
||||||
|
newLines["`Line1
|
||||||
|
Line 2
|
||||||
|
Line 3`"]
|
||||||
|
markdown --> newLines
|
||||||
|
```
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
||||||
|
flowchart LR
|
||||||
|
markdown["`This **is** _Markdown_`"]
|
||||||
|
newLines["`Line1
|
||||||
|
Line 2
|
||||||
|
Line 3`"]
|
||||||
|
markdown --> newLines
|
||||||
|
```
|
||||||
|
|
||||||
|
### Direction
|
||||||
|
|
||||||
This statement declares the direction of the Flowchart.
|
This statement declares the direction of the Flowchart.
|
||||||
|
|
||||||
@ -82,15 +120,13 @@ flowchart LR
|
|||||||
Start --> Stop
|
Start --> Stop
|
||||||
```
|
```
|
||||||
|
|
||||||
## Flowchart Orientation
|
|
||||||
|
|
||||||
Possible FlowChart orientations are:
|
Possible FlowChart orientations are:
|
||||||
|
|
||||||
- TB - top to bottom
|
- TB - Top to bottom
|
||||||
- TD - top-down/ same as top to bottom
|
- TD - Top-down/ same as top to bottom
|
||||||
- BT - bottom to top
|
- BT - Bottom to top
|
||||||
- RL - right to left
|
- RL - Right to left
|
||||||
- LR - left to right
|
- LR - Left to right
|
||||||
|
|
||||||
## Node shapes
|
## Node shapes
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "mermaid-monorepo",
|
"name": "mermaid-monorepo",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "10.1.0",
|
"version": "10.2.0",
|
||||||
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"packageManager": "pnpm@8.5.1",
|
"packageManager": "pnpm@8.5.1",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"version": "10.2.0-rc.2",
|
"version": "10.2.0",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
"description": "Markdown-ish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
@ -53,7 +53,6 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@braintree/sanitize-url": "^6.0.2",
|
"@braintree/sanitize-url": "^6.0.2",
|
||||||
"@khanacademy/simple-markdown": "^0.9.0",
|
|
||||||
"cytoscape": "^3.23.0",
|
"cytoscape": "^3.23.0",
|
||||||
"cytoscape-cose-bilkent": "^4.1.0",
|
"cytoscape-cose-bilkent": "^4.1.0",
|
||||||
"cytoscape-fcose": "^2.1.0",
|
"cytoscape-fcose": "^2.1.0",
|
||||||
@ -64,6 +63,7 @@
|
|||||||
"elkjs": "^0.8.2",
|
"elkjs": "^0.8.2",
|
||||||
"khroma": "^2.0.0",
|
"khroma": "^2.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
|
"mdast-util-from-markdown": "^1.3.0",
|
||||||
"non-layered-tidy-tree-layout": "^2.0.2",
|
"non-layered-tidy-tree-layout": "^2.0.2",
|
||||||
"stylis": "^4.1.3",
|
"stylis": "^4.1.3",
|
||||||
"ts-dedent": "^2.2.0",
|
"ts-dedent": "^2.2.0",
|
||||||
|
@ -361,72 +361,6 @@ export const drawNote = function (elem, note, conf, diagObj) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const parseMember = function (text) {
|
export const parseMember = function (text) {
|
||||||
// Note: these two regular expressions don't parse the official UML syntax for attributes
|
|
||||||
// and methods. They parse a Java-style syntax of the form
|
|
||||||
// "String name" (for attributes) and "String name(int x)" for methods
|
|
||||||
const fieldRegEx = /^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/;
|
|
||||||
const methodRegEx = /^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;
|
|
||||||
|
|
||||||
let fieldMatch = text.match(fieldRegEx);
|
|
||||||
let methodMatch = text.match(methodRegEx);
|
|
||||||
|
|
||||||
if (fieldMatch && !methodMatch) {
|
|
||||||
return buildFieldDisplay(fieldMatch);
|
|
||||||
} else if (methodMatch) {
|
|
||||||
return buildMethodDisplay(methodMatch);
|
|
||||||
} else {
|
|
||||||
return buildLegacyDisplay(text);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
const buildFieldDisplay = function (parsedText) {
|
|
||||||
let cssStyle = '';
|
|
||||||
let displayText = '';
|
|
||||||
|
|
||||||
try {
|
|
||||||
let visibility = parsedText[1] ? parsedText[1].trim() : '';
|
|
||||||
let fieldType = parsedText[2] ? parsedText[2].trim() : '';
|
|
||||||
let genericType = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';
|
|
||||||
let fieldName = parsedText[4] ? parsedText[4].trim() : '';
|
|
||||||
let classifier = parsedText[5] ? parsedText[5].trim() : '';
|
|
||||||
|
|
||||||
displayText = visibility + fieldType + genericType + ' ' + fieldName;
|
|
||||||
cssStyle = parseClassifier(classifier);
|
|
||||||
} catch (err) {
|
|
||||||
displayText = parsedText;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
displayText: displayText,
|
|
||||||
cssStyle: cssStyle,
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
const buildMethodDisplay = function (parsedText) {
|
|
||||||
let cssStyle = '';
|
|
||||||
let displayText = '';
|
|
||||||
|
|
||||||
try {
|
|
||||||
let visibility = parsedText[1] ? parsedText[1].trim() : '';
|
|
||||||
let methodName = parsedText[2] ? parsedText[2].trim() : '';
|
|
||||||
let parameters = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';
|
|
||||||
let classifier = parsedText[4] ? parsedText[4].trim() : '';
|
|
||||||
let returnType = parsedText[5] ? ' : ' + parseGenericTypes(parsedText[5]).trim() : '';
|
|
||||||
|
|
||||||
displayText = visibility + methodName + '(' + parameters + ')' + returnType;
|
|
||||||
cssStyle = parseClassifier(classifier);
|
|
||||||
} catch (err) {
|
|
||||||
displayText = parsedText;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
displayText: displayText,
|
|
||||||
cssStyle: cssStyle,
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
const buildLegacyDisplay = function (text) {
|
|
||||||
// if for some reason we don't have any match, use old format to parse text
|
|
||||||
let displayText = '';
|
let displayText = '';
|
||||||
let cssStyle = '';
|
let cssStyle = '';
|
||||||
let returnType = '';
|
let returnType = '';
|
||||||
@ -444,14 +378,15 @@ const buildLegacyDisplay = function (text) {
|
|||||||
cssStyle = parseClassifier(lastChar);
|
cssStyle = parseClassifier(lastChar);
|
||||||
}
|
}
|
||||||
|
|
||||||
let startIndex = visibility === '' ? 0 : 1;
|
const startIndex = visibility === '' ? 0 : 1;
|
||||||
let endIndex = cssStyle === '' ? text.length : text.length - 1;
|
let endIndex = cssStyle === '' ? text.length : text.length - 1;
|
||||||
text = text.substring(startIndex, endIndex);
|
text = text.substring(startIndex, endIndex);
|
||||||
|
|
||||||
let methodStart = text.indexOf('(');
|
const methodStart = text.indexOf('(');
|
||||||
let methodEnd = text.indexOf(')');
|
const methodEnd = text.indexOf(')');
|
||||||
|
const isMethod = methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length;
|
||||||
|
|
||||||
if (methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length) {
|
if (isMethod) {
|
||||||
let methodName = text.substring(0, methodStart).trim();
|
let methodName = text.substring(0, methodStart).trim();
|
||||||
|
|
||||||
const parameters = text.substring(methodStart + 1, methodEnd);
|
const parameters = text.substring(methodStart + 1, methodEnd);
|
||||||
@ -478,7 +413,7 @@ const buildLegacyDisplay = function (text) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// finally - if all else fails, just send the text back as written (other than parsing for generic types)
|
// finally - if all else fails, just send the text back as written (other than parsing for generic types)
|
||||||
displayText = parseGenericTypes(text);
|
displayText = visibility + parseGenericTypes(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// import khroma from 'khroma';
|
||||||
|
import * as khroma from 'khroma';
|
||||||
|
|
||||||
/** Returns the styles given options */
|
/** Returns the styles given options */
|
||||||
export interface FlowChartStyleOptions {
|
export interface FlowChartStyleOptions {
|
||||||
arrowheadColor: string;
|
arrowheadColor: string;
|
||||||
@ -15,6 +18,18 @@ export interface FlowChartStyleOptions {
|
|||||||
titleColor: string;
|
titleColor: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const fade = (color: string, opacity: number) => {
|
||||||
|
// @ts-ignore TODO: incorrect types from khroma
|
||||||
|
const channel = khroma.channel;
|
||||||
|
|
||||||
|
const r = channel(color, 'r');
|
||||||
|
const g = channel(color, 'g');
|
||||||
|
const b = channel(color, 'b');
|
||||||
|
|
||||||
|
// @ts-ignore incorrect types from khroma
|
||||||
|
return khroma.rgba(r, g, b, opacity);
|
||||||
|
};
|
||||||
|
|
||||||
const getStyles = (options: FlowChartStyleOptions) =>
|
const getStyles = (options: FlowChartStyleOptions) =>
|
||||||
`.label {
|
`.label {
|
||||||
font-family: ${options.fontFamily};
|
font-family: ${options.fontFamily};
|
||||||
@ -82,6 +97,12 @@ const getStyles = (options: FlowChartStyleOptions) =>
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* For html labels only */
|
||||||
|
.labelBkg {
|
||||||
|
background-color: ${fade(options.edgeLabelBackground, 0.5)};
|
||||||
|
// background-color:
|
||||||
|
}
|
||||||
|
|
||||||
.cluster rect {
|
.cluster rect {
|
||||||
fill: ${options.clusterBkg};
|
fill: ${options.clusterBkg};
|
||||||
stroke: ${options.clusterBorder};
|
stroke: ${options.clusterBorder};
|
||||||
|
@ -578,7 +578,7 @@ export const drawLoop = function (elem, loopModel, labelText, conf) {
|
|||||||
txt.class = 'labelText';
|
txt.class = 'labelText';
|
||||||
|
|
||||||
drawLabel(g, txt);
|
drawLabel(g, txt);
|
||||||
txt = svgDrawCommon.getTextObj();
|
txt = getTextObj();
|
||||||
txt.text = loopModel.title;
|
txt.text = loopModel.title;
|
||||||
txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;
|
txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;
|
||||||
txt.y = loopModel.starty + boxMargin + boxTextMargin;
|
txt.y = loopModel.starty + boxMargin + boxTextMargin;
|
||||||
@ -764,6 +764,37 @@ export const insertArrowCrossHead = function (elem) {
|
|||||||
// this is actual shape for arrowhead
|
// this is actual shape for arrowhead
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const getTextObj = function () {
|
||||||
|
return {
|
||||||
|
x: 0,
|
||||||
|
y: 0,
|
||||||
|
fill: undefined,
|
||||||
|
anchor: undefined,
|
||||||
|
style: '#666',
|
||||||
|
width: undefined,
|
||||||
|
height: undefined,
|
||||||
|
textMargin: 0,
|
||||||
|
rx: 0,
|
||||||
|
ry: 0,
|
||||||
|
tspan: true,
|
||||||
|
valign: undefined,
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export const getNoteRect = function () {
|
||||||
|
return {
|
||||||
|
x: 0,
|
||||||
|
y: 0,
|
||||||
|
fill: '#EDF2AE',
|
||||||
|
stroke: '#666',
|
||||||
|
width: 100,
|
||||||
|
anchor: 'start',
|
||||||
|
height: 100,
|
||||||
|
rx: 0,
|
||||||
|
ry: 0,
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
const _drawTextCandidateFunc = (function () {
|
const _drawTextCandidateFunc = (function () {
|
||||||
/**
|
/**
|
||||||
* @param {any} content
|
* @param {any} content
|
||||||
@ -1004,6 +1035,8 @@ export default {
|
|||||||
insertDatabaseIcon,
|
insertDatabaseIcon,
|
||||||
insertComputerIcon,
|
insertComputerIcon,
|
||||||
insertClockIcon,
|
insertClockIcon,
|
||||||
|
getTextObj,
|
||||||
|
getNoteRect,
|
||||||
popupMenu,
|
popupMenu,
|
||||||
popdownMenu,
|
popdownMenu,
|
||||||
fixLifeLineHeights,
|
fixLifeLineHeights,
|
||||||
|
@ -39,7 +39,30 @@ flowchart LR
|
|||||||
id1[This is the text in the box]
|
id1[This is the text in the box]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Graph
|
#### Unicode text
|
||||||
|
|
||||||
|
Use `"` to enclose the unicode text.
|
||||||
|
|
||||||
|
```mermaid-example
|
||||||
|
flowchart LR
|
||||||
|
id["This ❤ Unicode"]
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Markdown formatting
|
||||||
|
|
||||||
|
Use double quotes and backticks "\` text \`" to enclose the markdown text.
|
||||||
|
|
||||||
|
```mermaid-example
|
||||||
|
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
||||||
|
flowchart LR
|
||||||
|
markdown["`This **is** _Markdown_`"]
|
||||||
|
newLines["`Line1
|
||||||
|
Line 2
|
||||||
|
Line 3`"]
|
||||||
|
markdown --> newLines
|
||||||
|
```
|
||||||
|
|
||||||
|
### Direction
|
||||||
|
|
||||||
This statement declares the direction of the Flowchart.
|
This statement declares the direction of the Flowchart.
|
||||||
|
|
||||||
@ -57,15 +80,13 @@ flowchart LR
|
|||||||
Start --> Stop
|
Start --> Stop
|
||||||
```
|
```
|
||||||
|
|
||||||
## Flowchart Orientation
|
|
||||||
|
|
||||||
Possible FlowChart orientations are:
|
Possible FlowChart orientations are:
|
||||||
|
|
||||||
- TB - top to bottom
|
- TB - Top to bottom
|
||||||
- TD - top-down/ same as top to bottom
|
- TD - Top-down/ same as top to bottom
|
||||||
- BT - bottom to top
|
- BT - Bottom to top
|
||||||
- RL - right to left
|
- RL - Right to left
|
||||||
- LR - left to right
|
- LR - Left to right
|
||||||
|
|
||||||
## Node shapes
|
## Node shapes
|
||||||
|
|
||||||
|
@ -154,13 +154,7 @@ export const encodeEntities = function (text: string): string {
|
|||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export const decodeEntities = function (text: string): string {
|
export const decodeEntities = function (text: string): string {
|
||||||
let txt = text;
|
return text.replace(/fl°°/g, '&#').replace(/fl°/g, '&').replace(/¶ß/g, ';');
|
||||||
|
|
||||||
txt = txt.replace(/fl°°/g, '&#');
|
|
||||||
txt = txt.replace(/fl°/g, '&');
|
|
||||||
txt = txt.replace(/¶ß/g, ';');
|
|
||||||
|
|
||||||
return txt;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// append !important; to each cssClass followed by a final !important, all enclosed in { }
|
// append !important; to each cssClass followed by a final !important, all enclosed in { }
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
import { select } from 'd3';
|
|
||||||
import { log } from '../logger.js';
|
import { log } from '../logger.js';
|
||||||
import { getConfig } from '../config.js';
|
|
||||||
import { evaluate } from '../diagrams/common/common.js';
|
|
||||||
import { decodeEntities } from '../mermaidAPI.js';
|
import { decodeEntities } from '../mermaidAPI.js';
|
||||||
import { markdownToHTML, markdownToLines } from '../rendering-util/handle-markdown-text.js';
|
import { markdownToHTML, markdownToLines } from '../rendering-util/handle-markdown-text.js';
|
||||||
/**
|
/**
|
||||||
@ -19,9 +16,10 @@ function applyStyle(dom, styleFn) {
|
|||||||
* @param {any} node
|
* @param {any} node
|
||||||
* @param width
|
* @param width
|
||||||
* @param classes
|
* @param classes
|
||||||
|
* @param addBackground
|
||||||
* @returns {SVGForeignObjectElement} Node
|
* @returns {SVGForeignObjectElement} Node
|
||||||
*/
|
*/
|
||||||
function addHtmlSpan(element, node, width, classes) {
|
function addHtmlSpan(element, node, width, classes, addBackground = false) {
|
||||||
const fo = element.append('foreignObject');
|
const fo = element.append('foreignObject');
|
||||||
// const newEl = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
|
// const newEl = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
|
||||||
// const newEl = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
|
// const newEl = document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject');
|
||||||
@ -32,7 +30,8 @@ function addHtmlSpan(element, node, width, classes) {
|
|||||||
const label = node.label;
|
const label = node.label;
|
||||||
const labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';
|
const labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';
|
||||||
div.html(
|
div.html(
|
||||||
`<span class="${labelClass} ${classes}" ` +
|
`
|
||||||
|
<span class="${labelClass} ${classes}" ` +
|
||||||
(node.labelStyle ? 'style="' + node.labelStyle + '"' : '') +
|
(node.labelStyle ? 'style="' + node.labelStyle + '"' : '') +
|
||||||
'>' +
|
'>' +
|
||||||
label +
|
label +
|
||||||
@ -44,6 +43,9 @@ function addHtmlSpan(element, node, width, classes) {
|
|||||||
div.style('white-space', 'nowrap');
|
div.style('white-space', 'nowrap');
|
||||||
div.style('max-width', width + 'px');
|
div.style('max-width', width + 'px');
|
||||||
div.attr('xmlns', 'http://www.w3.org/1999/xhtml');
|
div.attr('xmlns', 'http://www.w3.org/1999/xhtml');
|
||||||
|
if (addBackground) {
|
||||||
|
div.attr('class', 'labelBkg');
|
||||||
|
}
|
||||||
|
|
||||||
let bbox = div.node().getBoundingClientRect();
|
let bbox = div.node().getBoundingClientRect();
|
||||||
if (bbox.width === width) {
|
if (bbox.width === width) {
|
||||||
@ -203,21 +205,10 @@ export const createText = (
|
|||||||
),
|
),
|
||||||
labelStyle: style.replace('fill:', 'color:'),
|
labelStyle: style.replace('fill:', 'color:'),
|
||||||
};
|
};
|
||||||
let vertexNode = addHtmlSpan(el, node, width, classes);
|
let vertexNode = addHtmlSpan(el, node, width, classes, addSvgBackground);
|
||||||
return vertexNode;
|
return vertexNode;
|
||||||
} else {
|
} else {
|
||||||
const structuredText = markdownToLines(text);
|
const structuredText = markdownToLines(text);
|
||||||
const special = ['"', "'", '.', ',', ':', ';', '!', '?', '(', ')', '[', ']', '{', '}'];
|
|
||||||
let lastWord;
|
|
||||||
structuredText.forEach((line) => {
|
|
||||||
line.forEach((word) => {
|
|
||||||
if (special.includes(word.content) && lastWord) {
|
|
||||||
lastWord.content += word.content;
|
|
||||||
word.content = '';
|
|
||||||
}
|
|
||||||
lastWord = word;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
const svgLabel = createFormattedText(width, el, structuredText, addSvgBackground);
|
const svgLabel = createFormattedText(width, el, structuredText, addSvgBackground);
|
||||||
return svgLabel;
|
return svgLabel;
|
||||||
}
|
}
|
||||||
|
@ -1,61 +1,55 @@
|
|||||||
import SimpleMarkdown from '@khanacademy/simple-markdown';
|
import { fromMarkdown } from 'mdast-util-from-markdown';
|
||||||
|
import { dedent } from 'ts-dedent';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {string} markdown markdown to process
|
||||||
* @param markdown
|
* @returns {string} processed markdown
|
||||||
*/
|
*/
|
||||||
function preprocessMarkdown(markdown) {
|
function preprocessMarkdown(markdown) {
|
||||||
// Replace multiple newlines with a single newline
|
// Replace multiple newlines with a single newline
|
||||||
const withoutMultipleNewlines = markdown.replace(/\n{2,}/g, '\n');
|
const withoutMultipleNewlines = markdown.replace(/\n{2,}/g, '\n');
|
||||||
// Remove extra spaces at the beginning of each line
|
// Remove extra spaces at the beginning of each line
|
||||||
const withoutExtraSpaces = withoutMultipleNewlines.replace(/^\s+/gm, '');
|
const withoutExtraSpaces = dedent(withoutMultipleNewlines);
|
||||||
return withoutExtraSpaces;
|
return withoutExtraSpaces;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {string} markdown markdown to split into lines
|
||||||
* @param markdown
|
|
||||||
*/
|
*/
|
||||||
export function markdownToLines(markdown) {
|
export function markdownToLines(markdown) {
|
||||||
const preprocessedMarkdown = preprocessMarkdown(markdown);
|
const preprocessedMarkdown = preprocessMarkdown(markdown);
|
||||||
const mdParse = SimpleMarkdown.defaultBlockParse;
|
const { children } = fromMarkdown(preprocessedMarkdown);
|
||||||
const syntaxTree = mdParse(preprocessedMarkdown);
|
const lines = [[]];
|
||||||
|
|
||||||
let lines = [[]];
|
|
||||||
let currentLine = 0;
|
let currentLine = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {import('mdast').Content} node
|
||||||
* @param node
|
* @param {string} [parentType]
|
||||||
* @param parentType
|
|
||||||
*/
|
*/
|
||||||
function processNode(node, parentType) {
|
function processNode(node, parentType = 'normal') {
|
||||||
if (node.type === 'text') {
|
if (node.type === 'text') {
|
||||||
const textLines = node.content.split('\n');
|
const textLines = node.value.split('\n');
|
||||||
|
|
||||||
textLines.forEach((textLine, index) => {
|
textLines.forEach((textLine, index) => {
|
||||||
if (index !== 0) {
|
if (index !== 0) {
|
||||||
currentLine++;
|
currentLine++;
|
||||||
lines.push([]);
|
lines.push([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// textLine.split(/ (?=[^!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]+)/).forEach((word) => {
|
|
||||||
textLine.split(' ').forEach((word) => {
|
textLine.split(' ').forEach((word) => {
|
||||||
if (word) {
|
if (word) {
|
||||||
lines[currentLine].push({ content: word, type: parentType || 'normal' });
|
lines[currentLine].push({ content: word, type: parentType });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else if (node.type === 'strong' || node.type === 'em') {
|
} else if (node.type === 'strong' || node.type === 'emphasis') {
|
||||||
node.content.forEach((contentNode) => {
|
node.children.forEach((contentNode) => {
|
||||||
processNode(contentNode, node.type);
|
processNode(contentNode, node.type);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
syntaxTree.forEach((treeNode) => {
|
children.forEach((treeNode) => {
|
||||||
if (treeNode.type === 'paragraph') {
|
if (treeNode.type === 'paragraph') {
|
||||||
treeNode.content.forEach((contentNode) => {
|
treeNode.children.forEach((contentNode) => {
|
||||||
processNode(contentNode);
|
processNode(contentNode);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -65,30 +59,27 @@ export function markdownToLines(markdown) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {string} markdown markdown to convert to HTML
|
||||||
* @param markdown
|
* @returns {string} HTML
|
||||||
*/
|
*/
|
||||||
export function markdownToHTML(markdown) {
|
export function markdownToHTML(markdown) {
|
||||||
const mdParse = SimpleMarkdown.defaultBlockParse;
|
const { children } = fromMarkdown(markdown);
|
||||||
const syntaxTree = mdParse(markdown);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* @param {import('mdast').Content} node
|
||||||
* @param node
|
|
||||||
*/
|
*/
|
||||||
function output(node) {
|
function output(node) {
|
||||||
if (node.type === 'text') {
|
if (node.type === 'text') {
|
||||||
return node.content.replace(/\n/g, '<br/>');
|
return node.value.replace(/\n/g, '<br/>');
|
||||||
} else if (node.type === 'strong') {
|
} else if (node.type === 'strong') {
|
||||||
return `<strong>${node.content.map(output).join('')}</strong>`;
|
return `<strong>${node.children.map(output).join('')}</strong>`;
|
||||||
} else if (node.type === 'em') {
|
} else if (node.type === 'emphasis') {
|
||||||
return `<em>${node.content.map(output).join('')}</em>`;
|
return `<em>${node.children.map(output).join('')}</em>`;
|
||||||
} else if (node.type === 'paragraph') {
|
} else if (node.type === 'paragraph') {
|
||||||
return `<p>${node.content.map(output).join('')}</p>`;
|
return `<p>${node.children.map(output).join('')}</p>`;
|
||||||
} else {
|
|
||||||
return '';
|
|
||||||
}
|
}
|
||||||
|
return `Unsupported markdown: ${node.type}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return syntaxTree.map(output).join('');
|
return children.map(output).join('');
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
// import { test } from 'vitest';
|
import { markdownToLines, markdownToHTML } from './handle-markdown-text.js';
|
||||||
import { markdownToLines, markdownToHTML } from './handle-markdown-text';
|
import { test, expect } from 'vitest';
|
||||||
import { test } from 'vitest';
|
|
||||||
|
|
||||||
test('markdownToLines - Basic test', () => {
|
test('markdownToLines - Basic test', () => {
|
||||||
const input = `This is regular text
|
const input = `This is regular text
|
||||||
@ -37,9 +36,9 @@ Here is a line *with an italic* section`;
|
|||||||
{ content: 'is', type: 'normal' },
|
{ content: 'is', type: 'normal' },
|
||||||
{ content: 'a', type: 'normal' },
|
{ content: 'a', type: 'normal' },
|
||||||
{ content: 'line', type: 'normal' },
|
{ content: 'line', type: 'normal' },
|
||||||
{ content: 'with', type: 'em' },
|
{ content: 'with', type: 'emphasis' },
|
||||||
{ content: 'an', type: 'em' },
|
{ content: 'an', type: 'emphasis' },
|
||||||
{ content: 'italic', type: 'em' },
|
{ content: 'italic', type: 'emphasis' },
|
||||||
{ content: 'section', type: 'normal' },
|
{ content: 'section', type: 'normal' },
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
@ -117,7 +116,6 @@ test('markdownToLines - paragraph 1', () => {
|
|||||||
|
|
||||||
test('markdownToLines - paragraph', () => {
|
test('markdownToLines - paragraph', () => {
|
||||||
const input = `**Start** with
|
const input = `**Start** with
|
||||||
|
|
||||||
a second line`;
|
a second line`;
|
||||||
|
|
||||||
const expectedOutput = [
|
const expectedOutput = [
|
||||||
@ -144,7 +142,7 @@ test('markdownToLines - Only italic formatting', () => {
|
|||||||
{ content: 'This', type: 'normal' },
|
{ content: 'This', type: 'normal' },
|
||||||
{ content: 'is', type: 'normal' },
|
{ content: 'is', type: 'normal' },
|
||||||
{ content: 'an', type: 'normal' },
|
{ content: 'an', type: 'normal' },
|
||||||
{ content: 'italic', type: 'em' },
|
{ content: 'italic', type: 'emphasis' },
|
||||||
{ content: 'test', type: 'normal' },
|
{ content: 'test', type: 'normal' },
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
@ -158,7 +156,7 @@ it('markdownToLines - Mixed formatting', () => {
|
|||||||
|
|
||||||
const expectedOutput = [
|
const expectedOutput = [
|
||||||
[
|
[
|
||||||
{ content: 'Italic', type: 'em' },
|
{ content: 'Italic', type: 'emphasis' },
|
||||||
{ content: 'and', type: 'normal' },
|
{ content: 'and', type: 'normal' },
|
||||||
{ content: 'bold', type: 'strong' },
|
{ content: 'bold', type: 'strong' },
|
||||||
{ content: 'formatting', type: 'normal' },
|
{ content: 'formatting', type: 'normal' },
|
||||||
@ -179,21 +177,15 @@ Word!`;
|
|||||||
{ content: 'dog', type: 'normal' },
|
{ content: 'dog', type: 'normal' },
|
||||||
{ content: 'in', type: 'normal' },
|
{ content: 'in', type: 'normal' },
|
||||||
{ content: 'the', type: 'strong' },
|
{ content: 'the', type: 'strong' },
|
||||||
{ content: 'hog', type: 'normal' },
|
{ content: 'hog...', type: 'normal' },
|
||||||
{ content: '.', type: 'normal' },
|
|
||||||
{ content: '.', type: 'normal' },
|
|
||||||
{ content: '.', type: 'normal' },
|
|
||||||
{ content: 'a', type: 'normal' },
|
{ content: 'a', type: 'normal' },
|
||||||
{ content: 'very', type: 'em' },
|
{ content: 'very', type: 'emphasis' },
|
||||||
{ content: 'long', type: 'em' },
|
{ content: 'long', type: 'emphasis' },
|
||||||
{ content: 'text', type: 'em' },
|
{ content: 'text', type: 'emphasis' },
|
||||||
{ content: 'about', type: 'normal' },
|
{ content: 'about', type: 'normal' },
|
||||||
{ content: 'it', type: 'normal' },
|
{ content: 'it', type: 'normal' },
|
||||||
],
|
],
|
||||||
[
|
[{ content: 'Word!', type: 'normal' }],
|
||||||
{ content: 'Word', type: 'normal' },
|
|
||||||
{ content: '!', type: 'normal' },
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const output = markdownToLines(input);
|
const output = markdownToLines(input);
|
||||||
@ -246,8 +238,16 @@ test('markdownToHTML - Only italic formatting', () => {
|
|||||||
|
|
||||||
test('markdownToHTML - Mixed formatting', () => {
|
test('markdownToHTML - Mixed formatting', () => {
|
||||||
const input = `*Italic* and **bold** formatting`;
|
const input = `*Italic* and **bold** formatting`;
|
||||||
|
|
||||||
const expectedOutput = `<p><em>Italic</em> and <strong>bold</strong> formatting</p>`;
|
const expectedOutput = `<p><em>Italic</em> and <strong>bold</strong> formatting</p>`;
|
||||||
const output = markdownToHTML(input);
|
const output = markdownToHTML(input);
|
||||||
expect(output).toEqual(expectedOutput);
|
expect(output).toEqual(expectedOutput);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
test('markdownToHTML - Unsupported formatting', () => {
|
||||||
|
expect(
|
||||||
|
markdownToHTML(`Hello
|
||||||
|
- l1
|
||||||
|
- l2
|
||||||
|
- l3`)
|
||||||
|
).toMatchInlineSnapshot('"<p>Hello</p>Unsupported markdown: list"');
|
||||||
|
});
|
@ -1,4 +1,4 @@
|
|||||||
import { darken, lighten, adjust, invert, isDark } from 'khroma';
|
import { darken, lighten, adjust, invert, isDark, toRgba } from 'khroma';
|
||||||
import { mkBorder } from './theme-helpers.js';
|
import { mkBorder } from './theme-helpers.js';
|
||||||
import {
|
import {
|
||||||
oldAttributeBackgroundColorEven,
|
oldAttributeBackgroundColorEven,
|
||||||
|
138
pnpm-lock.yaml
generated
138
pnpm-lock.yaml
generated
@ -181,9 +181,6 @@ importers:
|
|||||||
'@braintree/sanitize-url':
|
'@braintree/sanitize-url':
|
||||||
specifier: ^6.0.2
|
specifier: ^6.0.2
|
||||||
version: 6.0.2
|
version: 6.0.2
|
||||||
'@khanacademy/simple-markdown':
|
|
||||||
specifier: ^0.9.0
|
|
||||||
version: 0.9.0(react-dom@16.14.0)(react@16.14.0)
|
|
||||||
cytoscape:
|
cytoscape:
|
||||||
specifier: ^3.23.0
|
specifier: ^3.23.0
|
||||||
version: 3.23.0
|
version: 3.23.0
|
||||||
@ -214,6 +211,9 @@ importers:
|
|||||||
lodash-es:
|
lodash-es:
|
||||||
specifier: ^4.17.21
|
specifier: ^4.17.21
|
||||||
version: 4.17.21
|
version: 4.17.21
|
||||||
|
mdast-util-from-markdown:
|
||||||
|
specifier: ^1.3.0
|
||||||
|
version: 1.3.0
|
||||||
non-layered-tidy-tree-layout:
|
non-layered-tidy-tree-layout:
|
||||||
specifier: ^2.0.2
|
specifier: ^2.0.2
|
||||||
version: 2.0.2
|
version: 2.0.2
|
||||||
@ -331,7 +331,7 @@ importers:
|
|||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
vitepress:
|
vitepress:
|
||||||
specifier: ^1.0.0-alpha.72
|
specifier: ^1.0.0-alpha.72
|
||||||
version: 1.0.0-alpha.72(@algolia/client-search@4.14.2)(@types/node@18.16.0)(react-dom@16.14.0)(react@16.14.0)
|
version: 1.0.0-alpha.72(@algolia/client-search@4.14.2)(@types/node@18.16.0)
|
||||||
vitepress-plugin-search:
|
vitepress-plugin-search:
|
||||||
specifier: ^1.0.4-alpha.20
|
specifier: ^1.0.4-alpha.20
|
||||||
version: 1.0.4-alpha.20(flexsearch@0.7.31)(vitepress@1.0.0-alpha.72)(vue@3.3.4)
|
version: 1.0.4-alpha.20(flexsearch@0.7.31)(vitepress@1.0.0-alpha.72)(vue@3.3.4)
|
||||||
@ -2891,7 +2891,7 @@ packages:
|
|||||||
/@docsearch/js@3.3.3(@algolia/client-search@4.14.2)(react-dom@16.14.0)(react@16.14.0):
|
/@docsearch/js@3.3.3(@algolia/client-search@4.14.2)(react-dom@16.14.0)(react@16.14.0):
|
||||||
resolution: {integrity: sha512-2xAv2GFuHzzmG0SSZgf8wHX0qZX8n9Y1ZirKUk5Wrdc+vH9CL837x2hZIUdwcPZI9caBA+/CzxsS68O4waYjUQ==}
|
resolution: {integrity: sha512-2xAv2GFuHzzmG0SSZgf8wHX0qZX8n9Y1ZirKUk5Wrdc+vH9CL837x2hZIUdwcPZI9caBA+/CzxsS68O4waYjUQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@docsearch/react': 3.3.3(@algolia/client-search@4.14.2)(react-dom@16.14.0)(react@16.14.0)
|
'@docsearch/react': 3.3.3(@algolia/client-search@4.14.2)
|
||||||
preact: 10.11.0
|
preact: 10.11.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@algolia/client-search'
|
- '@algolia/client-search'
|
||||||
@ -2930,8 +2930,6 @@ packages:
|
|||||||
'@algolia/autocomplete-preset-algolia': 1.7.4(@algolia/client-search@4.14.2)(algoliasearch@4.14.2)
|
'@algolia/autocomplete-preset-algolia': 1.7.4(@algolia/client-search@4.14.2)(algoliasearch@4.14.2)
|
||||||
'@docsearch/css': 3.3.3
|
'@docsearch/css': 3.3.3
|
||||||
algoliasearch: 4.14.2
|
algoliasearch: 4.14.2
|
||||||
react: 16.14.0
|
|
||||||
react-dom: 16.14.0(react@16.14.0)
|
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- '@algolia/client-search'
|
- '@algolia/client-search'
|
||||||
dev: true
|
dev: true
|
||||||
@ -3538,17 +3536,6 @@ packages:
|
|||||||
'@jridgewell/sourcemap-codec': 1.4.14
|
'@jridgewell/sourcemap-codec': 1.4.14
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@khanacademy/simple-markdown@0.9.0(react-dom@16.14.0)(react@16.14.0):
|
|
||||||
resolution: {integrity: sha512-ujhwWO5ijcBR1Yimx0GljIBlZ3yG6ULqexawNexrQONNs+JJGNGi5TLZUFvCffxxGBHpS8UmOTU1zWVd6Lg1Aw==}
|
|
||||||
peerDependencies:
|
|
||||||
react: 16.14.0
|
|
||||||
react-dom: 16.14.0
|
|
||||||
dependencies:
|
|
||||||
'@types/react': 18.2.0
|
|
||||||
react: 16.14.0
|
|
||||||
react-dom: 16.14.0(react@16.14.0)
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@leichtgewicht/ip-codec@2.0.4:
|
/@leichtgewicht/ip-codec@2.0.4:
|
||||||
resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}
|
resolution: {integrity: sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -4045,7 +4032,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==}
|
resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/ms': 0.7.31
|
'@types/ms': 0.7.31
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@types/dompurify@3.0.2:
|
/@types/dompurify@3.0.2:
|
||||||
resolution: {integrity: sha512-YBL4ziFebbbfQfH5mlC+QTJsvh0oJUrWbmxKMyEdL7emlHJqGR2Qb34TEFKj+VCayBvjKy3xczMFNhugThUsfQ==}
|
resolution: {integrity: sha512-YBL4ziFebbbfQfH5mlC+QTJsvh0oJUrWbmxKMyEdL7emlHJqGR2Qb34TEFKj+VCayBvjKy3xczMFNhugThUsfQ==}
|
||||||
@ -4206,7 +4192,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
|
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/unist': 2.0.6
|
'@types/unist': 2.0.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@types/mdurl@1.0.2:
|
/@types/mdurl@1.0.2:
|
||||||
resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==}
|
resolution: {integrity: sha512-eC4U9MlIcu2q0KQmXszyn5Akca/0jrQmwDRgpAMJai7qBWq4amIQhZyNau4VYGtCeALvW1/NtjzJJ567aZxfKA==}
|
||||||
@ -4228,7 +4213,6 @@ packages:
|
|||||||
|
|
||||||
/@types/ms@0.7.31:
|
/@types/ms@0.7.31:
|
||||||
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
|
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@types/node-fetch@2.6.2:
|
/@types/node-fetch@2.6.2:
|
||||||
resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==}
|
resolution: {integrity: sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==}
|
||||||
@ -4253,10 +4237,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==}
|
resolution: {integrity: sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/prop-types@15.7.5:
|
|
||||||
resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@types/qs@6.9.7:
|
/@types/qs@6.9.7:
|
||||||
resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
|
resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -4265,14 +4245,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==}
|
resolution: {integrity: sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/react@18.2.0:
|
|
||||||
resolution: {integrity: sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==}
|
|
||||||
dependencies:
|
|
||||||
'@types/prop-types': 15.7.5
|
|
||||||
'@types/scheduler': 0.16.3
|
|
||||||
csstype: 3.1.2
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@types/resolve@1.17.1:
|
/@types/resolve@1.17.1:
|
||||||
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
|
resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4296,10 +4268,6 @@ packages:
|
|||||||
rollup: 2.79.1
|
rollup: 2.79.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/scheduler@0.16.3:
|
|
||||||
resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==}
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@types/semver@7.3.12:
|
/@types/semver@7.3.12:
|
||||||
resolution: {integrity: sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==}
|
resolution: {integrity: sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -4349,7 +4317,6 @@ packages:
|
|||||||
|
|
||||||
/@types/unist@2.0.6:
|
/@types/unist@2.0.6:
|
||||||
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
|
resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@types/uuid@9.0.1:
|
/@types/uuid@9.0.1:
|
||||||
resolution: {integrity: sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==}
|
resolution: {integrity: sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==}
|
||||||
@ -6164,7 +6131,6 @@ packages:
|
|||||||
|
|
||||||
/character-entities@2.0.2:
|
/character-entities@2.0.2:
|
||||||
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
|
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/character-reference-invalid@1.1.4:
|
/character-reference-invalid@1.1.4:
|
||||||
resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==}
|
resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==}
|
||||||
@ -7289,7 +7255,6 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
ms: 2.1.2
|
ms: 2.1.2
|
||||||
supports-color: 8.1.1
|
supports-color: 8.1.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/decamelize-keys@1.1.0:
|
/decamelize-keys@1.1.0:
|
||||||
resolution: {integrity: sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==}
|
resolution: {integrity: sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==}
|
||||||
@ -7317,7 +7282,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==}
|
resolution: {integrity: sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
character-entities: 2.0.2
|
character-entities: 2.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/decompress-response@6.0.0:
|
/decompress-response@6.0.0:
|
||||||
resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}
|
resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==}
|
||||||
@ -7409,7 +7373,6 @@ packages:
|
|||||||
/dequal@2.0.3:
|
/dequal@2.0.3:
|
||||||
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
|
resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/destr@1.2.2:
|
/destr@1.2.2:
|
||||||
resolution: {integrity: sha512-lrbCJwD9saUQrqUfXvl6qoM+QN3W7tLV5pAOs+OqOmopCCz/JkE05MHedJR1xfk4IAnZuJXPVuN5+7jNA2ZCiA==}
|
resolution: {integrity: sha512-lrbCJwD9saUQrqUfXvl6qoM+QN3W7tLV5pAOs+OqOmopCCz/JkE05MHedJR1xfk4IAnZuJXPVuN5+7jNA2ZCiA==}
|
||||||
@ -7442,7 +7405,6 @@ packages:
|
|||||||
/diff@5.1.0:
|
/diff@5.1.0:
|
||||||
resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==}
|
resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==}
|
||||||
engines: {node: '>=0.3.1'}
|
engines: {node: '>=0.3.1'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/dir-glob@3.0.1:
|
/dir-glob@3.0.1:
|
||||||
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
|
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
|
||||||
@ -8965,7 +8927,6 @@ packages:
|
|||||||
/has-flag@4.0.0:
|
/has-flag@4.0.0:
|
||||||
resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
|
resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/has-own-prop@2.0.0:
|
/has-own-prop@2.0.0:
|
||||||
resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==}
|
resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==}
|
||||||
@ -10221,6 +10182,7 @@ packages:
|
|||||||
|
|
||||||
/js-tokens@4.0.0:
|
/js-tokens@4.0.0:
|
||||||
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/js-yaml@3.14.1:
|
/js-yaml@3.14.1:
|
||||||
resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
|
resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
|
||||||
@ -10423,7 +10385,6 @@ packages:
|
|||||||
/kleur@4.1.5:
|
/kleur@4.1.5:
|
||||||
resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}
|
resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==}
|
||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/kolorist@1.7.0:
|
/kolorist@1.7.0:
|
||||||
resolution: {integrity: sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==}
|
resolution: {integrity: sha512-ymToLHqL02udwVdbkowNpzjFd6UzozMtshPQKVi5k1EjKRqKqBrOnE9QbLEb0/pV76SAiIT13hdL8R6suc+f3g==}
|
||||||
@ -10690,12 +10651,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-cHlYSUpL2s7Fb3394mYxwTYj8niTaNHUCLr0qdiCXQfSjfuA7CKofpX2uSwEfFDQ0EB7JcnMnm+GjbqqoinYYg==}
|
resolution: {integrity: sha512-cHlYSUpL2s7Fb3394mYxwTYj8niTaNHUCLr0qdiCXQfSjfuA7CKofpX2uSwEfFDQ0EB7JcnMnm+GjbqqoinYYg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/loose-envify@1.4.0:
|
|
||||||
resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==}
|
|
||||||
hasBin: true
|
|
||||||
dependencies:
|
|
||||||
js-tokens: 4.0.0
|
|
||||||
|
|
||||||
/loupe@2.3.6:
|
/loupe@2.3.6:
|
||||||
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
|
resolution: {integrity: sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -10824,8 +10779,8 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/mdast-util-from-markdown@1.2.0:
|
/mdast-util-from-markdown@1.3.0:
|
||||||
resolution: {integrity: sha512-iZJyyvKD1+K7QX1b5jXdE7Sc5dtoTry1vzV28UZZe8Z1xVnB/czKntJ7ZAkG0tANqRnBF6p3p7GpU1y19DTf2Q==}
|
resolution: {integrity: sha512-HN3W1gRIuN/ZW295c7zi7g9lVBllMgZE40RxCX37wrTPWXCWtpvOZdfnuK+1WNpvZje6XuJeI3Wnb4TJEUem+g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/mdast': 3.0.11
|
'@types/mdast': 3.0.11
|
||||||
'@types/unist': 2.0.6
|
'@types/unist': 2.0.6
|
||||||
@ -10841,7 +10796,6 @@ packages:
|
|||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
|
||||||
|
|
||||||
/mdast-util-frontmatter@1.0.0:
|
/mdast-util-frontmatter@1.0.0:
|
||||||
resolution: {integrity: sha512-7itKvp0arEVNpCktOET/eLFAYaZ+0cNjVtFtIPxgQ5tV+3i+D4SDDTjTzPWl44LT59PC+xdx+glNTawBdF98Mw==}
|
resolution: {integrity: sha512-7itKvp0arEVNpCktOET/eLFAYaZ+0cNjVtFtIPxgQ5tV+3i+D4SDDTjTzPWl44LT59PC+xdx+glNTawBdF98Mw==}
|
||||||
@ -10878,7 +10832,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/mdast': 3.0.11
|
'@types/mdast': 3.0.11
|
||||||
markdown-table: 3.0.3
|
markdown-table: 3.0.3
|
||||||
mdast-util-from-markdown: 1.2.0
|
mdast-util-from-markdown: 1.3.0
|
||||||
mdast-util-to-markdown: 1.3.0
|
mdast-util-to-markdown: 1.3.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -10894,7 +10848,7 @@ packages:
|
|||||||
/mdast-util-gfm@2.0.1:
|
/mdast-util-gfm@2.0.1:
|
||||||
resolution: {integrity: sha512-42yHBbfWIFisaAfV1eixlabbsa6q7vHeSPY+cg+BBjX51M8xhgMacqH9g6TftB/9+YkcI0ooV4ncfrJslzm/RQ==}
|
resolution: {integrity: sha512-42yHBbfWIFisaAfV1eixlabbsa6q7vHeSPY+cg+BBjX51M8xhgMacqH9g6TftB/9+YkcI0ooV4ncfrJslzm/RQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
mdast-util-from-markdown: 1.2.0
|
mdast-util-from-markdown: 1.3.0
|
||||||
mdast-util-gfm-autolink-literal: 1.0.2
|
mdast-util-gfm-autolink-literal: 1.0.2
|
||||||
mdast-util-gfm-footnote: 1.0.1
|
mdast-util-gfm-footnote: 1.0.1
|
||||||
mdast-util-gfm-strikethrough: 1.0.2
|
mdast-util-gfm-strikethrough: 1.0.2
|
||||||
@ -10923,7 +10877,6 @@ packages:
|
|||||||
|
|
||||||
/mdast-util-to-string@3.1.0:
|
/mdast-util-to-string@3.1.0:
|
||||||
resolution: {integrity: sha512-n4Vypz/DZgwo0iMHLQL49dJzlp7YtAJP+N07MZHpjPf/5XJuHUWstviF4Mn2jEiR/GNmtnRRqnwsXExk3igfFA==}
|
resolution: {integrity: sha512-n4Vypz/DZgwo0iMHLQL49dJzlp7YtAJP+N07MZHpjPf/5XJuHUWstviF4Mn2jEiR/GNmtnRRqnwsXExk3igfFA==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/mdn-data@2.0.30:
|
/mdn-data@2.0.30:
|
||||||
resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==}
|
resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==}
|
||||||
@ -11017,7 +10970,6 @@ packages:
|
|||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-extension-frontmatter@1.0.0:
|
/micromark-extension-frontmatter@1.0.0:
|
||||||
resolution: {integrity: sha512-EXjmRnupoX6yYuUJSQhrQ9ggK0iQtQlpi6xeJzVD5xscyAI+giqco5fdymayZhJMbIFecjnE2yz85S9NzIgQpg==}
|
resolution: {integrity: sha512-EXjmRnupoX6yYuUJSQhrQ9ggK0iQtQlpi6xeJzVD5xscyAI+giqco5fdymayZhJMbIFecjnE2yz85S9NzIgQpg==}
|
||||||
@ -11106,7 +11058,6 @@ packages:
|
|||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-factory-label@1.0.2:
|
/micromark-factory-label@1.0.2:
|
||||||
resolution: {integrity: sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg==}
|
resolution: {integrity: sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg==}
|
||||||
@ -11115,14 +11066,12 @@ packages:
|
|||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-factory-space@1.0.0:
|
/micromark-factory-space@1.0.0:
|
||||||
resolution: {integrity: sha512-qUmqs4kj9a5yBnk3JMLyjtWYN6Mzfcx8uJfi5XAveBniDevmZasdGBba5b4QsvRcAkmvGo5ACmSUmyGiKTLZew==}
|
resolution: {integrity: sha512-qUmqs4kj9a5yBnk3JMLyjtWYN6Mzfcx8uJfi5XAveBniDevmZasdGBba5b4QsvRcAkmvGo5ACmSUmyGiKTLZew==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-factory-title@1.0.2:
|
/micromark-factory-title@1.0.2:
|
||||||
resolution: {integrity: sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A==}
|
resolution: {integrity: sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A==}
|
||||||
@ -11132,7 +11081,6 @@ packages:
|
|||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-factory-whitespace@1.0.0:
|
/micromark-factory-whitespace@1.0.0:
|
||||||
resolution: {integrity: sha512-Qx7uEyahU1lt1RnsECBiuEbfr9INjQTGa6Err+gF3g0Tx4YEviPbqqGKNv/NrBaE7dVHdn1bVZKM/n5I/Bak7A==}
|
resolution: {integrity: sha512-Qx7uEyahU1lt1RnsECBiuEbfr9INjQTGa6Err+gF3g0Tx4YEviPbqqGKNv/NrBaE7dVHdn1bVZKM/n5I/Bak7A==}
|
||||||
@ -11141,20 +11089,17 @@ packages:
|
|||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-character@1.1.0:
|
/micromark-util-character@1.1.0:
|
||||||
resolution: {integrity: sha512-agJ5B3unGNJ9rJvADMJ5ZiYjBRyDpzKAOk01Kpi1TKhlT1APx3XZk6eN7RtSz1erbWHC2L8T3xLZ81wdtGRZzg==}
|
resolution: {integrity: sha512-agJ5B3unGNJ9rJvADMJ5ZiYjBRyDpzKAOk01Kpi1TKhlT1APx3XZk6eN7RtSz1erbWHC2L8T3xLZ81wdtGRZzg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-chunked@1.0.0:
|
/micromark-util-chunked@1.0.0:
|
||||||
resolution: {integrity: sha512-5e8xTis5tEZKgesfbQMKRCyzvffRRUX+lK/y+DvsMFdabAicPkkZV6gO+FEWi9RfuKKoxxPwNL+dFF0SMImc1g==}
|
resolution: {integrity: sha512-5e8xTis5tEZKgesfbQMKRCyzvffRRUX+lK/y+DvsMFdabAicPkkZV6gO+FEWi9RfuKKoxxPwNL+dFF0SMImc1g==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-classify-character@1.0.0:
|
/micromark-util-classify-character@1.0.0:
|
||||||
resolution: {integrity: sha512-F8oW2KKrQRb3vS5ud5HIqBVkCqQi224Nm55o5wYLzY/9PwHGXC01tr3d7+TqHHz6zrKQ72Okwtvm/xQm6OVNZA==}
|
resolution: {integrity: sha512-F8oW2KKrQRb3vS5ud5HIqBVkCqQi224Nm55o5wYLzY/9PwHGXC01tr3d7+TqHHz6zrKQ72Okwtvm/xQm6OVNZA==}
|
||||||
@ -11162,20 +11107,17 @@ packages:
|
|||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-combine-extensions@1.0.0:
|
/micromark-util-combine-extensions@1.0.0:
|
||||||
resolution: {integrity: sha512-J8H058vFBdo/6+AsjHp2NF7AJ02SZtWaVUjsayNFeAiydTxUwViQPxN0Hf8dp4FmCQi0UUFovFsEyRSUmFH3MA==}
|
resolution: {integrity: sha512-J8H058vFBdo/6+AsjHp2NF7AJ02SZtWaVUjsayNFeAiydTxUwViQPxN0Hf8dp4FmCQi0UUFovFsEyRSUmFH3MA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-chunked: 1.0.0
|
micromark-util-chunked: 1.0.0
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-decode-numeric-character-reference@1.0.0:
|
/micromark-util-decode-numeric-character-reference@1.0.0:
|
||||||
resolution: {integrity: sha512-OzO9AI5VUtrTD7KSdagf4MWgHMtET17Ua1fIpXTpuhclCqD8egFWo85GxSGvxgkGS74bEahvtM0WP0HjvV0e4w==}
|
resolution: {integrity: sha512-OzO9AI5VUtrTD7KSdagf4MWgHMtET17Ua1fIpXTpuhclCqD8egFWo85GxSGvxgkGS74bEahvtM0WP0HjvV0e4w==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-decode-string@1.0.2:
|
/micromark-util-decode-string@1.0.2:
|
||||||
resolution: {integrity: sha512-DLT5Ho02qr6QWVNYbRZ3RYOSSWWFuH3tJexd3dgN1odEuPNxCngTCXJum7+ViRAd9BbdxCvMToPOD/IvVhzG6Q==}
|
resolution: {integrity: sha512-DLT5Ho02qr6QWVNYbRZ3RYOSSWWFuH3tJexd3dgN1odEuPNxCngTCXJum7+ViRAd9BbdxCvMToPOD/IvVhzG6Q==}
|
||||||
@ -11184,27 +11126,22 @@ packages:
|
|||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-decode-numeric-character-reference: 1.0.0
|
micromark-util-decode-numeric-character-reference: 1.0.0
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-encode@1.0.1:
|
/micromark-util-encode@1.0.1:
|
||||||
resolution: {integrity: sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA==}
|
resolution: {integrity: sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-html-tag-name@1.1.0:
|
/micromark-util-html-tag-name@1.1.0:
|
||||||
resolution: {integrity: sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA==}
|
resolution: {integrity: sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-normalize-identifier@1.0.0:
|
/micromark-util-normalize-identifier@1.0.0:
|
||||||
resolution: {integrity: sha512-yg+zrL14bBTFrQ7n35CmByWUTFsgst5JhA4gJYoty4Dqzj4Z4Fr/DHekSS5aLfH9bdlfnSvKAWsAgJhIbogyBg==}
|
resolution: {integrity: sha512-yg+zrL14bBTFrQ7n35CmByWUTFsgst5JhA4gJYoty4Dqzj4Z4Fr/DHekSS5aLfH9bdlfnSvKAWsAgJhIbogyBg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-resolve-all@1.0.0:
|
/micromark-util-resolve-all@1.0.0:
|
||||||
resolution: {integrity: sha512-CB/AGk98u50k42kvgaMM94wzBqozSzDDaonKU7P7jwQIuH2RU0TeBqGYJz2WY1UdihhjweivStrJ2JdkdEmcfw==}
|
resolution: {integrity: sha512-CB/AGk98u50k42kvgaMM94wzBqozSzDDaonKU7P7jwQIuH2RU0TeBqGYJz2WY1UdihhjweivStrJ2JdkdEmcfw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-sanitize-uri@1.0.0:
|
/micromark-util-sanitize-uri@1.0.0:
|
||||||
resolution: {integrity: sha512-cCxvBKlmac4rxCGx6ejlIviRaMKZc0fWm5HdCHEeDWRSkn44l6NdYVRyU+0nT1XC72EQJMZV8IPHF+jTr56lAg==}
|
resolution: {integrity: sha512-cCxvBKlmac4rxCGx6ejlIviRaMKZc0fWm5HdCHEeDWRSkn44l6NdYVRyU+0nT1XC72EQJMZV8IPHF+jTr56lAg==}
|
||||||
@ -11212,7 +11149,6 @@ packages:
|
|||||||
micromark-util-character: 1.1.0
|
micromark-util-character: 1.1.0
|
||||||
micromark-util-encode: 1.0.1
|
micromark-util-encode: 1.0.1
|
||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-subtokenize@1.0.2:
|
/micromark-util-subtokenize@1.0.2:
|
||||||
resolution: {integrity: sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA==}
|
resolution: {integrity: sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA==}
|
||||||
@ -11221,15 +11157,12 @@ packages:
|
|||||||
micromark-util-symbol: 1.0.1
|
micromark-util-symbol: 1.0.1
|
||||||
micromark-util-types: 1.0.2
|
micromark-util-types: 1.0.2
|
||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-symbol@1.0.1:
|
/micromark-util-symbol@1.0.1:
|
||||||
resolution: {integrity: sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ==}
|
resolution: {integrity: sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark-util-types@1.0.2:
|
/micromark-util-types@1.0.2:
|
||||||
resolution: {integrity: sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==}
|
resolution: {integrity: sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromark@2.11.4:
|
/micromark@2.11.4:
|
||||||
resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==}
|
resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==}
|
||||||
@ -11262,7 +11195,6 @@ packages:
|
|||||||
uvu: 0.5.6
|
uvu: 0.5.6
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
|
||||||
|
|
||||||
/micromatch@4.0.5:
|
/micromatch@4.0.5:
|
||||||
resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
|
resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==}
|
||||||
@ -11395,7 +11327,6 @@ packages:
|
|||||||
/mri@1.2.0:
|
/mri@1.2.0:
|
||||||
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
|
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
|
||||||
engines: {node: '>=4'}
|
engines: {node: '>=4'}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/mrmime@1.0.1:
|
/mrmime@1.0.1:
|
||||||
resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==}
|
resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==}
|
||||||
@ -11408,7 +11339,6 @@ packages:
|
|||||||
|
|
||||||
/ms@2.1.2:
|
/ms@2.1.2:
|
||||||
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
|
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
|
||||||
dev: true
|
|
||||||
|
|
||||||
/ms@2.1.3:
|
/ms@2.1.3:
|
||||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||||
@ -11580,6 +11510,7 @@ packages:
|
|||||||
/object-assign@4.1.1:
|
/object-assign@4.1.1:
|
||||||
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/object-inspect@1.12.2:
|
/object-inspect@1.12.2:
|
||||||
resolution: {integrity: sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==}
|
resolution: {integrity: sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==}
|
||||||
@ -12103,7 +12034,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
binary-searching: 2.0.5
|
binary-searching: 2.0.5
|
||||||
comment-parser: 1.3.1
|
comment-parser: 1.3.1
|
||||||
mdast-util-from-markdown: 1.2.0
|
mdast-util-from-markdown: 1.3.0
|
||||||
prettier: 2.8.8
|
prettier: 2.8.8
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -12159,13 +12090,6 @@ packages:
|
|||||||
sisteransi: 1.0.5
|
sisteransi: 1.0.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/prop-types@15.8.1:
|
|
||||||
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
|
|
||||||
dependencies:
|
|
||||||
loose-envify: 1.4.0
|
|
||||||
object-assign: 4.1.1
|
|
||||||
react-is: 16.13.1
|
|
||||||
|
|
||||||
/proxy-addr@2.0.7:
|
/proxy-addr@2.0.7:
|
||||||
resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
|
resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
|
||||||
engines: {node: '>= 0.10'}
|
engines: {node: '>= 0.10'}
|
||||||
@ -12291,20 +12215,6 @@ packages:
|
|||||||
unpipe: 1.0.0
|
unpipe: 1.0.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/react-dom@16.14.0(react@16.14.0):
|
|
||||||
resolution: {integrity: sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==}
|
|
||||||
peerDependencies:
|
|
||||||
react: ^16.14.0
|
|
||||||
dependencies:
|
|
||||||
loose-envify: 1.4.0
|
|
||||||
object-assign: 4.1.1
|
|
||||||
prop-types: 15.8.1
|
|
||||||
react: 16.14.0
|
|
||||||
scheduler: 0.19.1
|
|
||||||
|
|
||||||
/react-is@16.13.1:
|
|
||||||
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
|
|
||||||
|
|
||||||
/react-is@17.0.2:
|
/react-is@17.0.2:
|
||||||
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
|
resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==}
|
||||||
dev: true
|
dev: true
|
||||||
@ -12313,14 +12223,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
|
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/react@16.14.0:
|
|
||||||
resolution: {integrity: sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==}
|
|
||||||
engines: {node: '>=0.10.0'}
|
|
||||||
dependencies:
|
|
||||||
loose-envify: 1.4.0
|
|
||||||
object-assign: 4.1.1
|
|
||||||
prop-types: 15.8.1
|
|
||||||
|
|
||||||
/read-pkg-up@7.0.1:
|
/read-pkg-up@7.0.1:
|
||||||
resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==}
|
resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -12497,7 +12399,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==}
|
resolution: {integrity: sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/mdast': 3.0.11
|
'@types/mdast': 3.0.11
|
||||||
mdast-util-from-markdown: 1.2.0
|
mdast-util-from-markdown: 1.3.0
|
||||||
unified: 10.1.2
|
unified: 10.1.2
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -12752,7 +12654,6 @@ packages:
|
|||||||
engines: {node: '>=6'}
|
engines: {node: '>=6'}
|
||||||
dependencies:
|
dependencies:
|
||||||
mri: 1.2.0
|
mri: 1.2.0
|
||||||
dev: true
|
|
||||||
|
|
||||||
/safe-buffer@5.1.2:
|
/safe-buffer@5.1.2:
|
||||||
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
|
resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
|
||||||
@ -12799,12 +12700,6 @@ packages:
|
|||||||
xmlchars: 2.2.0
|
xmlchars: 2.2.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/scheduler@0.19.1:
|
|
||||||
resolution: {integrity: sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==}
|
|
||||||
dependencies:
|
|
||||||
loose-envify: 1.4.0
|
|
||||||
object-assign: 4.1.1
|
|
||||||
|
|
||||||
/schema-utils@3.1.1:
|
/schema-utils@3.1.1:
|
||||||
resolution: {integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==}
|
resolution: {integrity: sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==}
|
||||||
engines: {node: '>= 10.13.0'}
|
engines: {node: '>= 10.13.0'}
|
||||||
@ -13496,7 +13391,6 @@ packages:
|
|||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dependencies:
|
dependencies:
|
||||||
has-flag: 4.0.0
|
has-flag: 4.0.0
|
||||||
dev: true
|
|
||||||
|
|
||||||
/supports-preserve-symlinks-flag@1.0.0:
|
/supports-preserve-symlinks-flag@1.0.0:
|
||||||
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
||||||
@ -14045,7 +13939,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-7A6eiDCs9UtjcwZOcCpM4aPII3bAAGv13E96IkawkOAW0OhH+yRxtY0lzo8KiHpzEMfH7Q+FizUmwp8Iqy5EWg==}
|
resolution: {integrity: sha512-7A6eiDCs9UtjcwZOcCpM4aPII3bAAGv13E96IkawkOAW0OhH+yRxtY0lzo8KiHpzEMfH7Q+FizUmwp8Iqy5EWg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/unist': 2.0.6
|
'@types/unist': 2.0.6
|
||||||
dev: true
|
|
||||||
|
|
||||||
/unist-util-visit-parents@5.1.1:
|
/unist-util-visit-parents@5.1.1:
|
||||||
resolution: {integrity: sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==}
|
resolution: {integrity: sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==}
|
||||||
@ -14235,7 +14128,6 @@ packages:
|
|||||||
diff: 5.1.0
|
diff: 5.1.0
|
||||||
kleur: 4.1.5
|
kleur: 4.1.5
|
||||||
sade: 1.8.1
|
sade: 1.8.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/v8-compile-cache-lib@3.0.1:
|
/v8-compile-cache-lib@3.0.1:
|
||||||
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
|
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
|
||||||
@ -14441,12 +14333,12 @@ packages:
|
|||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vitepress@1.0.0-alpha.72(@algolia/client-search@4.14.2)(@types/node@18.16.0)(react-dom@16.14.0)(react@16.14.0):
|
/vitepress@1.0.0-alpha.72(@algolia/client-search@4.14.2)(@types/node@18.16.0):
|
||||||
resolution: {integrity: sha512-Ou7fNE/OVYLrKGQMHSTVG6AcNsdv7tm4ACrdhx93SPMzEDj8UgIb4RFa5CTTowaYf3jeDGi2EAJlzXVC+IE3dg==}
|
resolution: {integrity: sha512-Ou7fNE/OVYLrKGQMHSTVG6AcNsdv7tm4ACrdhx93SPMzEDj8UgIb4RFa5CTTowaYf3jeDGi2EAJlzXVC+IE3dg==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@docsearch/css': 3.3.3
|
'@docsearch/css': 3.3.3
|
||||||
'@docsearch/js': 3.3.3(@algolia/client-search@4.14.2)(react-dom@16.14.0)(react@16.14.0)
|
'@docsearch/js': 3.3.3(@algolia/client-search@4.14.2)
|
||||||
'@vitejs/plugin-vue': 4.2.1(vite@4.3.3)(vue@3.2.47)
|
'@vitejs/plugin-vue': 4.2.1(vite@4.3.3)(vue@3.2.47)
|
||||||
'@vue/devtools-api': 6.5.0
|
'@vue/devtools-api': 6.5.0
|
||||||
'@vueuse/core': 10.1.0(vue@3.2.47)
|
'@vueuse/core': 10.1.0(vue@3.2.47)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user