@abaplint/runtime 2.6.4 → 2.6.6

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.
@@ -87,7 +87,7 @@ function eq(left, right) {
87
87
  r = right.getTrimEnd();
88
88
  }
89
89
  else if (right instanceof types_1.Date) {
90
- l = right.get().trimEnd();
90
+ r = right.get().trimEnd();
91
91
  }
92
92
  else if (typeof right === "object") {
93
93
  r = right.get();
@@ -5,7 +5,7 @@ const throw_error_1 = require("../throw_error");
5
5
  const float_1 = require("./float");
6
6
  const hex_1 = require("./hex");
7
7
  const xstring_1 = require("./xstring");
8
- const digits = new RegExp(/^\s*-?\+?\d+\.?\d*$/i);
8
+ const digits = new RegExp(/^\s*-?\+?\d+\.?\d* *$/i);
9
9
  class Integer {
10
10
  constructor(input) {
11
11
  this.value = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.6.4",
3
+ "version": "2.6.6",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",