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.
@twreporter/react-article-components
Advanced tools
The Reporter react article components, which are used in article page
The React components of articles at The Reporter Taiwan.
Published as an npm package.
This is built for twreporter-react and Editorial Tool (you can build the editorial tool using Plate). These Article React Components will be used on Article Page and Editorial Tool.
yarn add @twreporter/react-article-components
// es6
import Article from '@twreporter/react-article-components'
const Page = ({ record }) => <Article post={record} />
There are two dev modes:
We use webpack-dev-server
to render a mock article with all elements for development.
# Start the webpack-dev-server
npm run dev-server
Or use babel --watch
to complie the source file if there's any change happened
make dev
# Build the distribution files
make build
FAQs
The Reporter react article components, which are used in article page
The npm package @twreporter/react-article-components receives a total of 65 weekly downloads. As such, @twreporter/react-article-components popularity was classified as not popular.
We found that @twreporter/react-article-components 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
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.