@abaplint/runtime 2.10.20 → 2.10.21
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/LICENSE +21 -21
- package/README.md +2 -2
- package/build/src/builtin/abs.js +0 -1
- package/build/src/builtin/ceil.js +0 -1
- package/build/src/builtin/cos.js +0 -1
- package/build/src/builtin/escape.js +0 -1
- package/build/src/builtin/floor.js +0 -1
- package/build/src/builtin/frac.js +0 -1
- package/build/src/builtin/from_mixed.js +0 -1
- package/build/src/builtin/sin.js +0 -1
- package/build/src/builtin/sqrt.js +0 -1
- package/build/src/builtin/tan.js +0 -1
- package/build/src/builtin/to_mixed.js +0 -1
- package/build/src/builtin/trunc.js +0 -1
- package/build/src/types/hex_uint8.js +0 -1
- package/build/src/types/table.js +0 -2
- package/package.json +42 -42
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Lars Hvam Petersen
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Lars Hvam Petersen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @abaplint/runtime
|
|
2
|
-
|
|
1
|
+
# @abaplint/runtime
|
|
2
|
+
|
|
3
3
|
Runtime
|
package/build/src/builtin/abs.js
CHANGED
package/build/src/builtin/cos.js
CHANGED
|
@@ -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.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) {
|
package/build/src/builtin/sin.js
CHANGED
package/build/src/builtin/tan.js
CHANGED
|
@@ -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) {
|
|
@@ -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
|
}
|
package/build/src/types/table.js
CHANGED
|
@@ -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,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abaplint/runtime",
|
|
3
|
-
"version": "2.10.
|
|
4
|
-
"description": "Transpiler - Runtime",
|
|
5
|
-
"main": "build/src/index.js",
|
|
6
|
-
"typings": "build/src/index.d.ts",
|
|
7
|
-
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/abaplint/transpiler.git"
|
|
11
|
-
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"compile": "tsc",
|
|
14
|
-
"publish:major": "npm --no-git-tag-version version major && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
15
|
-
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
16
|
-
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
17
|
-
"test": "npm run compile && mocha"
|
|
18
|
-
},
|
|
19
|
-
"mocha": {
|
|
20
|
-
"recursive": true,
|
|
21
|
-
"reporter": "progress",
|
|
22
|
-
"spec": "build/test/**/*.js",
|
|
23
|
-
"require": "source-map-support/register"
|
|
24
|
-
},
|
|
25
|
-
"keywords": [
|
|
26
|
-
"ABAP",
|
|
27
|
-
"abaplint"
|
|
28
|
-
],
|
|
29
|
-
"author": "abaplint",
|
|
30
|
-
"license": "MIT",
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@types/chai": "^4.3.20",
|
|
33
|
-
"@types/mocha": "^10.0.
|
|
34
|
-
"chai": "^4.5.0",
|
|
35
|
-
"mocha": "^10.
|
|
36
|
-
"source-map-support": "^0.5.21",
|
|
37
|
-
"typescript": "^5.
|
|
38
|
-
},
|
|
39
|
-
"dependencies": {
|
|
40
|
-
"temporal-polyfill": "^0.2.5"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abaplint/runtime",
|
|
3
|
+
"version": "2.10.21",
|
|
4
|
+
"description": "Transpiler - Runtime",
|
|
5
|
+
"main": "build/src/index.js",
|
|
6
|
+
"typings": "build/src/index.d.ts",
|
|
7
|
+
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/abaplint/transpiler.git"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"compile": "tsc",
|
|
14
|
+
"publish:major": "npm --no-git-tag-version version major && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
15
|
+
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
16
|
+
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
17
|
+
"test": "npm run compile && mocha"
|
|
18
|
+
},
|
|
19
|
+
"mocha": {
|
|
20
|
+
"recursive": true,
|
|
21
|
+
"reporter": "progress",
|
|
22
|
+
"spec": "build/test/**/*.js",
|
|
23
|
+
"require": "source-map-support/register"
|
|
24
|
+
},
|
|
25
|
+
"keywords": [
|
|
26
|
+
"ABAP",
|
|
27
|
+
"abaplint"
|
|
28
|
+
],
|
|
29
|
+
"author": "abaplint",
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/chai": "^4.3.20",
|
|
33
|
+
"@types/mocha": "^10.0.10",
|
|
34
|
+
"chai": "^4.5.0",
|
|
35
|
+
"mocha": "^10.8.2",
|
|
36
|
+
"source-map-support": "^0.5.21",
|
|
37
|
+
"typescript": "^5.7.2"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"temporal-polyfill": "^0.2.5"
|
|
41
|
+
}
|
|
42
|
+
}
|