Skip to content

Commit c8aefe0

Browse files
authored
Update and add changeset (#1374)
1 parent 5595c09 commit c8aefe0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/chilly-hairs-serve.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
This allows `walkObject` to be used on module namespace objects:
88

99
```ts
10+
import { walkObject } from '@vanilla-extract/private';
1011
import * as ns from './foo';
1112

1213
// Runtime error in `vite-node`

.changeset/rare-days-suffer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
'@vanilla-extract/vite-plugin': patch
33
---
44

5-
Update `@vanilla-extract/css` dependency
5+
Update `@vanilla-extract/integration` dependency
66

7-
This fixes a bug where APIs that used the `walkObject` utility (e.g. `createTheme`) would fail when used with module namespace objects inside `vite-node`.
8-
This was due to the previous implementation using the input object's `constructor` to initialize a clone, which does not work with module namespace objects because [they do not have a `constructor` function][es6 spec].
7+
This fixes a bug where APIs that used the `walkObject` utility (e.g. `createTheme`) would fail when used with module namespace objects inside `vite-node`. This was due to the previous implementation using the input object's `constructor` to initialize a clone, which does not work with module namespace objects because [they do not have a `constructor` function][es6 spec].
98

109
[es6 spec]: https://262.ecma-international.org/6.0/#sec-module-namespace-objects

.changeset/soft-weeks-confess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/integration': patch
3+
---
4+
5+
Update `@vanilla-extract/css` dependency

0 commit comments

Comments
 (0)