@accordproject/concerto-core 1.2.2-20220113193236 → 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.
@@ -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-20220113193236",
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-20220113193236",
62
- "@accordproject/concerto-util": "1.2.2-20220113193236",
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",