@abaplint/runtime 2.10.8 → 2.10.10
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/build/src/compare/eq.js
CHANGED
|
@@ -83,6 +83,9 @@ function eq(left, right) {
|
|
|
83
83
|
else if (left instanceof types_1.Character) {
|
|
84
84
|
return (parseInt(left.get(), 10) || 0) === right.get();
|
|
85
85
|
}
|
|
86
|
+
else if (left instanceof types_1.String) {
|
|
87
|
+
return (parseInt(left.get(), 10) || 0) === right.get();
|
|
88
|
+
}
|
|
86
89
|
else if (left instanceof types_1.Float) {
|
|
87
90
|
return right.get() === left.getRaw();
|
|
88
91
|
}
|
|
@@ -155,6 +155,9 @@ function createData(target, options) {
|
|
|
155
155
|
case "XSTRING":
|
|
156
156
|
target.assign(new types_1.XString());
|
|
157
157
|
break;
|
|
158
|
+
case "UTCLONG":
|
|
159
|
+
target.assign(new types_1.UTCLong());
|
|
160
|
+
break;
|
|
158
161
|
default:
|
|
159
162
|
// @ts-ignore
|
|
160
163
|
if (abap.DDIC[options.typeName.trimEnd()]) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/runtime",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.10",
|
|
4
4
|
"description": "Transpiler - Runtime",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"author": "abaplint",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@types/chai": "^4.3.
|
|
32
|
+
"@types/chai": "^4.3.19",
|
|
33
33
|
"@types/mocha": "^10.0.7",
|
|
34
34
|
"chai": "^4.5.0",
|
|
35
|
-
"mocha": "^10.7.
|
|
35
|
+
"mocha": "^10.7.3",
|
|
36
36
|
"source-map-support": "^0.5.21",
|
|
37
37
|
"typescript": "^5.5.4"
|
|
38
38
|
},
|