Scan your whole stack
From OX Research Newsroom
Are you using @ew-color-picker/predefine?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.0.19
@ew-color-picker/predefine was last scanned on 30 Nov 2026 at version 2.0.19. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.0.19 LATEST | 30 Nov 2026 | No rules fired |
| 2.0.18 | 29 Nov 2026 | No rules fired |
| 2.0.17 | 29 Nov 2026 | No rules fired |
| 2.0.16 | 29 Nov 2026 | Not shown |
| 2.0.15 | 29 Nov 2026 | Not shown |
Findings for v2.0.19. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.0.19; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
ew-color-picker 的预定义颜色插件,提供预定义颜色快速选择功能。
npm install @ew-color-picker/predefine
import ewColorPicker from '@ew-color-picker/core';
import ewColorPickerPredefinePlugin from '@ew-color-picker/predefine';
// 注册插件
ewColorPicker.use(ewColorPickerPredefinePlugin);
// 创建颜色选择器
const colorPicker = new ewColorPicker({
el: '#color-picker',
predefineColor: [
'#ff0000', '#00ff00', '#0000ff',
'#ffff00', '#ff00ff', '#00ffff',
{ color: 'rgba(255, 0, 0, 0.5)', disabled: false },
{ color: '#cccccc', disabled: true }
],
changeColor: (color) => {
console.log('颜色改变:', color);
}
});
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| predefineColor | string[] | PredefineColor[] | [] | 预定义颜色数组 |
interface PredefineColor {
color: string;
disabled?: boolean;
}
updatePredefineColors(colors: string[] \| PredefineColor[]): 更新预定义颜色setDisabled(index: number, disabled: boolean): 设置颜色禁用状态MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.