|
1 | 1 | diff --git a/node_modules/storybook/dist/_node-chunks/chunk-HB37PYB7.js b/node_modules/storybook/dist/_node-chunks/chunk-HB37PYB7.js |
2 | | -index 32cca5f..4b2a05c 100644 |
| 2 | +index 32cca5f..b3b977a 100644 |
3 | 3 | --- a/node_modules/storybook/dist/_node-chunks/chunk-HB37PYB7.js |
4 | 4 | +++ b/node_modules/storybook/dist/_node-chunks/chunk-HB37PYB7.js |
5 | | -@@ -12538,11 +12538,13 @@ function validateFrameworkName(frameworkName) { |
| 5 | +@@ -12538,11 +12538,14 @@ function validateFrameworkName(frameworkName) { |
6 | 6 | return; |
7 | 7 | } |
8 | 8 | try { |
9 | 9 | + console.log({ frameworkName }); |
10 | 10 | resolveModulePath(join10(frameworkName, "preset"), { |
11 | 11 | extensions: [".mjs", ".js", ".cjs"], |
12 | | - conditions: ["node", "import", "require"] |
| 12 | +- conditions: ["node", "import", "require"] |
| 13 | ++ conditions: ["node", "import", "require"], |
| 14 | ++ try: true |
13 | 15 | }); |
14 | 16 | } catch (err) { |
15 | 17 | + console.log('err', err); |
16 | 18 | throw new CouldNotEvaluateFrameworkError({ frameworkName }); |
17 | 19 | } |
18 | 20 | } |
19 | 21 | diff --git a/node_modules/storybook/dist/_node-chunks/chunk-ZCRAXS3E.js b/node_modules/storybook/dist/_node-chunks/chunk-ZCRAXS3E.js |
20 | | -index c70e1d4..b922971 100644 |
| 22 | +index c70e1d4..f703bf6 100644 |
21 | 23 | --- a/node_modules/storybook/dist/_node-chunks/chunk-ZCRAXS3E.js |
22 | 24 | +++ b/node_modules/storybook/dist/_node-chunks/chunk-ZCRAXS3E.js |
23 | | -@@ -559,7 +559,7 @@ var RegExpPrototypeSymbolReplace = RegExp.prototype[Symbol.replace]; |
24 | | - var own = {}.hasOwnProperty; |
25 | | - var invalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i; |
26 | | - var deprecatedInvalidSegmentRegEx = /(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i; |
27 | | --var invalidPackageNameRegEx = /^\.|%|\\/; |
28 | | -+var invalidPackageNameRegEx = /^\.|%/; |
29 | | - var patternRegEx = /\*/g; |
30 | | - var encodedSeparatorRegEx = /%2f|%5c/i; |
31 | | - var emittedPackageWarnings = /* @__PURE__ */ new Set(); |
32 | 25 | @@ -1125,12 +1125,14 @@ function packageImportsResolve(name, base, conditions) { |
33 | 26 | } |
34 | 27 | __name(packageImportsResolve, "packageImportsResolve"); |
35 | 28 | function parsePackageName(specifier, base) { |
36 | | -+ console.log({ specifier }); |
| 29 | ++ // specifier = specifier.replaceAll('\\', '/'); |
37 | 30 | let separatorIndex = specifier.indexOf("/"); |
38 | 31 | let validPackageName = true; |
39 | 32 | let isScoped = false; |
|
0 commit comments