(null)
+ const [loadingState, setLoadingState] = useState<'loading' | 'ready'>('loading')
+
+ useEffect(() => {
+ const handleIframeLoad = () => {
+ setLoadingState('ready')
+ }
+
+ const handleReceivedMessage = (event: MessageEvent) => {
+ if (!onIncomingMessage) {
+ return
+ }
+ const eventSource = event.data?.source
+
+ // Verify that the message comes from the expected iframe
+ if (eventSource === CrossDocumentMessageSource.Iframe) {
+ onIncomingMessage(event.data)
+ }
+ }
+
+ if (ref.current) {
+ ref.current.addEventListener('load', handleIframeLoad)
+ window.addEventListener('message', handleReceivedMessage)
+ }
+
+ return () => {
+ if (ref.current) {
+ ref.current.removeEventListener('load', handleIframeLoad)
+ window.removeEventListener('message', handleReceivedMessage)
+ }
+ }
+ }, [onIncomingMessage])
+
+ const sendMessage = (message: CrossDocumentMessage) => {
+ if (!ref.current) {
+ throw new Error('useCanvasIframe: ref.current is null')
+ }
+
+ if (!ref.current.contentWindow) {
+ throw new Error('useCanvasIframe: ref.current.contentWindow is null')
+ }
+
+ ref.current.contentWindow.postMessage(
+ { ...message, source: CrossDocumentMessageSource.Root },
+ WindowMessageOrigin.Same,
+ )
+ }
+
+ return {
+ ref,
+ isReady: loadingState === 'ready' && ref.current !== null,
+ window: ref.current?.contentWindow,
+ document: ref.current?.contentWindow?.document,
+ sendMessage,
+ }
+}
diff --git a/packages/storylite/src/pages/index.tsx b/packages/storylite/src/pages/index.tsx
index d6e19ce..4a6f457 100644
--- a/packages/storylite/src/pages/index.tsx
+++ b/packages/storylite/src/pages/index.tsx
@@ -1,10 +1,8 @@
-import React from 'react'
-
-import StoryFrame from '@/components/StoryFrame'
+import { CanvasIframe } from '@/components/canvas/CanvasIframe'
import MainLayout from '@/layouts/MainLayout'
export default function HomePage() {
- return
+ return
}
export const Layout = MainLayout
diff --git a/packages/storylite/src/pages/sandbox/dashboard.tsx b/packages/storylite/src/pages/sandbox/dashboard.tsx
index 05e0c85..83d2869 100644
--- a/packages/storylite/src/pages/sandbox/dashboard.tsx
+++ b/packages/storylite/src/pages/sandbox/dashboard.tsx
@@ -1,12 +1,13 @@
import { useStoryLiteConfig } from '@/app/context/StoriesDataContext'
-import { Story } from '@/components/Story'
+import { CanvasIframeBody } from '@/components/canvas/CanvasIframeBody'
import SandboxLayout from '../../layouts/SandboxLayout'
export default function StoryPage() {
const config = useStoryLiteConfig()
- return
+ return
+ //
}
export const Layout = SandboxLayout
diff --git a/packages/storylite/src/pages/sandbox/stories/$story/$export_name.tsx b/packages/storylite/src/pages/sandbox/stories/$story/$export_name.tsx
index 136124e..772ac40 100644
--- a/packages/storylite/src/pages/sandbox/stories/$story/$export_name.tsx
+++ b/packages/storylite/src/pages/sandbox/stories/$story/$export_name.tsx
@@ -1,6 +1,6 @@
import { useParams } from 'react-router-dom'
-import { Story } from '@/components/Story'
+import { CanvasIframeBody } from '@/components/canvas/CanvasIframeBody'
import SandboxLayout from '../../../../layouts/SandboxLayout'
@@ -8,10 +8,14 @@ export default function StoryPage() {
const { story, export_name } = useParams()
if (!story) {
- return Error: story or export_name is empty
+ return Error: story route segment is empty
}
- return
+ if (!export_name) {
+ return Error: export_name route segment is empty
+ }
+
+ return
}
export const Layout = SandboxLayout
diff --git a/packages/storylite/src/pages/sandbox/stories/$story/index.tsx b/packages/storylite/src/pages/sandbox/stories/$story/index.tsx
index 426224b..b9d72fe 100644
--- a/packages/storylite/src/pages/sandbox/stories/$story/index.tsx
+++ b/packages/storylite/src/pages/sandbox/stories/$story/index.tsx
@@ -1,6 +1,6 @@
import { useParams } from 'react-router-dom'
-import { Story } from '@/components/Story'
+import { CanvasIframeBody } from '@/components/canvas/CanvasIframeBody'
import SandboxLayout from '../../../../layouts/SandboxLayout'
@@ -8,10 +8,10 @@ export default function StoryPage() {
const { story } = useParams()
if (!story) {
- return Error: story is empty
+ return Error: story route segment is empty
}
- return
+ return
}
export const Layout = SandboxLayout
diff --git a/packages/storylite/src/pages/stories/$story/$export_name.tsx b/packages/storylite/src/pages/stories/$story/$export_name.tsx
index f97dc5d..2224d99 100644
--- a/packages/storylite/src/pages/stories/$story/$export_name.tsx
+++ b/packages/storylite/src/pages/stories/$story/$export_name.tsx
@@ -1,13 +1,12 @@
-import React from 'react'
import { useParams } from 'react-router-dom'
-import StoryFrame from '@/components/StoryFrame'
+import { CanvasIframe } from '@/components/canvas/CanvasIframe'
import MainLayout from '@/layouts/MainLayout'
export default function StoryPage() {
const { story, export_name } = useParams()
- return
+ return
}
export const Layout = MainLayout
diff --git a/packages/storylite/src/types/config.ts b/packages/storylite/src/types/config.ts
index 7697032..4a6bdd4 100644
--- a/packages/storylite/src/types/config.ts
+++ b/packages/storylite/src/types/config.ts
@@ -12,6 +12,7 @@ export type SLAppComponentProps = {
title: SLNode
icon?: SLNode
defaultStory: string
+ iframeProps?: Omit, 'src'>
// stylesheets: string[]
// addons: StoryAddonList
}
diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json
index 9693e05..1f481ea 100644
--- a/packages/vite-plugin/package.json
+++ b/packages/vite-plugin/package.json
@@ -44,8 +44,8 @@
"vite": "^4.4.9"
},
"devDependencies": {
- "@r1stack/coding-style": "^0.4.1",
- "@types/node": "^20.5.4",
+ "@r1stack/coding-style": "^0.4.3",
+ "@types/node": "^20.5.6",
"publint": "^0.2.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2"
diff --git a/packages/vite-plugin/src/index.ts b/packages/vite-plugin/src/index.ts
index e4addfe..d5c1727 100644
--- a/packages/vite-plugin/src/index.ts
+++ b/packages/vite-plugin/src/index.ts
@@ -48,7 +48,7 @@ const storylitePlugin = (userConfig?: StoryLitePluginConfig): Plugin => {
const storyMap = createStoryMap(import.meta.glob('/${config.stories}', {eager: true}));
- console.log('Stories: ', Array.from(storyMap.keys()));
+ // console.log('Stories: ', Array.from(storyMap.keys()));
export default storyMap
`
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e50b6ab..29d0379 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -15,8 +15,8 @@ importers:
specifier: ^17.7.0
version: 17.7.0
'@r1stack/coding-style':
- specifier: ^0.4.1
- version: 0.4.1(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
+ specifier: ^0.4.3
+ version: 0.4.3(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
'@swc/core':
specifier: ^1.3.78
version: 1.3.78
@@ -33,8 +33,8 @@ importers:
specifier: ^29.5.4
version: 29.5.4
'@types/node':
- specifier: ^20.5.4
- version: 20.5.4
+ specifier: ^20.5.6
+ version: 20.5.6
changelogen:
specifier: ^0.5.5
version: 0.5.5
@@ -46,7 +46,7 @@ importers:
version: 8.0.3
jest:
specifier: ^29.6.4
- version: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ version: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
jest-environment-jsdom:
specifier: ^29.6.4
version: 29.6.4
@@ -97,7 +97,7 @@ importers:
version: 5.2.2
vite:
specifier: ^4.4.9
- version: 4.4.9(@types/node@20.5.4)
+ version: 4.4.9(@types/node@20.5.6)
packages/examples/solid: {}
@@ -108,18 +108,18 @@ importers:
packages/storylite:
dependencies:
'@r1stack/core':
- specifier: ^0.4.1
- version: 0.4.1
+ specifier: ^0.4.3
+ version: 0.4.3
lucide-react:
specifier: ^0.268.0
version: 0.268.0(react@18.2.0)
devDependencies:
'@r1stack/coding-style':
- specifier: ^0.4.1
- version: 0.4.1(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
+ specifier: ^0.4.3
+ version: 0.4.3(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
'@types/node':
- specifier: ^20.5.4
- version: 20.5.4
+ specifier: ^20.5.6
+ version: 20.5.6
'@types/react':
specifier: ^18.2.21
version: 18.2.21
@@ -146,20 +146,20 @@ importers:
version: 5.2.2
vite:
specifier: ^4.4.9
- version: 4.4.9(@types/node@20.5.4)
+ version: 4.4.9(@types/node@20.5.6)
packages/vite-plugin:
dependencies:
vite:
specifier: ^4.4.9
- version: 4.4.9(@types/node@20.5.4)
+ version: 4.4.9(@types/node@20.5.6)
devDependencies:
'@r1stack/coding-style':
- specifier: ^0.4.1
- version: 0.4.1(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
+ specifier: ^0.4.3
+ version: 0.4.3(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2)
'@types/node':
- specifier: ^20.5.4
- version: 20.5.4
+ specifier: ^20.5.6
+ version: 20.5.6
publint:
specifier: ^0.2.2
version: 0.2.2
@@ -619,7 +619,7 @@ packages:
lodash.merge: 4.6.2
lodash.uniq: 4.5.0
resolve-from: 5.0.0
- ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.4)(typescript@5.2.2)
+ ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.6)(typescript@5.2.2)
typescript: 5.2.2
transitivePeerDependencies:
- '@swc/core'
@@ -974,7 +974,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
jest-message-util: 29.6.3
jest-util: 29.6.3
@@ -995,14 +995,14 @@ packages:
'@jest/test-result': 29.6.4
'@jest/transform': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
ansi-escapes: 4.3.2
chalk: 4.1.2
ci-info: 3.8.0
exit: 0.1.2
graceful-fs: 4.2.11
jest-changed-files: 29.6.3
- jest-config: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest-config: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
jest-haste-map: 29.6.4
jest-message-util: 29.6.3
jest-regex-util: 29.6.3
@@ -1037,7 +1037,7 @@ packages:
dependencies:
'@jest/fake-timers': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-mock: 29.6.3
dev: true
@@ -1064,7 +1064,7 @@ packages:
dependencies:
'@jest/types': 29.6.3
'@sinonjs/fake-timers': 10.3.0
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-message-util: 29.6.3
jest-mock: 29.6.3
jest-util: 29.6.3
@@ -1097,7 +1097,7 @@ packages:
'@jest/transform': 29.6.4
'@jest/types': 29.6.3
'@jridgewell/trace-mapping': 0.3.19
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
collect-v8-coverage: 1.0.2
exit: 0.1.2
@@ -1184,7 +1184,7 @@ packages:
dependencies:
'@types/istanbul-lib-coverage': 2.0.4
'@types/istanbul-reports': 3.0.1
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
'@types/yargs': 16.0.5
chalk: 4.1.2
dev: true
@@ -1196,7 +1196,7 @@ packages:
'@jest/schemas': 29.6.3
'@types/istanbul-lib-coverage': 2.0.4
'@types/istanbul-reports': 3.0.1
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
'@types/yargs': 17.0.24
chalk: 4.1.2
dev: true
@@ -1284,8 +1284,8 @@ packages:
tslib: 2.6.2
dev: true
- /@r1stack/coding-style@0.4.1(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2):
- resolution: {integrity: sha512-Bv2Mpryu9bWEvedxI0paLB+03l1UG6ACZBixF+L5z5L4pPGdR1Dk4CzerCn4AxIx5RjczBbo5OwQ7jA7iNH7Fg==}
+ /@r1stack/coding-style@0.4.3(@swc/core@1.3.78)(@swc/jest@0.2.29)(eslint@8.47.0)(jest@29.6.4)(prettier@3.0.2)(typescript@5.2.2):
+ resolution: {integrity: sha512-ZaPZcW+j3pbNHX86FB/A7el3uqPQlxVREeraLNTBX2wvmkZdPu0V7GzAnrjrXkeOih+lJVy2f4seF57WO0h2cQ==}
peerDependencies:
'@swc/core': ^1.3.74
'@swc/jest': ^0.2.28
@@ -1329,7 +1329,7 @@ packages:
eslint-plugin-testing-library: 6.0.1(eslint@8.47.0)(typescript@5.2.2)
eslint-plugin-tsdoc: 0.2.17
eslint-plugin-unicorn: 48.0.1(eslint@8.47.0)
- jest: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
jest-environment-jsdom: 29.6.4
prettier: 3.0.2
prettier-plugin-packagejson: 2.4.5(prettier@3.0.2)
@@ -1345,8 +1345,8 @@ packages:
- utf-8-validate
dev: true
- /@r1stack/core@0.4.1:
- resolution: {integrity: sha512-G0hv+tT8t3xKto145kSsKZs64/Du2O8Xgmkv/Ndyn//H58fDMqfdZ2FfQHkLWqSROgxxifhM8wzjvPjlwYfk4g==}
+ /@r1stack/core@0.4.3:
+ resolution: {integrity: sha512-iG68KbkXparvjL1JpF1HexasivijultE0K72fkMBiNkptIEP1t/odU7WWP2n4rshjDmMD4DTTk/+ydnghEYfYQ==}
dependencies:
zod: 3.22.2
dev: false
@@ -1534,7 +1534,7 @@ packages:
chalk: 3.0.0
css.escape: 1.5.1
dom-accessibility-api: 0.5.16
- jest: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
lodash: 4.17.21
redent: 3.0.0
dev: true
@@ -1610,7 +1610,7 @@ packages:
/@types/graceful-fs@4.1.6:
resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==}
dependencies:
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
dev: true
/@types/istanbul-lib-coverage@2.0.4:
@@ -1639,7 +1639,7 @@ packages:
/@types/jsdom@20.0.1:
resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==}
dependencies:
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
'@types/tough-cookie': 4.0.2
parse5: 7.1.2
dev: true
@@ -1660,8 +1660,8 @@ packages:
resolution: {integrity: sha512-bUBrPjEry2QUTsnuEjzjbS7voGWCc30W0qzgMf90GPeDGFRakvrz47ju+oqDAKCXLUCe39u57/ORMl/O/04/9g==}
dev: true
- /@types/node@20.5.4:
- resolution: {integrity: sha512-Y9vbIAoM31djQZrPYjpTLo0XlaSwOIsrlfE3LpulZeRblttsLQRFRlBAppW0LOxyT3ALj2M5vU1ucQQayQH3jA==}
+ /@types/node@20.5.6:
+ resolution: {integrity: sha512-Gi5wRGPbbyOTX+4Y2iULQ27oUPrefaB0PxGQJnfyWN3kvEDGM3mIB5M/gQLmitZf7A9FmLeaqxD3L1CXpm3VKQ==}
/@types/normalize-package-data@2.4.1:
resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==}
@@ -1916,7 +1916,7 @@ packages:
vite: ^4
dependencies:
'@swc/core': 1.3.78
- vite: 4.4.9(@types/node@20.5.4)
+ vite: 4.4.9(@types/node@20.5.6)
transitivePeerDependencies:
- '@swc/helpers'
dev: true
@@ -2634,7 +2634,7 @@ packages:
dependencies:
'@types/node': 20.4.7
cosmiconfig: 8.2.0
- ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.4)(typescript@5.2.2)
+ ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.6)(typescript@5.2.2)
typescript: 5.2.2
dev: true
@@ -3265,7 +3265,7 @@ packages:
'@typescript-eslint/eslint-plugin': 6.4.1(@typescript-eslint/parser@6.4.1)(eslint@8.47.0)(typescript@5.2.2)
'@typescript-eslint/utils': 5.62.0(eslint@8.47.0)(typescript@5.2.2)
eslint: 8.47.0
- jest: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
transitivePeerDependencies:
- supports-color
- typescript
@@ -4468,7 +4468,7 @@ packages:
'@jest/expect': 29.6.4
'@jest/test-result': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
co: 4.6.0
dedent: 1.5.1
@@ -4489,7 +4489,7 @@ packages:
- supports-color
dev: true
- /jest-cli@29.6.4(@types/node@20.5.4)(ts-node@10.9.1):
+ /jest-cli@29.6.4(@types/node@20.5.6)(ts-node@10.9.1):
resolution: {integrity: sha512-+uMCQ7oizMmh8ZwRfZzKIEszFY9ksjjEQnTEMTaL7fYiL3Kw4XhqT9bYh+A4DQKUb67hZn2KbtEnDuHvcgK4pQ==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
hasBin: true
@@ -4506,7 +4506,7 @@ packages:
exit: 0.1.2
graceful-fs: 4.2.11
import-local: 3.1.0
- jest-config: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest-config: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
jest-util: 29.6.3
jest-validate: 29.6.3
prompts: 2.4.2
@@ -4518,7 +4518,7 @@ packages:
- ts-node
dev: true
- /jest-config@29.6.4(@types/node@20.5.4)(ts-node@10.9.1):
+ /jest-config@29.6.4(@types/node@20.5.6)(ts-node@10.9.1):
resolution: {integrity: sha512-JWohr3i9m2cVpBumQFv2akMEnFEPVOh+9L2xIBJhJ0zOaci2ZXuKJj0tgMKQCBZAKA09H049IR4HVS/43Qb19A==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
peerDependencies:
@@ -4533,7 +4533,7 @@ packages:
'@babel/core': 7.22.11
'@jest/test-sequencer': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
babel-jest: 29.6.4(@babel/core@7.22.11)
chalk: 4.1.2
ci-info: 3.8.0
@@ -4553,7 +4553,7 @@ packages:
pretty-format: 29.6.3
slash: 3.0.0
strip-json-comments: 3.1.1
- ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.4)(typescript@5.2.2)
+ ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.6)(typescript@5.2.2)
transitivePeerDependencies:
- babel-plugin-macros
- supports-color
@@ -4600,7 +4600,7 @@ packages:
'@jest/fake-timers': 29.6.4
'@jest/types': 29.6.3
'@types/jsdom': 20.0.1
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-mock: 29.6.3
jest-util: 29.6.3
jsdom: 20.0.3
@@ -4617,7 +4617,7 @@ packages:
'@jest/environment': 29.6.4
'@jest/fake-timers': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-mock: 29.6.3
jest-util: 29.6.3
dev: true
@@ -4633,7 +4633,7 @@ packages:
dependencies:
'@jest/types': 29.6.3
'@types/graceful-fs': 4.1.6
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
anymatch: 3.1.3
fb-watchman: 2.0.2
graceful-fs: 4.2.11
@@ -4684,7 +4684,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-util: 29.6.3
dev: true
@@ -4739,7 +4739,7 @@ packages:
'@jest/test-result': 29.6.4
'@jest/transform': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
emittery: 0.13.1
graceful-fs: 4.2.11
@@ -4770,7 +4770,7 @@ packages:
'@jest/test-result': 29.6.4
'@jest/transform': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
cjs-module-lexer: 1.2.3
collect-v8-coverage: 1.0.2
@@ -4822,7 +4822,7 @@ packages:
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
chalk: 4.1.2
ci-info: 3.8.0
graceful-fs: 4.2.11
@@ -4847,7 +4847,7 @@ packages:
dependencies:
'@jest/test-result': 29.6.4
'@jest/types': 29.6.3
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
ansi-escapes: 4.3.2
chalk: 4.1.2
emittery: 0.13.1
@@ -4859,13 +4859,13 @@ packages:
resolution: {integrity: sha512-6dpvFV4WjcWbDVGgHTWo/aupl8/LbBx2NSKfiwqf79xC/yeJjKHT1+StcKy/2KTmW16hE68ccKVOtXf+WZGz7Q==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
dependencies:
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
jest-util: 29.6.3
merge-stream: 2.0.0
supports-color: 8.1.1
dev: true
- /jest@29.6.4(@types/node@20.5.4)(ts-node@10.9.1):
+ /jest@29.6.4(@types/node@20.5.6)(ts-node@10.9.1):
resolution: {integrity: sha512-tEFhVQFF/bzoYV1YuGyzLPZ6vlPrdfvDmmAxudA1dLEuiztqg2Rkx20vkKY32xiDROcD2KXlgZ7Cu8RPeEHRKw==}
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
hasBin: true
@@ -4878,7 +4878,7 @@ packages:
'@jest/core': 29.6.4(ts-node@10.9.1)
'@jest/types': 29.6.3
import-local: 3.1.0
- jest-cli: 29.6.4(@types/node@20.5.4)(ts-node@10.9.1)
+ jest-cli: 29.6.4(@types/node@20.5.6)(ts-node@10.9.1)
transitivePeerDependencies:
- '@types/node'
- babel-plugin-macros
@@ -5367,7 +5367,7 @@ packages:
acorn: 8.10.0
pathe: 1.1.1
pkg-types: 1.0.3
- ufo: 1.2.0
+ ufo: 1.3.0
dev: true
/mri@1.2.0:
@@ -5557,7 +5557,7 @@ packages:
dependencies:
destr: 2.0.1
node-fetch-native: 1.4.0
- ufo: 1.2.0
+ ufo: 1.3.0
dev: true
/ohash@1.1.3:
@@ -5751,7 +5751,7 @@ packages:
optional: true
dependencies:
lilconfig: 2.1.0
- ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.4)(typescript@5.2.2)
+ ts-node: 10.9.1(@swc/core@1.3.78)(@types/node@20.5.6)(typescript@5.2.2)
yaml: 2.3.1
dev: true
@@ -6624,7 +6624,7 @@ packages:
resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
dev: true
- /ts-node@10.9.1(@swc/core@1.3.78)(@types/node@20.5.4)(typescript@5.2.2):
+ /ts-node@10.9.1(@swc/core@1.3.78)(@types/node@20.5.6)(typescript@5.2.2):
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true
peerDependencies:
@@ -6644,7 +6644,7 @@ packages:
'@tsconfig/node12': 1.0.11
'@tsconfig/node14': 1.0.3
'@tsconfig/node16': 1.0.4
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
acorn: 8.10.0
acorn-walk: 8.2.0
arg: 4.1.3
@@ -6866,8 +6866,8 @@ packages:
hasBin: true
dev: true
- /ufo@1.2.0:
- resolution: {integrity: sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==}
+ /ufo@1.3.0:
+ resolution: {integrity: sha512-bRn3CsoojyNStCZe0BG0Mt4Nr/4KF+rhFlnNXybgqt5pXHNFRlqinSoQaTrGyzE4X8aHplSb+TorH+COin9Yxw==}
dev: true
/unbox-primitive@1.0.2:
@@ -6942,7 +6942,7 @@ packages:
spdx-expression-parse: 3.0.1
dev: true
- /vite@4.4.9(@types/node@20.5.4):
+ /vite@4.4.9(@types/node@20.5.6):
resolution: {integrity: sha512-2mbUn2LlUmNASWwSCNSJ/EG2HuSRTnVNaydp6vMCm5VIqJsjMfbIWtbH2kDuwUVW5mMUKKZvGPX/rqeqVvv1XA==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@@ -6970,7 +6970,7 @@ packages:
terser:
optional: true
dependencies:
- '@types/node': 20.5.4
+ '@types/node': 20.5.6
esbuild: 0.18.20
postcss: 8.4.28
rollup: 3.28.1