@salesforce/apex-tmlanguage 1.8.3 → 2.0.1

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.
@@ -3798,7 +3798,7 @@
3798
3798
  <key>conditional-operator</key>
3799
3799
  <dict>
3800
3800
  <key>begin</key>
3801
- <string>(?&lt;!\?)\?(?!\?|\.|\[)</string>
3801
+ <string>(?&lt;!\?)\?(?!\?|\.(?!\d)|\[)</string>
3802
3802
  <key>beginCaptures</key>
3803
3803
  <dict>
3804
3804
  <key>0</key>
@@ -2242,7 +2242,7 @@ repository:
2242
2242
  }
2243
2243
  ]
2244
2244
  'conditional-operator':
2245
- begin: '(?<!\\?)\\?(?!\\?|\\.|\\[)'
2245
+ begin: '(?<!\\?)\\?(?!\\?|\\.(?!\\d)|\\[)'
2246
2246
  beginCaptures:
2247
2247
  '0':
2248
2248
  name: 'keyword.operator.conditional.question-mark.apex'
@@ -3780,7 +3780,7 @@
3780
3780
  <key>conditional-operator</key>
3781
3781
  <dict>
3782
3782
  <key>begin</key>
3783
- <string>(?&lt;!\?)\?(?!\?|\.|\[)</string>
3783
+ <string>(?&lt;!\?)\?(?!\?|\.(?!\d)|\[)</string>
3784
3784
  <key>beginCaptures</key>
3785
3785
  <dict>
3786
3786
  <key>0</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/apex-tmlanguage",
3
- "version": "1.8.3",
3
+ "version": "2.0.1",
4
4
  "description": "Textmate grammar for Apex with outputs for VSCode, Atom and TextMate.",
5
5
  "displayName": "apex-tmLanguage",
6
6
  "keywords": [
@@ -36,8 +36,6 @@
36
36
  "build:soql": "node scripts/build-soql.js",
37
37
  "build": "npm run build:grammars && npm run build:atom && npm run build:soql",
38
38
  "compile": "tsc -p .",
39
- "commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force",
40
- "commit": "git-cz",
41
39
  "watch": "tsc -w -p .",
42
40
  "test:soql-tmgrammar": "vscode-tmgrammar-test -g \"./grammars/soql.tmLanguage\" \"./test/soql/*.soql\" ",
43
41
  "test:soql-tmgrammar-snapshots": "vscode-tmgrammar-snap -s source.soql -g \"./grammars/soql.tmLanguage\" \"./test/soql/snapshots/*.soql\" ",
@@ -51,33 +49,27 @@
51
49
  "README.md"
52
50
  ],
53
51
  "engines": {
54
- "node": ">=16"
52
+ "node": ">=20"
55
53
  },
56
54
  "devDependencies": {
57
- "@commitlint/cli": "^17",
58
- "@commitlint/config-conventional": "^17",
55
+ "@commitlint/cli": "^20",
56
+ "@commitlint/config-conventional": "^20",
59
57
  "@types/chai": "4.3.4",
60
58
  "@types/mocha": "^10.0.10",
61
59
  "chai": "^4.3.7",
62
- "commitizen": "^4.3.1",
63
60
  "cson-parser": "^4.0.9",
64
61
  "cz-conventional-changelog": "^3.3.0",
65
- "js-yaml": "^4.1.0",
66
- "mocha": "^10.1.0",
62
+ "js-yaml": "^4.1.1",
63
+ "mocha": "^11.7.5",
67
64
  "plist": "^3.1.0",
68
- "prettier": "^2.8.0",
65
+ "prettier": "^3.6.2",
69
66
  "typescript": "4.9.3",
70
- "vscode-textmate": "^9.2.0",
67
+ "vscode-textmate": "^9.2.1",
71
68
  "vscode-tmgrammar-test": "^0.1.3"
72
69
  },
73
70
  "husky": {
74
71
  "hooks": {
75
72
  "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
76
73
  }
77
- },
78
- "config": {
79
- "commitizen": {
80
- "path": "./node_modules/cz-conventional-changelog"
81
- }
82
74
  }
83
75
  }