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.
uptick-demo-site
Advanced tools
Content for creating Uptick-branded demo sites, such as:
The demo site framework contains all the styles, a base template to use with Jekyll, and some common Javascript widgets.
Download the package:
npm install uptick-demo-site
Either import the styles in your preprocessed stylesheet:
@import "node_modules/uptick-demo-site/dist/uptick-demo-site";
Or host and include the built css directly:
<link href="/node_modules/uptick-demo-site/dist/uptick-demo-site.css" rel="stylesheet">
Initialise the demo site components
import { init } from 'uptick-demo-site'
init()
To use the base template, you will need to replace the default Jekyll _layouts directory in your config with the dist folder of this package:
_config.yml
layouts_dir: 'node_modules/uptick-demo-site/dist'
The base layout depends on the following templates existing in your Jekyll _includes folder:
Copy favicon.png
from this project's source directory into your jekyll root folder. Then add to
the jekyll-seo-tag
plugin to your project:
_config.yml
plugins:
- jekyll-seo-tag
A number of variables are used to customise the base template, which are set in your Jekyll config:
_config.yml
package_name: Cool Package
package_github_url: https://github.com/uptick/cool-package
package_npm_url: https://www.npmjs.com/package/cool-package
To implement a source code previewer, use the following HTML mount:
<code
class="script"
data-source="static/demo-script.jsx"
>Loading ...</code>
FAQs
Content for creating Uptick branded demo sites
We found that uptick-demo-site demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.