Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@ew-color-picker/predefine

Latest version: v2.0.19

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: eveningwater
44 Stars
9 Forks
21 Versions
3.8K Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: 21 versions; the latest 5 were published within 2 days (29 and 30 Nov 2026).
  • Findings: No rules fired in version 2.0.19.
  • Downloads: 3,776 downloads.

Versions

21 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 2.0.19

Findings

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.

README

The publisher’s own README, as collected from the registry.

@ew-color-picker/predefine

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);
  }
});

API

配置选项
参数 类型 默认值 说明
predefineColor string[] | PredefineColor[] [] 预定义颜色数组
类型定义
interface PredefineColor {
  color: string;
  disabled?: boolean;
}
方法
  • updatePredefineColors(colors: string[] \| PredefineColor[]): 更新预定义颜色
  • setDisabled(index: number, disabled: boolean): 设置颜色禁用状态

许可证

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @ew-color-picker/predefine

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229