@storybook/sveltekit 7.6.22 → 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.
@@ -2745,7 +2745,9 @@ interface CoreConfig {
2745
2745
  };
2746
2746
  renderer?: RendererName;
2747
2747
  disableWebpackDefaults?: boolean;
2748
- channelOptions?: Partial<Options$1>;
2748
+ channelOptions?: Partial<Options$1> & {
2749
+ wsToken?: string;
2750
+ };
2749
2751
  /**
2750
2752
  * Disables the generation of project.json, a file containing Storybook metadata
2751
2753
  */
@@ -2764,6 +2766,11 @@ interface CoreConfig {
2764
2766
  * @see https://storybook.js.org/telemetry
2765
2767
  */
2766
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;
2767
2774
  /**
2768
2775
  * enable CORS headings to run document in a "secure context"
2769
2776
  * see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
@@ -2851,6 +2858,8 @@ interface BuilderOptions {
2851
2858
  versionCheck?: VersionCheck;
2852
2859
  disableWebpackDefaults?: boolean;
2853
2860
  serverChannelUrl?: string;
2861
+ localAddress?: string;
2862
+ networkAddress?: string;
2854
2863
  }
2855
2864
  interface StorybookConfigOptions {
2856
2865
  presets: Presets;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, H as HrefConfig, N as NormalizedHrefConfig, S as StorybookConfig, a as SvelteKitParameters } from './index-c1287fbb.js';
1
+ export { F as FrameworkOptions, H as HrefConfig, N as NormalizedHrefConfig, S as StorybookConfig, a as SvelteKitParameters } from './index-28f43ac1.js';
2
2
  import '@storybook/builder-vite';
3
3
  import 'file-system-cache';
4
4
  import '@babel/core';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './index-c1287fbb.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-28f43ac1.js';
2
2
  import '@storybook/builder-vite';
3
3
  import 'file-system-cache';
4
4
  import '@babel/core';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/sveltekit",
3
- "version": "7.6.22",
3
+ "version": "7.6.24",
4
4
  "description": "Storybook for SvelteKit",
5
5
  "keywords": [
6
6
  "storybook",
@@ -53,10 +53,10 @@
53
53
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
54
54
  },
55
55
  "dependencies": {
56
- "@storybook/addon-actions": "7.6.22",
57
- "@storybook/builder-vite": "7.6.22",
58
- "@storybook/svelte": "7.6.22",
59
- "@storybook/svelte-vite": "7.6.22"
56
+ "@storybook/addon-actions": "7.6.24",
57
+ "@storybook/builder-vite": "7.6.24",
58
+ "@storybook/svelte": "7.6.24",
59
+ "@storybook/svelte-vite": "7.6.24"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/node": "^18.0.0",