@abaplint/core 2.113.68 → 2.113.69
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/README.md +6 -6
- package/build/abaplint.d.ts +1 -0
- package/build/src/abap/2_statements/statement_parser.js +6 -1
- package/build/src/abap/2_statements/statements/get_permissions.js +3 -1
- package/build/src/abap/2_statements/statements/modify_entities.js +1 -1
- package/build/src/abap/5_syntax/_reference.js +1 -0
- package/build/src/abap/5_syntax/expressions/new_object.js +2 -0
- package/build/src/abap/5_syntax/statements/create_object.js +42 -39
- package/build/src/abap/flow/flow_graph.js +7 -7
- package/build/src/lsp/help.js +10 -10
- package/build/src/objects/rename/renamer_helper.js +3 -0
- package/build/src/registry.js +1 -1
- package/build/src/rules/7bit_ascii.js +4 -4
- package/build/src/rules/abapdoc.js +4 -4
- package/build/src/rules/add_test_attributes.js +20 -20
- package/build/src/rules/align_parameters.js +40 -40
- package/build/src/rules/align_type_expressions.js +28 -28
- package/build/src/rules/ambiguous_statement.js +7 -7
- package/build/src/rules/avoid_use.js +10 -10
- package/build/src/rules/begin_end_names.js +4 -4
- package/build/src/rules/begin_single_include.js +13 -13
- package/build/src/rules/call_transaction_authority_check.js +3 -3
- package/build/src/rules/cds_comment_style.js +4 -4
- package/build/src/rules/cds_legacy_view.js +4 -4
- package/build/src/rules/chain_mainly_declarations.js +4 -4
- package/build/src/rules/change_if_to_case.js +8 -8
- package/build/src/rules/check_abstract.js +2 -2
- package/build/src/rules/check_comments.js +4 -4
- package/build/src/rules/check_include.js +3 -3
- package/build/src/rules/check_subrc.js +8 -8
- package/build/src/rules/classic_exceptions_overlap.js +10 -10
- package/build/src/rules/colon_missing_space.js +24 -12
- package/build/src/rules/commented_code.js +1 -1
- package/build/src/rules/constructor_visibility_public.js +4 -4
- package/build/src/rules/contains_tab.js +2 -2
- package/build/src/rules/cyclic_oo.js +4 -4
- package/build/src/rules/dangerous_statement.js +1 -1
- package/build/src/rules/definitions_top.js +6 -6
- package/build/src/rules/double_space.js +3 -0
- package/build/src/rules/downport.js +82 -82
- package/build/src/rules/easy_to_find_messages.js +6 -6
- package/build/src/rules/empty_event.js +6 -6
- package/build/src/rules/empty_line_in_statement.js +2 -2
- package/build/src/rules/empty_structure.js +6 -6
- package/build/src/rules/exit_or_check.js +3 -3
- package/build/src/rules/expand_macros.js +5 -5
- package/build/src/rules/exporting.js +1 -1
- package/build/src/rules/forbidden_identifier.js +1 -1
- package/build/src/rules/forbidden_void_type.js +2 -2
- package/build/src/rules/fully_type_itabs.js +2 -2
- package/build/src/rules/functional_writing.js +17 -17
- package/build/src/rules/global_class.js +8 -8
- package/build/src/rules/identical_conditions.js +12 -12
- package/build/src/rules/identical_contents.js +14 -14
- package/build/src/rules/identical_descriptions.js +6 -6
- package/build/src/rules/if_in_if.js +35 -35
- package/build/src/rules/implement_methods.js +3 -3
- package/build/src/rules/implicit_start_of_selection.js +5 -5
- package/build/src/rules/in_statement_indentation.js +11 -11
- package/build/src/rules/indentation.js +16 -16
- package/build/src/rules/intf_referencing_clas.js +3 -3
- package/build/src/rules/invalid_table_index.js +2 -2
- package/build/src/rules/line_break_style.js +2 -2
- package/build/src/rules/line_length.js +1 -1
- package/build/src/rules/line_only_punc.js +1 -1
- package/build/src/rules/local_variable_names.js +6 -6
- package/build/src/rules/macro_naming.js +2 -2
- package/build/src/rules/main_file_contents.js +4 -4
- package/build/src/rules/many_parentheses.js +10 -10
- package/build/src/rules/max_one_method_parameter_per_line.js +7 -7
- package/build/src/rules/max_one_statement.js +5 -5
- package/build/src/rules/method_length.js +2 -2
- package/build/src/rules/method_overwrites_builtin.js +12 -12
- package/build/src/rules/mix_returning.js +6 -6
- package/build/src/rules/nesting.js +1 -1
- package/build/src/rules/no_chained_assignment.js +1 -1
- package/build/src/rules/no_external_form_calls.js +2 -2
- package/build/src/rules/no_inline_in_optional_branches.js +11 -11
- package/build/src/rules/no_prefixes.js +6 -6
- package/build/src/rules/no_public_attributes.js +1 -1
- package/build/src/rules/no_yoda_conditions.js +4 -4
- package/build/src/rules/nrob_consistency.js +2 -2
- package/build/src/rules/obsolete_statement.js +51 -51
- package/build/src/rules/omit_parameter_name.js +3 -3
- package/build/src/rules/omit_receiving.js +13 -13
- package/build/src/rules/parser_702_chaining.js +2 -2
- package/build/src/rules/parser_error.js +2 -2
- package/build/src/rules/parser_missing_space.js +1 -1
- package/build/src/rules/prefer_inline.js +16 -16
- package/build/src/rules/prefer_is_not.js +9 -9
- package/build/src/rules/prefer_raise_exception_new.js +5 -5
- package/build/src/rules/prefer_returning_to_exporting.js +4 -4
- package/build/src/rules/prefer_xsdbool.js +2 -2
- package/build/src/rules/preferred_compare_operator.js +2 -2
- package/build/src/rules/reduce_procedural_code.js +17 -17
- package/build/src/rules/remove_descriptions.js +4 -4
- package/build/src/rules/rfc_error_handling.js +7 -7
- package/build/src/rules/select_add_order_by.js +5 -5
- package/build/src/rules/select_performance.js +5 -5
- package/build/src/rules/select_single_full_key.js +2 -2
- package/build/src/rules/sicf_consistency.js +2 -2
- package/build/src/rules/slow_parameter_passing.js +16 -16
- package/build/src/rules/space_before_colon.js +28 -14
- package/build/src/rules/space_before_dot.js +2 -2
- package/build/src/rules/sql_value_conversion.js +6 -6
- package/build/src/rules/start_at_tab.js +1 -1
- package/build/src/rules/strict_sql.js +6 -6
- package/build/src/rules/sy_modification.js +3 -3
- package/build/src/rules/tabl_enhancement_category.js +2 -2
- package/build/src/rules/tables_declared_locally.js +2 -2
- package/build/src/rules/type_form_parameters.js +2 -2
- package/build/src/rules/unnecessary_pragma.js +29 -29
- package/build/src/rules/unnecessary_return.js +11 -11
- package/build/src/rules/unused_macros.js +6 -6
- package/build/src/rules/unused_methods.js +12 -12
- package/build/src/rules/unused_variables.js +12 -12
- package/build/src/rules/use_bool_expression.js +8 -8
- package/build/src/rules/use_class_based_exceptions.js +8 -8
- package/build/src/rules/use_line_exists.js +6 -6
- package/build/src/rules/use_new.js +4 -4
- package/build/src/rules/when_others_last.js +6 -6
- package/package.json +70 -70
package/package.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abaplint/core",
|
|
3
|
-
"version": "2.113.
|
|
4
|
-
"description": "abaplint - Core API",
|
|
5
|
-
"main": "build/src/index.js",
|
|
6
|
-
"typings": "build/abaplint.d.ts",
|
|
7
|
-
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"lint": "eslint src/**/*.ts test/**/*.ts",
|
|
10
|
-
"lint:fix": "eslint src/**/*.ts test/**/*.ts --fix",
|
|
11
|
-
"compile": "tsc && sh scripts/version.sh",
|
|
12
|
-
"test": "npm run compile && mocha --timeout 1000 && npm run lint && npm run schema && api-extractor run",
|
|
13
|
-
"test:only": "npm run compile && mocha --timeout 1000000",
|
|
14
|
-
"test:parallel": "npm run compile && mocha --timeout 1000 --parallel --reporter dot",
|
|
15
|
-
"coverage": "npm run compile && c8 mocha && c8 report --reporter=html",
|
|
16
|
-
"lexer_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/lexer_performance.js",
|
|
17
|
-
"parser_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/parser_performance.js",
|
|
18
|
-
"syntax_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/syntax_performance.js",
|
|
19
|
-
"typed_array": "tsc && node build/adhoc/typed_array.js",
|
|
20
|
-
"schema": "node scripts/schema.js > scripts/schema.ts && ts-json-schema-generator --tsconfig tsconfig_schema.json --jsDoc extended --path scripts/schema.ts > scripts/schema.json && node scripts/schema_post.js",
|
|
21
|
-
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
22
|
-
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public"
|
|
23
|
-
},
|
|
24
|
-
"mocha": {
|
|
25
|
-
"recursive": true,
|
|
26
|
-
"reporter": "progress",
|
|
27
|
-
"spec": "build/test/**/*.js",
|
|
28
|
-
"require": "source-map-support/register"
|
|
29
|
-
},
|
|
30
|
-
"c8": {
|
|
31
|
-
"include": [
|
|
32
|
-
"build/src/**/*.js"
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
"repository": {
|
|
36
|
-
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/abaplint/abaplint.git"
|
|
38
|
-
},
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=12.0.0"
|
|
41
|
-
},
|
|
42
|
-
"keywords": [
|
|
43
|
-
"ABAP",
|
|
44
|
-
"lint"
|
|
45
|
-
],
|
|
46
|
-
"author": "Lars Hvam Petersen",
|
|
47
|
-
"license": "MIT",
|
|
48
|
-
"bugs": {
|
|
49
|
-
"url": "https://github.com/abaplint/abaplint/issues"
|
|
50
|
-
},
|
|
51
|
-
"homepage": "https://abaplint.org",
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@microsoft/api-extractor": "^7.48.0",
|
|
54
|
-
"@types/chai": "^4.3.20",
|
|
55
|
-
"@types/mocha": "^10.0.10",
|
|
56
|
-
"@types/node": "^22.10.1",
|
|
57
|
-
"chai": "^4.5.0",
|
|
58
|
-
"eslint": "^9.15.0",
|
|
59
|
-
"mocha": "^10.8.2",
|
|
60
|
-
"c8": "^10.1.2",
|
|
61
|
-
"source-map-support": "^0.5.21",
|
|
62
|
-
"ts-json-schema-generator": "^2.3.0",
|
|
63
|
-
"typescript": "^5.7.2"
|
|
64
|
-
},
|
|
65
|
-
"dependencies": {
|
|
66
|
-
"fast-xml-parser": "^4.5.0",
|
|
67
|
-
"json5": "^2.2.3",
|
|
68
|
-
"vscode-languageserver-types": "^3.17.5"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abaplint/core",
|
|
3
|
+
"version": "2.113.69",
|
|
4
|
+
"description": "abaplint - Core API",
|
|
5
|
+
"main": "build/src/index.js",
|
|
6
|
+
"typings": "build/abaplint.d.ts",
|
|
7
|
+
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"lint": "eslint src/**/*.ts test/**/*.ts",
|
|
10
|
+
"lint:fix": "eslint src/**/*.ts test/**/*.ts --fix",
|
|
11
|
+
"compile": "tsc && sh scripts/version.sh",
|
|
12
|
+
"test": "npm run compile && mocha --timeout 1000 && npm run lint && npm run schema && api-extractor run",
|
|
13
|
+
"test:only": "npm run compile && mocha --timeout 1000000",
|
|
14
|
+
"test:parallel": "npm run compile && mocha --timeout 1000 --parallel --reporter dot",
|
|
15
|
+
"coverage": "npm run compile && c8 mocha && c8 report --reporter=html",
|
|
16
|
+
"lexer_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/lexer_performance.js",
|
|
17
|
+
"parser_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/parser_performance.js",
|
|
18
|
+
"syntax_performance": "tsc && curl -o lexer_performance.abap https://raw.githubusercontent.com/abapGit/build/main/zabapgit_standalone.prog.abap && node build/adhoc/syntax_performance.js",
|
|
19
|
+
"typed_array": "tsc && node build/adhoc/typed_array.js",
|
|
20
|
+
"schema": "node scripts/schema.js > scripts/schema.ts && ts-json-schema-generator --tsconfig tsconfig_schema.json --jsDoc extended --path scripts/schema.ts > scripts/schema.json && node scripts/schema_post.js",
|
|
21
|
+
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
22
|
+
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public"
|
|
23
|
+
},
|
|
24
|
+
"mocha": {
|
|
25
|
+
"recursive": true,
|
|
26
|
+
"reporter": "progress",
|
|
27
|
+
"spec": "build/test/**/*.js",
|
|
28
|
+
"require": "source-map-support/register"
|
|
29
|
+
},
|
|
30
|
+
"c8": {
|
|
31
|
+
"include": [
|
|
32
|
+
"build/src/**/*.js"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"repository": {
|
|
36
|
+
"type": "git",
|
|
37
|
+
"url": "git+https://github.com/abaplint/abaplint.git"
|
|
38
|
+
},
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=12.0.0"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"ABAP",
|
|
44
|
+
"lint"
|
|
45
|
+
],
|
|
46
|
+
"author": "Lars Hvam Petersen",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"bugs": {
|
|
49
|
+
"url": "https://github.com/abaplint/abaplint/issues"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://abaplint.org",
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@microsoft/api-extractor": "^7.48.0",
|
|
54
|
+
"@types/chai": "^4.3.20",
|
|
55
|
+
"@types/mocha": "^10.0.10",
|
|
56
|
+
"@types/node": "^22.10.1",
|
|
57
|
+
"chai": "^4.5.0",
|
|
58
|
+
"eslint": "^9.15.0",
|
|
59
|
+
"mocha": "^10.8.2",
|
|
60
|
+
"c8": "^10.1.2",
|
|
61
|
+
"source-map-support": "^0.5.21",
|
|
62
|
+
"ts-json-schema-generator": "^2.3.0",
|
|
63
|
+
"typescript": "^5.7.2"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"fast-xml-parser": "^4.5.0",
|
|
67
|
+
"json5": "^2.2.3",
|
|
68
|
+
"vscode-languageserver-types": "^3.17.5"
|
|
69
|
+
}
|
|
70
|
+
}
|