vanilla-extract-css/vanilla-extract (@vanilla-extract/private)
### [`v1.0.5`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/private/CHANGELOG.md#105)
[Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/private@1.0.4...@vanilla-extract/private@1.0.5)
##### Patch Changes
- [#1335](https://togithub.com/vanilla-extract-css/vanilla-extract/pull/1335) [`b8a99e4980710a34692034d5da43e584edbc3d17`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/b8a99e4980710a34692034d5da43e584edbc3d17) Thanks [@askoufis](https://togithub.com/askoufis)! - Add `types` field to `package.json`
### [`v1.0.4`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/private/CHANGELOG.md#104)
[Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/private@1.0.3...@vanilla-extract/private@1.0.4)
##### Patch Changes
- [#1368](https://togithub.com/vanilla-extract-css/vanilla-extract/pull/1368) [`90f0315`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/90f03153bb7c4a8d5b448eab228c46203e9cdaed) Thanks [@askoufis](https://togithub.com/askoufis)! - **walkObject**: Use an empty object to initialize a clone instead of calling the input object's `constructor`
This allows `walkObject` to be used on module namespace objects:
```ts
import { walkObject } from '@vanilla-extract/private';
import * as ns from './foo';
// Runtime error in `vite-node`
walkObject(ns, myMappingFunction);
```
The previous implementation did not work with these objects because [they do not have a `constructor` function][es6 spec].
`esbuild` seems to have papered over this issue by providing a `constructor` function on these objects, but this seems to not be the case with `vite-node`, hence the need for this fix.
[es6 spec]: https://262.ecma-international.org/6.0/#sec-module-namespace-objects
Configuration
📅 Schedule: Branch creation - "after 1am and before 10am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.0.3
->1.0.5
Release Notes
vanilla-extract-css/vanilla-extract (@vanilla-extract/private)
### [`v1.0.5`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/private/CHANGELOG.md#105) [Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/private@1.0.4...@vanilla-extract/private@1.0.5) ##### Patch Changes - [#1335](https://togithub.com/vanilla-extract-css/vanilla-extract/pull/1335) [`b8a99e4980710a34692034d5da43e584edbc3d17`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/b8a99e4980710a34692034d5da43e584edbc3d17) Thanks [@askoufis](https://togithub.com/askoufis)! - Add `types` field to `package.json` ### [`v1.0.4`](https://togithub.com/vanilla-extract-css/vanilla-extract/blob/HEAD/packages/private/CHANGELOG.md#104) [Compare Source](https://togithub.com/vanilla-extract-css/vanilla-extract/compare/@vanilla-extract/private@1.0.3...@vanilla-extract/private@1.0.4) ##### Patch Changes - [#1368](https://togithub.com/vanilla-extract-css/vanilla-extract/pull/1368) [`90f0315`](https://togithub.com/vanilla-extract-css/vanilla-extract/commit/90f03153bb7c4a8d5b448eab228c46203e9cdaed) Thanks [@askoufis](https://togithub.com/askoufis)! - **walkObject**: Use an empty object to initialize a clone instead of calling the input object's `constructor` This allows `walkObject` to be used on module namespace objects: ```ts import { walkObject } from '@vanilla-extract/private'; import * as ns from './foo'; // Runtime error in `vite-node` walkObject(ns, myMappingFunction); ``` The previous implementation did not work with these objects because [they do not have a `constructor` function][es6 spec]. `esbuild` seems to have papered over this issue by providing a `constructor` function on these objects, but this seems to not be the case with `vite-node`, hence the need for this fix. [es6 spec]: https://262.ecma-international.org/6.0/#sec-module-namespace-objectsConfiguration
📅 Schedule: Branch creation - "after 1am and before 10am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.