Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@hecom/constantgroup
Advanced tools
这是选项值集的管理模块,原始数据是平铺列表,需要经过转换生成一个树状结构。
npm install --save @hecom/constantgroup
import ConstantGroup from '@hecom/constantgroup';
load: (constantId) => Promise<object>
:强制加载指定constantId
的选项值集,返回Promise包含生成的选项值集树。loadIfInvalid: (constantId) => Promise<object>
:如果不存在已有的选项值集,则调用load
强制加载,否则直接返回包含数据的Promise。get: (constantId) => object
:获取指定constantId
的选项值集树。isValid: (constantId) => boolean
:判断指定constantId
的选项值集在缓存中是否存在。FAQs
Constant Group Management
We found that @hecom/constantgroup demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.