@storybook/react-dom-shim 10.2.0-alpha.1 → 10.2.0-alpha.3
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 +8 -8
- package/package.json +2 -6
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_adznosyd99v from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_adznosyd99v from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_adznosyd99v from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_adznosyd99v.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_adznosyd99v.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_adznosyd99v.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
@@ -17,7 +17,7 @@ import { isAbsolute as isAbsolute2, join as join2 } from "node:path";
|
|
|
17
17
|
// ../../core/src/shared/utils/module.ts
|
|
18
18
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
19
19
|
|
|
20
|
-
//
|
|
20
|
+
// ../../../node_modules/exsolve/dist/index.mjs
|
|
21
21
|
import assert from "node:assert";
|
|
22
22
|
import v8 from "node:v8";
|
|
23
23
|
import { format, inspect } from "node:util";
|
|
@@ -141,7 +141,7 @@ var hasOwnProperty = {}.hasOwnProperty;
|
|
|
141
141
|
var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace], own = {}.hasOwnProperty;
|
|
142
142
|
var isWindows = process.platform === "win32", globalCache = globalThis.__EXSOLVE_CACHE__ ||= /* @__PURE__ */ new Map();
|
|
143
143
|
|
|
144
|
-
//
|
|
144
|
+
// ../../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs
|
|
145
145
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
146
146
|
function normalizeWindowsPath(input = "") {
|
|
147
147
|
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.2.0-alpha.
|
|
3
|
+
"version": "10.2.0-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -37,17 +37,13 @@
|
|
|
37
37
|
"*.d.ts",
|
|
38
38
|
"!src/**/*"
|
|
39
39
|
],
|
|
40
|
-
"scripts": {
|
|
41
|
-
"check": "jiti ../../../scripts/check/check-package.ts",
|
|
42
|
-
"prep": "jiti ../../../scripts/build/build-package.ts"
|
|
43
|
-
},
|
|
44
40
|
"devDependencies": {
|
|
45
41
|
"typescript": "^5.8.3"
|
|
46
42
|
},
|
|
47
43
|
"peerDependencies": {
|
|
48
44
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
49
45
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
50
|
-
"storybook": "^10.2.0-alpha.
|
|
46
|
+
"storybook": "^10.2.0-alpha.3"
|
|
51
47
|
},
|
|
52
48
|
"publishConfig": {
|
|
53
49
|
"access": "public"
|