wuchale 0.17.4 → 0.17.5

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.
@@ -43,6 +43,7 @@ export declare class Transformer {
43
43
  visitProperty: (node: Estree.Property) => Message[];
44
44
  visitSpreadElement: (node: Estree.SpreadElement) => Message[];
45
45
  visitMemberExpression: (node: Estree.MemberExpression) => Message[];
46
+ visitChainExpression: (node: Estree.ChainExpression) => Message[];
46
47
  visitNewExpression: (node: Estree.NewExpression) => Message[];
47
48
  defaultVisitCallExpression: (node: Estree.CallExpression) => Message[];
48
49
  visitCallExpression: (node: Estree.CallExpression) => Message[];
@@ -168,6 +168,7 @@ export class Transformer {
168
168
  ...this.visit(node.object),
169
169
  ...this.visit(node.property),
170
170
  ];
171
+ visitChainExpression = (node) => this.visit(node.expression);
171
172
  visitNewExpression = (node) => node.arguments.map(this.visit).flat();
172
173
  defaultVisitCallExpression = (node) => {
173
174
  const msgs = this.visit(node.callee);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wuchale",
3
- "version": "0.17.4",
3
+ "version": "0.17.5",
4
4
  "description": "Protobuf-like i18n from plain code",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",
@@ -83,7 +83,7 @@
83
83
  "tinyglobby": "^0.2.15"
84
84
  },
85
85
  "devDependencies": {
86
- "@types/node": "^24.7.2",
86
+ "@types/node": "^24.8.1",
87
87
  "@types/picomatch": "^4.0.1",
88
88
  "typescript": "^5.9.3"
89
89
  },