Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@web-lite/content-rating
Advanced tools
// version @next compatible with react 17 and Mui version 5.0.0-rc.1
// size ~= 7.7kb
import { openContentRating } from '@web-lite/content-rating/@next'
// or
import openContentRating from '@web-lite/content-rating/@next'
// or
import openContentRating from '@web-lite/content-rating'
// version v4 compatible with react >=16.8 and no material needed
// size ~= 150kb
import { openContentRating } from '@web-lite/content-rating/@bundled'
// or
import openContentRating from '@web-lite/content-rating/@bundled'
const t = {
title: 'این محتوا را چگونه ارزیابی میکنید؟',
submitText: 'ثبت',
ratingFeedback: {
1: 'با کمک شما محصول بهتری خواهیم شد',
2: 'با کمک شما محصول بهتری خواهیم شد',
3: 'ارزیابی شما ثبت شد، با تشکر',
4: 'ارزیابی شما ثبت شد، با تشکر',
5: 'ارزیابی شما ثبت شد، با تشکر',
},
}
export type Rate = 1 | 2 | 3 | 4 | 5
export type SideEffectFunction = () => {}
export interface ContentRateProps {
title?: typeof t['title']
submitText?: typeof t['submitText']
destroyDelay?: number
onClose?: SideEffectFunction
onSubmit?: (rate: Rate) => Promise<void>
onDestroy: SideEffectFunction
ratingFeedback?: typeof t['ratingFeedback']
}
type openContentRating = async (
instance: string,
config: ContentRateProps) => Promise<void>
FAQs
[![Screenshots of design][1]][1]
The npm package @web-lite/content-rating receives a total of 1 weekly downloads. As such, @web-lite/content-rating popularity was classified as not popular.
We found that @web-lite/content-rating demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.