@abaplint/cli 2.113.112 → 2.113.114

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.
Files changed (2) hide show
  1. package/build/cli.js +10 -13
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -53,7 +53,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
53
53
  exports.CompressedFile = void 0;
54
54
  const core_1 = __webpack_require__(/*! @abaplint/core */ "./node_modules/@abaplint/core/build/src/index.js");
55
55
  const zlib = __webpack_require__(/*! zlib */ "zlib");
56
- class CompressedFile extends core_1.Files.AbstractFile {
56
+ class CompressedFile extends core_1.AbstractFile {
57
57
  constructor(filename, compressed) {
58
58
  super(filename);
59
59
  this.compressed = compressed;
@@ -120,7 +120,7 @@ class FileOperations {
120
120
  files.push(new compressed_file_1.CompressedFile(filename, zlib.deflateSync(raw).toString("base64")));
121
121
  }
122
122
  else {
123
- files.push(new core_1.Files.MemoryFile(filename, raw));
123
+ files.push(new core_1.MemoryFile(filename, raw));
124
124
  }
125
125
  }
126
126
  return files;
@@ -1038,7 +1038,7 @@ async function run(arg) {
1038
1038
  }
1039
1039
  }
1040
1040
  catch (error) {
1041
- const file = new core_1.Files.MemoryFile("generic", "dummy");
1041
+ const file = new core_1.MemoryFile("generic", "dummy");
1042
1042
  const message = error.toString() + " " + ((_b = (_a = error.stack) === null || _a === void 0 ? void 0 : _a.split("\n")[1]) === null || _b === void 0 ? void 0 : _b.trim());
1043
1043
  const issue = core_1.Issue.atPosition(file, new core_1.Position(1, 1), message, exports.GENERIC_ERROR);
1044
1044
  issues = [issue];
@@ -4601,7 +4601,7 @@ exports.ComponentName = void 0;
4601
4601
  const combi_1 = __webpack_require__(/*! ../combi */ "./node_modules/@abaplint/core/build/src/abap/2_statements/combi.js");
4602
4602
  class ComponentName extends combi_1.Expression {
4603
4603
  getRunnable() {
4604
- return (0, combi_1.regex)(/^\w*(\/\w+\/)*[\w\d_%$\*\~]+$/);
4604
+ return (0, combi_1.regex)(/^[\/\w\d_%$\*\~]+$/);
4605
4605
  }
4606
4606
  }
4607
4607
  exports.ComponentName = ComponentName;
@@ -43065,8 +43065,8 @@ exports.MemoryFile = MemoryFile;
43065
43065
  "use strict";
43066
43066
 
43067
43067
  Object.defineProperty(exports, "__esModule", ({ value: true }));
43068
- exports.Info = exports.Diagnostics = exports.Rename = exports.PrettyPrinter = exports.Position = exports.CurrentScope = exports.RulesRunner = exports.SpaghettiScope = exports.SyntaxLogic = exports.ABAPObject = exports.Tokens = exports.ExpressionsCDS = exports.CDSParser = exports.LanguageServerTypes = exports.DDLParser = exports.Files = exports.Edits = exports.ReferenceType = exports.NativeSQL = exports.MacroContent = exports.MacroCall = exports.SpaghettiScopeNode = exports.Token = exports.ScopeType = exports.BasicTypes = exports.TypedIdentifier = exports.AbstractType = exports.VirtualPosition = exports.Comment = exports.Unknown = exports.Empty = exports.Identifier = exports.Nodes = exports.Types = exports.Expressions = exports.Statements = exports.Structures = exports.SkipLogic = exports.Objects = exports.ArtifactsRules = exports.ArtifactsObjects = exports.ArtifactsABAP = exports.BuiltIn = exports.MethodLengthStats = exports.LanguageServer = exports.Registry = exports.CyclomaticComplexityStats = exports.Version = exports.Config = exports.Issue = void 0;
43069
- exports.LSPEdit = exports.RuleTag = exports.Severity = exports.Visibility = void 0;
43068
+ exports.Rename = exports.PrettyPrinter = exports.Position = exports.CurrentScope = exports.RulesRunner = exports.SpaghettiScope = exports.SyntaxLogic = exports.ABAPObject = exports.Tokens = exports.ExpressionsCDS = exports.CDSParser = exports.LanguageServerTypes = exports.DDLParser = exports.AbstractFile = exports.ABAPFile = exports.MemoryFile = exports.Edits = exports.ReferenceType = exports.NativeSQL = exports.MacroContent = exports.MacroCall = exports.SpaghettiScopeNode = exports.Token = exports.ScopeType = exports.BasicTypes = exports.TypedIdentifier = exports.AbstractType = exports.VirtualPosition = exports.Comment = exports.Unknown = exports.Empty = exports.Identifier = exports.Nodes = exports.Types = exports.Expressions = exports.Statements = exports.Structures = exports.SkipLogic = exports.Objects = exports.ArtifactsRules = exports.ArtifactsObjects = exports.ArtifactsABAP = exports.BuiltIn = exports.MethodLengthStats = exports.LanguageServer = exports.Registry = exports.CyclomaticComplexityStats = exports.Version = exports.Config = exports.Issue = void 0;
43069
+ exports.LSPEdit = exports.RuleTag = exports.Severity = exports.Visibility = exports.Info = exports.Diagnostics = void 0;
43070
43070
  const issue_1 = __webpack_require__(/*! ./issue */ "./node_modules/@abaplint/core/build/src/issue.js");
43071
43071
  Object.defineProperty(exports, "Issue", ({ enumerable: true, get: function () { return issue_1.Issue; } }));
43072
43072
  const config_1 = __webpack_require__(/*! ./config */ "./node_modules/@abaplint/core/build/src/config.js");
@@ -43127,6 +43127,7 @@ Object.defineProperty(exports, "Position", ({ enumerable: true, get: function ()
43127
43127
  const virtual_position_1 = __webpack_require__(/*! ./virtual_position */ "./node_modules/@abaplint/core/build/src/virtual_position.js");
43128
43128
  Object.defineProperty(exports, "VirtualPosition", ({ enumerable: true, get: function () { return virtual_position_1.VirtualPosition; } }));
43129
43129
  const _abstract_file_1 = __webpack_require__(/*! ./files/_abstract_file */ "./node_modules/@abaplint/core/build/src/files/_abstract_file.js");
43130
+ Object.defineProperty(exports, "AbstractFile", ({ enumerable: true, get: function () { return _abstract_file_1.AbstractFile; } }));
43130
43131
  const pretty_printer_1 = __webpack_require__(/*! ./pretty_printer/pretty_printer */ "./node_modules/@abaplint/core/build/src/pretty_printer/pretty_printer.js");
43131
43132
  Object.defineProperty(exports, "PrettyPrinter", ({ enumerable: true, get: function () { return pretty_printer_1.PrettyPrinter; } }));
43132
43133
  const _statement_1 = __webpack_require__(/*! ./abap/2_statements/statements/_statement */ "./node_modules/@abaplint/core/build/src/abap/2_statements/statements/_statement.js");
@@ -43140,7 +43141,9 @@ const edit_helper_1 = __webpack_require__(/*! ./edit_helper */ "./node_modules/@
43140
43141
  const _builtin_1 = __webpack_require__(/*! ./abap/5_syntax/_builtin */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_builtin.js");
43141
43142
  Object.defineProperty(exports, "BuiltIn", ({ enumerable: true, get: function () { return _builtin_1.BuiltIn; } }));
43142
43143
  const abap_file_1 = __webpack_require__(/*! ./abap/abap_file */ "./node_modules/@abaplint/core/build/src/abap/abap_file.js");
43144
+ Object.defineProperty(exports, "ABAPFile", ({ enumerable: true, get: function () { return abap_file_1.ABAPFile; } }));
43143
43145
  const memory_file_1 = __webpack_require__(/*! ./files/memory_file */ "./node_modules/@abaplint/core/build/src/files/memory_file.js");
43146
+ Object.defineProperty(exports, "MemoryFile", ({ enumerable: true, get: function () { return memory_file_1.MemoryFile; } }));
43144
43147
  const renamer_1 = __webpack_require__(/*! ./objects/rename/renamer */ "./node_modules/@abaplint/core/build/src/objects/rename/renamer.js");
43145
43148
  Object.defineProperty(exports, "Rename", ({ enumerable: true, get: function () { return renamer_1.Renamer; } }));
43146
43149
  const Info = __webpack_require__(/*! ./abap/4_file_information/_abap_file_information */ "./node_modules/@abaplint/core/build/src/abap/4_file_information/_abap_file_information.js");
@@ -43176,12 +43179,6 @@ const Edits = {
43176
43179
  applyEditList: edit_helper_1.applyEditList,
43177
43180
  };
43178
43181
  exports.Edits = Edits;
43179
- const Files = {
43180
- MemoryFile: memory_file_1.MemoryFile,
43181
- ABAPFile: abap_file_1.ABAPFile,
43182
- AbstractFile: _abstract_file_1.AbstractFile,
43183
- };
43184
- exports.Files = Files;
43185
43182
  //# sourceMappingURL=index.js.map
43186
43183
 
43187
43184
  /***/ }),
@@ -53928,7 +53925,7 @@ class Registry {
53928
53925
  }
53929
53926
  static abaplintVersion() {
53930
53927
  // magic, see build script "version.sh"
53931
- return "2.113.112";
53928
+ return "2.113.114";
53932
53929
  }
53933
53930
  getDDICReferences() {
53934
53931
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.112",
3
+ "version": "2.113.114",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.112",
41
+ "@abaplint/core": "^2.113.114",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",