@acowale/orion-boneyard 1.10.0 → 1.10.1-acowale.2

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.
Files changed (3) hide show
  1. package/LICENSE.md +5 -3
  2. package/README.md +119 -189
  3. package/package.json +3 -3
package/LICENSE.md CHANGED
@@ -26,6 +26,8 @@ Apart from these names, boneyard works exactly as upstream wrote it.
26
26
 
27
27
  The package's source is `packages/boneyard` in Acowale's copy of the boneyard repository. The rest of that repository, such as boneyard's documentation site, is upstream's work under the MIT License and is not part of this package.
28
28
 
29
+ **Why this copy exists.** Acowale keeps its own copy of boneyard on npm for strict version control and for Acowale-specific changes, so that every Acowale project installs exactly the version Acowale has checked and approved. It is maintained for Acowale's own use, not as a public alternative to `boneyard-js`. That is why this package is not for use by the general public, or by anyone other than the Permitted Users in section 2.2.
30
+
29
31
  ## 1. Definitions
30
32
 
31
33
  - **Acowale** means Acowale Technologies Private Limited.
@@ -47,9 +49,9 @@ The Acowale Changes are the work and the property of Acowale.
47
49
  Acowale maintains this package for the following, each a "Permitted User":
48
50
 
49
51
  - Acowale;
50
- - Acowale's group companies, subsidiaries, affiliates and sister concerns;
51
- - Acowale's associates and partners; and
52
- - Acowale's clients.
52
+ - Acowale's parent company, group companies, divisions, verticals, subsidiaries, affiliates, associates and joint ventures;
53
+ - entities directly or indirectly owned or controlled by Acowale; and
54
+ - Acowale's authorized business partners, contractors and clients.
53
55
 
54
56
  A Permitted User's employees and contractors may use the package on that Permitted User's behalf, for its projects and products.
55
57
 
package/README.md CHANGED
@@ -1,260 +1,190 @@
1
- # boneyard
1
+ # @acowale/orion-boneyard
2
2
 
