webstudio 0.229.0 → 0.231.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/lib/cli.js CHANGED
@@ -3538,6 +3538,17 @@ var transpileExpression = ({
3538
3538
  const dotIndex = expression.indexOf("[", node.object.end);
3539
3539
  replacements.push([dotIndex, dotIndex, "?."]);
3540
3540
  }
3541
+ },
3542
+ CallExpression(node) {
3543
+ if (executable === false || node.optional) {
3544
+ return;
3545
+ }
3546
+ if (node.callee.type === "MemberExpression") {
3547
+ const openParenIndex = expression.indexOf("(", node.callee.end);
3548
+ if (openParenIndex !== -1) {
3549
+ replacements.push([openParenIndex, openParenIndex, "?."]);
3550
+ }
3551
+ }
3541
3552
  }
3542
3553
  });
3543
3554
  replacements.sort(([leftStart], [rightStart]) => rightStart - leftStart);
@@ -9087,7 +9098,7 @@ const getDeploymentInstructions = (deployTarget) => {
9087
9098
  }
9088
9099
  };
9089
9100
  const name = "webstudio";
9090
- const version = "0.229.0";
9101
+ const version = "0.231.0";
9091
9102
  const description = "Webstudio CLI";
9092
9103
  const author = "Webstudio <github@webstudio.is>";
9093
9104
  const homepage = "https://webstudio.is";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webstudio",
3
- "version": "0.229.0",
3
+ "version": "0.231.0",
4
4
  "description": "Webstudio CLI",
5
5
  "author": "Webstudio <github@webstudio.is>",
6
6
  "homepage": "https://webstudio.is",
@@ -70,17 +70,17 @@
70
70
  "vite": "^6.3.4",
71
71
  "vitest": "^3.1.2",
72
72
  "wrangler": "^3.63.2",
73
- "@webstudio-is/css-engine": "0.229.0",
74
- "@webstudio-is/http-client": "0.229.0",
75
- "@webstudio-is/image": "0.229.0",
76
- "@webstudio-is/react-sdk": "0.229.0",
77
- "@webstudio-is/sdk": "0.229.0",
78
- "@webstudio-is/sdk-components-react-radix": "0.229.0",
79
- "@webstudio-is/sdk-components-animation": "0.229.0",
80
- "@webstudio-is/sdk-components-react-remix": "0.229.0",
81
- "@webstudio-is/sdk-components-react": "0.229.0",
82
- "@webstudio-is/tsconfig": "1.0.7",
83
- "@webstudio-is/sdk-components-react-router": "0.229.0"
73
+ "@webstudio-is/css-engine": "0.231.0",
74
+ "@webstudio-is/http-client": "0.231.0",
75
+ "@webstudio-is/image": "0.231.0",
76
+ "@webstudio-is/sdk": "0.231.0",
77
+ "@webstudio-is/sdk-components-animation": "0.231.0",
78
+ "@webstudio-is/sdk-components-react": "0.231.0",
79
+ "@webstudio-is/react-sdk": "0.231.0",
80
+ "@webstudio-is/sdk-components-react-radix": "0.231.0",
81
+ "@webstudio-is/sdk-components-react-remix": "0.231.0",
82
+ "@webstudio-is/sdk-components-react-router": "0.231.0",
83
+ "@webstudio-is/tsconfig": "1.0.7"
84
84
  },
85
85
  "scripts": {
86
86
  "typecheck": "tsc",
@@ -11,13 +11,13 @@
11
11
  "@remix-run/node": "2.16.5",
12
12
  "@remix-run/react": "2.16.5",
13
13
  "@remix-run/server-runtime": "2.16.5",
14
- "@webstudio-is/image": "0.229.0",
15
- "@webstudio-is/react-sdk": "0.229.0",
16
- "@webstudio-is/sdk": "0.229.0",
17
- "@webstudio-is/sdk-components-react": "0.229.0",
18
- "@webstudio-is/sdk-components-animation": "0.229.0",
19
- "@webstudio-is/sdk-components-react-radix": "0.229.0",
20
- "@webstudio-is/sdk-components-react-remix": "0.229.0",
14
+ "@webstudio-is/image": "0.231.0",
15
+ "@webstudio-is/react-sdk": "0.231.0",
16
+ "@webstudio-is/sdk": "0.231.0",
17
+ "@webstudio-is/sdk-components-react": "0.231.0",
18
+ "@webstudio-is/sdk-components-animation": "0.231.0",
19
+ "@webstudio-is/sdk-components-react-radix": "0.231.0",
20
+ "@webstudio-is/sdk-components-react-remix": "0.231.0",
21
21
  "isbot": "^5.1.25",
22
22
  "react": "18.3.0-canary-14898b6a9-20240318",
23
23
  "react-dom": "18.3.0-canary-14898b6a9-20240318"
@@ -10,13 +10,13 @@
10
10
  "dependencies": {
11
11
  "@react-router/dev": "^7.5.3",
12
12
  "@react-router/fs-routes": "^7.5.3",
13
- "@webstudio-is/image": "0.229.0",
14
- "@webstudio-is/react-sdk": "0.229.0",
15
- "@webstudio-is/sdk": "0.229.0",
16
- "@webstudio-is/sdk-components-animation": "0.229.0",
17
- "@webstudio-is/sdk-components-react-radix": "0.229.0",
18
- "@webstudio-is/sdk-components-react-router": "0.229.0",
19
- "@webstudio-is/sdk-components-react": "0.229.0",
13
+ "@webstudio-is/image": "0.231.0",
14
+ "@webstudio-is/react-sdk": "0.231.0",
15
+ "@webstudio-is/sdk": "0.231.0",
16
+ "@webstudio-is/sdk-components-animation": "0.231.0",
17
+ "@webstudio-is/sdk-components-react-radix": "0.231.0",
18
+ "@webstudio-is/sdk-components-react-router": "0.231.0",
19
+ "@webstudio-is/sdk-components-react": "0.231.0",
20
20
  "isbot": "^5.1.25",
21
21
  "react": "18.3.0-canary-14898b6a9-20240318",
22
22
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
@@ -8,12 +8,12 @@
8
8
  "typecheck": "tsc"
9
9
  },
10
10
  "dependencies": {
11
- "@webstudio-is/image": "0.229.0",
12
- "@webstudio-is/react-sdk": "0.229.0",
13
- "@webstudio-is/sdk": "0.229.0",
14
- "@webstudio-is/sdk-components-react": "0.229.0",
15
- "@webstudio-is/sdk-components-animation": "0.229.0",
16
- "@webstudio-is/sdk-components-react-radix": "0.229.0",
11
+ "@webstudio-is/image": "0.231.0",
12
+ "@webstudio-is/react-sdk": "0.231.0",
13
+ "@webstudio-is/sdk": "0.231.0",
14
+ "@webstudio-is/sdk-components-react": "0.231.0",
15
+ "@webstudio-is/sdk-components-animation": "0.231.0",
16
+ "@webstudio-is/sdk-components-react-radix": "0.231.0",
17
17
  "react": "18.3.0-canary-14898b6a9-20240318",
18
18
  "react-dom": "18.3.0-canary-14898b6a9-20240318",
19
19
  "vike": "^0.4.229"