very-happy-dom 0.3.0 → 0.3.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ [Compare changes](https://github.com/stacksjs/very-happy-dom/compare/v0.3.0...HEAD)
2
+
3
+ ## 🐛 Bug Fixes
4
+
5
+ - **dialog**: emit a declaration that parses ([55aa421](https://github.com/stacksjs/very-happy-dom/commit/55aa421)) _(by glennmichael123 <gtorregosa@gmail.com>)_
6
+
7
+ ## 🤖 Continuous Integration
8
+
9
+ - **release**: pass the tag's notes to the GitHub Release ([3550904](https://github.com/stacksjs/very-happy-dom/commit/3550904)) _(by glennmichael123 <gtorregosa@gmail.com>)_
10
+
11
+ ## Contributors
12
+
13
+ - _glennmichael123 <gtorregosa@gmail.com>_
14
+
1
15
  [Compare changes](https://github.com/stacksjs/very-happy-dom/compare/v0.2.0...HEAD)
2
16
 
3
17
  ## 🚀 Features
@@ -26,9 +26,8 @@ export type DialogType = 'alert' | 'confirm' | 'prompt';
26
26
  export declare class Dialog {
27
27
  readonly type: DialogType;
28
28
  readonly message: string;
29
- readonly or an empty string. */
30
- defaultValue?: string;
31
- constructor(type: DialogType, message: string);
29
+ readonly defaultValue?: string;
30
+ constructor(type: DialogType, message: string, defaultValue?: string);
32
31
  accept(promptText?: string): Promise<void>;
33
32
  dismiss(): Promise<void>;
34
33
  get _wasSettled(): boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "very-happy-dom",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "Like a light-weight version of `happy-dom` powered by Bun.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",