Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking change after upgrade to typedoc 0.23.1 #616

Closed
juergenzimmermann opened this issue Jun 27, 2022 · 2 comments · Fixed by #630
Closed

Breaking change after upgrade to typedoc 0.23.1 #616

juergenzimmermann opened this issue Jun 27, 2022 · 2 comments · Fixed by #630
Labels
bug Something isn't working

Comments

@juergenzimmermann
Copy link

Describe the bug
After upgrading to typedoc 0.23.1 I get the stacktrace below

To Reproduce
Steps to reproduce the behavior:
npm i -D typedoc

Expected behavior
No stacktrace.

Desktop (please complete the following information):

  • OS: Windows 11 Enterprise
  • Version: 21H2

Additional context
Stacktrace:

TypeDoc exiting with unexpected error:
TypeError: Cannot read properties of undefined (reading 'replace')
    at MermaidPlugin.handleMermaidCodeBlocks (C:\workspace\software-engineering\buch\node_modules\typedoc-plugin-mermaid\dist\index.js:163:21)
    at MermaidPlugin.onConverterResolveBegin (C:\workspace\software-engineering\buch\node_modules\typedoc-plugin-mermaid\dist\index.js:135:37)
    at Converter.<anonymous> (C:\workspace\software-engineering\buch\node_modules\typedoc-plugin-mermaid\dist\index.js:119:18)
    at triggerEvents (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\utils\events.js:191:43)
    at triggerApi (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\utils\events.js:167:13)
    at eventsApi (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\utils\events.js:60:18)
    at Converter.trigger (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\utils\events.js:389:13)
    at Converter.resolve (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\converter\converter.js:123:14)
    at Converter.convert (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\converter\converter.js:39:14)
    at Application.convert (C:\workspace\software-engineering\buch\node_modules\typedoc\dist\lib\application.js:151:40)
@kamiazya kamiazya added the bug Something isn't working label Jul 9, 2022
kamiazya added a commit that referenced this issue Jul 16, 2022
@kamiazya
Copy link
Owner

@all-contributors please add @juergenzimmermann for bug

@allcontributors
Copy link
Contributor

@kamiazya

I've put up a pull request to add @juergenzimmermann! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants