diff --git a/package-lock.json b/package-lock.json index 639a1cbd..eaa9e074 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@accordproject/concerto-codegen", - "version": "3.16.0", + "version": "3.16.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@accordproject/concerto-codegen", - "version": "3.16.0", + "version": "3.16.2", "license": "Apache-2.0", "dependencies": { "@accordproject/concerto-core": "3.12.3", diff --git a/package.json b/package.json index d9475aaf..8c57e8db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@accordproject/concerto-codegen", - "version": "3.16.1", + "version": "3.16.2", "description": "CodeGen for the Concerto Modeling Language", "homepage": "https://github.com/accordproject/concerto", "engines": { diff --git a/types/lib/codegen/fromcto/plantuml/plantumlvisitor.d.ts b/types/lib/codegen/fromcto/plantuml/plantumlvisitor.d.ts index c07983c0..0afba334 100644 --- a/types/lib/codegen/fromcto/plantuml/plantumlvisitor.d.ts +++ b/types/lib/codegen/fromcto/plantuml/plantumlvisitor.d.ts @@ -63,7 +63,9 @@ declare class PlantUMLVisitor extends DiagramVisitor { /** * Escape fully qualified names. We preserve the dots in the * package name, remove the '@' symbol because it is invalid - * and remove the dots in the version (because otherwise packages get created) + * and remove the dots in the version (because otherwise packages get created). + * We also replace all '-' characters with '_' because they are invalid in + * PlantUML identifiers as '-' can appear in a semver string. * @param {String} input - the object being visited * @return {String} string - the parameter * @protected