3
- Pixel-perfect skeleton loading screens, extracted from your real DOM.
3
+ > **Restricted use: for Acowale and its permitted users only.**
4
+ >
5
+ > **Why this copy exists:** Acowale keeps its own copy of boneyard on npm for strict version control and for Acowale-specific changes, so that every Acowale project installs exactly the version Acowale has checked and approved. It is maintained for Acowale's own use, not as a public alternative to `boneyard-js`. That is why this package is not for use by the general public, or by anyone other than the permitted users below.
6
+ >
7
+ > **Permitted users:** Acowale Technologies Private Limited ("Acowale"); its parent company, group companies, divisions, verticals, subsidiaries, affiliates, associates and joint ventures; entities directly or indirectly owned or controlled by Acowale; and Acowale's authorized business partners, contractors and clients.
8
+ >
9
+ > **Permitted use:** Permitted users may install, use, modify and integrate this package in their commercial and non-commercial projects, products, services and works, and distribute it as part of the products, services and works they build and distribute. They may not sell or distribute it on its own, as a standalone package, or through a public package registry.
10
+ >
11
+ > **Everyone else:** Any other use of Acowale's changes in this package needs Acowale's prior written permission, even though the package can be installed from npm. This does not limit the MIT License: boneyard itself is free for anyone to use under it, for example from its authors' own package, `boneyard-js`.
12
+ >
13
+ > **Copyright:** boneyard is © 0xGF and the boneyard contributors, licensed under the MIT License; Acowale does not claim ownership of it. Acowale's changes are © Acowale Technologies Private Limited.
14
+ >
15
+ > **Disclaimer:** Provided "AS IS", without warranties of any kind. To the extent permitted by law, Acowale shall not be liable for any loss, damage or consequences arising from its use, misuse or inability to use it. Full terms: [LICENSE.md](https://cdn.jsdelivr.net/npm/@acowale/orion-boneyard/LICENSE.md). Contact: [support@acowale.com](mailto:support@acowale.com).
4
16
 
5
- Wrap your component in `<Skeleton>`, run the CLI, and get positioned bone rectangles that match your actual layout. No manual sizing, no guesswork.
17
+ Skeleton screens that match your layout. Exactly.
6
18
 
7
- `@acowale/orion-boneyard` is Acowale Technologies Private Limited's build of [boneyard](https://github.com/0xGF/boneyard) by 0xGF, for the Orion design system. Boneyard's code belongs to its authors and is MIT licensed; only the names change. Who may use this build is set out in [Licence and attribution](#licence-and-attribution).
19
+ `@acowale/orion-boneyard` is Acowale's build of [boneyard](https://github.com/0xGF/boneyard) for
20
+ the Orion Design System. It captures your real interface and turns it into a skeleton, so a
21
+ loading state always matches the screen it stands in for. No measuring. No hand-made placeholders.
8
22
 
9
- ## Quick start
23
+ The code is boneyard's own. Only the package and command names are different.
10
24
 
11
- ```bash
12
- npm install @acowale/orion-boneyard
25
+ ## Install
26
+
27
+ ```sh
28
+ pnpm add @acowale/orion-boneyard
29
+ npx playwright install chromium
13
30
  ```
14
31
 
32
+ The second command downloads the browser that captures your layout. You run it once. To use a
33
+ Chrome you already have instead, see [Use your own browser](#use-your-own-browser).
34
+
35
+ ## Use
36
+
37
+ Wrap a component in `<Skeleton>` and give it a name.
38
+
15
39
  ```tsx
16
- import { Skeleton } from '@acowale/orion-boneyard/react'
40
+ import { Skeleton } from '@acowale/orion-boneyard/react';
17
41
 
18
- function BlogPage() {
19
- const { data, isLoading } = useFetch('/api/post')
42
+ export function Post() {
43
+ const { data, isLoading } = useFetch('/api/post');
20
44
 
21
45
  return (
22
- <Skeleton name="blog-card" loading={isLoading}>
23
- <BlogCard data={data} />
46
+ <Skeleton name="post" loading={isLoading}>
47
+ {data && <PostCard data={data} />}
24
48
  </Skeleton>
25
- )
49
+ );
26
50
  }
27
51
  ```
28
52
 
29
- ```bash
30
- npx orion-boneyard build http://localhost:3000
53
+ With your app running, capture its skeletons. Then import the registry once, at the root of your
54
+ app.
55
+
56
+ ```sh
57
+ pnpm exec orion-boneyard build http://localhost:3000
31
58
  ```
32
59
 
33
60
  ```ts
34
- // app/layout.tsx — import once, all skeletons auto-resolve
35
- import './bones/registry'
61
+ import './bones/registry';
36
62
  ```
37
63
 
38
- ## Frameworks
39
-
40
- ```tsx
41
- // React
42
- import { Skeleton } from '@acowale/orion-boneyard/react'
43
-
44
- // Preact
45
- import { Skeleton } from '@acowale/orion-boneyard/preact'
46
-
47
- // React Native
48
- import { Skeleton } from '@acowale/orion-boneyard/native'
49
- ```
64
+ On Vite, add the plugin instead. Skeletons are captured when the dev server starts and again
65
+ whenever a file changes.
50
66
 
51
- ```svelte
52
- <!-- Svelte -->
53
- <script lang="ts">
54
- import Skeleton from '@acowale/orion-boneyard/svelte'
55
- </script>
67
+ ```ts
68
+ import { boneyardPlugin } from '@acowale/orion-boneyard/vite';
56
69
 
57
- <Skeleton name="profile-card" loading={isLoading}>
58
- <ProfileCard />
59
- </Skeleton>
70
+ export default defineConfig({ plugins: [boneyardPlugin()] });
60
71
  ```
61
72
 
62
- ```vue
63
- <!-- Vue -->
64
- <script setup>
65
- import Skeleton from '@acowale/orion-boneyard/vue'
66
- </script>
73
+ ## Frameworks
67
74
 
68
- <Skeleton name="profile-card" :loading="isLoading">
69
- <ProfileCard />
70
- </Skeleton>
71
- ```
75
+ | Framework | Import |
76
+ | ------------ | ---------------------------------------------------------------------- |
77
+ | React | `import { Skeleton } from '@acowale/orion-boneyard/react'` |
78
+ | Preact | `import { Skeleton } from '@acowale/orion-boneyard/preact'` |
79
+ | Vue | `import Skeleton from '@acowale/orion-boneyard/vue'` |
80
+ | Svelte 5 | `import Skeleton from '@acowale/orion-boneyard/svelte'` |
81
+ | Angular | `import { SkeletonComponent } from '@acowale/orion-boneyard/angular'` |
82
+ | React Native | `import { Skeleton } from '@acowale/orion-boneyard/native'` |
72
83
 
73
- ```ts
74
- // Angular
75
- import { SkeletonComponent } from '@acowale/orion-boneyard/angular'
76
- ```
84
+ In React, `<BoneSuspense name="…">` works anywhere `<Suspense>` does. For React Native, capture
85
+ from a device with `pnpm exec orion-boneyard build --native`.
77
86
 
78
- ## Config
87
+ ## Configure
79
88
 
80
- Create `boneyard.config.json` in your project root. Controls both the CLI and runtime defaults.
89
+ Put `boneyard.config.json` in your project root. It sets the defaults for the command and for
90
+ every skeleton. A prop on a `<Skeleton>` overrides both.
81
91
 
82
92
  ```json
83
93
  {
84
94
  "breakpoints": [375, 768, 1280],
85
95
  "out": "./src/bones",
86
-
87
- "color": "#e5e5e5",
88
- "darkColor": "#2a2a2a",
89
- "animate": "shimmer",
90
- "shimmerColor": "#ebebeb",
91
- "darkShimmerColor": "#333333",
92
- "speed": "2s",
93
- "shimmerAngle": 110
96
+ "animate": "shimmer"
94
97
  }
95
98
  ```
96
99
 
97
- All color values accept any valid CSS color (hex, rgba, hsl, etc.).
98
-
99
- | Key | Default | Description |
100
- |-----|---------|-------------|
101
- | `breakpoints` | auto | Viewport widths for capture (auto-detects Tailwind) |
102
- | `out` | `./src/bones` | Output directory for `.bones.json` and `registry.js` |
103
- | `wait` | `800` | ms to wait after page load before capturing |
104
- | `color` | `#f0f0f0` | Bone fill color (light mode) |
105
- | `darkColor` | `#222222` | Bone fill color (dark mode) |
106
- | `animate` | `pulse` | `pulse`, `shimmer`, or `solid` |
107
- | `shimmerColor` | `#f7f7f7` | Shimmer highlight (light mode) |
108
- | `darkShimmerColor` | `#2c2c2c` | Shimmer highlight (dark mode) |
109
- | `speed` | `2s` / `1.8s` | Animation duration (shimmer / pulse) |
110
- | `shimmerAngle` | `110` | Shimmer gradient angle in degrees |
111
- | `stagger` | `false` | Delay between bones in ms (`true` = 80ms) |
112
- | `transition` | `false` | Fade out when loading ends in ms (`true` = 300ms) |
113
- | `select` | `container` | Width used to pick the responsive breakpoint: `container` (measured width) or `viewport` (`window.innerWidth`). Use `viewport` for app-shell layouts where the container is narrower than the window |
114
- | `url` | dev server | Capture origin for the Vite plugin, e.g. `https://myapp.dev` — use when the dev server sits behind a reverse proxy (portless, custom HTTPS origins) so auth cookies scoped to the real origin apply. Defaults to the server's own `localhost:<port>`. Also available as a `boneyardPlugin({ url })` option |
100
+ | Key | Default | What it does |
101
+ | ------------------ | -------------- | -------------------------------------------------------------------- |
102
+ | `breakpoints` | Detected | Widths to capture. Tailwind's are detected automatically |
103
+ | `out` | `./src/bones` | Where the captured skeletons and the registry are written |
104
+ | `wait` | `800` | Milliseconds to wait after the page loads before capturing |
105
+ | `color` | `#f0f0f0` | Bone colour in light mode |
106
+ | `darkColor` | `#222222` | Bone colour in dark mode |
107
+ | `animate` | `pulse` | `pulse`, `shimmer` or `solid` |
108
+ | `shimmerColor` | `#f7f7f7` | Shimmer highlight in light mode |
109
+ | `darkShimmerColor` | `#2c2c2c` | Shimmer highlight in dark mode |
110
+ | `speed` | `2s` / `1.8s` | Length of one shimmer / pulse |
111
+ | `shimmerAngle` | `110` | Angle of the shimmer, in degrees |
112
+ | `stagger` | `false` | Delay between bones in milliseconds. `true` means 80 |
113
+ | `transition` | `false` | Fade-out when loading ends, in milliseconds. `true` means 300 |
114
+ | `select` | `container` | Picks the breakpoint by the container's width, or by `viewport` |
115
+ | `url` | The dev server | The address the Vite plugin captures, for dev servers behind a proxy |
115
116
 
116
- Per-component props override config. Config overrides package defaults.
117
+ Colours accept any CSS colour. Dark mode follows a `.dark` class on `<html>` or any parent, not the
118
+ system setting.
117
119
 
118
- ## Fixtures
120
+ ## Components that need data
119
121
 
120
- When your component needs API data or auth to render, provide a fixture for the CLI to snapshot instead:
122
+ When a component can't render without an API or a signed-in user, give the command something to
123
+ capture instead:
121
124
 
122
125
  ```tsx
123
- <Skeleton
124
- name="dashboard"
125
- loading={isLoading}
126
- fixture={<DashboardFixture />}
127
- snapshotConfig={{ leafTags: ["section"] }}
128
- >
126
+ <Skeleton name="dashboard" loading={isLoading} fixture={<DashboardFixture />}>
129
127
  <Dashboard data={data} />
130
128
  </Skeleton>
131
129
  ```
132
130
 
133
- Use `leafTags` to treat elements as atomic bones — prevents the extractor from recursing into children and creating unwanted internal shapes. A leaf tag is atomic only while everything it holds is inline: `<p>Hello <strong>world</strong></p>` is one bone, but an `li` (or any listed tag) wrapping block-level content — a card inside a list item, say — is walked into like a container, so lists of cards keep their inner structure.
134
-
135
- ## Dark mode
136
-
137
- Detected via the `.dark` class on `<html>` or any ancestor (standard Tailwind convention). Does **not** use `prefers-color-scheme` — gives you explicit control.
138
-
139
- When `.dark` is present, `darkColor` and `darkShimmerColor` are used automatically.
140
-
141
- ## CLI
142
-
143
- The `build` command (and the Vite plugin) drive a headless Chromium via [Playwright](https://playwright.dev) to snapshot your rendered UI. Playwright ships as a dependency of `@acowale/orion-boneyard`, so it's already in `node_modules` — but its **browser binary** is downloaded separately. Install it **once** before your first build:
144
-
145
- ```bash
146
- npx playwright install chromium
147
- ```
148
-
149
- > Skipping this step is the most common first-run error. If Playwright reports a missing browser, run the command above. (Note: `playwright install` only works because Playwright is a dependency here — if you hit `Command "playwright" not found` in a strict pnpm/monorepo setup, use `npx playwright install chromium`.)
131
+ To capture an element as a single bone rather than looking inside it, list its tag:
132
+ `snapshotConfig={{ leafTags: ['section'] }}`.
150
133
 
151
- Prefer not to download a browser — e.g. in CI, or to reuse your logged-in session? See [Reusing an existing browser](#reusing-an-existing-browser).
134
+ ## The command
152
135
 
153
- ```bash
154
- npx orion-boneyard build # auto-detect dev server
155
- npx orion-boneyard build http://localhost:3000 # explicit URL
156
- npx orion-boneyard build --out src/bones # custom output
157
- npx orion-boneyard build --force # regenerate all
158
- npx orion-boneyard build --breakpoints 375,768,1280 # custom breakpoints
159
- npx orion-boneyard build --cookie "session=abc123" # auth cookies
160
- npx orion-boneyard build --native --out ./bones # React Native
136
+ ```sh
137
+ pnpm exec orion-boneyard build # finds your dev server
138
+ pnpm exec orion-boneyard build http://localhost:3000 # or uses the one you name
139
+ pnpm exec orion-boneyard build --watch # captures again on every change
140
+ pnpm exec orion-boneyard build --force # captures everything again
141
+ pnpm exec orion-boneyard build --breakpoints 375,768,1280 # chooses the widths
142
+ pnpm exec orion-boneyard build --cookie "session=abc123" # reaches pages behind a sign-in
143
+ pnpm exec orion-boneyard build --cdp 9222 # uses your own Chrome
161
144
  ```
162
145
 
163
- ### Reusing an existing browser
164
-
165
- Instead of launching (and downloading) Playwright's Chromium, boneyard can attach to a Chrome you're already running over the DevTools Protocol. This reuses your cookies and auth state, and skips the browser download — useful in CI or behind a login.
146
+ ### Use your own browser
166
147
 
167
- Chrome exposes two remote-debugging modes, and boneyard supports both:
148
+ boneyard can capture with a Chrome that is already running, with its cookies and sign-ins, so
149
+ nothing needs to be downloaded. Start Chrome with a debugging port and a separate profile, then
150
+ pass the port:
168
151
 
169
- **Mode 1 — debug port (separate profile).** Launch Chrome with a debugging port. Since Chrome 136, `--remote-debugging-port` is ignored on the default profile, so a non-default `--user-data-dir` is required:
170
-
171
- ```bash
172
- # 1. Fully quit Chrome, then start an isolated debugging profile:
152
+ ```sh
173
153
  google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
174
- # macOS:
175
- /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
176
- --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
177
-
178
- # 2. CLI
179
- npx orion-boneyard build --cdp 9222
180
-
181
- # 2. …or the Vite plugin
182
- # boneyardPlugin({ cdp: 9222 })
183
- ```
184
-
185
- **Mode 2 — attach to your normal running Chrome (Chrome 144+).** Enable `chrome://inspect/#remote-debugging` → *"Allow remote debugging for this browser instance"*. This mode doesn't expose the HTTP discovery endpoint (`/json/version` returns 404) — instead Chrome writes a WebSocket endpoint to `DevToolsActivePort` in your user data directory. Pass that full `ws://` endpoint to boneyard; Chrome will ask you to approve the incoming connection:
186
-
187
- ```bash
188
- # macOS default profile — the file holds a port and a path, join them:
189
- cat ~/Library/Application\ Support/Google/Chrome/DevToolsActivePort
190
- # → 9222
191
- # → /devtools/browser/<uuid>
192
-
193
- npx orion-boneyard build --cdp ws://127.0.0.1:9222/devtools/browser/<uuid>
194
- # or: boneyardPlugin({ cdp: 'ws://127.0.0.1:9222/devtools/browser/<uuid>' })
154
+ pnpm exec orion-boneyard build --cdp 9222
195
155
  ```
196
156
 
197
- > A `404 when connecting to http://localhost:9222/json/version` means the port isn't exposing the DevTools HTTP endpoint — you're either on Chrome 136+ without `--user-data-dir` (Mode 1), or using the chrome://inspect toggle, which only exposes the WebSocket endpoint (use Mode 2's `ws://` form).
157
+ On Chrome 144 or later, you can use your everyday Chrome instead. Turn on remote debugging at
158
+ `chrome://inspect/#remote-debugging`, then pass the `ws://` address in the `DevToolsActivePort`
159
+ file of your Chrome profile. The Vite plugin takes the same value, for example
160
+ `boneyardPlugin({ cdp: 9222 })`.
198
161
 
199
- ## Layout APIs
162
+ ## Compute a layout yourself
200
163
 
201
- For advanced use cases — SSR, responsive tooling, or rendering skeletons without the component.
202
-
203
- ### `computeLayout(descriptor, width)`
204
-
205
- ```ts
206
- import { computeLayout } from '@acowale/orion-boneyard'
207
-
208
- const result = computeLayout(descriptor, 375)
209
- ```
210
-
211
- The first call compiles the descriptor tree and measures text nodes. Later calls with the same descriptor reuse the compiled tree.
212
-
213
- ### `compileDescriptor(descriptor)` + `computeLayout(compiled, width)`
214
-
215
- Explicit control over compilation:
164
+ For server rendering and tooling, compute a skeleton's layout directly from its descriptor:
216
165
 
217
166
  ```ts
218
- import { compileDescriptor, computeLayout } from '@acowale/orion-boneyard'
167
+ import { compileDescriptor, computeLayout } from '@acowale/orion-boneyard';
219
168
 
220
- const compiled = compileDescriptor(descriptor)
169
+ const compiled = compileDescriptor(descriptor);
221
170
 
222
- const mobile = computeLayout(compiled, 375)
223
- const tablet = computeLayout(compiled, 768)
224
- const desktop = computeLayout(compiled, 1280)
171
+ const mobile = computeLayout(compiled, 375);
172
+ const desktop = computeLayout(compiled, 1280);
225
173
  ```
226
174
 
227
- Use `compileDescriptor` when you render the same skeleton at multiple breakpoints, keep a registry in memory, or want to benchmark cold vs hot performance.
175
+ Compile once, then reuse the result at every width.
228
176
 
229
- If you mutate a descriptor in place, the engine detects the change and rebuilds automatically. To force an immediate rebuild, call `invalidateDescriptor(descriptor)`.
177
+ ## Documentation
230
178
 
231
- ## Docs
179
+ The complete guide is at [boneyard.vercel.app](https://boneyard.vercel.app). It is written for
180
+ `boneyard-js`. Use `@acowale/orion-boneyard` and `orion-boneyard` in its place.
232
181
 
233
- [boneyard.vercel.app](https://boneyard.vercel.app)
182
+ ## Credits
234
183
 
235
- ## Licence and attribution
236
-
237
- | Part | Owner | Terms |
238
- | --- | --- | --- |
239
- | Boneyard's code and documentation | 0xGF and the boneyard contributors | [MIT License](https://github.com/0xGF/boneyard/blob/main/LICENSE) |
240
- | Acowale's changes: the package and command names, generated imports, documentation and release | Acowale Technologies Private Limited | All rights reserved. Licensed to the Permitted Users below |
241
-
242
- **Boneyard belongs to its authors.** Boneyard was created by 0xGF and is open source under the MIT License. This package is Acowale's build of it: the code is boneyard's, unchanged apart from its names. Acowale does not claim ownership of boneyard. Anyone may use boneyard itself under the MIT License, from its authors' package [`boneyard-js`](https://www.npmjs.com/package/boneyard-js).
243
-
244
- **Permitted Users.** Acowale, its group companies, subsidiaries, affiliates, associates, sister concerns, partners and clients may use this package in their commercial and non-commercial projects and products, and include it in the products they build and distribute. Anyone else needs Acowale's permission to use this build, even though the package can be installed from npm.
245
-
246
- When you work with this package:
247
-
248
- - Keep the copyright notices, including boneyard's MIT License.
249
- - Do not sell or share this package on its own, and publish it only from its pipeline.
250
- - Do not describe boneyard as Acowale's own work.
251
-
252
- **Credit to boneyard.** Where a project or product credits the open-source work it uses, credit boneyard as:
184
+ boneyard is the work of 0xGF and its contributors. To credit it:
253
185
 
254
186
  > Skeleton screens by boneyard (https://github.com/0xGF/boneyard), © 2025 0xGF, MIT License.
255
187
 
256
- The full terms are in [LICENSE.md](./LICENSE.md), included in the package.
257
-
258
188
  ## Support
259
189
 
260
- Questions, problems and licence queries: [support@acowale.com](mailto:support@acowale.com).
190
+ [support@acowale.com](mailto:support@acowale.com)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@acowale/orion-boneyard",
3
- "version": "1.10.0",
4
- "description": "Acowale's build of boneyard, the open-source skeleton-loading library by 0xGF, for the Orion design system: pixel-perfect skeleton screens taken from your real layout. Copyright & Disclaimer: boneyard is the work of 0xGF and its contributors and is licensed under the MIT License; Acowale does not claim ownership of it. Acowale's build is maintained by Acowale Technologies Private Limited for use by Acowale, its group companies, subsidiaries, affiliates, associates, sister concerns, partners and clients, in their commercial and non-commercial projects and products. Not for resale. Provided \"AS IS\", without warranties of any kind. For queries, contact support@acowale.com.",
3
+ "version": "1.10.1-acowale.2",
4
+ "description": "Acowale's own copy of boneyard (boneyard-js, © 0xGF, MIT), kept for strict version control and Acowale-specific changes. Not for the general public: Acowale and its permitted users only, under LICENSE.md. Provided \"AS IS\".",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -185,7 +185,7 @@
185
185
  "@vue/server-renderer": "^3.5.42",
186
186
  "@vue/test-utils": "^2.4.6",
187
187
  "canvas": "^3.2.2",
188
- "happy-dom": "^20.14.6",
188
+ "happy-dom": "^21.0.4",
189
189
  "react": "^19.0.0",
190
190
  "react-dom": "^19.0.0",
191
191
  "svelte": "^5.55.7",