diff --git a/.pnp.cjs b/.pnp.cjs
index 340527ac8..2e188a847 100755
--- a/.pnp.cjs
+++ b/.pnp.cjs
@@ -5956,7 +5956,7 @@ const RAW_RUNTIME_STATE =
["@types/react", "npm:18.2.42"],\
["@types/react-dom", "npm:18.2.17"],\
["@yarnpkg/pnpify", "npm:4.0.1"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["eslint", "npm:8.55.0"],\
["eslint-config-next", "virtual:c4e1b5de3c2221b63a822911bcf0be057e450c9772904486db938942efc684c035d907717e21ec2b40cde01712fe1164bb28cd81903edc8b86d34febd372a71c#npm:14.0.3"],\
@@ -9567,8 +9567,8 @@ const RAW_RUNTIME_STATE =
["@types/react", null],\
["@types/react-dom", null],\
["@types/typescript", null],\
- ["acorn", "npm:7.4.1"],\
- ["acorn-jsx", "virtual:386ab2791d3837b85271a556c915f3963b5d7c540dd309f3aef40fdb074e905793b5bf0bb73adbc70cf914081e1b9782c1e6bdfc4ce628ebbee749b1ac206e25#npm:5.3.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
+ ["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["acorn-walk", "npm:7.2.0"],\
["escodegen", "npm:2.1.0"],\
["html-tags", "npm:3.3.1"],\
@@ -9609,8 +9609,8 @@ const RAW_RUNTIME_STATE =
["@types/react", "npm:18.2.42"],\
["@types/react-dom", "npm:18.2.17"],\
["@types/typescript", null],\
- ["acorn", "npm:7.4.1"],\
- ["acorn-jsx", "virtual:386ab2791d3837b85271a556c915f3963b5d7c540dd309f3aef40fdb074e905793b5bf0bb73adbc70cf914081e1b9782c1e6bdfc4ce628ebbee749b1ac206e25#npm:5.3.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
+ ["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["acorn-walk", "npm:7.2.0"],\
["escodegen", "npm:2.1.0"],\
["html-tags", "npm:3.3.1"],\
@@ -9651,8 +9651,8 @@ const RAW_RUNTIME_STATE =
["@types/react", "npm:18.2.42"],\
["@types/react-dom", "npm:18.2.17"],\
["@types/typescript", null],\
- ["acorn", "npm:7.4.1"],\
- ["acorn-jsx", "virtual:386ab2791d3837b85271a556c915f3963b5d7c540dd309f3aef40fdb074e905793b5bf0bb73adbc70cf914081e1b9782c1e6bdfc4ce628ebbee749b1ac206e25#npm:5.3.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
+ ["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["acorn-walk", "npm:7.2.0"],\
["escodegen", "npm:2.1.0"],\
["html-tags", "npm:3.3.1"],\
@@ -11748,17 +11748,10 @@ const RAW_RUNTIME_STATE =
}]\
]],\
["acorn", [\
- ["npm:7.4.1", {\
- "packageLocation": "./.yarn/cache/acorn-npm-7.4.1-f450b4646c-bd0b2c2b0f.zip/node_modules/acorn/",\
- "packageDependencies": [\
- ["acorn", "npm:7.4.1"]\
- ],\
- "linkType": "HARD"\
- }],\
- ["npm:8.11.2", {\
- "packageLocation": "./.yarn/cache/acorn-npm-8.11.2-a470f49bb6-a3ed76c761.zip/node_modules/acorn/",\
+ ["patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067", {\
+ "packageLocation": "./.yarn/cache/acorn-patch-68739978fd-becd7f0f6c.zip/node_modules/acorn/",\
"packageDependencies": [\
- ["acorn", "npm:8.11.2"]\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"]\
],\
"linkType": "HARD"\
}]\
@@ -11776,7 +11769,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["acorn-import-assertions", "virtual:1d6ec9529ad6b48bacd7d45ab158214f5100b1a7c472835731ba2f44686da67da929fcd12798a4219c9db017a119409f16d66b20660a911c36f8e753c5ffae61#npm:1.9.0"],\
["@types/acorn", null],\
- ["acorn", "npm:8.11.2"]\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"]\
],\
"packagePeers": [\
"@types/acorn",\
@@ -11793,25 +11786,12 @@ const RAW_RUNTIME_STATE =
],\
"linkType": "SOFT"\
}],\
- ["virtual:386ab2791d3837b85271a556c915f3963b5d7c540dd309f3aef40fdb074e905793b5bf0bb73adbc70cf914081e1b9782c1e6bdfc4ce628ebbee749b1ac206e25#npm:5.3.2", {\
- "packageLocation": "./.yarn/__virtual__/acorn-jsx-virtual-032fe9ebb0/0/cache/acorn-jsx-npm-5.3.2-d7594599ea-4c54868fbe.zip/node_modules/acorn-jsx/",\
- "packageDependencies": [\
- ["acorn-jsx", "virtual:386ab2791d3837b85271a556c915f3963b5d7c540dd309f3aef40fdb074e905793b5bf0bb73adbc70cf914081e1b9782c1e6bdfc4ce628ebbee749b1ac206e25#npm:5.3.2"],\
- ["@types/acorn", null],\
- ["acorn", "npm:7.4.1"]\
- ],\
- "packagePeers": [\
- "@types/acorn",\
- "acorn"\
- ],\
- "linkType": "HARD"\
- }],\
["virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2", {\
"packageLocation": "./.yarn/__virtual__/acorn-jsx-virtual-834321b202/0/cache/acorn-jsx-npm-5.3.2-d7594599ea-4c54868fbe.zip/node_modules/acorn-jsx/",\
"packageDependencies": [\
["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["@types/acorn", null],\
- ["acorn", "npm:8.11.2"]\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"]\
],\
"packagePeers": [\
"@types/acorn",\
@@ -15609,7 +15589,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/espree-npm-9.6.1-a50722a5a9-1a2e9b4699.zip/node_modules/espree/",\
"packageDependencies": [\
["espree", "npm:9.6.1"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["eslint-visitor-keys", "npm:3.4.3"]\
],\
@@ -19993,7 +19973,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/micromark-extension-mdxjs-npm-3.0.0-c1ee8da220-fd84f036dd.zip/node_modules/micromark-extension-mdxjs/",\
"packageDependencies": [\
["micromark-extension-mdxjs", "npm:3.0.0"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"],\
["micromark-extension-mdx-expression", "npm:3.0.0"],\
["micromark-extension-mdx-jsx", "npm:3.0.0"],\
@@ -21766,7 +21746,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/parse-es-import-npm-0.6.0-97b0d9b50c-3ca1348528.zip/node_modules/parse-es-import/",\
"packageDependencies": [\
["parse-es-import", "npm:0.6.0"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-jsx", "virtual:a50722a5a9326b6a5f12350c494c4db3aa0f4caeac45e3e9e5fe071da20014ecfe738fe2ebe2c9c98abae81a4ea86b42f56d776b3bd5ec37f9ad3670c242b242#npm:5.3.2"]\
],\
"linkType": "HARD"\
@@ -24936,7 +24916,7 @@ const RAW_RUNTIME_STATE =
"packageDependencies": [\
["terser", "npm:5.25.0"],\
["@jridgewell/source-map", "npm:0.3.5"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["commander", "npm:2.20.3"],\
["source-map-support", "npm:0.5.21"]\
],\
@@ -25332,7 +25312,7 @@ const RAW_RUNTIME_STATE =
["@types/swc__core", null],\
["@types/swc__wasm", null],\
["@types/typescript", null],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-walk", "npm:8.3.0"],\
["arg", "npm:4.1.3"],\
["create-require", "npm:1.1.1"],\
@@ -25368,7 +25348,7 @@ const RAW_RUNTIME_STATE =
["@types/swc__core", null],\
["@types/swc__wasm", null],\
["@types/typescript", null],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-walk", "npm:8.3.0"],\
["arg", "npm:4.1.3"],\
["create-require", "npm:1.1.1"],\
@@ -25947,7 +25927,7 @@ const RAW_RUNTIME_STATE =
"packageLocation": "./.yarn/cache/unplugin-npm-1.5.1-3f9b064f5e-08cee7d100.zip/node_modules/unplugin/",\
"packageDependencies": [\
["unplugin", "npm:1.5.1"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["chokidar", "npm:3.5.3"],\
["webpack-sources", "npm:3.2.3"],\
["webpack-virtual-modules", "npm:0.6.1"]\
@@ -26535,7 +26515,7 @@ const RAW_RUNTIME_STATE =
["@webassemblyjs/ast", "npm:1.11.6"],\
["@webassemblyjs/wasm-edit", "npm:1.11.6"],\
["@webassemblyjs/wasm-parser", "npm:1.11.6"],\
- ["acorn", "npm:8.11.2"],\
+ ["acorn", "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"],\
["acorn-import-assertions", "virtual:1d6ec9529ad6b48bacd7d45ab158214f5100b1a7c472835731ba2f44686da67da929fcd12798a4219c9db017a119409f16d66b20660a911c36f8e753c5ffae61#npm:1.9.0"],\
["browserslist", "npm:4.22.2"],\
["chrome-trace-event", "npm:1.0.3"],\
diff --git a/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch b/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch
new file mode 100644
index 000000000..3034d7c7a
--- /dev/null
+++ b/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch
@@ -0,0 +1,45 @@
+diff --git a/dist/acorn.d.mts b/dist/acorn.d.mts
+index 6ad58121195c96dab6b6c704ae0c0a31fefc2778..386631c03128490856cf493d968f187def49e2bb 100644
+--- a/dist/acorn.d.mts
++++ b/dist/acorn.d.mts
+@@ -519,6 +519,9 @@ export type Declaration =
+ | FunctionDeclaration
+ | VariableDeclaration
+ | ClassDeclaration
++export interface JSXElement extends Node {
++ type: "JSXElement"
++}
+
+ export type Expression =
+ | Identifier
+@@ -547,6 +550,7 @@ export type Expression =
+ | ChainExpression
+ | ImportExpression
+ | ParenthesizedExpression
++| JSXElement
+
+ export type Pattern =
+ | Identifier
+diff --git a/dist/acorn.d.ts b/dist/acorn.d.ts
+index 6ad58121195c96dab6b6c704ae0c0a31fefc2778..b2321be5483ddcd8826086b9a22d228238f5e3bd 100644
+--- a/dist/acorn.d.ts
++++ b/dist/acorn.d.ts
+@@ -520,6 +520,10 @@ export type Declaration =
+ | VariableDeclaration
+ | ClassDeclaration
+
++export interface JSXElement extends Node {
++ type: "JSXElement"
++}
++
+ export type Expression =
+ | Identifier
+ | Literal
+@@ -547,6 +551,7 @@ export type Expression =
+ | ChainExpression
+ | ImportExpression
+ | ParenthesizedExpression
++| JSXElement
+
+ export type Pattern =
+ | Identifier
diff --git a/package.json b/package.json
index 50c8f5363..a57ebe2d6 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,14 @@
"typescript": "^5.3.2"
},
"resolutions": {
- "@vitejs/plugin-react": "^4.2.0"
+ "@vitejs/plugin-react": "^4.2.0",
+ "acorn@npm:^8.9.0": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^8.4.1": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^8.7.1": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^7.4.1": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^8.8.2": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^8.11.2": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
+ "acorn@npm:^8.0.0": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch"
},
"dependenciesMeta": {
"@types/react": {
diff --git a/packages/docs/package.json b/packages/docs/package.json
index 2794b9ff8..8b80642ce 100644
--- a/packages/docs/package.json
+++ b/packages/docs/package.json
@@ -31,7 +31,7 @@
"@types/react": "^18.2.42",
"@types/react-dom": "^18.2.17",
"@yarnpkg/pnpify": "^4.0.1",
- "acorn": "^8.11.2",
+ "acorn": "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch",
"acorn-jsx": "^5.3.2",
"eslint": "^8.55.0",
"eslint-config-next": "14.0.3",
diff --git a/packages/docs/src/app/button/_examples/Default.tsx b/packages/docs/src/app/button/_examples/Default.tsx
index 9d5afb5ab..12c10ca0d 100644
--- a/packages/docs/src/app/button/_examples/Default.tsx
+++ b/packages/docs/src/app/button/_examples/Default.tsx
@@ -1,3 +1,3 @@
import { Button } from "@mittwald/flow-components/Button";
-;
+export default ;
diff --git a/packages/docs/src/app/button/_examples/Simple.tsx b/packages/docs/src/app/button/_examples/Simple.tsx
index 791973f2b..211b189f6 100644
--- a/packages/docs/src/app/button/_examples/Simple.tsx
+++ b/packages/docs/src/app/button/_examples/Simple.tsx
@@ -1,3 +1,3 @@
import Button from "@mittwald/flow-components/Button";
-;
+export default ;
diff --git a/packages/docs/src/app/button/page.mdx b/packages/docs/src/app/button/page.mdx
index a31b44b2a..b11a2360f 100644
--- a/packages/docs/src/app/button/page.mdx
+++ b/packages/docs/src/app/button/page.mdx
@@ -1,5 +1,8 @@
-import defaultExampleCode from "./_examples/Simple";
+import defaultExampleCode from "./_examples/Default";
+import simpleExampleCode from "./_examples/Simple";
# Hello
+
+
diff --git a/packages/docs/src/components/LiveCodeEditor/LiveCodeEditor.tsx b/packages/docs/src/components/LiveCodeEditor/LiveCodeEditor.tsx
index 80f1b3b9d..d08704128 100644
--- a/packages/docs/src/components/LiveCodeEditor/LiveCodeEditor.tsx
+++ b/packages/docs/src/components/LiveCodeEditor/LiveCodeEditor.tsx
@@ -2,8 +2,8 @@
import React, { FC } from "react";
import { LiveEditor, LiveError, LivePreview, LiveProvider } from "react-live";
import { extractEditorScope } from "@/components/LiveCodeEditor/lib/extractEditorScope";
-import { stripImports } from "@/components/LiveCodeEditor/lib/stripImports";
import { LiveCodeEditorProps } from "@/components/LiveCodeEditor/types";
+import extractDefaultExport from "@/lib/extractDefaultExport";
// Waiting for https://github.com/FormidableLabs/react-live/issues/339
const error = console.error;
@@ -22,7 +22,11 @@ const LiveCodeEditor: FC = (props) => {
const scope = extractEditorScope(code);
return (
-
+
diff --git a/packages/docs/src/lib/extractDefaultExport.ts b/packages/docs/src/lib/extractDefaultExport.ts
new file mode 100644
index 000000000..7abc16369
--- /dev/null
+++ b/packages/docs/src/lib/extractDefaultExport.ts
@@ -0,0 +1,73 @@
+import * as acorn from "acorn";
+import acornJsx from "acorn-jsx";
+import {
+ AnonymousFunctionDeclaration,
+ ExportDefaultDeclaration,
+ Expression,
+ ExpressionStatement,
+ FunctionDeclaration,
+ ReturnStatement,
+} from "acorn";
+
+export default function extractDefaultExport(code: string): string {
+ const JSXParser = acorn.Parser.extend(acornJsx());
+
+ const tree = JSXParser.parse(code, {
+ ecmaVersion: 14,
+ sourceType: "module",
+ });
+
+ const defaultExport = tree.body.find(
+ (it): it is ExportDefaultDeclaration =>
+ it.type === "ExportDefaultDeclaration",
+ );
+
+ if (
+ !defaultExport &&
+ tree.body.some((it) => it.type === "ExpressionStatement")
+ ) {
+ return extractCode(
+ code,
+ tree.body.find(
+ (it): it is ExpressionStatement => it.type === "ExpressionStatement",
+ )!.expression as Expression,
+ );
+ }
+
+ if (
+ defaultExport!.declaration.type === "ArrowFunctionExpression" ||
+ defaultExport!.declaration.type === "JSXElement" ||
+ defaultExport!.declaration.type === "FunctionDeclaration"
+ ) {
+ return extractCode(code, defaultExport!.declaration);
+ }
+
+ console.log("after", defaultExport);
+
+ return "Error parsing example.
";
+}
+
+function extractCode(
+ code: string,
+ expression: Expression | FunctionDeclaration | AnonymousFunctionDeclaration,
+) {
+ if (expression.type === "JSXElement") {
+ return code.slice(expression.start, expression.end);
+ }
+ if (expression.type === "ArrowFunctionExpression") {
+ return code.slice(expression.start, expression.end);
+ }
+ if (expression.type === "FunctionDeclaration") {
+ const returnStatement = expression.body.body.find(
+ (it): it is ReturnStatement => it.type === "ReturnStatement",
+ );
+ if (!returnStatement || !returnStatement.argument) {
+ return "Error parsing example.
";
+ }
+ return code.slice(
+ returnStatement.argument.start,
+ returnStatement.argument.end,
+ );
+ }
+ return "Error parsing example.
";
+}
diff --git a/yarn.lock b/yarn.lock
index 5c98f73db..0364a9eed 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3059,7 +3059,7 @@ __metadata:
"@types/react": "npm:^18.2.42"
"@types/react-dom": "npm:^18.2.17"
"@yarnpkg/pnpify": "npm:^4.0.1"
- acorn: "npm:^8.11.2"
+ acorn: "patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch"
acorn-jsx: "npm:^5.3.2"
eslint: "npm:^8.55.0"
eslint-config-next: "npm:14.0.3"
@@ -7166,21 +7166,21 @@ __metadata:
languageName: node
linkType: hard
-"acorn@npm:^7.4.1":
- version: 7.4.1
- resolution: "acorn@npm:7.4.1"
+"acorn@npm:8.11.2":
+ version: 8.11.2
+ resolution: "acorn@npm:8.11.2"
bin:
acorn: bin/acorn
- checksum: bd0b2c2b0f334bbee48828ff897c12bd2eb5898d03bf556dcc8942022cec795ac5bb5b6b585e2de687db6231faf07e096b59a361231dd8c9344d5df5f7f0e526
+ checksum: a3ed76c761b75ec54b1ec3068fb7f113a182e95aea7f322f65098c2958d232e3d211cb6dac35ff9c647024b63714bc528a26d54a925d1fef2c25585b4c8e4017
languageName: node
linkType: hard
-"acorn@npm:^8.0.0, acorn@npm:^8.11.2, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0":
+"acorn@patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch":
version: 8.11.2
- resolution: "acorn@npm:8.11.2"
+ resolution: "acorn@patch:acorn@npm%3A8.11.2#~/.yarn/patches/acorn-npm-8.11.2-a470f49bb6.patch::version=8.11.2&hash=eac067"
bin:
acorn: bin/acorn
- checksum: a3ed76c761b75ec54b1ec3068fb7f113a182e95aea7f322f65098c2958d232e3d211cb6dac35ff9c647024b63714bc528a26d54a925d1fef2c25585b4c8e4017
+ checksum: becd7f0f6c5b4aa0b4e5c3e168eb1910b32710f50e8a212ea1e7c2bef1bbfa8b2a668717d3a8646d11ad99dc8d9ad7503491fcf4bd6fcb93546f2efc4d30d3ea
languageName: node
linkType: hard