gt 2.8.0-alpha.0 → 2.8.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # gtx-cli
2
2
 
3
+ ## 2.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1088](https://github.com/generaltranslation/gt/pull/1088) [`2cad388`](https://github.com/generaltranslation/gt/commit/2cad38875e4dccdd7d90de3eba6997eb75371db3) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - feat: add python support for registration
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`2cad388`](https://github.com/generaltranslation/gt/commit/2cad38875e4dccdd7d90de3eba6997eb75371db3)]:
12
+ - @generaltranslation/python-extractor@0.1.0
13
+
3
14
  ## 2.7.1
4
15
 
5
16
  ### Patch Changes
@@ -60,8 +60,16 @@ function findMatchingBracket(content, startIndex, openBracket, closeBracket) {
60
60
  inString = true;
61
61
  stringChar = ch;
62
62
  }
63
- else if (inString && ch === stringChar && content[i - 1] !== '\\') {
64
- inString = false;
63
+ else if (inString && ch === stringChar) {
64
+ // Count consecutive backslashes before this quote
65
+ let backslashes = 0;
66
+ let j = i - 1;
67
+ while (j >= 0 && content[j] === '\\') {
68
+ backslashes++;
69
+ j--;
70
+ }
71
+ if (backslashes % 2 === 0)
72
+ inString = false;
65
73
  }
66
74
  if (inString)
67
75
  continue;
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "2.8.0-alpha.0";
1
+ export declare const PACKAGE_VERSION = "2.8.0";
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const PACKAGE_VERSION = '2.8.0-alpha.0';
2
+ export const PACKAGE_VERSION = '2.8.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt",
3
- "version": "2.8.0-alpha.0",
3
+ "version": "2.8.0",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "files": [
@@ -92,7 +92,6 @@
92
92
  "esbuild": "^0.27.2",
93
93
  "fast-glob": "^3.3.3",
94
94
  "fast-json-stable-stringify": "^2.1.0",
95
- "@generaltranslation/python-extractor": "0.0.1-alpha.0",
96
95
  "html-entities": "^2.6.0",
97
96
  "json-pointer": "^0.6.2",
98
97
  "jsonpath-plus": "^10.3.0",
@@ -111,8 +110,9 @@
111
110
  "unified": "^11.0.5",
112
111
  "unist-util-visit": "^5.0.0",
113
112
  "yaml": "^2.8.0",
114
- "generaltranslation": "8.1.14",
115
- "gt-remark": "1.0.5"
113
+ "gt-remark": "1.0.5",
114
+ "@generaltranslation/python-extractor": "0.1.0",
115
+ "generaltranslation": "8.1.14"
116
116
  },
117
117
  "devDependencies": {
118
118
  "@babel/types": "^7.28.4",