@storybook/react-dom-shim 10.4.0-alpha.8 → 10.4.0-beta.0

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/preset.js +6 -6
  2. package/package.json +12 -2
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_0p9ovla8xt5r from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_0p9ovla8xt5r from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_0p9ovla8xt5r from "node:module";
1
+ import CJS_COMPAT_NODE_URL_erv388vbl77 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_erv388vbl77 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_erv388vbl77 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_0p9ovla8xt5r.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_0p9ovla8xt5r.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_0p9ovla8xt5r.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_erv388vbl77.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_erv388vbl77.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_erv388vbl77.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-dom-shim",
3
- "version": "10.4.0-alpha.8",
3
+ "version": "10.4.0-beta.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "storybook"
@@ -42,9 +42,19 @@
42
42
  "typescript": "^5.8.3"
43
43
  },
44
44
  "peerDependencies": {
45
+ "@types/react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
46
+ "@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
45
47
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
46
48
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
47
- "storybook": "^10.4.0-alpha.8"
49
+ "storybook": "^10.4.0-beta.0"
50
+ },
51
+ "peerDependenciesMeta": {
52
+ "@types/react": {
53
+ "optional": true
54
+ },
55
+ "@types/react-dom": {
56
+ "optional": true
57
+ }
48
58
  },
49
59
  "publishConfig": {
50
60
  "access": "public"