@accordproject/concerto-core
Advanced tools
Comparing version 3.18.1 to 3.18.2-20240823114326
/*! | ||
* Concerto v3.18.1 | ||
* Concerto v3.18.2-20240823114326 | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
@@ -4,0 +4,0 @@ * you may not use this file except in compliance with the License. |
@@ -393,2 +393,12 @@ /* | ||
/** | ||
* Returns the actual imported name from another namespace | ||
* @param {string} type - the short name of the type | ||
* @returns {string} - the actual imported name. If not aliased then returns the same string | ||
*/ | ||
getImportedType(type) { | ||
let fqn = this.resolveImport(type); | ||
return fqn.split('.').pop(); | ||
} | ||
/** | ||
* Returns true if the type is defined in the model file | ||
@@ -395,0 +405,0 @@ * @param {string} type the name of the type |
{ | ||
"name": "@accordproject/concerto-core", | ||
"version": "3.18.1", | ||
"version": "3.18.2-20240823114326", | ||
"description": "Core Implementation for the Concerto Modeling Language", | ||
@@ -74,5 +74,5 @@ "homepage": "https://github.com/accordproject/concerto", | ||
"dependencies": { | ||
"@accordproject/concerto-cto": "3.18.1", | ||
"@accordproject/concerto-cto": "3.18.2-20240823114326", | ||
"@accordproject/concerto-metamodel": "3.10.0", | ||
"@accordproject/concerto-util": "3.18.1", | ||
"@accordproject/concerto-util": "3.18.2-20240823114326", | ||
"dayjs": "1.11.10", | ||
@@ -79,0 +79,0 @@ "debug": "4.3.4", |
@@ -124,2 +124,8 @@ export = ModelFile; | ||
/** | ||
* Returns the actual imported name from another namespace | ||
* @param {string} type - the short name of the type | ||
* @returns {string} - the actual imported name. If not aliased then returns the same string | ||
*/ | ||
getImportedType(type: string): string; | ||
/** | ||
* Returns true if the type is defined in the model file | ||
@@ -126,0 +132,0 @@ * @param {string} type the name of the type |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1538159
15536
1
+ Added@accordproject/concerto-cto@3.18.2-20240823114326(transitive)
+ Added@accordproject/concerto-util@3.18.2-20240823114326(transitive)
- Removed@accordproject/concerto-cto@3.18.1(transitive)
- Removed@accordproject/concerto-util@3.18.1(transitive)