@abaplint/cli 2.113.151 → 2.113.153

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 +25 -14
  2. package/package.json +8 -8
package/build/cli.js CHANGED
@@ -966,9 +966,14 @@ async function loadDependencies(config, compress, bar, base) {
966
966
  continue;
967
967
  }
968
968
  }
969
+ const toUnixPath = (path) => path.replace(/[\\/]+/g, "/").replace(/^([a-zA-Z]+:|\.\/)/, "");
969
970
  if (d.url) {
970
971
  process.stderr.write("Clone: " + d.url + "\n");
971
- const dir = fs.mkdtempSync(path.join(os.tmpdir(), "abaplint-"));
972
+ let dir = fs.mkdtempSync(path.join(os.tmpdir(), "abaplint-"));
973
+ if (os.platform() === "win32") {
974
+ // must be converted to posix for glob patterns like "/{foo,src}/**/*.*" to work
975
+ dir = toUnixPath(dir);
976
+ }
972
977
  let branch = "";
973
978
  if (d.branch) {
974
979
  branch = "-b " + d.branch + " ";
@@ -34092,6 +34097,7 @@ const target_1 = __webpack_require__(/*! ../expressions/target */ "./node_module
34092
34097
  const dynamic_1 = __webpack_require__(/*! ../expressions/dynamic */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/dynamic.js");
34093
34098
  const basic_1 = __webpack_require__(/*! ../../types/basic */ "./node_modules/@abaplint/core/build/src/abap/types/basic/index.js");
34094
34099
  const _syntax_input_1 = __webpack_require__(/*! ../_syntax_input */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/_syntax_input.js");
34100
+ const component_chain_1 = __webpack_require__(/*! ../expressions/component_chain */ "./node_modules/@abaplint/core/build/src/abap/5_syntax/expressions/component_chain.js");
34095
34101
  class Sort {
34096
34102
  runSyntax(node, input) {
34097
34103
  var _a, _b;
@@ -34112,23 +34118,24 @@ class Sort {
34112
34118
  && !(rowType instanceof basic_1.UnknownType)
34113
34119
  && !(rowType instanceof basic_1.AnyType)) {
34114
34120
  for (const component of node.findAllExpressions(Expressions.ComponentChain)) {
34121
+ component_chain_1.ComponentChain.runSyntax(rowType, component, input);
34122
+ /*
34115
34123
  if (component.getChildren().length > 1) {
34116
- continue;
34124
+ continue;
34117
34125
  }
34118
34126
  const cname = component.concatTokens().toUpperCase();
34119
34127
  if (cname === "TABLE_LINE") {
34120
- continue;
34121
- }
34122
- else if (!(rowType instanceof basic_1.StructureType)) {
34123
- const message = "SORT, table row is not structured";
34124
- input.issues.push((0, _syntax_input_1.syntaxIssue)(input, tnode.getFirstToken(), message));
34125
- return;
34126
- }
34127
- else if (rowType.getComponentByName(cname) === undefined) {
34128
- const message = `Field ${cname} does not exist in table row structure`;
34129
- input.issues.push((0, _syntax_input_1.syntaxIssue)(input, node.getFirstToken(), message));
34130
- return;
34128
+ continue;
34129
+ } else if (!(rowType instanceof StructureType)) {
34130
+ const message = "SORT, table row is not structured";
34131
+ input.issues.push(syntaxIssue(input, tnode.getFirstToken(), message));
34132
+ return;
34133
+ } else if (rowType.getComponentByName(cname) === undefined) {
34134
+ const message = `Field ${cname} does not exist in table row structure`;
34135
+ input.issues.push(syntaxIssue(input, node.getFirstToken(), message));
34136
+ return;
34131
34137
  }
34138
+ */
34132
34139
  }
34133
34140
  }
34134
34141
  }
@@ -54696,7 +54703,7 @@ class Registry {
54696
54703
  }
54697
54704
  static abaplintVersion() {
54698
54705
  // magic, see build script "version.sh"
54699
- return "2.113.151";
54706
+ return "2.113.153";
54700
54707
  }
54701
54708
  getDDICReferences() {
54702
54709
  return this.ddicReferences;
@@ -79349,6 +79356,10 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
79349
79356
  return 3;
79350
79357
  }
79351
79358
 
79359
+ if (env.TERM === 'xterm-ghostty') {
79360
+ return 3;
79361
+ }
79362
+
79352
79363
  if ('TERM_PROGRAM' in env) {
79353
79364
  const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
79354
79365
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.151",
3
+ "version": "2.113.153",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,24 +38,24 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.151",
41
+ "@abaplint/core": "^2.113.153",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",
45
- "@types/node": "^24.1.0",
45
+ "@types/node": "^24.2.0",
46
46
  "@types/progress": "^2.0.7",
47
47
  "chai": "^4.5.0",
48
48
  "p-limit": "^3.1.0",
49
- "chalk": "^5.4.1",
50
- "eslint": "^9.31.0",
49
+ "chalk": "^5.5.0",
50
+ "eslint": "^9.32.0",
51
51
  "glob": "^11.0.3",
52
52
  "json5": "^2.2.3",
53
- "memfs": "^4.17.2",
53
+ "memfs": "^4.36.0",
54
54
  "minimist": "^1.2.8",
55
55
  "mocha": "^11.7.1",
56
56
  "progress": "^2.0.3",
57
- "typescript": "^5.8.3",
58
- "webpack": "^5.100.2",
57
+ "typescript": "^5.9.2",
58
+ "webpack": "^5.101.0",
59
59
  "webpack-cli": "^6.0.1",
60
60
  "xml-js": "^1.6.11"
61
61
  }