@storybook/react
Advanced tools
Comparing version
import { | ||
a, | ||
b | ||
} from "./_browser-chunks/chunk-H7BCVFE5.js"; | ||
import "./_browser-chunks/chunk-I6XXUOUB.js"; | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
argTypesEnhancers, | ||
parameters | ||
} from "./_browser-chunks/chunk-V6XFC4HM.js"; | ||
import "./_browser-chunks/chunk-VVH2AMAL.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
export { | ||
b as argTypesEnhancers, | ||
a as parameters | ||
argTypesEnhancers, | ||
parameters | ||
}; |
import { | ||
a, | ||
b, | ||
c | ||
} from "./_browser-chunks/chunk-WPRIBIMP.js"; | ||
import "./_browser-chunks/chunk-ATHW2IFX.js"; | ||
import "./_browser-chunks/chunk-I6XXUOUB.js"; | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
applyDecorators, | ||
decorators, | ||
parameters | ||
} from "./_browser-chunks/chunk-HBQ5Y6GW.js"; | ||
import "./_browser-chunks/chunk-BUAOEMNB.js"; | ||
import "./_browser-chunks/chunk-VVH2AMAL.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
export { | ||
a as applyDecorators, | ||
b as decorators, | ||
c as parameters | ||
applyDecorators, | ||
decorators, | ||
parameters | ||
}; |
@@ -1,11 +0,11 @@ | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
// src/entry-preview-rsc.tsx | ||
var r = { | ||
var parameters = { | ||
react: { | ||
rsc: !0 | ||
rsc: true | ||
} | ||
}; | ||
export { | ||
r as parameters | ||
parameters | ||
}; |
import { | ||
a, | ||
b, | ||
c, | ||
d as e, | ||
e as f, | ||
f as g | ||
} from "./_browser-chunks/chunk-SWCXR3LW.js"; | ||
beforeAll, | ||
decorators, | ||
mount, | ||
parameters, | ||
render, | ||
renderToCanvas | ||
} from "./_browser-chunks/chunk-XNNKYNNU.js"; | ||
import { | ||
a as d | ||
} from "./_browser-chunks/chunk-ATHW2IFX.js"; | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
applyDecorators | ||
} from "./_browser-chunks/chunk-BUAOEMNB.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
export { | ||
d as applyDecorators, | ||
g as beforeAll, | ||
e as decorators, | ||
c as mount, | ||
f as parameters, | ||
a as render, | ||
b as renderToCanvas | ||
applyDecorators, | ||
beforeAll, | ||
decorators, | ||
mount, | ||
parameters, | ||
render, | ||
renderToCanvas | ||
}; |
import { | ||
a as l | ||
} from "./_browser-chunks/chunk-IMI4UDTT.js"; | ||
__definePreview | ||
} from "./_browser-chunks/chunk-I3XJ5JHI.js"; | ||
import { | ||
b as s, | ||
g as a | ||
} from "./_browser-chunks/chunk-SWCXR3LW.js"; | ||
entry_preview_exports, | ||
renderToCanvas | ||
} from "./_browser-chunks/chunk-XNNKYNNU.js"; | ||
import { | ||
c as p | ||
} from "./_browser-chunks/chunk-H7BCVFE5.js"; | ||
import "./_browser-chunks/chunk-WPRIBIMP.js"; | ||
import "./_browser-chunks/chunk-ATHW2IFX.js"; | ||
import "./_browser-chunks/chunk-I6XXUOUB.js"; | ||
entry_preview_argtypes_exports | ||
} from "./_browser-chunks/chunk-V6XFC4HM.js"; | ||
import "./_browser-chunks/chunk-HBQ5Y6GW.js"; | ||
import "./_browser-chunks/chunk-BUAOEMNB.js"; | ||
import "./_browser-chunks/chunk-VVH2AMAL.js"; | ||
import { | ||
a as o | ||
} from "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
__name | ||
} from "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
// src/globals.ts | ||
import { global as g } from "@storybook/global"; | ||
var { window: i } = g; | ||
i && (i.STORYBOOK_ENV = "react"); | ||
import { global } from "@storybook/global"; | ||
var { window: globalWindow } = global; | ||
if (globalWindow) { | ||
globalWindow.STORYBOOK_ENV = "react"; | ||
} | ||
// src/portable-stories.tsx | ||
import * as A from "react"; | ||
import * as React from "react"; | ||
import { | ||
composeConfigs as d, | ||
composeStories as R, | ||
composeStory as T, | ||
setProjectAnnotations as S, | ||
setDefaultProjectAnnotations as f | ||
composeConfigs, | ||
composeStories as originalComposeStories, | ||
composeStory as originalComposeStory, | ||
setProjectAnnotations as originalSetProjectAnnotations, | ||
setDefaultProjectAnnotations | ||
} from "storybook/preview-api"; | ||
function u(e) { | ||
return f(c), S( | ||
e | ||
function setProjectAnnotations(projectAnnotations) { | ||
setDefaultProjectAnnotations(INTERNAL_DEFAULT_PROJECT_ANNOTATIONS); | ||
return originalSetProjectAnnotations( | ||
projectAnnotations | ||
); | ||
} | ||
o(u, "setProjectAnnotations"); | ||
var c = d([ | ||
a, | ||
p, | ||
__name(setProjectAnnotations, "setProjectAnnotations"); | ||
var INTERNAL_DEFAULT_PROJECT_ANNOTATIONS = composeConfigs([ | ||
entry_preview_exports, | ||
entry_preview_argtypes_exports, | ||
{ | ||
/** @deprecated */ | ||
renderToCanvas: /* @__PURE__ */ o(async (e, t) => { | ||
if (e.storyContext.testingLibraryRender == null) | ||
return s(e, t); | ||
let { | ||
storyContext: { context: r, unboundStoryFn: n, testingLibraryRender: m } | ||
} = e, { unmount: y } = m(A.createElement(n, { ...r }), { container: r.canvasElement }); | ||
return y; | ||
renderToCanvas: /* @__PURE__ */ __name(async (renderContext, canvasElement) => { | ||
if (renderContext.storyContext.testingLibraryRender == null) { | ||
return renderToCanvas(renderContext, canvasElement); | ||
} | ||
const { | ||
storyContext: { context, unboundStoryFn: Story, testingLibraryRender: render } | ||
} = renderContext; | ||
const { unmount } = render(React.createElement(Story, { ...context }), { container: context.canvasElement }); | ||
return unmount; | ||
}, "renderToCanvas") | ||
} | ||
]); | ||
function C(e, t, r, n) { | ||
return T( | ||
e, | ||
t, | ||
r, | ||
globalThis.globalProjectAnnotations ?? c, | ||
n | ||
function composeStory(story, componentAnnotations, projectAnnotations, exportsName) { | ||
return originalComposeStory( | ||
story, | ||
componentAnnotations, | ||
projectAnnotations, | ||
globalThis.globalProjectAnnotations ?? INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, | ||
exportsName | ||
); | ||
} | ||
o(C, "composeStory"); | ||
function P(e, t) { | ||
return R(e, t, C); | ||
__name(composeStory, "composeStory"); | ||
function composeStories(csfExports, projectAnnotations) { | ||
const composedStories = originalComposeStories(csfExports, projectAnnotations, composeStory); | ||
return composedStories; | ||
} | ||
o(P, "composeStories"); | ||
__name(composeStories, "composeStories"); | ||
export { | ||
c as INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, | ||
l as __definePreview, | ||
P as composeStories, | ||
C as composeStory, | ||
u as setProjectAnnotations | ||
INTERNAL_DEFAULT_PROJECT_ANNOTATIONS, | ||
__definePreview, | ||
composeStories, | ||
composeStory, | ||
setProjectAnnotations | ||
}; |
@@ -1,7 +0,7 @@ | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
// src/playwright.ts | ||
import { createPlaywrightTest as r } from "storybook/preview-api"; | ||
import { createPlaywrightTest } from "storybook/preview-api"; | ||
export { | ||
r as createTest | ||
createPlaywrightTest as createTest | ||
}; |
@@ -1,116 +0,203 @@ | ||
import CJS_COMPAT_NODE_URL from 'node:url'; | ||
import CJS_COMPAT_NODE_PATH from 'node:path'; | ||
import CJS_COMPAT_NODE_MODULE from "node:module"; | ||
import CJS_COMPAT_NODE_URL_72sk7t0ohcg from 'node:url'; | ||
import CJS_COMPAT_NODE_PATH_72sk7t0ohcg from 'node:path'; | ||
import CJS_COMPAT_NODE_MODULE_72sk7t0ohcg from "node:module"; | ||
const __filename = CJS_COMPAT_NODE_URL.fileURLToPath(import.meta.url); | ||
const __dirname = CJS_COMPAT_NODE_PATH.dirname(__filename); | ||
const require = CJS_COMPAT_NODE_MODULE.createRequire(import.meta.url); | ||
var __filename = CJS_COMPAT_NODE_URL_72sk7t0ohcg.fileURLToPath(import.meta.url); | ||
var __dirname = CJS_COMPAT_NODE_PATH_72sk7t0ohcg.dirname(__filename); | ||
var require = CJS_COMPAT_NODE_MODULE_72sk7t0ohcg.createRequire(import.meta.url); | ||
// ------------------------------------------------------------ | ||
// end of CJS compatibility banner, injected by Storybook's esbuild configuration | ||
// ------------------------------------------------------------ | ||
var b = Object.defineProperty; | ||
var o = (e, r) => b(e, "name", { value: r, configurable: !0 }); | ||
var __defProp = Object.defineProperty; | ||
var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); | ||
// src/preset.ts | ||
import { fileURLToPath as f } from "node:url"; | ||
import { fileURLToPath as fileURLToPath2 } from "node:url"; | ||
// ../../core/src/shared/utils/module.ts | ||
import { fileURLToPath as _, pathToFileURL as E } from "node:url"; | ||
import { fileURLToPath, pathToFileURL } from "node:url"; | ||
// ../../node_modules/pathe/dist/shared/pathe.ff20891b.mjs | ||
var P = /^[A-Za-z]:\//; | ||
function g(e = "") { | ||
return e && e.replace(/\\/g, "/").replace(P, (r) => r.toUpperCase()); | ||
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//; | ||
function normalizeWindowsPath(input = "") { | ||
if (!input) { | ||
return input; | ||
} | ||
return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase()); | ||
} | ||
o(g, "normalizeWindowsPath"); | ||
var R = /^[/\\]{2}/, x = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/, y = /^[A-Za-z]:$/; | ||
var h = /* @__PURE__ */ o(function(e) { | ||
if (e.length === 0) | ||
__name(normalizeWindowsPath, "normalizeWindowsPath"); | ||
var _UNC_REGEX = /^[/\\]{2}/; | ||
var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/; | ||
var _DRIVE_LETTER_RE = /^[A-Za-z]:$/; | ||
var normalize = /* @__PURE__ */ __name(function(path2) { | ||
if (path2.length === 0) { | ||
return "."; | ||
e = g(e); | ||
let r = e.match(R), t = c(e), s = e[e.length - 1] === "/"; | ||
return e = v(e, !t), e.length === 0 ? t ? "/" : s ? "./" : "." : (s && (e += "/"), y.test(e) && (e += "/"), r ? t ? `//${e}` : `//./${e}` : t && !c(e) ? `/${e}` : e); | ||
}, "normalize"), m = /* @__PURE__ */ o(function(...e) { | ||
if (e.length === 0) | ||
} | ||
path2 = normalizeWindowsPath(path2); | ||
const isUNCPath = path2.match(_UNC_REGEX); | ||
const isPathAbsolute = isAbsolute(path2); | ||
const trailingSeparator = path2[path2.length - 1] === "/"; | ||
path2 = normalizeString(path2, !isPathAbsolute); | ||
if (path2.length === 0) { | ||
if (isPathAbsolute) { | ||
return "/"; | ||
} | ||
return trailingSeparator ? "./" : "."; | ||
} | ||
if (trailingSeparator) { | ||
path2 += "/"; | ||
} | ||
if (_DRIVE_LETTER_RE.test(path2)) { | ||
path2 += "/"; | ||
} | ||
if (isUNCPath) { | ||
if (!isPathAbsolute) { | ||
return `//./${path2}`; | ||
} | ||
return `//${path2}`; | ||
} | ||
return isPathAbsolute && !isAbsolute(path2) ? `/${path2}` : path2; | ||
}, "normalize"); | ||
var join = /* @__PURE__ */ __name(function(...arguments_) { | ||
if (arguments_.length === 0) { | ||
return "."; | ||
let r; | ||
for (let t of e) | ||
t && t.length > 0 && (r === void 0 ? r = t : r += `/${t}`); | ||
return r === void 0 ? "." : h(r.replace(/\/\/+/g, "/")); | ||
} | ||
let joined; | ||
for (const argument of arguments_) { | ||
if (argument && argument.length > 0) { | ||
if (joined === void 0) { | ||
joined = argument; | ||
} else { | ||
joined += `/${argument}`; | ||
} | ||
} | ||
} | ||
if (joined === void 0) { | ||
return "."; | ||
} | ||
return normalize(joined.replace(/\/\/+/g, "/")); | ||
}, "join"); | ||
function v(e, r) { | ||
let t = "", s = 0, a = -1, i = 0, l = null; | ||
for (let n = 0; n <= e.length; ++n) { | ||
if (n < e.length) | ||
l = e[n]; | ||
else { | ||
if (l === "/") | ||
break; | ||
l = "/"; | ||
function normalizeString(path2, allowAboveRoot) { | ||
let res = ""; | ||
let lastSegmentLength = 0; | ||
let lastSlash = -1; | ||
let dots = 0; | ||
let char = null; | ||
for (let index = 0; index <= path2.length; ++index) { | ||
if (index < path2.length) { | ||
char = path2[index]; | ||
} else if (char === "/") { | ||
break; | ||
} else { | ||
char = "/"; | ||
} | ||
if (l === "/") { | ||
if (!(a === n - 1 || i === 1)) if (i === 2) { | ||
if (t.length < 2 || s !== 2 || t[t.length - 1] !== "." || t[t.length - 2] !== ".") { | ||
if (t.length > 2) { | ||
let d = t.lastIndexOf("/"); | ||
d === -1 ? (t = "", s = 0) : (t = t.slice(0, d), s = t.length - 1 - t.lastIndexOf("/")), a = n, i = 0; | ||
if (char === "/") { | ||
if (lastSlash === index - 1 || dots === 1) ; | ||
else if (dots === 2) { | ||
if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") { | ||
if (res.length > 2) { | ||
const lastSlashIndex = res.lastIndexOf("/"); | ||
if (lastSlashIndex === -1) { | ||
res = ""; | ||
lastSegmentLength = 0; | ||
} else { | ||
res = res.slice(0, lastSlashIndex); | ||
lastSegmentLength = res.length - 1 - res.lastIndexOf("/"); | ||
} | ||
lastSlash = index; | ||
dots = 0; | ||
continue; | ||
} else if (t.length > 0) { | ||
t = "", s = 0, a = n, i = 0; | ||
} else if (res.length > 0) { | ||
res = ""; | ||
lastSegmentLength = 0; | ||
lastSlash = index; | ||
dots = 0; | ||
continue; | ||
} | ||
} | ||
r && (t += t.length > 0 ? "/.." : "..", s = 2); | ||
} else | ||
t.length > 0 ? t += `/${e.slice(a + 1, n)}` : t = e.slice(a + 1, n), s = n - a - 1; | ||
a = n, i = 0; | ||
} else l === "." && i !== -1 ? ++i : i = -1; | ||
if (allowAboveRoot) { | ||
res += res.length > 0 ? "/.." : ".."; | ||
lastSegmentLength = 2; | ||
} | ||
} else { | ||
if (res.length > 0) { | ||
res += `/${path2.slice(lastSlash + 1, index)}`; | ||
} else { | ||
res = path2.slice(lastSlash + 1, index); | ||
} | ||
lastSegmentLength = index - lastSlash - 1; | ||
} | ||
lastSlash = index; | ||
dots = 0; | ||
} else if (char === "." && dots !== -1) { | ||
++dots; | ||
} else { | ||
dots = -1; | ||
} | ||
} | ||
return t; | ||
return res; | ||
} | ||
o(v, "normalizeString"); | ||
var c = /* @__PURE__ */ o(function(e) { | ||
return x.test(e); | ||
__name(normalizeString, "normalizeString"); | ||
var isAbsolute = /* @__PURE__ */ __name(function(p) { | ||
return _IS_ABSOLUTE_RE.test(p); | ||
}, "isAbsolute"); | ||
var u = /* @__PURE__ */ o(function(e) { | ||
let r = g(e).replace(/\/$/, "").split("/").slice(0, -1); | ||
return r.length === 1 && y.test(r[0]) && (r[0] += "/"), r.join("/") || (c(e) ? "/" : "."); | ||
var dirname = /* @__PURE__ */ __name(function(p) { | ||
const segments = normalizeWindowsPath(p).replace(/\/$/, "").split("/").slice(0, -1); | ||
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) { | ||
segments[0] += "/"; | ||
} | ||
return segments.join("/") || (isAbsolute(p) ? "/" : "."); | ||
}, "dirname"); | ||
// ../../core/src/shared/utils/module.ts | ||
var k = /* @__PURE__ */ o((...e) => typeof import.meta.resolve != "function" && process.env.VITEST === "true" ? (console.warn( | ||
"importMetaResolve from within Storybook is being used in a Vitest test, but it shouldn't be. Please report this at https://github.com/storybookjs/storybook/issues/new?template=bug_report.yml" | ||
), E(e[0]).href) : import.meta.resolve(...e), "importMetaResolve"), p = /* @__PURE__ */ o((e, r) => u(_(k(m(e, "package.json"), r))), "resolvePackageDir"); | ||
var importMetaResolve = /* @__PURE__ */ __name((...args) => { | ||
if (typeof import.meta.resolve !== "function" && process.env.VITEST === "true") { | ||
console.warn( | ||
"importMetaResolve from within Storybook is being used in a Vitest test, but it shouldn't be. Please report this at https://github.com/storybookjs/storybook/issues/new?template=bug_report.yml" | ||
); | ||
return pathToFileURL(args[0]).href; | ||
} | ||
return import.meta.resolve(...args); | ||
}, "importMetaResolve"); | ||
var resolvePackageDir = /* @__PURE__ */ __name((pkg, parent) => { | ||
return dirname(fileURLToPath(importMetaResolve(join(pkg, "package.json"), parent))); | ||
}, "resolvePackageDir"); | ||
// src/preset.ts | ||
var X = [ | ||
var addons = [ | ||
import.meta.resolve("@storybook/react-dom-shim/preset") | ||
], G = /* @__PURE__ */ o(async (e = [], r) => { | ||
let [t, s] = await Promise.all([ | ||
r.presets.apply("docs", {}, r), | ||
r.presets.apply("features", {}, r) | ||
]), a = Object.keys(t).length > 0, i = s?.experimentalRSC; | ||
return [].concat(e).concat([ | ||
f(import.meta.resolve("@storybook/react/entry-preview")), | ||
f(import.meta.resolve("@storybook/react/entry-preview-argtypes")) | ||
]; | ||
var previewAnnotations = /* @__PURE__ */ __name(async (input = [], options) => { | ||
const [docsConfig, features] = await Promise.all([ | ||
options.presets.apply("docs", {}, options), | ||
options.presets.apply("features", {}, options) | ||
]); | ||
const docsEnabled = Object.keys(docsConfig).length > 0; | ||
const experimentalRSC = features?.experimentalRSC; | ||
const result = []; | ||
return result.concat(input).concat([ | ||
fileURLToPath2(import.meta.resolve("@storybook/react/entry-preview")), | ||
fileURLToPath2(import.meta.resolve("@storybook/react/entry-preview-argtypes")) | ||
]).concat( | ||
a ? [f(import.meta.resolve("@storybook/react/entry-preview-docs"))] : [] | ||
docsEnabled ? [fileURLToPath2(import.meta.resolve("@storybook/react/entry-preview-docs"))] : [] | ||
).concat( | ||
i ? [f(import.meta.resolve("@storybook/react/entry-preview-rsc"))] : [] | ||
experimentalRSC ? [fileURLToPath2(import.meta.resolve("@storybook/react/entry-preview-rsc"))] : [] | ||
); | ||
}, "previewAnnotations"), H = /* @__PURE__ */ o(async (e) => { | ||
}, "previewAnnotations"); | ||
var resolvedReact = /* @__PURE__ */ __name(async (existing) => { | ||
try { | ||
return { | ||
...e, | ||
react: p("react"), | ||
reactDom: p("react-dom") | ||
...existing, | ||
react: resolvePackageDir("react"), | ||
reactDom: resolvePackageDir("react-dom") | ||
}; | ||
} catch { | ||
return e; | ||
} catch (e) { | ||
return existing; | ||
} | ||
}, "resolvedReact"); | ||
export { | ||
X as addons, | ||
G as previewAnnotations, | ||
H as resolvedReact | ||
addons, | ||
previewAnnotations, | ||
resolvedReact | ||
}; |
import { | ||
a | ||
} from "./_browser-chunks/chunk-IMI4UDTT.js"; | ||
import "./_browser-chunks/chunk-SWCXR3LW.js"; | ||
import "./_browser-chunks/chunk-H7BCVFE5.js"; | ||
import "./_browser-chunks/chunk-WPRIBIMP.js"; | ||
import "./_browser-chunks/chunk-ATHW2IFX.js"; | ||
import "./_browser-chunks/chunk-I6XXUOUB.js"; | ||
import "./_browser-chunks/chunk-NJAYK5WA.js"; | ||
__definePreview | ||
} from "./_browser-chunks/chunk-I3XJ5JHI.js"; | ||
import "./_browser-chunks/chunk-XNNKYNNU.js"; | ||
import "./_browser-chunks/chunk-V6XFC4HM.js"; | ||
import "./_browser-chunks/chunk-HBQ5Y6GW.js"; | ||
import "./_browser-chunks/chunk-BUAOEMNB.js"; | ||
import "./_browser-chunks/chunk-VVH2AMAL.js"; | ||
import "./_browser-chunks/chunk-L5NVL7MD.js"; | ||
export { | ||
a as __definePreview | ||
__definePreview | ||
}; |
{ | ||
"name": "@storybook/react", | ||
"version": "0.0.0-pr-31819-sha-19546591", | ||
"version": "0.0.0-pr-31819-sha-19dfdec3", | ||
"description": "Storybook React renderer", | ||
@@ -22,2 +22,3 @@ "keywords": [ | ||
"license": "MIT", | ||
"type": "module", | ||
"exports": { | ||
@@ -57,3 +58,3 @@ ".": { | ||
"@storybook/global": "^5.0.0", | ||
"@storybook/react-dom-shim": "0.0.0-pr-31819-sha-19546591" | ||
"@storybook/react-dom-shim": "0.0.0-pr-31819-sha-19dfdec3" | ||
}, | ||
@@ -82,5 +83,5 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", | ||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", | ||
"storybook": "^0.0.0-pr-31819-sha-19546591", | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", | ||
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", | ||
"storybook": "^0.0.0-pr-31819-sha-19dfdec3", | ||
"typescript": ">= 4.9.x" | ||
@@ -96,3 +97,3 @@ }, | ||
}, | ||
"gitHead": "a6e7fd8a655c69780bc20b9749c2699e44beae78" | ||
"gitHead": "a8e7fd8a655c69780bc20b9749d2699e45beae14" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
871884
45.79%23663
52.81%1
-50%Yes
NaN2
100%+ Added
- Removed
Updated