@storybook/react-dom-shim 10.6.0-alpha.4 → 10.6.0-alpha.6
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/preset.js +7 -7
- package/package.json +2 -2
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_la0hw6fwm2o from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_la0hw6fwm2o from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_la0hw6fwm2o from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_la0hw6fwm2o.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_la0hw6fwm2o.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_la0hw6fwm2o.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -142,7 +142,7 @@ var hasOwnProperty = {}.hasOwnProperty;
|
|
|
142
142
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], own = {}.hasOwnProperty;
|
|
143
143
|
var isWindows = process.platform === "win32", globalCache = globalThis.__EXSOLVE_CACHE__ ||= /* @__PURE__ */ new Map();
|
|
144
144
|
|
|
145
|
-
//
|
|
145
|
+
// ../../core/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
146
146
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
147
147
|
function normalizeWindowsPath(input = "") {
|
|
148
148
|
return input && input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-dom-shim",
|
|
3
|
-
"version": "10.6.0-alpha.
|
|
3
|
+
"version": "10.6.0-alpha.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
47
47
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
48
48
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
49
|
-
"storybook": "^10.6.0-alpha.
|
|
49
|
+
"storybook": "^10.6.0-alpha.6"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@types/react": {
|