@storybook/telemetry 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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -0
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -2767,6 +2767,11 @@ interface CoreConfig {
2767
2767
  * @see https://storybook.js.org/telemetry
2768
2768
  */
2769
2769
  enableCrashReports?: boolean;
2770
+ /**
2771
+ * Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
2772
+ * all hosts except known local/network address, or `true` to allow all hosts.
2773
+ */
2774
+ allowedHosts?: string[] | true;
2770
2775
  /**
2771
2776
  * enable CORS headings to run document in a "secure context"
2772
2777
  * see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
@@ -2854,6 +2859,8 @@ interface BuilderOptions {
2854
2859
  versionCheck?: VersionCheck;
2855
2860
  disableWebpackDefaults?: boolean;
2856
2861
  serverChannelUrl?: string;
2862
+ localAddress?: string;
2863
+ networkAddress?: string;
2857
2864
  }
2858
2865
  interface StorybookConfigOptions {
2859
2866
  presets: Presets;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/telemetry",
3
- "version": "7.6.23",
3
+ "version": "7.6.24",
4
4
  "description": "Telemetry logging for crash reports and usage statistics",
5
5
  "keywords": [
6
6
  "storybook"
@@ -44,9 +44,9 @@
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/client-logger": "7.6.23",
48
- "@storybook/core-common": "7.6.23",
49
- "@storybook/csf-tools": "7.6.23",
47
+ "@storybook/client-logger": "7.6.24",
48
+ "@storybook/core-common": "7.6.24",
49
+ "@storybook/csf-tools": "7.6.24",
50
50
  "chalk": "^4.1.0",
51
51
  "detect-package-manager": "^2.0.1",
52
52
  "fetch-retry": "^5.0.2",