@abaplint/core 2.95.6 → 2.95.8

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.
@@ -63,9 +63,9 @@ class ABAPObject extends _abstract_object_1.AbstractObject {
63
63
  return this.texts;
64
64
  }
65
65
  findTexts(parsed) {
66
- var _a, _b;
66
+ var _a, _b, _c, _d;
67
67
  this.texts = {};
68
- if (((_b = (_a = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit["asx:abap"]["asx:values"]) === null || _a === void 0 ? void 0 : _a.TPOOL) === null || _b === void 0 ? void 0 : _b.item) === undefined) {
68
+ if (((_d = (_c = (_b = (_a = parsed === null || parsed === void 0 ? void 0 : parsed.abapGit) === null || _a === void 0 ? void 0 : _a["asx:abap"]) === null || _b === void 0 ? void 0 : _b["asx:values"]) === null || _c === void 0 ? void 0 : _c.TPOOL) === null || _d === void 0 ? void 0 : _d.item) === undefined) {
69
69
  return;
70
70
  }
71
71
  for (const t of (0, xml_utils_1.xmlToArray)(parsed.abapGit["asx:abap"]["asx:values"].TPOOL.item)) {
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.95.6";
66
+ return "2.95.8";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
@@ -28,10 +28,12 @@ https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-is-n
28
28
  tags: [_irule_1.RuleTag.Styleguide, _irule_1.RuleTag.Quickfix, _irule_1.RuleTag.SingleFile],
29
29
  goodExample: `IF variable IS NOT INITIAL.
30
30
  IF variable NP 'TODO*'.
31
- IF variable <> 42.`,
31
+ IF variable <> 42.
32
+ IF variable CO 'hello'.`,
32
33
  badExample: `IF NOT variable IS INITIAL.
33
34
  IF NOT variable CP 'TODO*'.
34
- IF NOT variable = 42.`,
35
+ IF NOT variable = 42.
36
+ IF NOT variable CA 'hello'.`,
35
37
  };
36
38
  }
37
39
  getConfig() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.95.6",
3
+ "version": "2.95.8",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",
@@ -47,12 +47,12 @@
47
47
  },
48
48
  "homepage": "https://abaplint.org",
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.33.8",
50
+ "@microsoft/api-extractor": "^7.34.0",
51
51
  "@types/chai": "^4.3.4",
52
52
  "@types/mocha": "^10.0.1",
53
53
  "@types/node": "^18.11.18",
54
54
  "chai": "^4.3.7",
55
- "eslint": "^8.32.0",
55
+ "eslint": "^8.33.0",
56
56
  "mocha": "^10.2.0",
57
57
  "c8": "^7.12.0",
58
58
  "source-map-support": "^0.5.21",
@@ -60,7 +60,7 @@
60
60
  "typescript": "^4.9.4"
61
61
  },
62
62
  "dependencies": {
63
- "fast-xml-parser": "^4.0.13",
63
+ "fast-xml-parser": "^4.0.15",
64
64
  "json5": "^2.2.3",
65
65
  "vscode-languageserver-types": "^3.17.2"
66
66
  }