@storybook/preact-vite 7.6.23 → 7.6.24

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.
@@ -2766,6 +2766,11 @@ interface CoreConfig {
2766
2766
  * @see https://storybook.js.org/telemetry
2767
2767
  */
2768
2768
  enableCrashReports?: boolean;
2769
+ /**
2770
+ * Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
2771
+ * all hosts except known local/network address, or `true` to allow all hosts.
2772
+ */
2773
+ allowedHosts?: string[] | true;
2769
2774
  /**
2770
2775
  * enable CORS headings to run document in a "secure context"
2771
2776
  * see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
@@ -2853,6 +2858,8 @@ interface BuilderOptions {
2853
2858
  versionCheck?: VersionCheck;
2854
2859
  disableWebpackDefaults?: boolean;
2855
2860
  serverChannelUrl?: string;
2861
+ localAddress?: string;
2862
+ networkAddress?: string;
2856
2863
  }
2857
2864
  interface StorybookConfigOptions {
2858
2865
  presets: Presets;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-7dca5128.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-d1971992.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './index-7dca5128.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-d1971992.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact-vite",
3
- "version": "7.6.23",
3
+ "version": "7.6.24",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.6.23",
52
- "@storybook/preact": "7.6.23"
51
+ "@storybook/builder-vite": "7.6.24",
52
+ "@storybook/preact": "7.6.24"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^18.0.0",