Closed kazumatu981 closed 8 months ago
url.parse() is not recommended. so use new URL(). like bellow
url.parse()
new URL()
function toBeUrlString(test, msg) { this.toNonEmptyString(test, msg); try { new URL(test); } catch { throw new Error(msg); } }
Use contract.toBeUrlString() in diagramEncoder.generateUrl() and remove url.parse() from MarkdownItKrokiCore.setOptions()
contract.toBeUrlString()
diagramEncoder.generateUrl()
MarkdownItKrokiCore.setOptions()
url.parse()
is not recommended. so usenew URL()
. like bellow