@wuchale/jsx 0.8.1 → 0.8.2

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.
@@ -36,6 +36,7 @@ export class JSXTransformer extends Transformer {
36
36
  // @ts-expect-error
37
37
  && node.expression.end > node.expression.start,
38
38
  isText: node => node.type === 'JSXText',
39
+ leaveInPlace: () => false,
39
40
  isExpression: node => node.type === 'JSXExpressionContainer',
40
41
  getTextContent: (node) => node.value,
41
42
  getCommentData: (node) => this.getMarkupCommentBody(node.expression),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wuchale/jsx",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Protobuf-like i18n from plain code: JSX adapter",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",
@@ -71,11 +71,11 @@
71
71
  "dependencies": {
72
72
  "@sveltejs/acorn-typescript": "^1.0.6",
73
73
  "acorn": "^8.15.0",
74
- "wuchale": "^0.17.1"
74
+ "wuchale": "^0.17.4"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/estree-jsx": "^1.0.5",
78
- "typescript": "^5.8.3"
78
+ "typescript": "^5.9.3"
79
79
  },
80
80
  "type": "module"
81
81
  }