@abaplint/core 2.104.1 → 2.104.3
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.
|
@@ -4,7 +4,7 @@ exports.AttributeName = void 0;
|
|
|
4
4
|
const combi_1 = require("../combi");
|
|
5
5
|
class AttributeName extends combi_1.Expression {
|
|
6
6
|
getRunnable() {
|
|
7
|
-
return (0, combi_1.regex)(/^(\/\w+\/)?[\w\d_
|
|
7
|
+
return (0, combi_1.regex)(/^(\/\w+\/)?[\w\d_\*\~%]+$/);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
exports.AttributeName = AttributeName;
|
|
@@ -29,7 +29,7 @@ class Assign {
|
|
|
29
29
|
sourceType = new source_1.Source().runSyntax(theSource, scope, filename);
|
|
30
30
|
}
|
|
31
31
|
if ((assignSource === null || assignSource === void 0 ? void 0 : assignSource.getChildren().length) === 5
|
|
32
|
-
&& ((_a = assignSource === null || assignSource === void 0 ? void 0 : assignSource.getFirstChild()) === null || _a === void 0 ? void 0 : _a.concatTokens()) === "COMPONENT") {
|
|
32
|
+
&& ((_a = assignSource === null || assignSource === void 0 ? void 0 : assignSource.getFirstChild()) === null || _a === void 0 ? void 0 : _a.concatTokens().toUpperCase()) === "COMPONENT") {
|
|
33
33
|
const componentSource = sources[sources.length - 2];
|
|
34
34
|
const componentType = new source_1.Source().runSyntax(componentSource, scope, filename);
|
|
35
35
|
if (new _type_utils_1.TypeUtils(scope).isAssignable(componentType, new basic_1.CharacterType(30)) === false) {
|
package/build/src/registry.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.104.
|
|
3
|
+
"version": "2.104.3",
|
|
4
4
|
"description": "abaplint - Core API",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/abaplint.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@microsoft/api-extractor": "^7.38.3",
|
|
54
54
|
"@types/chai": "^4.3.11",
|
|
55
55
|
"@types/mocha": "^10.0.6",
|
|
56
|
-
"@types/node": "^20.10.
|
|
56
|
+
"@types/node": "^20.10.2",
|
|
57
57
|
"chai": "^4.3.10",
|
|
58
|
-
"eslint": "^8.
|
|
58
|
+
"eslint": "^8.55.0",
|
|
59
59
|
"mocha": "^10.2.0",
|
|
60
60
|
"c8": "^8.0.1",
|
|
61
61
|
"source-map-support": "^0.5.21",
|