@storybook/nextjs 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.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { a as Addon_StoryContext } from '../index.d-1fe859cf.js';
2
+ import { a as Addon_StoryContext } from '../index.d-c1f45e61.js';
3
3
  import 'file-system-cache';
4
4
  import '@babel/core';
5
5
  import 'http';
@@ -2868,7 +2868,9 @@ interface CoreConfig {
2868
2868
  };
2869
2869
  renderer?: RendererName;
2870
2870
  disableWebpackDefaults?: boolean;
2871
- channelOptions?: Partial<Options$1>;
2871
+ channelOptions?: Partial<Options$1> & {
2872
+ wsToken?: string;
2873
+ };
2872
2874
  /**
2873
2875
  * Disables the generation of project.json, a file containing Storybook metadata
2874
2876
  */
@@ -2887,6 +2889,11 @@ interface CoreConfig {
2887
2889
  * @see https://storybook.js.org/telemetry
2888
2890
  */
2889
2891
  enableCrashReports?: boolean;
2892
+ /**
2893
+ * Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
2894
+ * all hosts except known local/network address, or `true` to allow all hosts.
2895
+ */
2896
+ allowedHosts?: string[] | true;
2890
2897
  /**
2891
2898
  * enable CORS headings to run document in a "secure context"
2892
2899
  * see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
@@ -2974,6 +2981,8 @@ interface BuilderOptions {
2974
2981
  versionCheck?: VersionCheck;
2975
2982
  disableWebpackDefaults?: boolean;
2976
2983
  serverChannelUrl?: string;
2984
+ localAddress?: string;
2985
+ networkAddress?: string;
2977
2986
  }
2978
2987
  interface StorybookConfigOptions {
2979
2988
  presets: Presets;
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty } from './index.d-1fe859cf.js';
1
+ import { P as PresetProperty } from './index.d-c1f45e61.js';
2
2
  import { TransformOptions } from '@babel/core';
3
3
  import { StorybookConfig } from './index.js';
4
4
  import 'file-system-cache';
package/dist/preview.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Addon_DecoratorFunction } from './index.d-1fe859cf.js';
1
+ import { A as Addon_DecoratorFunction } from './index.d-c1f45e61.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/nextjs",
3
- "version": "7.6.22",
3
+ "version": "7.6.24",
4
4
  "description": "Storybook for Next.js",
5
5
  "keywords": [
6
6
  "storybook",
@@ -98,14 +98,14 @@
98
98
  "@babel/preset-react": "^7.22.15",
99
99
  "@babel/preset-typescript": "^7.23.2",
100
100
  "@babel/runtime": "^7.23.2",
101
- "@storybook/addon-actions": "7.6.22",
102
- "@storybook/builder-webpack5": "7.6.22",
103
- "@storybook/core-common": "7.6.22",
104
- "@storybook/core-events": "7.6.22",
105
- "@storybook/node-logger": "7.6.22",
106
- "@storybook/preset-react-webpack": "7.6.22",
107
- "@storybook/preview-api": "7.6.22",
108
- "@storybook/react": "7.6.22",
101
+ "@storybook/addon-actions": "7.6.24",
102
+ "@storybook/builder-webpack5": "7.6.24",
103
+ "@storybook/core-common": "7.6.24",
104
+ "@storybook/core-events": "7.6.24",
105
+ "@storybook/node-logger": "7.6.24",
106
+ "@storybook/preset-react-webpack": "7.6.24",
107
+ "@storybook/preview-api": "7.6.24",
108
+ "@storybook/react": "7.6.24",
109
109
  "@types/node": "^18.0.0",
110
110
  "@types/semver": "^7.3.4",
111
111
  "css-loader": "^6.7.3",