@storybook/nextjs 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.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { a as Addon_StoryContext } from '../index.d-1fc80c1a.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';
@@ -2889,6 +2889,11 @@ interface CoreConfig {
2889
2889
  * @see https://storybook.js.org/telemetry
2890
2890
  */
2891
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;
2892
2897
  /**
2893
2898
  * enable CORS headings to run document in a "secure context"
2894
2899
  * see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
@@ -2976,6 +2981,8 @@ interface BuilderOptions {
2976
2981
  versionCheck?: VersionCheck;
2977
2982
  disableWebpackDefaults?: boolean;
2978
2983
  serverChannelUrl?: string;
2984
+ localAddress?: string;
2985
+ networkAddress?: string;
2979
2986
  }
2980
2987
  interface StorybookConfigOptions {
2981
2988
  presets: Presets;
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty } from './index.d-1fc80c1a.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-1fc80c1a.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.23",
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.23",
102
- "@storybook/builder-webpack5": "7.6.23",
103
- "@storybook/core-common": "7.6.23",
104
- "@storybook/core-events": "7.6.23",
105
- "@storybook/node-logger": "7.6.23",
106
- "@storybook/preset-react-webpack": "7.6.23",
107
- "@storybook/preview-api": "7.6.23",
108
- "@storybook/react": "7.6.23",
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",