@storybook/core
Advanced tools
Comparing version 0.0.0-pr-28920-sha-f4db6c03 to 0.0.0-pr-28975-sha-896e3f06
@@ -47,2 +47,5 @@ import * as _storybook_core_common from '@storybook/core/common'; | ||
} | ||
declare enum CommunityBuilder { | ||
Rsbuild = "rsbuild" | ||
} | ||
declare const compilerNameToCoreCompiler: Record<string, CoreWebpackCompilers>; | ||
@@ -134,4 +137,4 @@ declare const builderNameToCoreBuilder: Record<string, CoreBuilder>; | ||
/** @deprecated Please use `frameworkToRenderer` from `@storybook/core-common` instead */ | ||
declare const frameworkToRenderer: Record<"react-native" | "react" | "vue3" | "angular" | "html" | "web-components" | "ember" | "svelte" | "preact" | "server" | "qwik" | "solid" | "experimental-nextjs-vite" | "html-vite" | "html-webpack5" | "nextjs" | "preact-vite" | "preact-webpack5" | "react-vite" | "react-webpack5" | "server-webpack5" | "svelte-vite" | "svelte-webpack5" | "sveltekit" | "vue3-vite" | "vue3-webpack5" | "web-components-vite" | "web-components-webpack5", "vue" | SupportedRenderers$1>; | ||
declare const frameworkToDefaultBuilder: Record<SupportedFrameworks, CoreBuilder>; | ||
declare const frameworkToRenderer: Record<"react-native" | "react" | "vue3" | "angular" | "html" | "web-components" | "ember" | "svelte" | "preact" | "server" | "qwik" | "solid" | "experimental-nextjs-vite" | "html-vite" | "html-webpack5" | "nextjs" | "preact-vite" | "preact-webpack5" | "react-vite" | "react-webpack5" | "server-webpack5" | "svelte-vite" | "svelte-webpack5" | "sveltekit" | "vue3-vite" | "vue3-webpack5" | "web-components-vite" | "web-components-webpack5" | "react-rsbuild" | "vue3-rsbuild", "vue" | SupportedRenderers$1>; | ||
declare const frameworkToDefaultBuilder: Record<SupportedFrameworks, CoreBuilder | CommunityBuilder>; | ||
declare function copyTemplateFiles({ packageManager, renderer, language, destination, commonAssetsDir, }: CopyTemplateFilesOptions): Promise<void>; | ||
@@ -201,2 +204,2 @@ declare function adjustTemplate(templatePath: string, templateData: Record<string, any>): Promise<void>; | ||
export { ANGULAR_JSON_PATH, AngularJSON, type Builder, CoreBuilder, CoreWebpackCompilers, type ExternalFramework, type NpmOptions, ProjectType, SUPPORTED_ESLINT_EXTENSIONS, SUPPORTED_RENDERERS, SupportedLanguage, type SupportedRenderers, type TemplateConfiguration, type TemplateMatcher, addToDevDependenciesIfNotPresent, adjustTemplate, builderNameToCoreBuilder, coerceSemver, compilerNameToCoreCompiler, compoDocPreviewPrefix, configureEslintPlugin, copyTemplate, copyTemplateFiles, detect, detectBuilder, detectFrameworkPreset, detectLanguage, detectPnp, externalFrameworks, extractEslintInfo, findEslintFile, frameworkToDefaultBuilder, frameworkToRenderer, getBabelDependencies, getRendererDir, getStorybookVersionSpecifier, hasStorybookDependencies, installableProjectTypes, isNxProject, isStorybookInstantiated, normalizeExtends, promptForCompoDocs, readFileAsJson, suggestESLintPlugin, supportedTemplates, unsupportedTemplate, writeFileAsJson }; | ||
export { ANGULAR_JSON_PATH, AngularJSON, type Builder, CommunityBuilder, CoreBuilder, CoreWebpackCompilers, type ExternalFramework, type NpmOptions, ProjectType, SUPPORTED_ESLINT_EXTENSIONS, SUPPORTED_RENDERERS, SupportedLanguage, type SupportedRenderers, type TemplateConfiguration, type TemplateMatcher, addToDevDependenciesIfNotPresent, adjustTemplate, builderNameToCoreBuilder, coerceSemver, compilerNameToCoreCompiler, compoDocPreviewPrefix, configureEslintPlugin, copyTemplate, copyTemplateFiles, detect, detectBuilder, detectFrameworkPreset, detectLanguage, detectPnp, externalFrameworks, extractEslintInfo, findEslintFile, frameworkToDefaultBuilder, frameworkToRenderer, getBabelDependencies, getRendererDir, getStorybookVersionSpecifier, hasStorybookDependencies, installableProjectTypes, isNxProject, isStorybookInstantiated, normalizeExtends, promptForCompoDocs, readFileAsJson, suggestESLintPlugin, supportedTemplates, unsupportedTemplate, writeFileAsJson }; |
@@ -11,3 +11,6 @@ import { loadAllPresets } from '@storybook/core/common'; | ||
declare function buildDevStandalone(options: CLIOptions & LoadOptions & BuilderOptions): Promise<{ | ||
declare function buildDevStandalone(options: CLIOptions & LoadOptions & BuilderOptions & { | ||
storybookVersion?: string; | ||
previewConfigPath?: string; | ||
}): Promise<{ | ||
port: number; | ||
@@ -14,0 +17,0 @@ address: string; |
@@ -62,3 +62,4 @@ declare abstract class StorybookError extends Error { | ||
RENDERER_WEB_COMPONENTS = "RENDERER_WEB-COMPONENTS", | ||
FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS" | ||
FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS", | ||
ADDON_VITEST = "ADDON_VITEST" | ||
} | ||
@@ -177,3 +178,13 @@ declare class MissingStoryAfterHmrError extends StorybookError { | ||
} | ||
declare class UnsupportedViewportDimensionError extends StorybookError { | ||
data: { | ||
dimension: string; | ||
value: string; | ||
}; | ||
constructor(data: { | ||
dimension: string; | ||
value: string; | ||
}); | ||
} | ||
export { CalledExtractOnStoreError, CalledPreviewMethodBeforeInitializationError, Category, EmptyIndexError, ImplicitActionsDuringRendering, MdxFileWithNoCsfReferencesError, MissingRenderToCanvasError, MissingStoryAfterHmrError, MissingStoryFromCsfFileError, MountMustBeDestructuredError, NextJsSharpError, NextjsRouterMocksNotAvailable, NoRenderFunctionError, NoStoryMatchError, NoStoryMountedError, StoryIndexFetchError, StoryStoreAccessedBeforeInitializationError, UnknownArgTypesError }; | ||
export { CalledExtractOnStoreError, CalledPreviewMethodBeforeInitializationError, Category, EmptyIndexError, ImplicitActionsDuringRendering, MdxFileWithNoCsfReferencesError, MissingRenderToCanvasError, MissingStoryAfterHmrError, MissingStoryFromCsfFileError, MountMustBeDestructuredError, NextJsSharpError, NextjsRouterMocksNotAvailable, NoRenderFunctionError, NoStoryMatchError, NoStoryMountedError, StoryIndexFetchError, StoryStoreAccessedBeforeInitializationError, UnknownArgTypesError, UnsupportedViewportDimensionError }; |
@@ -1,20 +0,20 @@ | ||
var ee = Object.defineProperty; | ||
var t = (u, r) => ee(u, "name", { value: r, configurable: !0 }); | ||
var oe = Object.defineProperty; | ||
var t = (u, n) => oe(u, "name", { value: n, configurable: !0 }); | ||
// ../node_modules/ts-dedent/esm/index.js | ||
function n(u) { | ||
for (var r = [], e = 1; e < arguments.length; e++) | ||
r[e - 1] = arguments[e]; | ||
function r(u) { | ||
for (var n = [], e = 1; e < arguments.length; e++) | ||
n[e - 1] = arguments[e]; | ||
var a = Array.from(typeof u == "string" ? [u] : u); | ||
a[a.length - 1] = a[a.length - 1].replace(/\r?\n([\t ]*)$/, ""); | ||
var p = a.reduce(function(i, E) { | ||
var y = E.match(/\n([\t ]+|(?!\s).)/g); | ||
return y ? i.concat(y.map(function(m) { | ||
var g = a.reduce(function(i, m) { | ||
var y = m.match(/\n([\t ]+|(?!\s).)/g); | ||
return y ? i.concat(y.map(function(E) { | ||
var l, d; | ||
return (d = (l = m.match(/[\t ]/g)) === null || l === void 0 ? void 0 : l.length) !== null && d !== void 0 ? d : 0; | ||
return (d = (l = E.match(/[\t ]/g)) === null || l === void 0 ? void 0 : l.length) !== null && d !== void 0 ? d : 0; | ||
})) : i; | ||
}, []); | ||
if (p.length) { | ||
if (g.length) { | ||
var h = new RegExp(` | ||
[ ]{` + Math.min.apply(Math, p) + "}", "g"); | ||
[ ]{` + Math.min.apply(Math, g) + "}", "g"); | ||
a = a.map(function(i) { | ||
@@ -27,26 +27,26 @@ return i.replace(h, ` | ||
var c = a[0]; | ||
return r.forEach(function(i, E) { | ||
var y = c.match(/(?:^|\n)( *)$/), m = y ? y[1] : "", l = i; | ||
return n.forEach(function(i, m) { | ||
var y = c.match(/(?:^|\n)( *)$/), E = y ? y[1] : "", l = i; | ||
typeof i == "string" && i.includes(` | ||
`) && (l = String(i).split(` | ||
`).map(function(d, Z) { | ||
return Z === 0 ? d : "" + m + d; | ||
`).map(function(d, te) { | ||
return te === 0 ? d : "" + E + d; | ||
}).join(` | ||
`)), c += l + a[E + 1]; | ||
`)), c += l + a[m + 1]; | ||
}), c; | ||
} | ||
t(n, "dedent"); | ||
t(r, "dedent"); | ||
// src/storybook-error.ts | ||
function O({ | ||
function C({ | ||
code: u, | ||
category: r | ||
category: n | ||
}) { | ||
let e = String(u).padStart(4, "0"); | ||
return `SB_${r}_${e}`; | ||
return `SB_${n}_${e}`; | ||
} | ||
t(O, "parseErrorCode"); | ||
var g = class g extends Error { | ||
t(C, "parseErrorCode"); | ||
var p = class p extends Error { | ||
constructor(e) { | ||
super(g.getFullMessage(e)); | ||
super(p.getFullMessage(e)); | ||
/** | ||
@@ -62,3 +62,3 @@ * Data associated with the error. Used to provide additional information in the error message or | ||
get fullErrorCode() { | ||
return O({ code: this.code, category: this.category }); | ||
return C({ code: this.code, category: this.category }); | ||
} | ||
@@ -74,7 +74,7 @@ /** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */ | ||
code: a, | ||
category: p, | ||
category: g, | ||
message: h | ||
}) { | ||
let c; | ||
return e === !0 ? c = `https://storybook.js.org/error/${O({ code: a, category: p })}` : typeof e == "string" ? c = e : Array.isArray(e) && | ||
return e === !0 ? c = `https://storybook.js.org/error/${C({ code: a, category: g })}` : typeof e == "string" ? c = e : Array.isArray(e) && | ||
(c = ` | ||
@@ -88,7 +88,7 @@ ${e.map((i) => ` - ${i}`).join(` | ||
}; | ||
t(g, "StorybookError"); | ||
var o = g; | ||
t(p, "StorybookError"); | ||
var o = p; | ||
// src/preview-errors.ts | ||
var te = /* @__PURE__ */ ((s) => (s.BLOCKS = "BLOCKS", s.DOCS_TOOLS = "DOCS-TOOLS", s.PREVIEW_CLIENT_LOGGER = "PREVIEW_CLIENT-LOGGER", s.PREVIEW_CHANNELS = | ||
var se = /* @__PURE__ */ ((s) => (s.BLOCKS = "BLOCKS", s.DOCS_TOOLS = "DOCS-TOOLS", s.PREVIEW_CLIENT_LOGGER = "PREVIEW_CLIENT-LOGGER", s.PREVIEW_CHANNELS = | ||
"PREVIEW_CHANNELS", s.PREVIEW_CORE_EVENTS = "PREVIEW_CORE-EVENTS", s.PREVIEW_INSTRUMENTER = "PREVIEW_INSTRUMENTER", s.PREVIEW_API = "PREVIEW\ | ||
@@ -98,3 +98,3 @@ _API", s.PREVIEW_REACT_DOM_SHIM = "PREVIEW_REACT-DOM-SHIM", s.PREVIEW_ROUTER = "PREVIEW_ROUTER", s.PREVIEW_THEMING = "PREVIEW_THEMING", s.RENDERER_HTML = | ||
"RENDERER_SVELTE", s.RENDERER_VUE = "RENDERER_VUE", s.RENDERER_VUE3 = "RENDERER_VUE3", s.RENDERER_WEB_COMPONENTS = "RENDERER_WEB-COMPONENTS", | ||
s.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS", s))(te || {}), f = class f extends o { | ||
s.FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS", s.ADDON_VITEST = "ADDON_VITEST", s))(se || {}), f = class f extends o { | ||
constructor(e) { | ||
@@ -104,3 +104,3 @@ super({ | ||
code: 1, | ||
message: n` | ||
message: r` | ||
Couldn't find story matching id '${e.storyId}' after HMR. | ||
@@ -117,3 +117,3 @@ - Did you just rename a story? | ||
t(f, "MissingStoryAfterHmrError"); | ||
var C = f, R = class R extends o { | ||
var D = f, R = class R extends o { | ||
constructor(e) { | ||
@@ -125,3 +125,3 @@ super({ | ||
for-example-in-the-play-function", | ||
message: n` | ||
message: r` | ||
We detected that you use an implicit action arg while ${e.phase} of your story. | ||
@@ -142,3 +142,3 @@ ${e.deprecated ? ` | ||
t(R, "ImplicitActionsDuringRendering"); | ||
var D = R, b = class b extends o { | ||
var j = R, b = class b extends o { | ||
constructor() { | ||
@@ -148,3 +148,3 @@ super({ | ||
code: 3, | ||
message: n` | ||
message: r` | ||
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. | ||
@@ -157,3 +157,3 @@ | ||
t(b, "CalledExtractOnStoreError"); | ||
var j = b, I = class I extends o { | ||
var L = b, I = class I extends o { | ||
constructor() { | ||
@@ -163,3 +163,3 @@ super({ | ||
code: 4, | ||
message: n` | ||
message: r` | ||
Expected your framework's preset to export a \`renderToCanvas\` field. | ||
@@ -173,3 +173,3 @@ | ||
t(I, "MissingRenderToCanvasError"); | ||
var L = I, P = class P extends o { | ||
var G = I, P = class P extends o { | ||
constructor(e) { | ||
@@ -179,3 +179,3 @@ super({ | ||
code: 5, | ||
message: n` | ||
message: r` | ||
Called \`Preview.${e.methodName}()\` before initialization. | ||
@@ -193,3 +193,3 @@ | ||
t(P, "CalledPreviewMethodBeforeInitializationError"); | ||
var G = P, x = class x extends o { | ||
var Y = P, x = class x extends o { | ||
constructor(e) { | ||
@@ -199,3 +199,3 @@ super({ | ||
code: 6, | ||
message: n` | ||
message: r` | ||
Error fetching \`/index.json\`: | ||
@@ -215,3 +215,3 @@ | ||
t(x, "StoryIndexFetchError"); | ||
var M = x, w = class w extends o { | ||
var M = x, T = class T extends o { | ||
constructor(e) { | ||
@@ -221,3 +221,3 @@ super({ | ||
code: 7, | ||
message: n` | ||
message: r` | ||
Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF | ||
@@ -232,4 +232,4 @@ references, or autodocs for a CSF file that some doesn't refer to itself. | ||
}; | ||
t(w, "MdxFileWithNoCsfReferencesError"); | ||
var Y = w, T = class T extends o { | ||
t(T, "MdxFileWithNoCsfReferencesError"); | ||
var H = T, w = class w extends o { | ||
constructor() { | ||
@@ -239,3 +239,3 @@ super({ | ||
code: 8, | ||
message: n` | ||
message: r` | ||
Couldn't find any stories in your Storybook. | ||
@@ -248,4 +248,4 @@ | ||
}; | ||
t(T, "EmptyIndexError"); | ||
var H = T, k = class k extends o { | ||
t(w, "EmptyIndexError"); | ||
var F = w, k = class k extends o { | ||
constructor(e) { | ||
@@ -255,3 +255,3 @@ super({ | ||
code: 9, | ||
message: n` | ||
message: r` | ||
Couldn't find story matching '${e.storySpecifier}'. | ||
@@ -267,3 +267,3 @@ | ||
t(k, "NoStoryMatchError"); | ||
var F = k, S = class S extends o { | ||
var K = k, S = class S extends o { | ||
constructor(e) { | ||
@@ -273,3 +273,3 @@ super({ | ||
code: 10, | ||
message: n` | ||
message: r` | ||
Couldn't find story matching id '${e.storyId}' after importing a CSF file. | ||
@@ -288,3 +288,3 @@ | ||
t(S, "MissingStoryFromCsfFileError"); | ||
var K = S, V = class V extends o { | ||
var X = S, v = class v extends o { | ||
constructor() { | ||
@@ -294,3 +294,3 @@ super({ | ||
code: 11, | ||
message: n` | ||
message: r` | ||
Cannot access the Story Store until the index is ready. | ||
@@ -303,4 +303,4 @@ | ||
}; | ||
t(V, "StoryStoreAccessedBeforeInitializationError"); | ||
var U = V, _ = class _ extends o { | ||
t(v, "StoryStoreAccessedBeforeInitializationError"); | ||
var U = v, _ = class _ extends o { | ||
constructor(e) { | ||
@@ -310,3 +310,3 @@ super({ | ||
code: 12, | ||
message: n` | ||
message: r` | ||
Incorrect use of mount in the play function. | ||
@@ -334,3 +334,3 @@ | ||
t(_, "MountMustBeDestructuredError"); | ||
var X = _, v = class v extends o { | ||
var J = _, V = class V extends o { | ||
constructor(e) { | ||
@@ -340,3 +340,3 @@ super({ | ||
code: 14, | ||
message: n` | ||
message: r` | ||
No render function available for storyId '${e.id}' | ||
@@ -348,4 +348,4 @@ ` | ||
}; | ||
t(v, "NoRenderFunctionError"); | ||
var J = v, N = class N extends o { | ||
t(V, "NoRenderFunctionError"); | ||
var q = V, N = class N extends o { | ||
constructor() { | ||
@@ -355,3 +355,3 @@ super({ | ||
code: 15, | ||
message: n` | ||
message: r` | ||
No component is mounted in your story. | ||
@@ -376,3 +376,3 @@ | ||
t(N, "NoStoryMountedError"); | ||
var q = N, W = class W extends o { | ||
var z = N, A = class A extends o { | ||
constructor() { | ||
@@ -383,3 +383,3 @@ super({ | ||
documentation: "https://storybook.js.org/docs/get-started/nextjs#faq", | ||
message: n` | ||
message: r` | ||
You are importing avif images, but you don't have sharp installed. | ||
@@ -392,4 +392,4 @@ | ||
}; | ||
t(W, "NextJsSharpError"); | ||
var z = W, A = class A extends o { | ||
t(A, "NextJsSharpError"); | ||
var B = A, W = class W extends o { | ||
constructor(e) { | ||
@@ -399,3 +399,3 @@ super({ | ||
code: 2, | ||
message: n` | ||
message: r` | ||
Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. | ||
@@ -407,4 +407,4 @@ ` | ||
}; | ||
t(A, "NextjsRouterMocksNotAvailable"); | ||
var B = A, $ = class $ extends o { | ||
t(W, "NextjsRouterMocksNotAvailable"); | ||
var Q = W, $ = class $ extends o { | ||
constructor(e) { | ||
@@ -415,3 +415,3 @@ super({ | ||
documentation: "https://github.com/storybookjs/storybook/issues/26606", | ||
message: n` | ||
message: r` | ||
There was a failure when generating detailed ArgTypes in ${e.language} for: | ||
@@ -430,22 +430,43 @@ ${JSON.stringify(e.type, null, 2)} | ||
t($, "UnknownArgTypesError"); | ||
var Q = $; | ||
var Z = $, O = class O extends o { | ||
constructor(e) { | ||
super({ | ||
category: "ADDON_VITEST", | ||
code: 1, | ||
// TODO: Add documentation about viewports support | ||
// documentation: '', | ||
message: r` | ||
Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. | ||
The Storybook plugin only supports values in the following units: | ||
- px, vh, vw, em, rem and %. | ||
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags | ||
` | ||
}); | ||
this.data = e; | ||
} | ||
}; | ||
t(O, "UnsupportedViewportDimensionError"); | ||
var ee = O; | ||
export { | ||
j as CalledExtractOnStoreError, | ||
G as CalledPreviewMethodBeforeInitializationError, | ||
te as Category, | ||
H as EmptyIndexError, | ||
D as ImplicitActionsDuringRendering, | ||
Y as MdxFileWithNoCsfReferencesError, | ||
L as MissingRenderToCanvasError, | ||
C as MissingStoryAfterHmrError, | ||
K as MissingStoryFromCsfFileError, | ||
X as MountMustBeDestructuredError, | ||
z as NextJsSharpError, | ||
B as NextjsRouterMocksNotAvailable, | ||
J as NoRenderFunctionError, | ||
F as NoStoryMatchError, | ||
q as NoStoryMountedError, | ||
L as CalledExtractOnStoreError, | ||
Y as CalledPreviewMethodBeforeInitializationError, | ||
se as Category, | ||
F as EmptyIndexError, | ||
j as ImplicitActionsDuringRendering, | ||
H as MdxFileWithNoCsfReferencesError, | ||
G as MissingRenderToCanvasError, | ||
D as MissingStoryAfterHmrError, | ||
X as MissingStoryFromCsfFileError, | ||
J as MountMustBeDestructuredError, | ||
B as NextJsSharpError, | ||
Q as NextjsRouterMocksNotAvailable, | ||
q as NoRenderFunctionError, | ||
K as NoStoryMatchError, | ||
z as NoStoryMountedError, | ||
M as StoryIndexFetchError, | ||
U as StoryStoreAccessedBeforeInitializationError, | ||
Q as UnknownArgTypesError | ||
Z as UnknownArgTypesError, | ||
ee as UnsupportedViewportDimensionError | ||
}; |
{ | ||
"name": "@storybook/core", | ||
"version": "0.0.0-pr-28920-sha-f4db6c03", | ||
"version": "0.0.0-pr-28975-sha-896e3f06", | ||
"description": "Storybook framework-agnostic API", | ||
@@ -341,3 +341,3 @@ "keywords": [ | ||
"cli-table3": "^0.6.1", | ||
"commander": "^6.2.1", | ||
"commander": "^12.1.0", | ||
"comment-parser": "^1.4.1", | ||
@@ -344,0 +344,0 @@ "compression": "^1.7.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents 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
40449428
745609
247
83