@abaplint/runtime 2.10.20 → 2.10.22

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.
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.abs = abs;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function abs(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ceil = ceil;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function ceil(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cos = cos;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function cos(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.escape = escape;
4
- /* eslint-disable @typescript-eslint/ban-types */
5
4
  const types_1 = require("../types");
6
5
  function escape(input) {
7
6
  let val = typeof input.val === "string" ? input.val : input.val.get();
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.floor = floor;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function floor(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.frac = frac;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function frac(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.from_mixed = from_mixed;
4
- /* eslint-disable @typescript-eslint/ban-types */
5
4
  const throw_error_1 = require("../throw_error");
6
5
  const types_1 = require("../types");
7
6
  function from_mixed(input) {
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sin = sin;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function sin(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sqrt = sqrt;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function sqrt(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tan = tan;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function tan(input) {
7
6
  let num_in = undefined;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.to_mixed = to_mixed;
4
- /* eslint-disable @typescript-eslint/ban-types */
5
4
  const throw_error_1 = require("../throw_error");
6
5
  const types_1 = require("../types");
7
6
  function to_mixed(input) {
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.trunc = trunc;
4
- /* eslint-disable radix */
5
4
  const types_1 = require("../types");
6
5
  function trunc(input) {
7
6
  let num_in = undefined;
@@ -164,7 +164,6 @@ class HexUInt8 {
164
164
  // const str = Buffer.from(this.value.subarray(offset, length ? offset + length : undefined)).toString("hex").toUpperCase();
165
165
  let str = "";
166
166
  const until = length ? offset + length : this.value.length;
167
- // eslint-disable-next-line @typescript-eslint/prefer-for-of
168
167
  for (let idx = offset; idx < until; idx++) {
169
168
  str += LUT_HEX_8b[this.value[idx]];
170
169
  }
@@ -264,7 +264,6 @@ class HashedTable {
264
264
  tmp.set(new string_1.String().set(item));
265
265
  return tmp;
266
266
  // @ts-ignore
267
- // eslint-disable-next-line max-len
268
267
  }
269
268
  else if (this.isStructured === true && item.getQualifiedName && this.rowType.getQualifiedName && item.getQualifiedName() !== "" && item.getQualifiedName() === this.rowType.getQualifiedName()) {
270
269
  // types match, so no need to do conversions, just clone the item
@@ -469,7 +468,6 @@ class Table {
469
468
  tmp.set(new string_1.String().set(item));
470
469
  return tmp;
471
470
  // @ts-ignore
472
- // eslint-disable-next-line max-len
473
471
  }
474
472
  else if (this.isStructured === true && item.getQualifiedName && this.rowType.getQualifiedName && item.getQualifiedName() !== "" && item.getQualifiedName() === this.rowType.getQualifiedName()) {
475
473
  // types match, so no need to do conversions, just clone the item
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/runtime",
3
- "version": "2.10.20",
3
+ "version": "2.10.22",
4
4
  "description": "Transpiler - Runtime",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/src/index.d.ts",
@@ -30,11 +30,11 @@
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
32
  "@types/chai": "^4.3.20",
33
- "@types/mocha": "^10.0.8",
33
+ "@types/mocha": "^10.0.10",
34
34
  "chai": "^4.5.0",
35
- "mocha": "^10.7.3",
35
+ "mocha": "^11.0.1",
36
36
  "source-map-support": "^0.5.21",
37
- "typescript": "^5.6.2"
37
+ "typescript": "^5.7.2"
38
38
  },
39
39
  "dependencies": {
40
40
  "temporal-polyfill": "^0.2.5"