@accordproject/concerto-core 1.2.2-20220112145448 → 1.2.2-20220201185401

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -15,7 +15,7 @@
15
15
  'use strict';
16
16
 
17
17
  /**
18
- * Concerto module. Concerto is a framework for defining domain
18
+ * Concerto core module. Concerto is a framework for defining domain
19
19
  * specific models.
20
20
  *
21
21
  * @module concerto-core
@@ -82,11 +82,11 @@ class NumberValidator extends Validator{
82
82
  validate(identifier, value) {
83
83
  if(value !== null) {
84
84
  if(this.lowerBound !== null && value < this.lowerBound) {
85
- this.reportError(identifier, 'Value is outside lower bound ' + value);
85
+ this.reportError(identifier, `Value ${value} is outside lower bound ${this.lowerBound}`);
86
86
  }
87
87
 
88
88
  if(this.upperBound !== null && value > this.upperBound) {
89
- this.reportError(identifier, 'Value is outside upper bound ' + value);
89
+ this.reportError(identifier, `Value ${value} is outside upper bound ${this.upperBound}`);
90
90
  }
91
91
  }
92
92
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accordproject/concerto-core",
3
- "version": "1.2.2-20220112145448",
3
+ "version": "1.2.2-20220201185401",
4
4
  "description": "Core Implementation for the Concerto Modeling Language",
5
5
  "homepage": "https://github.com/accordproject/concerto",
6
6
  "engines": {
@@ -58,8 +58,8 @@
58
58
  "yargs": "17.1.0"
59
59
  },
60
60
  "dependencies": {
61
- "@accordproject/concerto-cto": "1.2.2-20220112145448",
62
- "@accordproject/concerto-util": "1.2.2-20220112145448",
61
+ "@accordproject/concerto-cto": "1.2.2-20220201185401",
62
+ "@accordproject/concerto-util": "1.2.2-20220201185401",
63
63
  "dayjs": "1.10.4",
64
64
  "debug": "4.3.1",
65
65
  "lorem-ipsum": "2.0.3",