fix: make sequenceDB typesafe #8984
Annotations
4 errors and 1 warning
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceDb.ts#L163
Error: Trying to inactivate an inactive participant ([object Object])
❯ addSignal packages/mermaid/src/diagrams/sequence/sequenceDb.ts:163:21
❯ apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:521:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDb.ts:483:7
❯ Object.apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:482:11
❯ Object.anonymous packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:87:5
❯ Parser.parse packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:435:36
❯ Function.fromText packages/mermaid/src/Diagram.ts:43:18
❯ getDiagramFromText packages/mermaid/src/mermaidAPI.ts:550:18
❯ Object.parse packages/mermaid/src/mermaidAPI.ts:120:27
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { hash: { text: '->>-', token: '->>-', line: '1', loc: { first_line: 1, last_line: 1, first_column: 1, last_column: 1 }, expected: [ '\'ACTIVE_PARTICIPANT\'' ] } }
|
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceDb.ts#L163
Error: Trying to inactivate an inactive participant ([object Object])
❯ addSignal packages/mermaid/src/diagrams/sequence/sequenceDb.ts:163:21
❯ apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:521:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDb.ts:483:7
❯ apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:482:11
❯ packages/mermaid/src/diagrams/sequence/sequenceDb.ts:483:7
❯ Object.apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:482:11
❯ Object.anonymous packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:87:5
❯ Parser.parse packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:435:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { hash: { text: '->>-', token: '->>-', line: '1', loc: { first_line: 1, last_line: 1, first_column: 1, last_column: 1 }, expected: [ '\'ACTIVE_PARTICIPANT\'' ] } }
|
Run Unit Tests:
packages/mermaid/src/diagrams/sequence/sequenceDb.ts#L163
Error: Trying to inactivate an inactive participant ([object Object])
❯ addSignal packages/mermaid/src/diagrams/sequence/sequenceDb.ts:163:21
❯ apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:521:9
❯ packages/mermaid/src/diagrams/sequence/sequenceDb.ts:483:7
❯ apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:482:11
❯ packages/mermaid/src/diagrams/sequence/sequenceDb.ts:483:7
❯ Object.apply packages/mermaid/src/diagrams/sequence/sequenceDb.ts:482:11
❯ Object.anonymous packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:87:5
❯ Parser.parse packages/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison:435:36
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { hash: { text: '->>-', token: '->>-', line: '1', loc: { first_line: 1, last_line: 1, first_column: 1, last_column: 1 }, expected: [ '\'ACTIVE_PARTICIPANT\'' ] } }
|
Run Unit Tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading