@rstack-dev/doc-ui
Advanced tools
@@ -1,6 +0,7 @@ | ||
| export declare function Announcement({ href, message, localStorageKey, display, }: { | ||
| export declare function Announcement({ href, message, localStorageKey, display, barClassName, }: { | ||
| href: string; | ||
| message: string; | ||
| message: string | React.ReactNode; | ||
| localStorageKey: string; | ||
| display?: boolean; | ||
| barClassName?: string; | ||
| }): import("react/jsx-runtime").JSX.Element | null; |
@@ -27,3 +27,3 @@ import './index.css'; | ||
| }; | ||
| function Announcement({ href, message, localStorageKey, display = true }) { | ||
| function Announcement({ href, message, localStorageKey, display = true, barClassName }) { | ||
| if (!display) return null; | ||
@@ -34,3 +34,3 @@ var _window_localStorage_getItem; | ||
| return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", { | ||
| className: index_module.bar, | ||
| className: `${index_module.bar} ${barClassName}`, | ||
| children: [ | ||
@@ -37,0 +37,0 @@ /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("a", { |
+1
-1
| { | ||
| "name": "@rstack-dev/doc-ui", | ||
| "version": "1.10.1", | ||
| "version": "1.10.2", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts", |
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed 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
Network access
Supply chain riskThis module accesses the network.
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 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed 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
1708283
0.01%37255
0