Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

refactor: move expressions into base sdk (#3032)

Bogdan Chadkindad898e6a4f2
diff --git a/apps/builder/app/builder/features/settings-panel/controls/json.tsx b/apps/builder/app/builder/features/settings-panel/controls/json.tsx
index d16220727a..ed60e8b804 100644
--- a/apps/builder/app/builder/features/settings-panel/controls/json.tsx
+++ b/apps/builder/app/builder/features/settings-panel/controls/json.tsx
@@ -1,5 +1,6 @@
+import { useState } from "react";
import { useStore } from "@nanostores/react";
-import { isLiteralExpression } from "@webstudio-is/react-sdk";
+import { isLiteralExpression } from "@webstudio-is/sdk";
import {
type ControlProps,
getLabel,
@@ -18,7 +19,6 @@ import {
BindingControl,
BindingPopover,
} from "~/builder/shared/binding-popover";
-import { useState } from "react";
export const JsonControl = ({
meta,
diff --git a/apps/builder/app/builder/features/settings-panel/resource-panel.tsx b/apps/builder/app/builder/features/settings-panel/resource-panel.tsx
index a255acec74..9103829dd2 100644
--- a/apps/builder/app/builder/features/settings-panel/resource-panel.tsx
+++ b/apps/builder/app/builder/features/settings-panel/resource-panel.tsx
@@ -12,7 +12,7 @@ import type { DataSource, Resource } from "@webstudio-is/sdk";
import {
encodeDataSourceVariable,
isLiteralExpression,
-} from "@webstudio-is/react-sdk";
+} from "@webstudio-is/sdk";
import {
Box,
Button,
diff --git a/apps/builder/app/builder/features/settings-panel/shared.tsx b/apps/builder/app/builder/features/settings-panel/shared.tsx
index 4a77c1858d..8ac0cd2e8b 100644
--- a/apps/builder/app/builder/features/settings-panel/shared.tsx
+++ b/apps/builder/app/builder/features/settings-panel/shared.tsx
@@ -1,5 +1,6 @@
import { atom, computed, type ReadableAtom } from "nanostores";
import { useStore } from "@nanostores/react";
+import { useDebouncedCallback } from "use-debounce";
import {
type ComponentPropsWithoutRef,
type ReactNode,
@@ -10,11 +11,11 @@ import {
type ComponentProps,
} from "react";
import equal from "fast-deep-equal";
+import type { PropMeta } from "@webstudio-is/react-sdk";
import {
decodeDataSourceVariable,
encodeDataSourceVariable,
- type PropMeta,
-} from "@webstudio-is/react-sdk";
+} from "@webstudio-is/sdk";
import type { Prop, Asset } from "@webstudio-is/sdk";
import { HelpIcon, SubtractIcon } from "@webstudio-is/icons";
import {
@@ -37,7 +38,6 @@ import {
$variableValuesByInstanceSelector,
} from "~/shared/nano-states";
import type { BindingVariant } from "~/builder/shared/binding-popover";
-import { useDebouncedCallback } from "use-debounce";
export type PropValue =
| { type: "number"; value: number }
diff --git a/apps/builder/app/builder/features/settings-panel/variable-popover.tsx b/apps/builder/app/builder/features/settings-panel/variable-popover.tsx
index 6745b2bd44..86d95203f8 100644
--- a/apps/builder/app/builder/features/settings-panel/variable-popover.tsx
+++ b/apps/builder/app/builder/features/settings-panel/variable-popover.tsx
@@ -34,7 +34,7 @@ import {
Tooltip,
theme,
} from "@webstudio-is/design-system";
-import { transpileExpression } from "@webstudio-is/react-sdk";
+import { transpileExpression } from "@webstudio-is/sdk";
import type { DataSource } from "@webstudio-is/sdk";
import {
ExpressionEditor,
diff --git a/apps/builder/app/builder/features/settings-panel/variables-section.tsx b/apps/builder/app/builder/features/settings-panel/variables-section.tsx
index 202ca59774..34985e2ec0 100644
--- a/apps/builder/app/builder/features/settings-panel/variables-section.tsx
+++ b/apps/builder/app/builder/features/settings-panel/variables-section.tsx
@@ -20,7 +20,7 @@ import type { DataSource } from "@webstudio-is/sdk";
import {
decodeDataSourceVariable,
getExpressionIdentifiers,
-} from "@webstudio-is/react-sdk";
+} from "@webstudio-is/sdk";
import {
$dataSources,
$instances,
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/custom-metadata.tsx b/apps/builder/app/builder/features/sidebar-left/panels/pages/custom-metadata.tsx
index e5ff326cd4..c51a4276c3 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/pages/custom-metadata.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/custom-metadata.tsx
@@ -12,7 +12,7 @@ import {
} from "@webstudio-is/design-system";
import { DeleteIcon, PlusIcon } from "@webstudio-is/icons";
import { isFeatureEnabled } from "@webstudio-is/feature-flags";
-import { isLiteralExpression } from "@webstudio-is/react-sdk";
+import { isLiteralExpression } from "@webstudio-is/sdk";
import {
BindingControl,
BindingPopover,
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
index 97f300ce1e..ed758e95b4 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
+++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-settings.tsx
@@ -21,6 +21,7 @@ import {
findParentFolderByChildId,
ProjectNewRedirectPath,
DataSource,
+ isLiteralExpression,
} from "@webstudio-is/sdk";
import {
theme,
@@ -51,7 +52,6 @@ import {
HelpIcon,
UploadIcon,
} from "@webstudio-is/icons";
-import { isLiteralExpression } from "@webstudio-is/react-sdk";
import { useIds } from "~/shared/form-utils";
import { Header, HeaderSuffixSpacer } from "../../shared/panel";
import { updateWebstudioData } from "~/shared/instance-utils";
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.test.ts b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.test.ts
index f168a2aa2f..f60d71152f 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.test.ts
+++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.test.ts
@@ -1,7 +1,13 @@
import { describe, expect, test } from "@jest/globals";
import type { Project } from "@webstudio-is/project";
import { createDefaultPages } from "@webstudio-is/project-build";
-import { isRoot, type Folder, Instance, DataSource } from "@webstudio-is/sdk";
+import {
+ isRoot,
+ type Folder,
+ Instance,
+ DataSource,
+ encodeDataSourceVariable,
+} from "@webstudio-is/sdk";
import {
cleanupChildRefsMutable,
deleteFolderWithChildrenMutable,
@@ -26,7 +32,6 @@ import {
$selectedPageId,
} from "~/shared/nano-states";
import { registerContainers } from "~/shared/sync";
-import { encodeDataSourceVariable } from "@webstudio-is/react-sdk";
registerContainers();
diff --git a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.ts b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.ts
index d08b191cbc..02cb94c0b4 100644
--- a/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.ts
+++ b/apps/builder/app/builder/features/sidebar-left/panels/pages/page-utils.ts
@@ -1,11 +1,6 @@
import { nanoid } from "nanoid";
import { atom, computed } from "nanostores";
import { createRootFolder } from "@webstudio-is/project-build";
-import {
- decodeDataSourceVariable,
- encodeDataSourceVariable,
- transpileExpression,
-} from "@webstudio-is/react-sdk";
import {
type Page,
Pages,
@@ -17,6 +12,9 @@ import {
getPagePath,
findParentFolderByChildId,
DataSource,
+ decodeDataSourceVariable,
+ encodeDataSourceVariable,
+ transpileExpression,
} from "@webstudio-is/sdk";
import { removeByMutable } from "~/shared/array-utils";
import {
diff --git a/apps/builder/app/builder/shared/binding-popover.tsx b/apps/builder/app/builder/shared/binding-popover.tsx
index a651bdb678..cfda56f370 100644
--- a/apps/builder/app/builder/shared/binding-popover.tsx
+++ b/apps/builder/app/builder/shared/binding-popover.tsx
@@ -39,7 +39,7 @@ import {
decodeDataSourceVariable,
getExpressionIdentifiers,
lintExpression,
-} from "@webstudio-is/react-sdk";
+} from "@webstudio-is/sdk";
import { ExpressionEditor, formatValuePreview } from "./expression-editor";
import { useSideOffset } from "./floating-panel";
import { $dataSourceVariables } from "~/shared/nano-states";
diff --git a/apps/builder/app/builder/shared/expression-editor.tsx b/apps/builder/app/builder/shared/expression-editor.tsx
index f89910e4fb..b257869fb4 100644
--- a/apps/builder/app/builder/shared/expression-editor.tsx
+++ b/apps/builder/app/builder/shared/expression-editor.tsx
@@ -39,7 +39,7 @@ import { theme, textVariants, css } from "@webstudio-is/design-system";
import {
decodeDataSourceVariable,
transpileExpression,
-} from "@webstudio-is/react-sdk";
+} from "@webstudio-is/sdk";
import { CodeEditor } from "./code-editor";
export const formatValue = (value: unknown) => {
diff --git a/apps/builder/app/shared/copy-paste/plugin-instance.test.ts b/apps/builder/app/shared/copy-paste/plugin-instance.test.ts
index 4f62fe9c1d..354c70eeb7 100644
--- a/apps/builder/app/shared/copy-paste/plugin-instance.test.ts
+++ b/apps/builder/app/shared/copy-paste/plugin-instance.test.ts
@@ -8,10 +8,10 @@ import type {
DataSource,
DataSources,
} from "@webstudio-is/sdk";
+import { encodeDataSourceVariable } from "@webstudio-is/sdk";
import type { Project } from "@webstudio-is/project";
import {
collectionComponent,
- encodeDataSourceVariable,
coreMetas,
portalComponent,
} from "@webstudio-is/react-sdk";
diff --git a/apps/builder/app/shared/instance-utils.test.ts b/apps/builder/app/shared/instance-utils.test.ts
index 3eff13fcdf..815371a03e 100644
--- a/apps/builder/app/shared/instance-utils.test.ts
+++ b/apps/builder/app/shared/instance-utils.test.ts
@@ -1,7 +1,6 @@
import { enableMapSet } from "immer";
import { describe, test, expect, beforeEach } from "@jest/globals";
import {
- encodeDataSourceVariable,
portalComponent,
collectionComponent,
type WsComponentMeta,
@@ -20,6 +19,7 @@ import type {
StyleSource,
WebstudioData,
} from "@webstudio-is/sdk";
+import { encodeDataSourceVariable } from "@webstudio-is/sdk";
import type { StyleProperty, StyleValue } from "@webstudio-is/css-engine";
import {
computeInstancesConstraints,
diff --git a/apps/builder/app/shared/instance-utils.ts b/apps/builder/app/shared/instance-utils.ts
index 9cc7d35ea6..07f2d65b67 100644
--- a/apps/builder/app/shared/instance-utils.ts
+++ b/apps/builder/app/shared/instance-utils.ts
@@ -20,16 +20,16 @@ import {
type WebstudioData,
type Resource,
findTreeInstanceIdsExcludingSlotDescendants,
+ decodeDataSourceVariable,
+ encodeDataSourceVariable,
+ transpileExpression,
+ getExpressionIdentifiers,
} from "@webstudio-is/sdk";
import {
type WsComponentMeta,
generateDataFromEmbedTemplate,
- decodeDataSourceVariable,
- encodeDataSourceVariable,
portalComponent,
collectionComponent,
- transpileExpression,
- getExpressionIdentifiers,
} from "@webstudio-is/react-sdk";
import {
$props,
diff --git a/apps/builder/app/shared/nano-states/components.ts b/apps/builder/app/shared/nano-states/components.ts
index 40580c5c81..17a561531e 100644
--- a/apps/builder/app/shared/nano-states/components.ts
+++ b/apps/builder/app/shared/nano-states/components.ts
@@ -8,9 +8,9 @@ import {
type HookContext,
namespaceMeta,
getIndexesWithinAncestors,
- decodeDataSourceVariable,
} from "@webstudio-is/react-sdk";
import type { Instance } from "@webstudio-is/sdk";
+import { decodeDataSourceVariable } from "@webstudio-is/sdk";
import type { InstanceSelector } from "../tree-utils";
import { $dataSourceVariables, $dataSources, $props } from "./nano-states";
import { $instances, $selectedInstanceSelector } from "./instances";
diff --git a/apps/builder/app/shared/nano-states/props.ts b/apps/builder/app/shared/nano-states/props.ts
index 0d2d535fa5..1a09145e1d 100644
--- a/apps/builder/app/shared/nano-states/props.ts
+++ b/apps/builder/app/shared/nano-states/props.ts
@@ -7,14 +7,17 @@ import type {
ResourceRequest,
} from "@webstudio-is/sdk";
import {
- collectionComponent,
decodeDataSourceVariable,
encodeDataSourceVariable,
+ transpileExpression,
+} from "@webstudio-is/sdk";
+import {
+ collectionComponent,
normalizeProps,
portalComponent,
textContentAttribute,
- transpileExpression,
} from "@webstudio-is/react-sdk";
+import { isFeatureEnabled } from "@webstudio-is/feature-flags";
import { $instances } from "./instances";
import {
$dataSourceVariables,
@@ -29,7 +32,6 @@ import { groupBy } from "../array-utils";
import type { InstanceSelector } from "../tree-utils";
import { $params } from "~/canvas/stores";
import { restResourcesLoader } from "../router-utils";
-import { isFeatureEnabled } from "@webstudio-is/feature-flags";
export const getIndexedInstanceId = (
instanceId: Instance["id"],
diff --git a/packages/cli/src/prebuild.ts b/packages/cli/src/prebuild.ts
index 09e8e596c8..00b053b11f 100644
--- a/packages/cli/src/prebuild.ts
+++ b/packages/cli/src/prebuild.ts
@@ -29,7 +29,6 @@ import {
generateResourcesLoader,
collectionComponent,
generatePageMeta,
- executeExpression,
} from "@webstudio-is/react-sdk";
import type {
Instance,
@@ -47,6 +46,7 @@ import {
findTreeInstanceIds,
getPagePath,
parseComponentName,
+ executeExpression,
} from "@webstudio-is/sdk";
import type { Data } from "@webstudio-is/http-client";
import { createImageLoader } from "@webstudio-is/image";
diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json
index b22667e03b..7394842ad2 100644
--- a/packages/react-sdk/package.json
+++ b/packages/react-sdk/package.json
@@ -39,8 +39,6 @@
"@webstudio-is/icons": "workspace:^",
"@webstudio-is/image": "workspace:*",
"@webstudio-is/sdk": "workspace:*",
- "acorn": "^8.11.3",
- "acorn-walk": "^8.3.2",
"change-case": "^5.0.2",
"html-tags": "^3.3.1",
"nanoid": "^5.0.1",
diff --git a/packages/react-sdk/src/component-generator.ts b/packages/react-sdk/src/component-generator.ts
index 7f26be698b..7c32bfe4e9 100644
--- a/packages/react-sdk/src/component-generator.ts
+++ b/packages/react-sdk/src/component-generator.ts
@@ -7,7 +7,12 @@ import type {
Prop,
DataSource,
} from "@webstudio-is/sdk";
-import { parseComponentName } from "@webstudio-is/sdk";
+import {
+ parseComponentName,
+ generateExpression,
+ decodeDataSourceVariable,
+ transpileExpression,
+} from "@webstudio-is/sdk";
import {
componentAttribute,
idAttribute,
@@ -15,11 +20,6 @@ import {
showAttribute,
} from "./props";
import { collectionComponent } from "./core-components";
-import {
- generateExpression,
- decodeDataSourceVariable,
- transpileExpression,
-} from "./expression";
import type { IndexesWithinAncestors } from "./instance-utils";
/**
diff --git a/packages/react-sdk/src/embed-template.ts b/packages/react-sdk/src/embed-template.ts
index 272bfb69f3..3de823f272 100644
--- a/packages/react-sdk/src/embed-template.ts
+++ b/packages/react-sdk/src/embed-template.ts
@@ -2,6 +2,7 @@ import { z } from "zod";
import { nanoid } from "nanoid";
import { titleCase } from "title-case";
import { noCase } from "change-case";
+import type { Simplify } from "type-fest";
import type {
Instance,
Prop,
@@ -12,9 +13,11 @@ import type {
DataSource,
WebstudioFragment,
} from "@webstudio-is/sdk";
+import {
+ encodeDataSourceVariable,
+ transpileExpression,
+} from "@webstudio-is/sdk";
import { StyleValue, type StyleProperty } from "@webstudio-is/css-engine";
-import type { Simplify } from "type-fest";
-import { encodeDataSourceVariable, transpileExpression } from "./expression";
import type { WsComponentMeta } from "./components/component-meta";
const EmbedTemplateText = z.object({
diff --git a/packages/react-sdk/src/index.ts b/packages/react-sdk/src/index.ts
index 06bd45fa62..10a8b95d01 100644
--- a/packages/react-sdk/src/index.ts
+++ b/packages/react-sdk/src/index.ts
@@ -17,7 +17,6 @@ export {
export * from "./embed-template";
export * from "./props";
export * from "./context";
-export * from "./expression";
export { getIndexesWithinAncestors } from "./instance-utils";
export * from "./hook";
export { generateUtilsExport } from "./generator";
diff --git a/packages/react-sdk/src/page-meta-generator.ts b/packages/react-sdk/src/page-meta-generator.ts
index f29254fdac..92f482117c 100644
--- a/packages/react-sdk/src/page-meta-generator.ts
+++ b/packages/react-sdk/src/page-meta-generator.ts
@@ -1,11 +1,5 @@
-import {
- createScope,
- type Asset,
- type DataSources,
- type Page,
- type Scope,
-} from "@webstudio-is/sdk";
-import { generateExpression } from "./expression";
+import type { Asset, DataSources, Page, Scope } from "@webstudio-is/sdk";
+import { createScope, generateExpression } from "@webstudio-is/sdk";
export type PageMeta = {
title: string;
diff --git a/packages/react-sdk/src/resources-generator.ts b/packages/react-sdk/src/resources-generator.ts
index 3e41dc5860..a161370c42 100644
--- a/packages/react-sdk/src/resources-generator.ts
+++ b/packages/react-sdk/src/resources-generator.ts
@@ -1,5 +1,5 @@
import type { DataSources, Page, Resources, Scope } from "@webstudio-is/sdk";
-import { generateExpression } from "./expression";
+import { generateExpression } from "@webstudio-is/sdk";
export const generateResourcesLoader = ({
scope,
diff --git a/packages/sdk/package.json b/packages/sdk/package.json
index 4be683164e..5edb0517e0 100644
--- a/packages/sdk/package.json
+++ b/packages/sdk/package.json
@@ -28,6 +28,8 @@
"dependencies": {
"@webstudio-is/css-engine": "workspace:*",
"@webstudio-is/fonts": "workspace:*",
+ "acorn": "^8.11.3",
+ "acorn-walk": "^8.3.2",
"zod": "^3.22.4"
},
"devDependencies": {
diff --git a/packages/react-sdk/src/expression.test.ts b/packages/sdk/src/expression.test.ts
similarity index 100%
rename from packages/react-sdk/src/expression.test.ts
rename to packages/sdk/src/expression.test.ts
diff --git a/packages/react-sdk/src/expression.ts b/packages/sdk/src/expression.ts
similarity index 98%
rename from packages/react-sdk/src/expression.ts
rename to packages/sdk/src/expression.ts
index fac18d51f3..661a3292fe 100644
--- a/packages/react-sdk/src/expression.ts
+++ b/packages/sdk/src/expression.ts
@@ -1,6 +1,7 @@
import { type Expression, type Identifier, parseExpressionAt } from "acorn";
import { simple } from "acorn-walk";
-import type { DataSources, Scope } from "@webstudio-is/sdk";
+import type { DataSources } from "./schema/data-sources";
+import type { Scope } from "./scope";
export type Diagnostic = {
from: number;
diff --git a/packages/sdk/src/index.ts b/packages/sdk/src/index.ts
index eec487b977..1a9ce34c5d 100644
--- a/packages/sdk/src/index.ts
+++ b/packages/sdk/src/index.ts
@@ -15,3 +15,4 @@ export * from "./instances-utils";
export * from "./page-utils";
export * from "./scope";
export * from "./resource-loader";
+export * from "./expression";
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e5af155341..bd56f0f55a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1619,12 +1619,6 @@ importers:
'@webstudio-is/sdk':
specifier: workspace:*
version: link:../sdk
- acorn:
- specifier: ^8.11.3
- version: 8.11.3
- acorn-walk:
- specifier: ^8.3.2
- version: 8.3.2
change-case:
specifier: ^5.0.2
version: 5.0.2
@@ -1705,6 +1699,12 @@ importers:
'@webstudio-is/fonts':
specifier: workspace:*
version: link:../fonts
+ acorn:
+ specifier: ^8.11.3
+ version: 8.11.3
+ acorn-walk:
+ specifier: ^8.3.2
+ version: 8.3.2
zod:
specifier: ^3.22.4
version: 3.22.4
@@ -8693,12 +8693,12 @@ packages:
dependencies:
acorn: 7.4.1
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
dependencies:
- acorn: 8.10.0
+ acorn: 8.11.3
resolution: {integrity: sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==}
@@ -8714,16 +8714,10 @@ packages:
engines: {node: '>=0.4.0'}
hasBin: true
- resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==}
- engines: {node: '>=0.4.0'}
- hasBin: true
-
resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==}
engines: {node: '>=0.4.0'}
hasBin: true
- dev: false
resolution: {integrity: sha512-tNEZYz5G/zYunxFm7sfhAxkXEuLj3K6BKwv6ZURlsF6yiUQ65z0Q2wZW9L5cPUl9ocofGvXOdFYbFHp0+6MOig==}
@@ -10770,8 +10764,8 @@ packages:
resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dependencies:
- acorn: 8.10.0
- acorn-jsx: 5.3.2([email protected])
+ acorn: 8.11.3
+ acorn-jsx: 5.3.2([email protected])
eslint-visitor-keys: 3.4.3
dev: false
@@ -13607,8 +13601,8 @@ packages:
resolution: {integrity: sha512-TZZRZgeHvtgm+IhtgC2+uDMR7h8eTKF0QUX9YsgoL9+bADBpBY6SiLvWqnBlLbCEevITmTqmEuY3FoxMKVs1rQ==}
dependencies:
- acorn: 8.10.0
- acorn-jsx: 5.3.2([email protected])
+ acorn: 8.11.3
+ acorn-jsx: 5.3.2([email protected])
micromark-extension-mdx-expression: 1.0.4
micromark-extension-mdx-jsx: 1.0.3
micromark-extension-mdx-md: 1.0.0
@@ -14127,7 +14121,7 @@ packages:
resolution: {integrity: sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==}
dependencies:
- acorn: 8.10.0
+ acorn: 8.11.3
pathe: 1.1.0
pkg-types: 1.0.2
ufo: 1.1.1
@@ -17174,7 +17168,7 @@ packages:
resolution: {integrity: sha512-5x4eIEL6WgbzqGtF9UV8VEC/ehKptPXDS6L2b0mv4FRMkJxRtjaJfOWDd6a8+kYbqsjklix7yWP0N3SUepjXcg==}
dependencies:
- acorn: 8.10.0
+ acorn: 8.11.3
chokidar: 3.5.3
webpack-sources: 3.2.3
webpack-virtual-modules: 0.5.0