@storybook/types 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.
- package/dist/index.d.ts +7 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3557,6 +3557,11 @@ interface CoreConfig {
|
|
|
3557
3557
|
* @see https://storybook.js.org/telemetry
|
|
3558
3558
|
*/
|
|
3559
3559
|
enableCrashReports?: boolean;
|
|
3560
|
+
/**
|
|
3561
|
+
* Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
|
|
3562
|
+
* all hosts except known local/network address, or `true` to allow all hosts.
|
|
3563
|
+
*/
|
|
3564
|
+
allowedHosts?: string[] | true;
|
|
3560
3565
|
/**
|
|
3561
3566
|
* enable CORS headings to run document in a "secure context"
|
|
3562
3567
|
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
|
|
@@ -3663,6 +3668,8 @@ interface BuilderOptions {
|
|
|
3663
3668
|
versionCheck?: VersionCheck;
|
|
3664
3669
|
disableWebpackDefaults?: boolean;
|
|
3665
3670
|
serverChannelUrl?: string;
|
|
3671
|
+
localAddress?: string;
|
|
3672
|
+
networkAddress?: string;
|
|
3666
3673
|
}
|
|
3667
3674
|
interface StorybookConfigOptions {
|
|
3668
3675
|
presets: Presets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/types",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.24",
|
|
4
4
|
"description": "Core Storybook TS Types",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@storybook/channels": "7.6.
|
|
47
|
+
"@storybook/channels": "7.6.24",
|
|
48
48
|
"@types/babel__core": "^7.0.0",
|
|
49
49
|
"@types/express": "^4.7.0",
|
|
50
50
|
"file-system-cache": "2.3.0"
|